/* ===========================================
   FORGOT PASSWORD PAGE STYLES
   =========================================== */

/* ============================================
   LIGHT MODE OVERRIDES
============================================ */
body.light-mode .forgot-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(212, 175, 55, 0.3);
}

body.light-mode .forgot-logo p {
    color: var(--text-dark-secondary, #666666);
}

body.light-mode .forgot-description {
    color: var(--text-dark-secondary, #666666);
}

body.light-mode .forgot-form-group label {
    color: var(--text-dark, #1a1a1a);
}

body.light-mode .forgot-form-group input {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--text-dark, #1a1a1a);
}

body.light-mode .forgot-form-group input::placeholder {
    color: var(--text-dark-muted, #888888);
}

body.light-mode .back-link {
    color: var(--text-dark-secondary, #666666);
}

.forgot-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: calc(var(--ticker-height) + var(--header-height) + 60px) 20px 60px;
}

.forgot-container {
    width: 100%;
    max-width: 420px;
}

.forgot-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.forgot-logo {
    text-align: center;
    margin-bottom: 30px;
}

.forgot-logo h1 {
    font-size: 28px;
    font-weight: 700;
    /* Fallback color sólido */
    color: #d4af37;
    /* Gradiente con prefijos */
    background: -webkit-linear-gradient(135deg, #d4af37, #ffd700);
    background: -moz-linear-gradient(135deg, #d4af37, #ffd700);
    background: -o-linear-gradient(135deg, #d4af37, #ffd700);
    background: linear-gradient(135deg, #d4af37, #ffd700);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.forgot-logo p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 5px;
}

.forgot-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.forgot-form-group {
    margin-bottom: 20px;
}

.forgot-form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.forgot-form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
}

.forgot-form-group input:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
}

.forgot-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #d4af37, #ffd700);
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-submit .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.btn-submit.loading .spinner {
    display: inline-block;
}

.forgot-error-message {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    display: none;
}

.forgot-error-message.show {
    display: block;
}

.forgot-success-message {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #51cf66;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    display: none;
}

.forgot-success-message.show {
    display: block;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.back-link:hover {
    color: #d4af37;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 480px) {
    .forgot-card {
        padding: 30px 20px;
    }
}
