/* Estilos para Página de Recuperação de Conta */
:root {
    --recuperar-primary-color: #1a3e8c;
    --recuperar-primary-dark: #0d2b66;
    --recuperar-secondary-color: #d4af37;
    --recuperar-success-color: #28a745;
    --recuperar-danger-color: #dc3545;
    --recuperar-warning-color: #ffc107;
    --recuperar-light-color: #f8f9fa;
    --recuperar-dark-color: #212529;
    --recuperar-gray-color: #6c757d;
    --recuperar-light-gray: #e9ecef;
    --recuperar-border-radius: 6px;
    --recuperar-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --recuperar-transition: all 0.3s ease;
}

/* Reset e Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: var(--recuperar-dark-color);
    line-height: 1.6;
    background-color: #f5f7fa;
}

/* Layout Dividido */
.split-layout {
    display: flex;
    min-height: calc(100vh - 120px);
}

.form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: white;
}

.form-container {
    width: 100%;
    max-width: 400px;
}

.content-section {
    flex: 1;
    /* background-image: url('/imagem/lgo7.png'); */
    background-size: cover;
    background-position: center;
    position: relative;
    display: none;
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(90deg, rgb(255 255 255) 0%, #2d3748 100%); */
        background: linear-gradient(135deg, rgb(45 55 72) 0%, rgb(45 55 72 / 86%) 100%);
}

.content-wrapper {
    position: relative;
    z-index: 2;
    padding: 3rem;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Cabeçalho do Formulário */
.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-logo {
    width: 80px;
    /* height: 80px; */
    /* border-radius: 50%; */
    margin-bottom: 1rem;
    /* border: 3px solid var(--recuperar-light-color); */
    object-fit: cover;
}

.form-header h1 {
    font-size: 1.8rem;
    color: var(--recuperar-primary-color);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--recuperar-gray-color);
    font-size: 0.95rem;
}

/* Barra de Progresso */
.auth-progress {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    position: relative;
}

.auth-progress::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--recuperar-light-gray);
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--recuperar-gray-color);
    margin-bottom: 0.5rem;
    border: 2px solid var(--recuperar-light-gray);
    transition: var(--recuperar-transition);
}

.step-label {
    font-size: 0.8rem;
    color: var(--recuperar-gray-color);
    text-align: center;
    transition: var(--recuperar-transition);
}

.progress-step.active .step-number {
    background-color: var(--recuperar-primary-color);
    color: white;
    border-color: var(--recuperar-primary-color);
}

.progress-step.completed .step-number {
    background-color: var(--recuperar-success-color);
    color: white;
    border-color: var(--recuperar-success-color);
}

.progress-step.completed .step-label {
    color: var(--recuperar-dark-color);
    font-weight: 500;
}

.progress-step.completed::after {
    content: "";
    position: absolute;
    top: 15px;
    width: 100%;
    height: 2px;
    background-color: var(--recuperar-success-color);
    z-index: -1;
    left: 50%;
}

/* Mensagens */
.auth-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: var(--recuperar-border-radius);
    display: none;
}

.auth-message.success {
    background-color: rgba(40, 167, 69, 0.1);
    border-left: 3px solid var(--recuperar-success-color);
    color: var(--recuperar-success-color);
    display: block;
}

.auth-message.error {
    background-color: rgba(220, 53, 69, 0.1);
    border-left: 3px solid var(--recuperar-danger-color);
    color: var(--recuperar-danger-color);
    display: block;
}

/* Campos do Formulário */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--recuperar-dark-color);
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--recuperar-gray-color);
}

.input-wrapper input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 40px;
    border: 1px solid var(--recuperar-light-gray);
    border-radius: var(--recuperar-border-radius);
    font-size: 0.95rem;
    transition: var(--recuperar-transition);
    background-color: #f8f9fa;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--recuperar-primary-color);
    box-shadow: 0 0 0 3px rgba(26, 62, 140, 0.2);
    background-color: white;
}

.input-hint {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--recuperar-gray-color);
}

/* Toggle de Senha */
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--recuperar-gray-color);
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--recuperar-transition);
}

.toggle-password:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.toggle-password.show {
    color: var(--recuperar-primary-color);
}

.eye-icon {
    width: 18px;
    height: 18px;
}

/* Força da Senha */
.password-strength {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    gap: 5px;
}

.strength-bar {
    height: 4px;
    flex: 1;
    background-color: var(--recuperar-light-gray);
    border-radius: 2px;
    transition: var(--recuperar-transition);
}

.strength-text {
    font-size: 0.8rem;
    margin-left: 8px;
    color: var(--recuperar-gray-color);
}

