/* Additional styles for forgot password page */

.reset-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.reset-step.active {
    display: block;
}

.help-text {
    color: var(--medium-gray);
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.resend-section {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--dark-gray);
}

.resend-btn {
    background: none;
    border: none;
    color: var(--athletic-blue);
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
}

.resend-btn:hover {
    color: var(--energy-red);
}

.password-options {
    margin-bottom: 16px;
}

.generate-btn {
    width: 100%;
    background: var(--motivation-orange);
    color: var(--pure-white);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.generate-btn:hover {
    background: var(--champion-gold);
    transform: translateY(-1px);
}

.password-strength {
    margin-bottom: 20px;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: var(--light-gray);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    width: 25%;
    background: var(--energy-red);
}

.strength-fill.fair {
    width: 50%;
    background: var(--motivation-orange);
}

.strength-fill.good {
    width: 75%;
    background: var(--champion-gold);
}

.strength-fill.strong {
    width: 100%;
    background: var(--sport-green);
}

.strength-text {
    font-size: 12px;
    color: var(--medium-gray);
}

.strength-text.weak {
    color: var(--energy-red);
}

.strength-text.fair {
    color: var(--motivation-orange);
}

.strength-text.good {
    color: var(--champion-gold);
}

.strength-text.strong {
    color: var(--sport-green);
}

.success-message {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    font-size: 64px;
    color: var(--sport-green);
    margin-bottom: 16px;
    display: block;
}

.success-message h3 {
    color: var(--discipline-navy);
    margin-bottom: 12px;
    font-size: 20px;
}

.success-message p {
    color: var(--medium-gray);
    margin-bottom: 24px;
    line-height: 1.5;
}

.back-link {
    text-align: center;
    margin-top: 24px;
}

.back-link a {
    color: var(--athletic-blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.back-link a:hover {
    color: var(--energy-red);
}

/* Loading state for resend button */
.resend-btn.loading {
    opacity: 0.6;
    pointer-events: none;
}

.resend-btn.loading::after {
    content: '';
    width: 12px;
    height: 12px;
    border: 1px solid transparent;
    border-top: 1px solid var(--athletic-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 4px;
    display: inline-block;
}

/* Verification code input styling */
#verificationCode {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 4px;
}

/* Password generator tooltip */
.generate-btn {
    position: relative;
}

.generate-btn:hover::after {
    content: 'Generate a strong, secure password automatically';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--discipline-navy);
    color: var(--pure-white);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 4px;
}

.generate-btn:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--discipline-navy);
    z-index: 1000;
}