/* ===== Hatsun Forgot Password Module Styles ===== */
.hatsun-forgot-password {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  width: 100%;
}

.hatsun-forgot-password .auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* ===== Card ===== */
.hatsun-forgot-password .auth-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  padding: 2rem 2.25rem;
  width: 100%;
  max-width: 440px;
  box-sizing: border-box;
}

.hatsun-forgot-password .auth-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.35rem;
}

.hatsun-forgot-password .auth-card-subtitle {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.hatsun-forgot-password .auth-divider {
  border-top: 1px solid #eef0f2;
  margin: 0 -2.25rem 1.5rem;
}

/* ===== Form Controls ===== */
.hatsun-forgot-password .auth-label {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
  display: block;
  font-weight: 500;
}

.hatsun-forgot-password .auth-input {
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
  padding: 0.65rem 0.9rem;
  color: #374151;
  background-color: #fbfbfc;
  width: 100%;
  margin-bottom: 1.25rem;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.hatsun-forgot-password .auth-input:focus {
  outline: none;
  box-shadow: none;
  border-color: #93c5fd;
  background-color: #fff;
}

/* ===== Buttons ===== */
.hatsun-forgot-password .btn-auth-primary {
  background: linear-gradient(45deg, #1E58CC 0%, #2563EB 100%);
  border: none;
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: opacity 0.15s ease, box-shadow 0.15s ease;
}

.hatsun-forgot-password .btn-auth-primary:hover {
  opacity: 0.92;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.hatsun-forgot-password .btn-auth-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.hatsun-forgot-password .auth-back-link {
  display: block;
  text-align: center;
  margin-top: 1.1rem;
  font-size: 0.85rem;
  color: #2563EB;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  padding: 0.25rem;
}

.hatsun-forgot-password .auth-back-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* ===== OTP Input ===== */
.hatsun-forgot-password .otp-input-group {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
  justify-content: space-between;
}

.hatsun-forgot-password .otp-box {
  width: 48px;
  height: 52px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background-color: #fbfbfc;
  color: #374151;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.hatsun-forgot-password .otp-box:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
  background-color: #fff;
}

.hatsun-forgot-password .otp-timer {
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 1.25rem;
  text-align: left;
}

.hatsun-forgot-password .otp-resend {
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
  margin-top: 1rem;
}

.hatsun-forgot-password .otp-resend button,
.hatsun-forgot-password .otp-resend a {
  background: none;
  border: none;
  color: #2563EB;
  font-size: 0.85rem;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}

.hatsun-forgot-password .otp-resend button:hover,
.hatsun-forgot-password .otp-resend a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.hatsun-forgot-password .otp-resend button:disabled,
.hatsun-forgot-password .otp-resend a.disabled {
  color: #9ca3af;
  cursor: not-allowed;
  text-decoration: none;
}

/* ===== Password Requirements ===== */
.hatsun-forgot-password .pwd-requirements {
  margin: 0.5rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.hatsun-forgot-password .pwd-requirements li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #9ca3af;
  margin-bottom: 0.4rem;
  transition: color 0.15s ease;
}

.hatsun-forgot-password .pwd-requirements li.met {
  color: #16a34a;
}

.hatsun-forgot-password .pwd-requirements li .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #d1d5db;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}

.hatsun-forgot-password .pwd-requirements li.met .dot {
  background-color: #16a34a;
}

/* ===== Password Match Alert ===== */
.hatsun-forgot-password .pwd-match-error {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: -0.75rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ===== Success State ===== */
.hatsun-forgot-password .auth-success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #fff;
}

.hatsun-forgot-password .auth-success-icon svg {
  width: 34px;
  height: 34px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hatsun-forgot-password .auth-success-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  margin-bottom: 0.4rem;
}

.hatsun-forgot-password .auth-success-subtitle {
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* ===== Alerts & Errors ===== */
.hatsun-forgot-password .auth-alert-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.82rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.35;
}

.hatsun-forgot-password .auth-alert-error svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ===== Password Input with Toggle ===== */
.hatsun-forgot-password .auth-input-group {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}

.hatsun-forgot-password .auth-input-group .auth-input {
  margin-bottom: 0;
  padding-right: 2.5rem;
}

.hatsun-forgot-password .auth-eye-btn {
  position: absolute;
  right: 0.75rem;
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.hatsun-forgot-password .auth-eye-btn:hover {
  color: #4b5563;
}

.hatsun-forgot-password .auth-eye-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== Spinner ===== */
.hatsun-forgot-password .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: hatsun-spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes hatsun-spin {
  to {
    transform: rotate(360deg);
  }
}
/* Screen visibility utility */
.hatsun-forgot-password .fp-screen {
  display: none;
}

.hatsun-forgot-password .fp-screen.active {
  display: block;
}