/* Reset Password Page Specific Styles */

/* Reset step transitions */
.reset-step {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.reset-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: stepFadeIn 0.5s ease-out;
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step info styling */
.verification-info,
.password-info,
.success-info {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.verification-icon,
.password-icon,
.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--grad-new-end);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.verification-info h3,
.password-info h3,
.success-info h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.verification-info p,
.password-info p,
.success-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.verification-info strong {
    color: var(--grad-new-end);
    font-weight: 500;
}

/* Code input styling */
#verificationCode {
    text-align: center;
    letter-spacing: 2px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Resend section */
.resend-section {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.resend-section p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Link button styling */
.link-btn {
    background: none;
    border: none;
    color: var(--grad-new-end);
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    padding: 0;
    margin: 0;
    transition: opacity 0.3s ease;
}

.link-btn:hover {
    opacity: 0.8;
}

.link-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Success step styling */
.success-icon {
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.success-actions {
    text-align: center;
    margin-top: 2rem;
}

#redirectMessage {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
}

#countdown {
    color: var(--grad-new-end);
    font-weight: 600;
}

/* Email display styling */
#emailDisplay {
    color: var(--grad-new-end);
    font-weight: 500;
}

/* Responsive design */
@media (max-width: 768px) {
    .verification-icon,
    .password-icon,
    .success-icon {
        width: 48px;
        height: 48px;
    }
    
    .verification-info h3,
    .password-info h3,
    .success-info h3 {
        font-size: 1.3rem;
    }
    
    #verificationCode {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
}

/* Override login.css for consistent form styling */
.reset-step .form-group input:focus + label,
.reset-step .form-group input:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    padding: 0 0.5rem;
    color: var(--grad-new-end);
    background: rgba(5, 6, 10, 0.9);
}

/* Make sure the reset password steps use the same form styling as login/signup */
.reset-step .signup-button {
    margin-top: 1rem;
}

.reset-step .login-link {
    margin-top: 1.5rem;
}

.reset-step .login-link p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}