body {
    background-color: #f4f7f6; 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Container Principal (Split Screen) */
.auth-wrapper {
    width: 100%;
    max-width: 900px;
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: row;
}

/* Lado Esquerdo - Branding  */
.auth-brand {
    flex: 1;
    background: linear-gradient(135deg, #0d6efd 0%, #084298 100%);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    position: relative;
}

/* Detalhe visual de fundo no lado azul */
.auth-brand::after {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}
.auth-brand::before {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* Lado Direito - Formulário */
.auth-form {
    flex: 1;
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Estilo dos Inputs (Flat Design) */
.modern-input-group {
    background-color: #f3f4f6;
    border-radius: 0.75rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.modern-input-group:focus-within {
    background-color: #ffffff;
    border: 1px solid #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.modern-input-group i {
    color: #a0aec0;
    width: 24px;
    text-align: center;
}

.modern-input-group:focus-within i {
    color: #0d6efd;
}

.modern-input-group .form-control {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #2d3748;
    font-weight: 500;
}

.modern-input-group .form-control::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

/* Botão de Login */
.btn-login {
    background-color: #0d6efd;
    border: none;
    border-radius: 0.75rem;
    padding: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(13, 110, 253, 0.3);
}

.btn-show-pass {
    background: transparent;
    border: none;
    color: #a0aec0;
    padding: 0.5rem 1rem;
}
.btn-show-pass:hover { color: #0d6efd; }

.form-mobile-border {
    padding: 0;
    border: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .auth-wrapper {
        flex-direction: column;
        max-width: 100%;
        border-radius: 0;
        min-height: 100vh;
        box-shadow: none;
    }
    .auth-brand { display: none; }
    .auth-form { padding: 2.5rem; }
    
    .form-mobile-border {
        border: 1px solid rgba(13, 110, 253, 0.3);
        border-radius: 1rem;
        padding: 1.5rem;
        background-color: #ffffff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    }
}