        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: white;
            min-height: 100vh;
            display: flex;
            position: relative;
        }

        /* Loading Overlay */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.95);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s ease;
        }

        .loading-overlay.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 4px solid #e0e0e0;
            border-top: 4px solid #1a5276;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* LADO ESQUERDO - IMAGEM COM OVERLAY AZUL */
        .image-side {
            flex: 1;
            position: relative;
            background-image: url('../../img/login2.jpg');
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* OVERLAY AZUL */
       

        /* Conteúdo da imagem */
        .image-content {
            position: relative;
            z-index: 1;
            color: white;
            padding: 60px 50px;
            width: 100%;
            max-width: 550px;
            text-align: left;
        }

        .main-title {
            font-size: 36px;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 30px;
        }

        .description-text {
            font-size: 15px;
            line-height: 1.8;
            margin-bottom: 40px;
            opacity: 0.95;
        }

        .description-text strong {
            font-weight: 600;
        }

        .divider {
            width: 60px;
            height: 3px;
            background: rgba(255, 255, 255, 0.3);
            margin: 30px 0;
        }

        .benefits-list {
            margin-top: 30px;
        }

        .benefit-item {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 18px;
        }

        .benefit-item i {
            width: 24px;
            font-size: 16px;
            color: rgba(255, 255, 255, 0.9);
        }

        .benefit-item span {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 500;
        }

        /* LADO DIREITO - FORMULÁRIO */
        .form-side {
            width: 480px;
            background: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 60px 48px;
            box-shadow: -5px 0 30px rgba(0, 0, 0, 0.08);
        }

        /* Logo */
        .logo {
            font-size: 36px;
            font-weight: 800;
            margin-bottom: 12px;
            text-align: center;
        }

        .logo span {
            background: linear-gradient(135deg, #0a2a44 0%, #1a5276 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .logo i {
            background: linear-gradient(135deg, #0a2a44 0%, #1a5276 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-right: 8px;
        }

        /* Subtítulos */
        .subtitle-main {
            color: #1a1a2e;
            font-size: 28px;
            font-weight: 600;
            margin-bottom: 8px;
            text-align: center;
        }

        .subtitle-welcome {
            color: #888;
            font-size: 14px;
            margin-bottom: 32px;
            text-align: center;
        }

        /* Mensagens */
        .error-message, .warning-message {
            padding: 12px;
            border-radius: 10px;
            margin-bottom: 20px;
            font-size: 13px;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .error-message {
            background: #fee2e2;
            color: #dc2626;
            border-left: 4px solid #dc2626;
        }

        .warning-message {
            background: #fef3c7;
            color: #d97706;
            border-left: 4px solid #d97706;
        }

        /* Grupo de formulário */
        .form-group {
            margin-bottom: 24px;
        }

        .form-group label {
            display: block;
            font-size: 13px;
            font-weight: 500;
            color: #555;
            margin-bottom: 8px;
        }

        .form-group label i {
            margin-right: 6px;
            color: #1a5276;
        }

        .input-wrapper {
            display: flex;
            align-items: center;
            background: #f8f9fa;
            border-radius: 12px;
            padding: 0 16px;
            transition: all 0.3s ease;
            border: 1px solid #e9ecef;
        }

        .input-wrapper:hover {
            background: #f1f3f5;
        }

        .input-wrapper:focus-within {
            background: white;
            border-color: #1a5276;
            box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.1);
        }

        .bullet-icon {
            font-size: 18px;
            color: #1a5276;
            font-weight: bold;
            margin-right: 12px;
            user-select: none;
        }

        .input-wrapper input {
            flex: 1;
            border: none;
            background: transparent;
            padding: 14px 0;
            font-size: 15px;
            outline: none;
            font-family: 'Inter', sans-serif;
        }

        .input-wrapper input::placeholder {
            color: #adb5bd;
            font-weight: 400;
        }

        /* Botão */
        .login-btn {
            width: 100%;
            background: linear-gradient(135deg, #0a2a44 0%, #1a5276 100%);
            border: none;
            padding: 14px;
            border-radius: 12px;
            color: white;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 8px;
            font-family: 'Inter', sans-serif;
        }

        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(26, 82, 118, 0.3);
        }

        .login-btn i {
            margin-right: 8px;
        }

        /* Botões de ação */
        .action-buttons {
            display: flex;
            gap: 15px;
            margin: 28px 0;
        }

        .action-btn {
            flex: 1;
            background: #f0f4f8;
            border: none;
            padding: 12px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            color: #2c3e50;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-family: 'Inter', sans-serif;
        }

        .action-btn i {
            margin-right: 8px;
            color: #1a5276;
        }

        .action-btn:hover {
            background: #e0e8f0;
            transform: translateY(-2px);
        }

        /* Link criar conta */
        .signup-link {
            text-align: center;
            color: #666;
            font-size: 14px;
            padding-top: 16px;
            border-top: 1px solid #eee;
        }

        .signup-link a {
            color: #1a5276;
            text-decoration: none;
            font-weight: 600;
        }

        .signup-link a:hover {
            text-decoration: underline;
        }

        footer {
            text-align: center;
            padding: 20px;
            font-size: 12px;
            color: #999;
            position: fixed;
            bottom: 0;
            width: 100%;
            background: white;
            z-index: 10;
        }

        footer h3 {
            font-size: 12px;
            font-weight: normal;
        }

        /* Responsividade */
        @media (max-width: 900px) {
            .image-side {
                display: none;
            }
            
            .form-side {
                width: 100%;
                max-width: 500px;
                margin: 0 auto;
                padding: 40px 32px;
            }
            
            body {
                justify-content: center;
                align-items: center;
                background: white;
            }

            footer {
                position: relative;
                margin-top: 20px;
            }
        }

        @media (max-width: 520px) {
            .form-side {
                padding: 32px 24px;
            }
            
            .subtitle-main {
                font-size: 24px;
            }
            
            .logo {
                font-size: 28px;
            }

            .action-buttons {
                flex-direction: column;
                gap: 10px;
            }
        }




        /* ============================================
   VISUALIZAR SENHA - ÍCONE DO OLHO
   ============================================ */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px !important;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    font-size: 1.2rem;
    transition: all 0.3s;
    z-index: 2;
    background: none;
    border: none;
    padding: 8px;
    display: flex;
    align-items: center;
}

.toggle-password:hover {
    color: #091E3E;
}

/* ============================================
   LEMBRAR SENHA + RECUPERAR
   ============================================ */
.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #091E3E;
}

.forgot-password {
    color: #091E3E;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.forgot-password:hover {
    color: #00a8e8;
    text-decoration: underline;
}

/* ============================================
   MODAL DE RECUPERAÇÃO DE SENHA
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.show {
    display: flex;
}

.modal-recover {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    animation: modalSlideUp 0.3s ease;
    position: relative;
}

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

.modal-recover h3 {
    color: #091E3E;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.modal-recover p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.icon-recover {
    font-size: 60px;
    color: #091E3E;
    margin-bottom: 20px;
}

.btn-close-modal {
    background: none;
    border: none;
    color: #999;
    font-size: 1.8rem;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    transition: all 0.3s;
}

.btn-close-modal:hover {
    color: #333;
    transform: rotate(90deg);
}

.btn-recover {
    width: 100%;
    padding: 14px;
    background: #091E3E;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-recover:hover {
    background: #0d2b55;
    transform: translateY(-2px);
}

/* Mensagem de sucesso */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

/* Ajustes mobile */
@media (max-width: 768px) {
    .modal-recover {
        padding: 25px;
    }
    
    .remember-forgot {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}




/* Estilo para o link de recuperação exibido na tela */
.success-message a {
    color: #091E3E !important;
    text-decoration: underline !important;
    word-break: break-all !important;
    display: inline-block;
    margin: 5px 0;
}

.success-message small {
    display: block;
    margin-top: 8px;
}

/* Ajuste para links longos */
.success-message {
    word-break: break-all;
    line-height: 1.8;
}




/* ===================== 2FA - AUTENTICADOR ===================== */
.two-factor-section {
    text-align: center;
    animation: slideUp 0.4s ease;
}

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

.icon-2fa {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #091E3E, #1a3a6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-2fa i {
    font-size: 32px;
    color: white;
}

.two-factor-section h3 {
    color: #091E3E;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 600;
}

.two-factor-section p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
    font-size: 14px;
}

/* ===================== INPUTS DO CÓDIGO ===================== */
.code-input-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 25px;
}