/* Requisitos de Senha */
.password-requirements {
    list-style: none;
    margin-top: 0.5rem;
    padding-left: 0;
}

.password-requirements li {
    font-size: 0.8rem;
    color: var(--recuperar-gray-color);
    margin-bottom: 0.3rem;
    position: relative;
    padding-left: 1.2rem;
    transition: var(--recuperar-transition);
}

.password-requirements li::before {
    content: "•";
    position: absolute;
    left: 0;
}

.password-requirements li[data-requirement="length"].valid {
    color: var(--recuperar-success-color);
}

.password-requirements li[data-requirement="uppercase"].valid {
    color: var(--recuperar-success-color);
}

.password-requirements li[data-requirement="lowercase"].valid {
    color: var(--recuperar-success-color);
}

.password-requirements li[data-requirement="number"].valid {
    color: var(--recuperar-success-color);
}

.password-requirements li[data-requirement="special"].valid {
    color: var(--recuperar-success-color);
}

/* Feedback de Confirmação de Senha */
.password-match-feedback {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    height: 1rem;
    color: var(--recuperar-danger-color);
}

.password-match-feedback.valid {
    color: var(--recuperar-success-color);
}

/* CAPTCHA */
.captcha-container {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

/* Botões */
.auth-btn {
    width: 100%;
    padding: 0.9rem;
    border-radius: var(--recuperar-border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--recuperar-transition);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.auth-btn.primary {
    background-color: var(--recuperar-primary-color);
    color: white;
    border: none;
}

.auth-btn.primary:hover {
    background-color: var(--recuperar-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 62, 140, 0.2);
}

.auth-btn.secondary {
    background-color: white;
    color: var(--recuperar-primary-color);
    border: 2px solid var(--recuperar-primary-color);
}

.auth-btn.secondary:hover {
    background-color: var(--recuperar-primary-color);
    color: white;
}

.auth-btn.tertiary {
    background: none;
    border: none;
    color: var(--recuperar-primary-color);
    text-decoration: underline;
    margin: 0;
    padding: 0;
    width: auto;
    display: inline;
    font-size: 0.9rem;
}

.auth-btn.tertiary:hover {
    color: var(--recuperar-primary-dark);
    text-decoration: none;
}

.btn-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

/* Divisor */
.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--recuperar-gray-color);
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--recuperar-light-gray);
    margin: 0 10px;
}

/* Ações do Formulário */
.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Conteúdo do Lado Direito */
.content-badge {
    background-color: var(--recuperar-secondary-color);
    color: var(--recuperar-dark-color);
    font-size: 0.8rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.content-description {
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 1.05rem;
}

.features-list {
    list-style: none;
    margin-bottom: 3rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--recuperar-secondary-color);
    margin-right: 1rem;
    flex-shrink: 0;
}

.features-list h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--recuperar-secondary-color);
}

.features-list p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--recuperar-secondary-color);
    padding: 1.5rem;
    border-radius: 0 var(--recuperar-border-radius) var(--recuperar-border-radius) 0;
}

.quote-icon {
    width: 24px;
    height: 24px;
    color: var(--recuperar-secondary-color);
    margin-bottom: 0.5rem;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.author {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Modais */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--recuperar-border-radius);
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: var(--recuperar-box-shadow);
}

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.modal-icon.success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--recuperar-success-color);
}

.modal-icon.error {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--recuperar-danger-color);
}

.modal-icon svg {
    width: 30px;
    height: 30px;
}

.modal-title {
    margin-bottom: 1rem;
    color: var(--recuperar-dark-color);
}

.modal-message {
    margin-bottom: 1.5rem;
    color: var(--recuperar-gray-color);
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    justify-content: center;
}

/* Checkbox de Termos */
.checkbox-group {
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 3px;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--recuperar-primary-dark);
    line-height: 1.4;
}

.checkbox-group a {
    color: var(--recuperar-primary-color);
    text-decoration: none;
    font-weight: 500;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Responsividade */
@media (min-width: 992px) {
    .content-section {
        display: flex;
    }
}

@media (max-width: 768px) {
    .form-section {
        padding: 1.5rem;
    }
    
    .auth-progress {
        margin: 1.5rem 0;
    }
    
    .step-label {
        font-size: 0.7rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .auth-btn.tertiary {
        margin-top: 0.5rem;
        text-align: center;
        width: 100%;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .split-layout {
        min-height: calc(100vh - 80px);
    }
    
    .form-section {
        padding: 1rem;
    }
    
    .form-header h1 {
        font-size: 1.5rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .features-list li {
        flex-direction: column;
    }
    
    .feature-icon {
        margin-bottom: 0.5rem;
    }
}