/* =============================================================================
   My Account — the shell shared by Profile and My Bookings.

   A cover band, a sticky left rail, and a content column. Both pages use it, so
   moving between them feels like staying in one place rather than visiting two
   unrelated screens.
   ============================================================================= */

/* The band the shell pulls up over. Purely decorative, hence aria-hidden in the
   markup — it carries no information a screen reader needs.

   _Layout wraps every page in .container, so without breaking out the band
   would stop at the container's max-width and leave white gutters either side.
   This is the site's established full-bleed escape (see site.css) — the
   overflow-x:hidden on html/body there absorbs the scrollbar-width overshoot
   that 100vw causes on Windows. */
.acc-hero {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 190px;
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 55%),
    linear-gradient(135deg, #0f1b2d 0%, #1d3358 55%, #33507a 100%);
}

.acc-shell {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 1.5rem;
  max-width: 1120px;
  margin: -110px auto 4rem;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

.acc-main {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
}

/* ---------- Cards ---------- */
.acc-card {
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04);
}

.acc-card-head {
  margin-bottom: 1.15rem;
}

.acc-card-head h2 {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f1b2d;
}

.acc-card-head p {
  margin: 0;
  font-size: 0.84rem;
  color: #64748b;
}

/* ---------- Sidebar ---------- */
.acc-rail {
  position: sticky;
  top: 1.25rem;
  align-self: start;
}

.acn {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 1rem;
  padding: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04);
}

.acn-id {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.55rem 0.9rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 0.5rem;
  min-width: 0;
}

.acn-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d3358, #33507a);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.acn-id-text {
  min-width: 0;
}

.acn-id-text b {
  display: block;
  font-size: 0.9rem;
  color: #0f1b2d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.acn-id-text small {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.acn-label {
  padding: 0.6rem 0.6rem 0.25rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #a3aebd;
}

.acn-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.62rem 0.6rem;
  border-radius: 0.6rem;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.acn-item:hover {
  background: #f6f9fc;
  color: #0f1b2d;
}

.acn-item.is-active {
  background: #eef4ff;
  color: #1d3358;
}

.acn-item svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  opacity: 0.75;
}

.acn-item.is-active svg {
  opacity: 1;
}

.acn-item span {
  flex: 1 1 auto;
}

.acn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d9534f;
  flex: 0 0 auto;
}

.acn-count {
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: #eef2f7;
  color: #64748b;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
}

.acn-item.is-active .acn-count {
  background: #1d3358;
  color: #fff;
}

.acn-signout {
  margin: 0.5rem 0 0;
  padding-top: 0.5rem;
  border-top: 1px solid #f1f5f9;
}

.acn-signout button {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.62rem 0.6rem;
  border: 0;
  border-radius: 0.6rem;
  background: none;
  color: #94a3b8;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.acn-signout button:hover {
  background: #fdf1ef;
  color: #b4483a;
}

.acn-signout svg {
  width: 16px;
  height: 16px;
}

/* ---------- Identity card ---------- */
.acc-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 1.1rem;
  align-items: center;
}

.acc-identity-avatar {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d3358, #33507a);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}

.acc-identity-text h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f1b2d;
}

.acc-identity-text p {
  margin: 0.1rem 0 0;
  font-size: 0.85rem;
  color: #64748b;
}

.acc-progress {
  grid-column: 2;
}

.acc-progress-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.acc-progress-top span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1d3358;
}

.acc-progress-top small {
  font-size: 0.74rem;
  color: #94a3b8;
}

.acc-progress-track {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}

.acc-progress-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d3358, #4d7ec0);
  transition: width 0.35s ease;
}

/* ---------- Tabs ----------
   Pills on a card rather than an underline, so they read as switching what the
   panel below contains — distinct from the bookings page, where the underlined
   product tabs are page-level navigation. */
.acc-tabs {
  display: flex;
  gap: 0.3rem;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 0.8rem;
  box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04);
  overflow-x: auto;
  scrollbar-width: none;
}

.acc-tabs::-webkit-scrollbar {
  display: none;
}

.acc-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 auto;
  justify-content: center;
  padding: 0.62rem 1.1rem;
  border: 0;
  border-radius: 0.6rem;
  background: none;
  color: #64748b;
  font: inherit;
  font-size: 0.89rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.acc-tab:hover {
  background: #f6f9fc;
  color: #0f1b2d;
}

.acc-tab.is-active {
  background: #0f1b2d;
  color: #fff;
}

