/* === LOGIN PAGE === */
.login-page {
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.login-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-split {
    display: flex;
    width: 100%;
    max-width: 1400px;
    height: 90vh;
    max-height: 900px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
}

/* === LADO ESQUERDO - IMAGEM === */
.login-image-side {
    flex: 1;
    background-image: url("Contamac Foto.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay para adicionar texto sobre a imagem */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 2rem;
    pointer-events: none;
}

.overlay-content {
    width: 100%;
    text-align: center;
    color: white;
}

.overlay-content h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 6px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    margin: 0;
}

.overlay-content p {
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    margin: 0;
}

/* === LADO DIREITO - FORMULÁRIO === */
.login-form-side {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.login-box {
    width: 100%;
    max-width: 420px;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-color);
}

.login-header h1 {
    font-size: 2rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.login-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.login-header p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.login-form {
    margin-bottom: 1.5rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form input {
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
}

.login-form .btn-block {
    padding: 0.9rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.login-footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border-left: 4px solid #ef4444;
}

@keyframes slideIn {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* === RESPONSIVO === */
@media (max-width: 768px) {
    .login-split {
        flex-direction: column;
        height: 100vh;
        max-height: none;
    }
    
    .login-image-side {
        min-height: 30vh;
    }
    
    .overlay-content h1 {
        font-size: 2.5rem;
    }
    
    .login-form-side {
        flex: 2;
        padding: 2rem 1.5rem;
    }
}
