/**
 * PureKing – Password Reset Form Styles
 * Styled to match the login card. Mobile-first.
 */

/* ── Intro text ──────────────────────────────────────────────────────────── */
.pk-pwreset-intro {
  font-size: 14px;
  color: #64748B;
  line-height: 1.65;
  margin: 0 0 24px;
  text-align: center;
}

/* ── Email field ─────────────────────────────────────────────────────────── */
#pureking-password-reset-form .form-item {
  margin-bottom: 20px;
}

#pureking-password-reset-form .form-item label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

#pureking-password-reset-form input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  border: 1.5px solid #D1D5DB;
  border-radius: 10px;
  font-size: 15px;
  color: #0A1628;
  background: #FAFAFA;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  outline: none;
  -webkit-appearance: none;
}

#pureking-password-reset-form input[type="email"]:focus {
  border-color: #E8A020;
  box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.15);
  background: #fff;
}

#pureking-password-reset-form .form-item--error input[type="email"] {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

#pureking-password-reset-form .form-item--error-message {
  color: #DC2626;
  font-size: 12px;
  margin-top: 6px;
}

/* ── Submit button ───────────────────────────────────────────────────────── */
.pk-pwreset-submit,
#pureking-password-reset-form .form-actions input[type="submit"] {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #E8A020 0%, #D4891A 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  box-shadow: 0 4px 14px rgba(232, 160, 32, 0.35);
}

.pk-pwreset-submit:hover,
#pureking-password-reset-form .form-actions input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 160, 32, 0.45);
}

.pk-pwreset-submit:active,
#pureking-password-reset-form .form-actions input[type="submit"]:active {
  transform: translateY(0);
  opacity: 0.9;
}

/* ── Back link ───────────────────────────────────────────────────────────── */
.pk-pwreset-back-wrap {
  text-align: center;
  margin-top: 20px;
}

.pk-pwreset-back-link {
  font-size: 13px;
  color: #6B7280;
  text-decoration: none;
  transition: color 0.15s ease;
}

.pk-pwreset-back-link:hover {
  color: #E8A020;
  text-decoration: underline;
}

/* ── Success state ───────────────────────────────────────────────────────── */
.pk-pwreset-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 0 12px;
  animation: pk-fadeInUp 0.4s ease both;
}

@keyframes pk-fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pk-pwreset-success__icon {
  margin-bottom: 20px;
}

.pk-pwreset-success__heading {
  font-size: 22px;
  font-weight: 800;
  color: #0A1628;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}

.pk-pwreset-success__body {
  font-size: 15px;
  color: #374151;
  line-height: 1.65;
  margin: 0 0 12px;
}

.pk-pwreset-success__body strong {
  color: #0A1628;
  font-weight: 700;
}

.pk-pwreset-success__hint {
  font-size: 13px;
  color: #9CA3AF;
  line-height: 1.6;
  margin: 0 0 28px;
  padding: 0 8px;
}

/* Back button after success */
.pk-pwreset-back-btn {
  display: inline-block;
  padding: 12px 32px;
  background: #0A1628;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.18s ease, transform 0.15s ease;
  letter-spacing: 0.02em;
}

.pk-pwreset-back-btn:hover {
  background: #162235;
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .pk-pwreset-success__heading {
    font-size: 20px;
  }

  .pk-pwreset-success__body {
    font-size: 14px;
  }

  #pureking-password-reset-form input[type="email"] {
    font-size: 16px; /* Prevents iOS zoom */
    padding: 14px 14px;
  }

  .pk-pwreset-submit,
  #pureking-password-reset-form .form-actions input[type="submit"] {
    padding: 15px 20px;
    font-size: 15px;
  }
}
