/* ===================================================================
   Account pages: Order History + Thank You / Order Received
   Shares the store's gold-on-dark palette, scoped with fallbacks so the
   file is safe to load on its own.
   =================================================================== */

.eman-account-page {
  --acct-gold: var(--color-gold, #c9a45c);
  --acct-gold-light: var(--color-gold-light, #e0c48b);
  --acct-cream: var(--color-cream, #f4ebdd);
  --acct-white: var(--color-white, #ffffff);
  --acct-muted: var(--color-text, #b9aea3);
  --acct-card: var(--color-card, #1d1714);
  --acct-soft: var(--color-bg-soft, #151110);
  --acct-green: #1e7d4f;
  --acct-amber: #b8811f;
  --acct-blue: #3d6fa8;
  --acct-red: #a8443c;

  position: relative;
  max-width: 1040px;
  padding: 150px 20px 90px;
}

@media (max-width: 560px) {
  .eman-account-page {
    padding: 118px 18px 70px;
  }
}

/*
 * The order-received screen renders inside the Checkout page template, which
 * already supplies the page padding and the fixed-header offset. Reset them
 * here so the two do not stack.
 */
.eman-account-page.eman-order-received {
  max-width: none;
  padding: 34px 0 60px;
}

@media (max-width: 560px) {
  .eman-account-page.eman-order-received {
    padding: 24px 0 46px;
  }
}

/* ── Shared heading ──────────────────────────────────────────────────── */

.eman-account-heading {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.eman-account-heading h1 {
  margin-bottom: 14px;
  color: var(--acct-white);
  font-family: var(--font-heading, Georgia, serif);
  font-weight: 500;
  font-size: clamp(38px, 5.5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.eman-account-heading > p:last-child {
  color: var(--acct-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ── Buttons ────────────────────────────────────────────────────────── */

.eman-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
}

/*
 * Scoped to the wrapper classes rather than to the element, so the identical
 * .eman-btn markup also renders on the Sign Up page, which has its own
 * wrapper and therefore does not inherit the --acct-* custom properties.
 */
.eman-account-page .eman-btn,
.eman-signup-page .eman-btn {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body, Helvetica, Arial, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease;
}

.eman-account-page .eman-btn-gold,
.eman-signup-page .eman-btn-gold {
  background: linear-gradient(135deg, var(--color-gold-light, #e0c48b), var(--color-gold, #c9a45c));
  color: #1a1208;
}

.eman-account-page .eman-btn-gold:hover,
.eman-account-page .eman-btn-gold:focus-visible,
.eman-signup-page .eman-btn-gold:hover,
.eman-signup-page .eman-btn-gold:focus-visible {
  background: linear-gradient(135deg, var(--color-gold, #c9a45c), var(--color-gold-light, #e0c48b));
  color: #ffffff;
  transform: translateY(-2px);
}

.eman-account-page .eman-btn-ghost,
.eman-signup-page .eman-btn-ghost {
  background: transparent;
  border-color: rgba(201, 164, 92, 0.35);
  color: var(--color-cream, #f4ebdd);
}

.eman-account-page .eman-btn-ghost:hover,
.eman-account-page .eman-btn-ghost:focus-visible,
.eman-signup-page .eman-btn-ghost:hover,
.eman-signup-page .eman-btn-ghost:focus-visible {
  border-color: var(--color-gold, #c9a45c);
  color: var(--color-gold-light, #e0c48b);
  transform: translateY(-2px);
}

/* ── Empty / signed-out state ───────────────────────────────────────── */

.eman-account-empty {
  max-width: 620px;
  margin: 0 auto;
  padding: 46px 34px;
  border: 1px solid rgba(201, 164, 92, 0.18);
  border-radius: 8px;
  background: var(--color-card);
  text-align: center;
}

.eman-account-empty h2 {
  margin-bottom: 14px;
  color: var(--acct-white);
  font-family: var(--font-heading, Georgia, serif);
  font-weight: 500;
  font-size: 30px;
}

.eman-account-empty p {
  color: var(--acct-muted);
  font-size: 14px;
  line-height: 1.75;
}

.eman-account-empty .eman-account-actions {
  justify-content: center;
  margin-top: 26px;
}

/* ── Order history list ─────────────────────────────────────────────── */

.eman-order-list {
  display: grid;
  gap: 20px;
}

.eman-order-card {
  border: 1px solid rgba(201, 164, 92, 0.16);
  border-radius: 8px;
  background: var(--acct-card);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.eman-order-card:hover {
  border-color: rgba(201, 164, 92, 0.4);
  transform: translateY(-3px);
}

.eman-order-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 26px;
  border-bottom: 1px solid rgba(201, 164, 92, 0.14);
  background: var(--acct-soft);
}

.eman-order-label {
  display: block;
  margin-bottom: 4px;
  color: var(--acct-gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.eman-order-number {
  color: var(--acct-white);
  font-family: var(--font-heading, Georgia, serif);
  font-size: 21px;
  letter-spacing: 0.02em;
}

.eman-order-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.eman-order-meta time {
  color: var(--acct-muted);
  font-size: 12px;
}

/* Status pill. The is-* class is the raw WooCommerce status slug. */
.eman-order-status {
  display: inline-block;
  padding: 6px 13px;
  border: 1px solid currentColor;
  border-radius: 9999px;
  color: var(--acct-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.eman-order-status.is-processing,
.eman-order-status.is-on-hold {
  color: var(--acct-amber);
}

.eman-order-status.is-completed {
  color: var(--acct-green);
}

.eman-order-status.is-cancelled,
.eman-order-status.is-failed {
  color: var(--acct-red);
}

.eman-order-status.is-refunded {
  color: var(--acct-blue);
}

.eman-order-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 20px 26px;
  list-style: none;
}

.eman-order-item {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 240px;
  color: var(--acct-cream);
  font-size: 13px;
}

.eman-order-item.is-more {
  color: var(--acct-muted);
  font-size: 12px;
  font-style: italic;
}

.eman-order-thumb img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 1px solid rgba(201, 164, 92, 0.18);
  border-radius: 4px;
  background: var(--acct-soft);
}

.eman-order-item-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eman-order-item-name a {
  color: inherit;
  text-decoration: none;
}

.eman-order-item-name a:hover {
  color: var(--acct-gold-light);
}

.eman-order-qty {
  flex: 0 0 auto;
  color: var(--acct-muted);
  font-size: 12px;
}

.eman-order-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 26px;
  border-top: 1px solid rgba(201, 164, 92, 0.12);
  background: rgba(36, 26, 16, 0.05);
}

.eman-order-total {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--acct-gold-light);
  font-size: 19px;
  font-weight: 500;
}

.eman-order-total .eman-order-label {
  margin-bottom: 0;
}

.eman-order-view {
  padding: 11px 22px !important;
}

/* ── Thank you / order received ─────────────────────────────────────── */

.eman-thankyou-hero {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.eman-thankyou-hero h1 {
  margin-bottom: 16px;
  color: var(--acct-white);
  font-family: var(--font-heading, Georgia, serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.eman-thankyou-lead {
  color: var(--acct-muted);
  font-size: 15px;
  line-height: 1.75;
}

.eman-thankyou-order,
.eman-thankyou-panel {
  max-width: 780px;
  margin: 0 auto 26px;
  padding: 32px 34px;
  border: 1px solid rgba(201, 164, 92, 0.2);
  border-radius: 8px;
  background: var(--acct-card);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

.eman-thankyou-order-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(201, 164, 92, 0.16);
}

.eman-thankyou-order-head h2,
.eman-thankyou-panel h2 {
  margin: 0;
  color: var(--acct-white);
  font-family: var(--font-heading, Georgia, serif);
  font-weight: 500;
  font-size: 26px;
}

.eman-thankyou-panel > p {
  color: var(--acct-muted);
  font-size: 14px;
  line-height: 1.7;
}

.eman-thankyou-items {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.eman-thankyou-items li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto auto;
  gap: 6px 16px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(36, 26, 16, 0.10);
  color: var(--acct-cream);
  font-size: 14px;
}

.eman-thankyou-items li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.eman-thankyou-items .eman-order-thumb img {
  width: 56px;
  height: 56px;
}

.eman-thankyou-line-total {
  color: var(--acct-gold-light);
  white-space: nowrap;
}

.eman-thankyou-totals {
  display: grid;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 164, 92, 0.16);
}

.eman-thankyou-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  color: var(--acct-muted);
  font-size: 13px;
}

.eman-thankyou-row strong {
  color: var(--acct-cream);
  font-weight: 500;
  text-align: right;
  word-break: break-word;
}

.eman-thankyou-row.is-total {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 164, 92, 0.16);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.eman-thankyou-row.is-total strong {
  color: var(--acct-gold-light);
  font-size: 21px;
  text-transform: none;
  letter-spacing: 0;
}

.eman-thankyou-actions {
  justify-content: center;
  max-width: 780px;
  margin: 34px auto 0;
}

/* ── My Account dashboard ────────────────────────────────────────────── */

.eman-myaccount-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}

.eman-myaccount-card {
  padding: 30px 32px;
  border: 1px solid rgba(201, 164, 92, 0.18);
  border-radius: 8px;
  background: var(--acct-card);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.eman-myaccount-card h2 {
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(201, 164, 92, 0.16);
  color: var(--acct-white);
  font-family: var(--font-heading, Georgia, serif);
  font-weight: 500;
  font-size: 24px;
}

.eman-myaccount-details {
  display: grid;
  gap: 16px;
  margin: 0;
}

.eman-myaccount-details > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(36, 26, 16, 0.10);
}

.eman-myaccount-details dt {
  color: var(--acct-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.eman-myaccount-details dd {
  margin: 0;
  color: var(--acct-cream);
  font-size: 15px;
  text-align: right;
  word-break: break-word;
}

.eman-myaccount-none {
  color: var(--acct-muted);
  font-size: 14px;
}

.eman-myaccount-orders {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eman-myaccount-orders a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 16px 18px;
  border: 1px solid rgba(201, 164, 92, 0.14);
  border-radius: 6px;
  background: var(--acct-soft);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.eman-myaccount-orders a:hover,
.eman-myaccount-orders a:focus-visible {
  border-color: rgba(201, 164, 92, 0.45);
  transform: translateY(-2px);
}

.eman-myaccount-orders .eman-order-number {
  font-size: 18px;
}

.eman-myaccount-orders .eman-order-meta {
  gap: 10px;
}

.eman-myaccount-orders .eman-order-meta time {
  font-size: 11px;
}

.eman-myaccount-orders .eman-order-total {
  font-size: 17px;
}

.eman-myaccount-actions {
  justify-content: center;
  margin-top: 30px;
}

/* ── Full-page Sign Up ───────────────────────────────────────────────── */

.eman-signup-page {
  --color-gold: #c9a45c;
  --color-gold-light: #e0c48b;
  --color-cream: #f4ebdd;
  --color-white: #fff;
  --color-text: #b9aea3;
  --color-card: #1d1714;

  min-height: 70vh;
  padding: 150px 20px 90px;
}

@media (max-width: 560px) {
  .eman-signup-page {
    padding: 118px 18px 70px;
  }
}

.eman-signup-page-inner {
  max-width: 620px;
  margin: 0 auto;
}

.eman-signup-page-copy h1 {
  margin-bottom: 18px;
  color: var(--acct-white, var(--color-white, #fff));
  font-family: var(--font-heading, Georgia, serif);
  font-weight: 500;
  font-size: clamp(38px, 5.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.eman-signup-page-lead {
  margin-bottom: 34px;
  color: var(--color-text, #b9aea3);
  font-size: 15px;
  line-height: 1.75;
}

.eman-signup-page-form {
  display: grid;
  gap: 16px;
}

.eman-signup-page-field {
  display: grid;
  gap: 7px;
}

.eman-signup-page-field label {
  color: var(--color-text, #b9aea3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.eman-signup-page-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(201, 164, 92, 0.2);
  border-radius: 3px;
  outline: 0;
  background: var(--color-card, #1d1714);
  color: var(--color-white, #fff);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.eman-signup-page-field input:focus {
  border-color: var(--color-gold, #c9a45c);
  background: #ffffff;
}

.eman-signup-page-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 6px;
  cursor: pointer;
}

.eman-signup-page-submit.is-loading {
  opacity: 0.65;
  cursor: progress;
}

.eman-signup-page-msg {
  margin: 0;
  color: #c9645c;
  font-size: 13px;
}

.eman-signup-page-msg.is-error {
  color: #c9645c;
}

.eman-signup-page-msg[hidden] {
  display: none;
}

/* Explains that email and phone are interchangeable, so neither label
   needs a "required" mark. */
.eman-signup-page-hint {
  margin: -2px 0 0;
  color: var(--color-text, #b9aea3);
  font-size: 12.5px;
  line-height: 1.6;
}

.eman-signup-page-optional {
  color: var(--color-gold, #c9a45c);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eman-signup-page-success {
  padding: 28px 30px;
  border: 1px solid rgba(30, 125, 79, 0.4);
  border-radius: 8px;
  background: rgba(30, 125, 79, 0.1);
}

.eman-signup-page-success strong {
  display: block;
  margin-bottom: 8px;
  color: #6fcf9f;
  font-family: var(--font-heading, Georgia, serif);
  font-size: 24px;
  font-weight: 500;
}

.eman-signup-page-success span {
  color: var(--color-cream, #f4ebdd);
  font-size: 14px;
  word-break: break-word;
}

.eman-signup-page-perks {
  display: grid;
  gap: 11px;
  margin: 36px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(201, 164, 92, 0.16);
  list-style: none;
}

.eman-signup-page-perks li {
  position: relative;
  padding-left: 26px;
  color: var(--color-text, #b9aea3);
  font-size: 13.5px;
  line-height: 1.6;
}

.eman-signup-page-perks li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 1px solid var(--color-gold, #c9a45c);
  border-radius: 50%;
  color: var(--color-gold-light, #e0c48b);
  content: "\2713";
  font-size: 10px;
  line-height: 1;
}

/* ── Legal pages (Privacy Policy / Terms) ────────────────────────────── */

.eman-legal-page {
  --color-bg: #0b0908;
  --color-gold: #c9a45c;
  --color-gold-light: #e0c48b;
  --color-cream: #f6efdd;
  --color-white: #fff;
  --color-text: #c9bda9;

  --acct-gold: var(--color-gold);
  --acct-muted: var(--color-text);

  max-width: 820px;
  padding: 150px 20px 90px;
  background: var(--color-bg, #0b0908);
  color: var(--color-cream);
}

@media (max-width: 560px) {
  .eman-legal-page {
    padding: 118px 18px 70px;
  }
}

.eman-legal-heading {
  max-width: 100%;
  margin: 0 0 44px;
  text-align: left;
}

.eman-legal-heading h1 {
  margin-bottom: 12px;
  color: var(--color-white, #fff);
  font-family: var(--font-heading, Georgia, serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.eman-legal-updated {
  color: var(--color-text);
  font-size: 12.5px;
  letter-spacing: 0.4px;
}

.eman-legal-body {
  margin-bottom: 34px;
}

.eman-legal-section {
  padding-top: 30px;
  border-top: 1px solid rgba(201, 164, 92, 0.18);
}

.eman-legal-section h2 {
  margin-bottom: 10px;
  color: var(--color-white, #fff);
  font-family: var(--font-heading, Georgia, serif);
  font-weight: 500;
  font-size: 26px;
}

.eman-legal-note {
  margin-bottom: 18px;
  color: var(--acct-muted);
  font-size: 12.5px;
  font-style: italic;
}

.eman-legal-empty {
  padding: 22px 24px;
  border: 1px dashed rgba(201, 164, 92, 0.32);
  border-radius: 6px;
  color: var(--acct-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Long-form policy body: the page's own editor content. */
.eman-prose {
  color: var(--color-cream, #f6efdd);
  font-size: 16px;
  line-height: 1.85;
}

.eman-prose h2,
.eman-prose h3,
.eman-prose h4 {
  margin: 34px 0 12px;
  color: var(--color-white, #fff);
  font-family: var(--font-heading, Georgia, serif);
  font-weight: 500;
}

.eman-prose h2 {
  font-size: 26px;
}

.eman-prose h3 {
  font-size: 21px;
}

.eman-prose p {
  margin: 0 0 18px;
}

.eman-prose ul,
.eman-prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.eman-prose li {
  margin-bottom: 8px;
}

.eman-prose a {
  color: var(--color-gold-light, #e0c48b);
}

.eman-prose strong {
  color: var(--color-white, #fff);
}

.eman-woo-privacy-text {
  color: var(--color-cream, #f6efdd);
  font-size: 15px;
  line-height: 1.8;
}

.eman-woo-privacy-text h2,
.eman-woo-privacy-text h3 {
  margin: 26px 0 10px;
  color: var(--color-white, #fff);
  font-family: var(--font-heading, Georgia, serif);
  font-weight: 500;
}

.eman-woo-privacy-text p {
  margin: 0 0 14px;
}

.eman-legal-contact {
  margin: 40px 0 0;
}

/* ── Mobile ─────────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .eman-myaccount-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .eman-account-heading {
    margin-bottom: 38px;
  }

  .eman-order-card-head,
  .eman-order-items,
  .eman-order-card-foot {
    padding-left: 18px;
    padding-right: 18px;
  }

  .eman-order-meta {
    width: 100%;
    justify-content: space-between;
  }

  .eman-order-item {
    max-width: 100%;
  }

  .eman-thankyou-order,
  .eman-thankyou-panel {
    padding: 24px 18px;
  }

  .eman-thankyou-items li {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  .eman-thankyou-items .eman-order-thumb img {
    width: 48px;
    height: 48px;
  }

  .eman-thankyou-line-total {
    grid-column: 2 / -1;
  }

  .eman-account-page .eman-btn {
    flex: 1 1 auto;
  }

  .eman-myaccount-card {
    padding: 24px 18px;
  }

  .eman-myaccount-details > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .eman-myaccount-details dd {
    text-align: left;
  }
}

/* ===================================================================
   Account forms — create an account and sign in
   =================================================================== */

/*
 * Honeypot. A bot fills every field it finds, a person never sees this one, so
 * it is taken out of the layout entirely rather than merely hidden with
 * `display:none` (which some bots skip).
 */
.eman-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

/* — Password input with a show/hide control ————————————————————— */

.eman-password-field {
  position: relative;
  display: block;
}

.eman-password-field input {
  width: 100%;
  /* Room for the toggle so the text never runs underneath it. */
  padding-right: 68px;
}

.eman-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  padding: 7px 10px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--color-gold, #c9a45c);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.eman-password-toggle:hover,
.eman-password-toggle:focus-visible {
  background: rgba(201, 164, 92, 0.12);
  color: var(--color-gold-light, #e0c48b);
  outline: none;
}

/* — Strength read-out ———————————————————————————————————————— */

.eman-password-meter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 0;
}

.eman-password-meter[hidden] {
  display: none;
}

.eman-password-meter-bar {
  position: relative;
  flex: 1 1 auto;
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(36, 26, 16, 0.12);
}

.eman-password-meter-bar span {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: 2px;
  background: #c9645c;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.eman-password-meter-label {
  flex: 0 0 auto;
  color: var(--color-text, #b9aea3);
  font-size: 11.5px;
}

.eman-password-meter[data-strength="1"] .eman-password-meter-bar span {
  background: #c9645c;
}

.eman-password-meter[data-strength="2"] .eman-password-meter-bar span {
  background: #d9a441;
}

.eman-password-meter[data-strength="3"] .eman-password-meter-bar span {
  background: #6fcf9f;
}

.eman-password-meter[data-strength="4"] .eman-password-meter-bar span {
  background: #3fae7a;
}

/* — Confirmation field feedback ——————————————————————————————— */

.eman-password-match {
  margin: 8px 0 0;
  color: #c9645c;
  font-size: 11.5px;
}

.eman-password-match[hidden] {
  display: none;
}

.eman-password-match.is-match {
  color: #6fcf9f;
}

/* — Sign-in specifics —————————————————————————————————————— */

.eman-login-form {
  max-width: 420px;
  /* Without this the 420px block sits hard against the left edge of the 1040px
     <main>, so the sign-in form drifted left while the heading above it stayed
     centred. Every sibling block here (.eman-signup-page-inner,
     .eman-account-empty, the thank-you panels) already centres itself. */
  margin: 0 auto;
}

.eman-login-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 2px;
  font-size: 12.5px;
}

.eman-login-options a {
  color: var(--color-gold, #c9a45c);
  text-underline-offset: 3px;
}

.eman-login-options a:hover {
  color: var(--color-gold-light, #e0c48b);
}

.eman-login-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text, #b9aea3);
  cursor: pointer;
}

.eman-login-remember input {
  width: 15px;
  height: 15px;
  accent-color: var(--color-gold, #c9a45c);
  cursor: pointer;
}

/* — Route between the two forms ———————————————————————————————— */

.eman-signup-page-switch {
  margin: 22px 0 0;
  color: var(--color-text, #b9aea3);
  font-size: 13px;
}

.eman-signup-page-switch a {
  margin-left: 5px;
  color: var(--color-gold, #c9a45c);
  font-weight: 600;
  text-underline-offset: 3px;
}

.eman-signup-page-switch a:hover {
  color: var(--color-gold-light, #e0c48b);
}

/* — Notices on My Account ——————————————————————————————————— */

.eman-account-notice {
  margin: 0 0 22px;
  padding: 14px 18px;
  border: 1px solid rgba(201, 164, 92, 0.32);
  border-radius: 10px;
  background: rgba(201, 164, 92, 0.08);
  color: var(--color-cream, #f4ebdd);
  font-size: 13.5px;
  line-height: 1.6;
}

.eman-account-notice.is-success {
  border-color: rgba(30, 125, 79, 0.42);
  background: rgba(30, 125, 79, 0.12);
}