.acc-tab svg {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

.acc-tab.is-active svg {
  opacity: 1;
}

.acc-tabpanel {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.acc-tabpanel[hidden] {
  display: none;
}

/* ---------- Form ---------- */
.acc-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.acc-grid {
  display: grid;
  /* min() guards the floor so the pair cannot overflow a narrow window before
     the single-column breakpoint takes over. */
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 1rem 1.15rem;
}

.acc-field {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  min-width: 0;
}

.acc-field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7b8595;
}

.acc-input {
  width: 100%;
  padding: 0.68rem 0.85rem;
  border: 1px solid #dde5ef;
  border-radius: 0.6rem;
  background: #fff;
  color: #0f1b2d;
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.acc-input:focus {
  outline: none;
  border-color: #4d7ec0;
  box-shadow: 0 0 0 3px rgba(77, 126, 192, 0.14);
}

select.acc-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2394a3b8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}

/* A locked field looks like a field so the layout does not break, but is
   visibly not one — no white background, no caret. */
.acc-input-locked {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: #f6f8fb;
  color: #64748b;
  cursor: not-allowed;
}

.acc-input-locked span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.acc-input-locked svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  opacity: 0.6;
}

/* Document numbers are read back character by character, so they get a face
   that distinguishes 0 from O. */
.acc-input-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.acc-hint {
  font-size: 0.73rem;
  color: #94a3b8;
}

.acc-err {
  font-size: 0.75rem;
  color: #b4483a;
}

.acc-err:empty {
  display: none;
}

.acc-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid #f1f5f9;
}

.acc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border: 1px solid #dde5ef;
  border-radius: 0.6rem;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.acc-btn-primary {
  border-color: #0f1b2d;
  background: #0f1b2d;
  color: #fff;
}

.acc-btn-primary:hover {
  border-color: #1d3358;
  background: #1d3358;
}

/* ---------- Flashes ---------- */
.acc-flash {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.05rem;
  border-radius: 0.7rem;
  font-size: 0.88rem;
}

.acc-flash svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.acc-flash-ok {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #2f6b4a;
}

.acc-flash-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b4483a;
}

/* The validation summary renders an empty div when there is nothing to say. */
.acc-flash-error:empty,
.acc-flash-error.validation-summary-valid {
  display: none;
}

/* ---------- Password form ----------
   _ChangePasswordForm is shared with the auth pages, so these class names are
   fixed by that partial rather than chosen here. */
.acc-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.75rem;
  border: 1px solid #dde5ef;
  border-radius: 0.6rem;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.acc-input-wrap:focus-within {
  border-color: #4d7ec0;
  box-shadow: 0 0 0 3px rgba(77, 126, 192, 0.14);
}

.acc-input-wrap input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.68rem 0;
  border: 0;
  background: none;
  color: #0f1b2d;
  font: inherit;
  font-size: 0.92rem;
}

.acc-input-wrap input:focus {
  outline: none;
}

.acc-input-icon {
  display: inline-flex;
  color: #94a3b8;
}

.acc-input-icon svg {
  width: 16px;
  height: 16px;
}

.acc-toggle-pw {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
  border: 0;
  background: none;
  color: #94a3b8;
  cursor: pointer;
}

.acc-toggle-pw:hover {
  color: #475569;
}

.acc-toggle-pw svg {
  width: 16px;
  height: 16px;
}

