/* Password Reset Modal Styles */
.password-reset-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.password-reset-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.password-reset-container {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reset-modal-header {
    padding: 24px 32px;
    background: linear-gradient(135deg, #2D5F3F, #3D7F5F);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reset-modal-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.reset-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: all 0.2s ease;
}

.reset-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.reset-modal-body {
    padding: 32px;
}

/* Step Indicator */
.reset-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
    gap: 12px;
}

.reset-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E4E4F0;
    color: #6E7191;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.reset-step.active {
    background: linear-gradient(135deg, #2D5F3F, #3D7F5F);
    color: white;
    box-shadow: 0 4px 12px rgba(45, 95, 63, 0.3);
    transform: scale(1.1);
}

.reset-step.completed {
    background: #00D4AA;
    color: white;
}

.reset-step-line {
    width: 60px;
    height: 2px;
    background: #E4E4F0;
}

.reset-step-line.completed {
    background: #00D4AA;
}

/* Form Steps */
.reset-form-step {
    display: none;
}

.reset-form-step.active {
    display: block;
    animation: fadeInStep 0.3s ease;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reset-step-title {
    font-size: 20px;
    font-weight: 700;
    color: #1A1F36;
    margin-bottom: 8px;
}

.reset-step-description {
    font-size: 14px;
    color: #6E7191;
    margin-bottom: 24px;
}

.reset-form-group {
    margin-bottom: 20px;
}

.reset-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1A1F36;
    margin-bottom: 8px;
}

.reset-form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E4E4F0;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.reset-form-input:focus {
    outline: none;
    border-color: #2D5F3F;
    box-shadow: 0 0 0 4px rgba(45, 95, 63, 0.1);
}

.reset-form-input.error {
    border-color: #FF6B6B;
}

.reset-input-hint {
    font-size: 13px;
    color: #6E7191;
    margin-top: 6px;
}

.reset-error-message {
    color: #FF6B6B;
    font-size: 13px;
    margin-top: 6px;
    display: none;
}

.reset-error-message.show {
    display: block;
}

/* OTP Input */
.otp-input-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 24px 0;
}

.otp-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 2px solid #E4E4F0;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.otp-input:focus {
    outline: none;
    border-color: #2D5F3F;
    box-shadow: 0 0 0 4px rgba(45, 95, 63, 0.1);
}

/* Password Strength */
.password-strength {
    margin-top: 12px;
}

.strength-bar {
    height: 4px;
    background: #E4E4F0;
    border-radius: 2px;
    margin-bottom: 8px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    width: 33%;
    background: #FF6B6B;
}

.strength-fill.medium {
    width: 66%;
    background: #FFB800;
}

.strength-fill.strong {
    width: 100%;
    background: #00D4AA;
}

.strength-text {
    font-size: 13px;
    font-weight: 600;
}

.strength-text.weak { color: #FF6B6B; }
.strength-text.medium { color: #FFB800; }
.strength-text.strong { color: #00D4AA; }

/* Buttons */
.reset-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.reset-btn {
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: 'Inter', sans-serif;
    flex: 1;
}

.reset-btn-secondary {
    background: #F7F7FC;
    color: #1A1F36;
}

.reset-btn-secondary:hover {
    background: #E4E4F0;
}

.reset-btn-primary {
    background: linear-gradient(135deg, #2D5F3F, #3D7F5F);
    color: white;
}

.reset-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 95, 63, 0.3);
}

.reset-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Alert */
.reset-alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.reset-alert.show {
    display: block;
}

.reset-alert.success {
    background: rgba(0, 212, 170, 0.1);
    color: #00A884;
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.reset-alert.error {
    background: rgba(255, 107, 107, 0.1);
    color: #FF6B6B;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.reset-alert.info {
    background: rgba(45, 95, 63, 0.1);
    color: #2D5F3F;
    border: 1px solid rgba(45, 95, 63, 0.2);
}

/* Resend OTP */
.resend-otp {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #6E7191;
}

.resend-link {
    color: #2D5F3F;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.resend-link:hover {
    color: #3D7F5F;
}

.resend-link.disabled {
    color: #6E7191;
    cursor: not-allowed;
    text-decoration: none;
}

/* Success State */
.reset-success-icon {
    font-size: 80px;
    text-align: center;
    margin-bottom: 20px;
}

.reset-success-title {
    font-size: 24px;
    font-weight: 700;
    color: #00D4AA;
    text-align: center;
    margin-bottom: 12px;
}

.reset-success-text {
    text-align: center;
    color: #6E7191;
    margin-bottom: 24px;
}