.code-input {
    width: 48px;
    height: 55px;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    border: 2px solid #ddd;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    color: #333;
    background: white;
    caret-color: #091E3E;
}

.code-input:hover {
    border-color: #bbb;
}

.code-input:focus {
    border-color: #091E3E;
    box-shadow: 0 0 0 3px rgba(9, 30, 62, 0.1);
    transform: translateY(-2px);
}

.code-input.filled {
    border-color: #28a745;
    background: #f0fff4;
}

/* ===================== BOTÃO VERIFICAR ===================== */
.btn-verify {
    width: 100%;
    max-width: 400px;
    padding: 13px;
    background: linear-gradient(135deg, #091E3E, #1a3a6b);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

.btn-verify:hover {
    background: linear-gradient(135deg, #0d2a52, #224780);
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(9, 30, 62, 0.3);
}

.btn-verify:active {
    transform: translateY(0);
}

/* ===================== LINKS ===================== */
.resend-link {
    color: #091E3E;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
    transition: color 0.3s;
}

.resend-link:hover {
    color: #1a3a6b;
    text-decoration: underline;
}

.timer {
    color: #999;
    font-size: 13px;
    margin-top: 10px;
}

/* ===================== RESPONSIVO ===================== */
@media (max-width: 480px) {
    .code-input {
        width: 42px;
        height: 48px;
        font-size: 20px;
    }
    
    .code-input-group {
        gap: 8px;
    }
    
    .icon-2fa {
        width: 60px;
        height: 60px;
    }
    
    .icon-2fa i {
        font-size: 26px;
    }
    
    .two-factor-section h3 {
        font-size: 20px;
    }
}