.acc-strength {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.acc-strength-bar {
  flex: 1 1 auto;
  height: 5px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}

.acc-strength-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: #d9534f;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.acc-strength[data-level="2"] .acc-strength-bar span { background: #d98b34; }
.acc-strength[data-level="3"] .acc-strength-bar span { background: #4d7ec0; }
.acc-strength[data-level="4"] .acc-strength-bar span { background: #2f8b57; }

.acc-strength-label {
  font-size: 0.73rem;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}

.acc-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.68rem 1.5rem;
  border: 0;
  border-radius: 0.6rem;
  background: #0f1b2d;
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.acc-submit svg {
  width: 16px;
  height: 16px;
}

.acc-submit:hover {
  background: #1d3358;
}

.acc-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: acc-spin 0.7s linear infinite;
}

.acc-submit.is-busy .acc-spinner {
  display: inline-block;
}

@keyframes acc-spin {
  to { transform: rotate(360deg); }
}

.acc-form .text-danger {
  font-size: 0.75rem;
  color: #b4483a;
}

/* ---------- Bookings inside the shell ---------- */
/* my-bookings.css sizes .mb-shell as a standalone page; inside the account
   shell the rail already provides the width and gutter. */
.acc-main.mb-shell {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .acc-shell {
    grid-template-columns: 1fr;
    margin-top: -90px;
  }

  .acc-rail {
    position: static;
  }

  /* The rail becomes a horizontal strip so it costs one row rather than a
     screen's worth of scrolling before the content starts. */
  .acn {
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .acn::-webkit-scrollbar {
    display: none;
  }

  .acn-id,
  .acn-label {
    display: none;
  }

  .acn-item,
  .acn-signout {
    flex: 0 0 auto;
    margin: 0;
    padding-top: 0;
    border: 0;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .acc-hero {
    height: 150px;
  }

  .acc-shell {
    margin-top: -80px;
    padding-inline: 0.9rem;
  }

  .acc-card {
    padding: 1.15rem;
  }

  .acc-identity {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .acc-identity-avatar {
    width: 54px;
    height: 54px;
    font-size: 1.15rem;
  }

  .acc-identity-text h1 {
    font-size: 1.15rem;
  }

  /* Below this width the two-column identity grid squeezes the bar to nothing,
     so it takes its own full-width row. */
  .acc-progress {
    grid-column: 1 / -1;
    margin-top: 0.7rem;
  }

  .acc-actions {
    justify-content: stretch;
  }

  .acc-actions .acc-btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .acc-input,
  .acc-btn,
  .acn-item,
  .acn-signout button,
  .acc-progress-fill,
  .acc-input-wrap,
  .acc-strength-bar span {
    transition: none;
  }

  /* The spinner still needs to read as "working", so it slows rather than
     stopping — a frozen spinner looks like a hang. */
  .acc-spinner {
    animation-duration: 2.4s;
  }
}

/* =============================================================================
   Login / Register — split hero

   One unified rounded card cut into two halves: a navy brand panel (why sign
   in) on the left, the form itself on the right. Login.cshtml/Register.cshtml
   were built against this class set, but it was never added here — those
   pages were rendering as unstyled stacked text with only .acc-card's own
   rules (below) doing any work. This section is what was missing.
   ============================================================================= */
/* True full-bleed: _Layout wraps every page in Bootstrap's .container, so
   without breaking out of it here (same trick .acc-hero already uses for
   the My Account cover band) this would stop at the container's max-width
   and leave white gutters on a wide screen instead of spanning edge to edge. */
.acc-bleed {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding-bottom: 2.5rem;
  /* No real travel photography is wired in — this is an illustrated stand-in
     (dusk-sky gradient + drawn clouds/plane below) rather than a fabricated
     stock-photo credit. Swap for a real hero photograph whenever one exists;
     everything below (nav, headline, card) works unchanged either way. */
  background:
    radial-gradient(38% 55% at 80% 8%, rgba(255, 200, 130, 0.4) 0%, transparent 68%),
    radial-gradient(60% 40% at 60% 100%, rgba(0, 0, 0, 0.35) 0%, transparent 70%),
    linear-gradient(115deg, var(--brand-navy-dark) 0%, var(--brand-navy) 40%, #3b5578 68%, #7c6449 100%);
}

.acc-cloud {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(6px);
  pointer-events: none;
}

.acc-plane {
  position: absolute;
  z-index: 0;
  top: 14%;
  right: 18%;
  width: 70px;
  height: 70px;
  color: rgba(255, 255, 255, 0.9);
  transform: rotate(28deg);
  filter: drop-shadow(0 8px 16px rgba(4, 12, 26, 0.35));
  pointer-events: none;
}

/* ---------- Nav merged into the hero (header is hidden on these pages) ---------- */
.acc-hero-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 2.5rem 0;
}

.acc-hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--brand-gold-bright);
}

.acc-hero-logo svg {
  width: 24px;
  height: 24px;
}

.acc-hero-logo span {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

/* These are same-page anchors, not separate pages — every other controller
   still requires login (the B2B pivot's "gate everything" decision), so a
   real /Pages/About link here would just bounce an anonymous visitor
   straight back to this same login page. */
.acc-hero-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.acc-hero-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.acc-hero-nav a:hover,
.acc-hero-nav a.active {
  color: #fff;
}

.acc-hero-tagline {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

/* ---------- Hero content row: copy left, login card right ---------- */
.acc-hero-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  max-width: 1320px;
  margin: 0 auto;
  padding: 3rem 2.5rem 0;
}

.acc-hero-copy {
  flex: 1 1 560px;
  min-width: 0;
  color: #fff;
}

.acc-hero-eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-gold-bright);
}

.acc-hero-title {
  margin: 0 0 1rem;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.acc-hero-title .acc-hero-highlight {
  color: var(--brand-gold-bright);
}

.acc-hero-sub {
  max-width: 480px;
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.acc-hero-features {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-bottom: 2.25rem;
}

.acc-hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.acc-hero-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1.5px solid rgba(230, 197, 101, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: var(--brand-gold-bright);
}

.acc-hero-feature-icon svg {
  width: 19px;
  height: 19px;
}

.acc-hero-feature h3 {
  margin: 0.15rem 0 0.15rem;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
}

.acc-hero-feature p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
}

/* Bold stat bar overlaid near the bottom of the hero — the "1550 AGENTS
   REGISTERED WITH US" style competitor B2B travel portals put front and
   center, rather than a soft testimonial quote. Placeholder numbers. */
.acc-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  max-width: 620px;
  padding: 1.25rem 1.75rem;
  border-radius: 1rem;
  background: rgba(7, 20, 39, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.acc-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.acc-hero-stat-num {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-gold-bright);
}

.acc-hero-stat-label {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Floating login card ---------- */
.acc-hero-card {
  flex: 0 0 auto;
  width: 100%;
  max-width: 340px;
  margin-top: 1.5rem;
  padding: 1.75rem;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(4, 12, 26, 0.5);
}

.acc-title {
  margin: 0 0 0.3rem;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--brand-navy-dark);
}

.acc-sub {
  margin: 0 0 1.5rem;
  font-size: 0.85rem;
  color: #64748b;
}

/* Brand-consistent focus ring on Login/Register — the shared .acc-input-wrap
   rule elsewhere uses a generic blue that has nothing to do with this site's
   navy/gold palette; scoped here rather than changed globally since
   _ChangePasswordForm (My Account) reuses the same class outside this card. */
.acc-hero-card .acc-input-wrap {
  padding: 0 0.9rem;
  border-radius: 0.7rem;
  border-color: #e2e8f0;
  background: #f8fafc;
}

.acc-hero-card .acc-input-wrap input {
  padding: 0.7rem 0;
  font-size: 0.9rem;
}

.acc-hero-card .acc-input-wrap:focus-within {
  border-color: var(--brand-gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(169, 121, 26, 0.12);
}

.acc-hero-card .acc-submit {
  width: 100%;
  align-self: stretch;
  margin-top: 0.35rem;
  padding: 0.8rem 1.5rem;
  border-radius: 0.7rem;
  font-size: 0.9rem;
  background: var(--brand-navy-dark);
  box-shadow: 0 14px 28px -14px rgba(11, 31, 58, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.acc-hero-card .acc-submit:hover {
  background: var(--brand-navy);
  box-shadow: 0 18px 34px -14px rgba(11, 31, 58, 0.65);
  transform: translateY(-1px);
}

.acc-optional {
  font-weight: 400;
  color: #94a3b8;
}

/* Standalone centered-card page — RegistrationPending's "application
   submitted" confirmation. Deliberately not the .acc-bleed photo hero:
   this is a plain status message, not the site's front-door landing page. */
.acc-standalone {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem;
  background: linear-gradient(135deg, var(--brand-navy-dark) 0%, var(--brand-navy) 55%, var(--brand-navy-light) 100%);
}

.acc-standalone-card {
  width: 100%;
  max-width: 460px;
  padding: 2.5rem 2.25rem;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(7, 20, 39, 0.45);
  text-align: center;
}

.acc-standalone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--brand-navy-soft);
  color: var(--brand-gold);
}

.acc-standalone-icon svg {
  width: 28px;
  height: 28px;
}

.acc-error {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding: 0.8rem 1.05rem;
  border: 1px solid #fecaca;
  border-radius: 0.7rem;
  background: #fef2f2;
  color: #b4483a;
  font-size: 0.85rem;
}

.acc-error svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.acc-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #64748b;
}

.acc-terms input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  flex: 0 0 auto;
  accent-color: var(--brand-navy);
}

.acc-terms a {
  color: var(--brand-navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.acc-switch {
  margin-top: 1.5rem;
  font-size: 0.86rem;
  color: #64748b;
  text-align: center;
}

.acc-switch a {
  color: var(--brand-gold);
  font-weight: 700;
  text-decoration: none;
}

.acc-switch a:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .acc-hero-row {
    flex-direction: column;
    padding: 2.5rem 1.5rem 0;
  }

  .acc-hero-card {
    max-width: 420px;
    margin-top: 0;
  }

  .acc-hero-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 767px) {
  /* The nav links and tagline are a nice-to-have on a screen wide enough to
     show the whole merged nav row; below that they'd just wrap awkwardly
     over the hero photo, so only the logo stays. */
  .acc-hero-nav,
  .acc-hero-tagline {
    display: none;
  }

  .acc-hero-topbar {
    padding: 1.25rem 1.25rem 0;
  }

  .acc-hero-row {
    padding: 2rem 1.25rem 0;
  }

  .acc-hero-stats {
    gap: 1rem 1.5rem;
    padding: 1.1rem 1.25rem;
  }
}

/* =============================================================================
   Partner marketing sections — Views/Shared/_PartnerMarketing.cshtml, included
   below the Login/Register hero. These are the anonymous site's only content
   since the B2B pivot gated everything else behind login, so the case for
   signing up lives here instead of on a separate marketing homepage.
   ============================================================================= */
.acc-eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-gold);
}

.acc-section-head {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.acc-section-head h2 {
  margin: 0 0 0.6rem;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--brand-navy-dark);
}

.acc-section-head p {
  margin: 0;
  color: #64748b;
  font-size: 0.96rem;
  line-height: 1.55;
}

/* ---------- Trusted-by logo strip ---------- */
.acc-logos {
  padding: 2.5rem 1.25rem;
  background: #fff;
  border-bottom: 1px solid #eef1f6;
}

.acc-logos-label {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.acc-logos-row {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.acc-logos-row span {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.acc-logos-row span:hover {
  color: var(--brand-navy);
}

/* ---------- Why partner with us ---------- */
.acc-why {
  position: relative;
  padding: 4.5rem 1.25rem;
  background: var(--brand-navy-soft);
  overflow: hidden;
}

/* Soft background blobs — the flat single-color section otherwise has no
   depth at all; kept subtle and behind the card grid (z-index below it). */
.acc-why::before,
.acc-why::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.acc-why::before {
  width: 420px;
  height: 420px;
  top: -180px;
  right: -140px;
  background: radial-gradient(circle, rgba(230, 197, 101, 0.16) 0%, transparent 70%);
}

.acc-why::after {
  width: 360px;
  height: 360px;
  bottom: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(11, 31, 58, 0.08) 0%, transparent 70%);
}

.acc-why .container {
  position: relative;
  z-index: 1;
}

.acc-why-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.acc-why-card {
  padding: 1.85rem 1.6rem;
  border: 1px solid #e7ecf3;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 2px 8px -4px rgba(11, 31, 58, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.acc-why-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 40px -20px rgba(11, 31, 58, 0.3);
  transform: translateY(-3px);
}

.acc-why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin-bottom: 1.1rem;
  background: var(--brand-navy-soft);
  color: var(--brand-navy);
}

.acc-why-icon svg {
  width: 23px;
  height: 23px;
}

.acc-why-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy-dark);
}

.acc-why-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #64748b;
}

/* ---------- How partnership works + mobile app preview (real image) ---------- */
.acc-showcase {
  line-height: 0;
}

.acc-showcase-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Final CTA ---------- */
.acc-final-cta {
  padding: 3.5rem 1.25rem;
  text-align: center;
  background: linear-gradient(135deg, var(--brand-navy-dark) 0%, var(--brand-navy) 55%, var(--brand-navy-light) 100%);
}

.acc-final-cta h2 {
  margin: 0 0 0.5rem;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: #fff;
}

.acc-final-cta p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.75);
}

.acc-final-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 0.7rem;
  background: var(--brand-gold-bright);
  color: var(--brand-navy-dark);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.acc-final-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -12px rgba(230, 197, 101, 0.6);
  color: var(--brand-navy-dark);
}

@media (max-width: 960px) {
  .acc-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .acc-logos-row {
    gap: 1.5rem 2rem;
  }

  .acc-why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .acc-bleed {
    padding: 1.5rem 1rem;
  }

  .acc-formside {
    padding: 1.75rem 1.15rem;
  }

  .acc-title {
    font-size: 1.3rem;
  }
}
