.forgot-pw-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 31, 0.45);
  backdrop-filter: blur(4px);
}
.forgot-pw-overlay.active {
  display: flex;
}
.forgot-pw-dialog {
  width: 90%;
  max-width: 400px;
  border-radius: 18px;
  background: #fff;
  padding: 28px 32px;
  box-shadow: 0 16px 48px rgba(20, 20, 40, 0.12);
}
.forgot-pw-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
}
.forgot-pw-desc,
.forgot-pw-masked {
  margin: 0 0 16px;
  font-size: 13px;
  color: #6b7280;
}
.forgot-pw-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.forgot-pw-label {
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
}
.forgot-pw-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
}
.forgot-pw-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
.forgot-pw-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.forgot-pw-btn-primary,
.forgot-pw-btn-secondary {
  flex: 1;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.forgot-pw-btn-primary {
  background: #3b82f6;
  color: #fff;
}
.forgot-pw-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.forgot-pw-btn-secondary {
  background: #f3f4f6;
  color: #374151;
}
.forgot-pw-error {
  font-size: 13px;
  color: #ef4444;
}
.forgot-pw-error.hidden,
.forgot-pw-form .hidden,
#bindPhoneStep2.hidden,
#bindPhoneStep1.hidden {
  display: none !important;
}
.forgot-pw-link-wrap {
  text-align: right;
  margin-top: 8px;
}
.forgot-pw-link {
  background: none;
  border: none;
  padding: 0;
  color: #3b82f6;
  font-size: 13px;
  cursor: pointer;
}
.forgot-pw-link:hover {
  text-decoration: underline;
}
