  /* =========================
   Forgot Password Page - Modern UI
   Targets: form.form.password.forget
========================= */

/* Page title */
.page-title-wrapper {
  text-align: center;
  margin: 18px 0 24px;
}

.page-title-wrapper .page-title .base {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.2px;
}

/* Center main column */
.customer-account-forgotpassword .column.main,
.customer-account-forgotpassword .columns .column.main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Card form */
.customer-account-forgotpassword form.form.password.forget {
  width: 100%;
  max-width: 560px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 30px 34px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
}

/* Note text */
.customer-account-forgotpassword form.form.password.forget .field.note {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 14px;
  text-align: center;
}

/* Labels */
.customer-account-forgotpassword form.form.password.forget .field .label span {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

/* Inputs */
.customer-account-forgotpassword form.form.password.forget .control .input-text {
  height: 46px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  padding: 10px 14px;
  font-size: 14px;
  background: #fff;
  transition: 0.25s ease;
  box-shadow: none;
}

.customer-account-forgotpassword form.form.password.forget .control .input-text:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* Field spacing */
.customer-account-forgotpassword form.form.password.forget .fieldset .field {
  margin-bottom: 16px;
}

/* Actions layout */
.customer-account-forgotpassword form.form.password.forget .actions-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

/* Reset button */
.customer-account-forgotpassword form.form.password.forget .actions-toolbar .primary {
  flex: 1;
}

.customer-account-forgotpassword form.form.password.forget .actions-toolbar .primary .action.submit.primary {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 0;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.3px;
  color: #fff;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  cursor: pointer;
  transition: 0.25s ease;
}

.customer-account-forgotpassword form.form.password.forget .actions-toolbar .primary .action.submit.primary:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

/* Back link */
.customer-account-forgotpassword form.form.password.forget .actions-toolbar .secondary {
  white-space: nowrap;
}

.customer-account-forgotpassword form.form.password.forget .actions-toolbar .secondary .action.back {
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}

.customer-account-forgotpassword form.form.password.forget .actions-toolbar .secondary .action.back:hover {
  text-decoration: underline;
}

/* Messages block spacing */
.customer-account-forgotpassword .page.messages {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 18px;
}

/* Responsive */
@media (max-width: 480px) {
  .page-title-wrapper .page-title .base {
    font-size: 24px;
  }

  .customer-account-forgotpassword form.form.password.forget {
    padding: 22px 18px;
    border-radius: 12px;
  }

  .customer-account-forgotpassword form.form.password.forget .actions-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .customer-account-forgotpassword form.form.password.forget .actions-toolbar .secondary {
    text-align: center;
  }
}
