/* Forgot password: Email / WhatsApp OTP chooser + WhatsApp reset panel.
   Brand red (#e60000) matches the store's own Continue / Back buttons;
   WhatsApp green is used only for the WhatsApp icon. */

#wa-forgot-box {
  margin: 0 0 24px;
}

#wa-forgot-box button {
  text-transform: none;
  letter-spacing: normal;
}

.wa-fg-heading {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
}

.wa-fg-sub {
  margin: 0 0 14px;
  font-size: 14px;
  color: #666;
}

/* ── the two option cards ── */
.wa-fg-options {
  display: flex;
  gap: 12px;
}

.wa-fg-option {
  position: relative;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  background: #fff;
  border: 2px solid #dcdcdc;
  border-radius: 10px;
  color: #222;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  outline: none;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}

.wa-fg-option:hover {
  border-color: #e60000;
}

.wa-fg-option:focus {
  box-shadow: 0 0 0 3px rgba(230, 0, 0, .22);
}

.wa-fg-option.active {
  border-color: #e60000;
  background: #fff5f5;
}

.wa-fg-option-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
}

.wa-fg-icon-email { background: #444; }
.wa-fg-icon-wa    { background: #25D366; }

.wa-fg-option-text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wa-fg-option-text strong {
  font-size: 15px;
  line-height: 1.25;
}

.wa-fg-option-text small {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.35;
  color: #666;
  white-space: normal;
}

.wa-fg-check {
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
  color: #d4d4d4;
}

.wa-fg-option.active .wa-fg-check {
  color: #e60000;
}

/* ── WhatsApp reset panel ── */
.wa-fg-panel {
  margin-top: 16px;
  padding: 18px 18px 14px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-top: 3px solid #e60000;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

#wa-forgot-box .form-control {
  height: 46px;
}

#wa-fg-otp {
  letter-spacing: 4px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

/* ── buttons: same red pill as the store's Continue button ── */
.wa-fg-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #e60000;
  border: 0;
  border-radius: 30px;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(230, 0, 0, .2);
  transition: background-color .15s;
}

.wa-fg-btn:hover,
.wa-fg-btn:focus {
  background: #c20000;
  color: #fff;
  text-decoration: none;
}

.wa-fg-btn[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

.wa-fg-link {
  padding: 6px 0;
  background: none;
  border: 0;
  color: #e60000;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  box-shadow: none;
}

.wa-fg-link[disabled] {
  color: #9ca3af;
  text-decoration: none;
  cursor: not-allowed;
}

.wa-fg-back {
  margin-top: 10px;
  font-size: 13px;
}

.wa-fg-back a {
  color: #666;
}

@media (max-width: 575px) {
  .wa-fg-options {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .wa-fg-btn {
    width: 100%;
  }
}

/* text links inside a stacked row stay left-aligned instead of stretching */
.wa-otp-row .wa-fg-link {
  align-self: flex-start;
  text-align: left;
}

.wa-paste-btn { display: inline-block; margin: -2px 0 8px; font-size: 13px; font-weight: 600; color: var(--wa-primary, #1450b0); }
