/* Forgot_password.css — page-specific overrides on top of Login.css */

/* Help text under email input */
.fp-help-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
    line-height: 1.5;
    text-align: center;
}

.fp-help-text a {
    color: var(--cyan);
    text-decoration: none;
}

.fp-help-text a:hover {
    text-decoration: underline;
}

/* Footer action row (Volver / Continuar) */
.footer-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
}

.footer-buttons > span {
    cursor: pointer;
    font-size: 13px;
    font-weight: 300;
    color: var(--cyan);
    transition: color 0.2s ease;
    user-select: none;
}

.footer-buttons > span:hover {
    color: var(--text);
}

.footer-buttons .login-button {
    width: auto;
    padding: 10px 24px;
}

/* Countdown / resend timer */
#footer_resend_email > span {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-muted);
}

/* Password changed — redirect toast */
#redirect-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    position: fixed;
    bottom: 100px;
    left: 50%;
    translate: -50% 0;
    background: rgba(7, 32, 74, 0.95);
    border: 1px solid rgba(120, 180, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 20px 24px 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.5s ease;
    user-select: none;
    color: var(--text);
    font-family: 'Outfit', system-ui, sans-serif;
}

#redirect-wrapper:hover {
    transform: scale(1.05);
}

#redirect-wrapper > .redirect-refresh-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--cyan);
    animation: redirect-refresh-icon-animation 1s linear infinite;
    transform-origin: center center;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
}

#redirect-wrapper .redirect-message {
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-muted);
}

@keyframes redirect-refresh-icon-animation {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

#redirect-wrapper .redirect-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

#redirect-wrapper .redirect-progress .redirect-progress-fill {
    background: linear-gradient(90deg, #2bcad8, #149fb2);
    position: absolute;
    height: 100%;
    width: 0%;
    animation: redirect-progress-fill-animation 5s linear forwards;
}

@keyframes redirect-progress-fill-animation {
    from { width: 0%; }
    to   { width: 100%; }
}

button.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}
