/* =================================================================
   FORGOT PASSWORD - ADDITIONAL STYLES ONLY
================================================================= */

/* Password Reset Steps */
.password-reset-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    padding: 20px 0;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.step.active .step-number {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 25px rgba(52, 143, 80, 0.3);
}

.step.completed .step-number {
    background: #00d4aa;
    border-color: transparent;
    color: white;
}

.step.completed .step-number::after {
    position: absolute;
}

.step-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.step.active .step-label {
    color: var(--text-primary);
    font-weight: 600;
}

.step-line {
    width: 60px;
    height: 2px;
    background: var(--border-color);
    margin: 0 10px;
    transition: var(--transition);
}

.step.active + .step-line,
.step.completed + .step-line {
    background: var(--primary-gradient);
}

/* Reset Steps */
.reset-step {
    animation: slideInUp 0.6s ease-out;
}

.reset-step.hidden {
    display: none;
}

/* Reset Icon */
.reset-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.icon-bg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(52, 143, 80, 0.2) 0%, rgba(86, 180, 211, 0.1) 100%);
    border: 2px solid rgba(86, 180, 211, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.icon-bg.success {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.2) 0%, rgba(0, 212, 170, 0.1) 100%);
    border-color: rgba(0, 212, 170, 0.3);
}

.icon-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(86, 180, 211, 0.1), transparent);
    animation: rotate 3s linear infinite;
}

.icon {
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Enhanced Form Inputs */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    z-index: 2;
    transition: var(--transition);
}

.form-input {
    padding-left: 50px;
}

.form-input:focus + .input-icon {
    color: #56b4d3;
}

.input-toggle {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
    z-index: 2;
    padding: 5px;
    border-radius: 6px;
}

.input-toggle:hover {
    color: #56b4d3;
    background: rgba(86, 180, 211, 0.1);
}

/* Input Validation */
.input-validation {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    z-index: 2;
}

.input-validation.valid {
    color: #00d4aa;
}

.input-validation.invalid {
    color: #ff4757;
}

.form-input.valid {
    border-color: #00d4aa;
    background: rgba(0, 212, 170, 0.05);
}

.form-input.invalid {
    border-color: #ff4757;
    background: rgba(255, 71, 87, 0.05);
}

/* Form Help Text */
.form-help {
    margin-top: 8px;
}

.help-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.help-text::before {
    content: '💡';
    font-size: 0.9rem;
}

/* Enhanced Buttons */
.auth-submit-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Email Info */
.email-info {
    margin: 30px 0;
}

.info-box {
    background: linear-gradient(135deg, rgba(86, 180, 211, 0.1) 0%, rgba(52, 143, 80, 0.05) 100%);
    border: 1px solid rgba(86, 180, 211, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
}

.info-box.success {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(0, 212, 170, 0.05) 100%);
    border-color: rgba(0, 212, 170, 0.2);
}

.info-icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.info-content h4 {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.info-content ul {
    list-style: none;
    padding: 0;
}

.info-content li {
    padding: 4px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.info-content li::before {
    content: '•';
    color: #56b4d3;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Reset Actions */
.reset-actions {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.reset-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    font-weight: 600;
}

.btn-icon {
    font-size: 1.1rem;
}

/* Resend Timer */
.resend-timer {
    text-align: center;
    margin: 20px 0;
    padding: 12px 20px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 8px;
    color: #ff6b35;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Password Strength */
.password-strength {
    margin: 20px 0;
    padding: 15px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.strength-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.strength-meter {
    width: 100%;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.strength-bar {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 3px;
    width: 0%;
}

.strength-bar.weak {
    background: #ff4757;
    width: 25%;
}

.strength-bar.fair {
    background: #ff6b35;
    width: 50%;
}

.strength-bar.good {
    background: #ffd700;
    width: 75%;
}

.strength-bar.strong {
    background: #00d4aa;
    width: 100%;
}

.strength-text {
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

.strength-text.weak { color: #ff4757; }
.strength-text.fair { color: #ff6b35; }
.strength-text.good { color: #ffd700; }
.strength-text.strong { color: #00d4aa; }

/* Password Requirements */
.password-requirements {
    margin: 20px 0;
    padding: 15px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.requirements-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    transition: var(--transition);
}

.req-icon {
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.req-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.requirement.met .req-icon {
    color: #00d4aa;
}

.requirement.met .req-text {
    color: var(--text-primary);
}

.requirement.met .req-icon::after {
    content: '✓';
}

/* Success Actions */
.success-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

.success-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    font-weight: 600;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    animation: slideInRight 0.3s ease-out forwards;
}

.toast.success { border-left: 4px solid #00d4aa; }
.toast.error { border-left: 4px solid #ff4757; }
.toast.warning { border-left: 4px solid #ff6b35; }
.toast.info { border-left: 4px solid #56b4d3; }

.toast-icon {
    font-size: 1.2rem;
    min-width: 20px;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.toast-message {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
}

.toast-close:hover {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .password-reset-steps {
        margin-bottom: 30px;
        padding: 15px 0;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    .step-line {
        width: 40px;
        margin: 0 8px;
    }
    
    .icon-bg {
        width: 70px;
        height: 70px;
    }
    
    .icon {
        font-size: 2rem;
    }
    
    .reset-actions {
        flex-direction: column;
    }
    
    .toast {
        min-width: 280px;
        margin-right: 10px;
    }
    
    .toast-container {
        right: 10px;
        left: 10px;
    }
}

@media (max-width: 480px) {
    .password-reset-steps {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .step-line {
        display: none;
    }
    
    .form-input {
        padding: 14px 18px 14px 45px;
        font-size: 0.95rem;
    }
    
    .input-icon {
        left: 12px;
    }
    
    .input-toggle {
        right: 12px;
    }
    
    .auth-submit-btn {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .info-box {
        flex-direction: column;
        gap: 10px;
        padding: 16px;
    }
}