/* =========================================
   FORGOT PIN PAGE – MATCHES LOGIN PAGE
   ========================================= */

:root {
  --forgot-gold: #f4b60c;
  --forgot-gold-soft: #d4a373;
  --forgot-graphite-light: #3c4049;
  --forgot-graphite-mid: #31343c;
  --forgot-graphite-dark: #2d3037;
}

/* Center the card under the hero */
.forgot-shell {
  min-height: calc(100vh - 220px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 16px 40px;
}

/* Main card – same as login-card */
.forgot-card {
  width: 100%;
  max-width: 420px;

  border-radius: 20px;
  padding: 22px 22px 24px;

  background:
    radial-gradient(circle at top left,
      rgba(244, 182, 12, 0.12),
      rgba(0, 0, 0, 0) 55%),
    linear-gradient(
      180deg,
      #31343c 0%,
      #3a3e48 40%,
      #2d3037 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.75),
    0 0 10px rgba(244, 182, 12, 0.12);

  color: #ffffff;
}

/* Header */
.forgot-header {
  text-align: left;
  margin-bottom: 16px;
}

.forgot-kicker {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: inline-block;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0.95;
}

.forgot-title {
  margin: 10px 0 4px;
  font-family: "Jomolhari", serif;
  font-size: 26px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
}

.forgot-subtitle {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

/* Status (success/error) */
.forgot-status {
  margin-bottom: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(244, 182, 12, 0.45);
  background: rgba(244, 182, 12, 0.10);
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.90);
}

.forgot-status.is-error {
  border-color: rgba(220, 53, 69, 0.75);
  background: rgba(220, 53, 69, 0.15);
  color: #ffd7dd;
}

/* Form */
.forgot-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.forgot-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.forgot-label {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f6f6f6;
}

.forgot-input {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background:
    radial-gradient(circle at top left,
      rgba(255, 255, 255, 0.06),
      rgba(0, 0, 0, 0.96));
  padding: 9px 14px;
  color: #ffffff;

  font-family: "Oswald", sans-serif;
  font-size: 14px;

  outline: none;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.forgot-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.forgot-input:focus {
  border-color: rgba(244, 182, 12, 0.95);
  box-shadow:
    0 0 0 1px rgba(244, 182, 12, 0.65),
    0 0 14px rgba(244, 182, 12, 0.55);
  background:
    radial-gradient(circle at top left,
      rgba(244, 182, 12, 0.16),
      rgba(0, 0, 0, 0.98));
}

/* Button */
.forgot-button {
  margin-top: 6px;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;

  font-family: "Oswald", sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: #ffffff;
  background: linear-gradient(
    135deg,
    #3a3e48,
    #5b5138,
    #8e7a4a
  );

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.75),
    0 0 10px rgba(244, 182, 12, 0.20);

  cursor: pointer;
  transition:
    transform 0.15s ease-out,
    box-shadow 0.15s ease-out,
    filter 0.15s ease-out;
}

.forgot-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.85),
    0 0 14px rgba(244, 182, 12, 0.28);
  filter: brightness(1.03);
}

.forgot-button:active {
  transform: translateY(0);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.85),
    0 0 12px rgba(244, 182, 12, 0.20);
}

/* Footer */
.forgot-footer {
  margin-top: 16px;
  text-align: center;
}

.forgot-help {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.forgot-link {
  color: rgba(244, 182, 12, 0.92);
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 768px) {
  .forgot-shell {
    padding-top: 20px;
  }

  .forgot-card {
    padding: 18px 16px 22px;
  }

  .forgot-title {
    font-size: 22px;
  }
}

@media (min-width: 992px) {
  .forgot-card {
    max-width: 460px;
  }

  .forgot-title {
    font-size: 28px;
  }

  .forgot-subtitle {
    font-size: 14px;
  }
}
