/* Guest auth family owner.
   Login, signup, reset, and 2FA public auth visuals live here instead of legacy shared auth layers. */

body.panel-guest-auth {
  --auth-surface: #ffffff;
  --auth-surface-soft: #fafbfc;
  --auth-border: rgba(17, 28, 22, 0.06);
  --auth-text: #132018;
  --auth-muted: #68766f;
  --auth-accent: #39cb7f;
  --auth-accent-strong: #2f915f;
  --auth-warm: #e3d8c5;
  --auth-shadow: 0 20px 54px rgba(25, 35, 29, 0.08);
}

html[data-theme="dark"] body.panel-guest-auth {
  --auth-surface: #171d24;
  --auth-surface-soft: #1c232d;
  --auth-border: rgba(195, 214, 204, 0.12);
  --auth-text: #f1f5f9;
  --auth-muted: #a8b5c3;
  --auth-accent: #53de92;
  --auth-accent-strong: #3caf74;
  --auth-warm: #202833;
  --auth-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

body.panel-guest-auth .auth-entry {
  width: min(100%, 92rem);
  margin-inline: auto;
}

body.panel-guest-auth .auth-shell-responsive {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 86rem;
  margin-inline: auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

body.panel-guest-auth .auth-mode-panel[hidden] {
  display: none;
}

body.panel-guest-auth .auth-entry-login-reference .auth-form-panel.auth-mode-panel[hidden] {
  display: none;
}

body.panel-guest-auth .guest-main-auth,
body.panel-guest-auth .guest-auth-main-container {
  width: 100vw;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.panel-guest-auth .auth-entry-login-reference {
  --auth-surface: #ffffff;
  --auth-surface-soft: #f7f9fb;
  --auth-border: rgba(15, 23, 42, 0.12);
  --auth-text: #0c1720;
  --auth-muted: #607080;
  --auth-accent: #35c978;
  --auth-accent-strong: #2f915f;
  width: 100vw;
  max-width: none;
  margin: 0;
  padding: 0;
}

html[data-theme="dark"] body.panel-guest-auth .auth-entry-login-reference {
  --auth-surface: #ffffff;
  --auth-surface-soft: #f7f9fb;
  --auth-border: rgba(15, 23, 42, 0.13);
  --auth-text: #0c1720;
  --auth-muted: #607080;
  --auth-accent: #35c978;
  --auth-accent-strong: #2f915f;
}

body.panel-guest-auth .auth-shell-login-reference {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(34rem, 1fr);
  gap: 0;
  width: 100vw;
  max-width: none;
  min-height: 100svh;
  padding: 0;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

body.panel-guest-auth .auth-shell-login-reference.auth-shell-no-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100svh;
}

body.panel-guest-auth .auth-entry-login-reference .auth-visual-panel {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: start;
  justify-items: start;
  overflow: hidden;
  padding: clamp(1.8rem, 3.6vw, 3.4rem);
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.24), transparent 19%),
    radial-gradient(circle at 44% 62%, rgba(255, 255, 255, 0.16), transparent 27%),
    linear-gradient(145deg, #e6d6bc 0%, #9bcf9b 46%, #59c67b 100%);
  box-shadow: none;
}

body.panel-guest-auth .auth-entry-login-reference .auth-visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(42, 28, 17, 0.16), transparent 44%),
    radial-gradient(circle at 28% 62%, rgba(33, 48, 38, 0.18), transparent 31%);
  pointer-events: none;
}

body.panel-guest-auth .auth-entry-login-reference .auth-visual-panel::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(64vw, 660px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url("../../images/branding/zemiaxshop-mark.png") center / contain no-repeat;
  filter: drop-shadow(0 34px 70px rgba(30, 47, 34, 0.22));
  opacity: 0.92;
  pointer-events: none;
}

body.panel-guest-auth .auth-entry-login-reference .auth-visual-logo {
  position: relative;
  z-index: 2;
  width: min(10vw, 110px);
  max-width: 110px;
  display: grid;
  place-items: center;
}

body.panel-guest-auth .auth-entry-login-reference .auth-visual-logo .brand-wordmark-image {
  width: 100%;
  max-height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(9, 31, 19, 0.2));
}

body.panel-guest-auth .auth-entry-login-reference .auth-visual-stage {
  display: none;
}

body.panel-guest-auth .auth-entry-login-reference .auth-visual-footer {
  position: absolute;
  left: clamp(1.55rem, 2.8vw, 2.35rem);
  bottom: clamp(1.25rem, 2.4vw, 2rem);
  z-index: 2;
  max-width: calc(100% - 3rem);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 2px 16px rgba(7, 20, 12, 0.32);
}

body.panel-guest-auth .auth-entry-login-reference .auth-form-panel,
body.panel-guest-auth .auth-entry-login-reference .auth-form-panel-flat,
body.panel-guest-auth .auth-entry-login-reference .auth-form-panel-compact {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.65rem clamp(2.5rem, 6.6vw, 8rem) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

body.panel-guest-auth .auth-entry-login-reference .auth-public-topbar {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.4rem);
  right: clamp(1.5rem, 3vw, 2.4rem);
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
}

body.panel-guest-auth .auth-entry-login-reference .auth-public-topbar-logo {
  width: 66px;
  height: 66px;
  object-fit: contain;
  flex: 0 0 66px;
}

body.panel-guest-auth .auth-entry-login-reference .auth-public-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #7f878e;
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(13, 24, 31, 0.08);
}

body.panel-guest-auth .auth-entry-login-reference .auth-entry-topline,
body.panel-guest-auth .auth-entry-login-reference .auth-heading,
body.panel-guest-auth .auth-entry-login-reference .auth-switch-row,
body.panel-guest-auth .auth-entry-login-reference form,
body.panel-guest-auth .auth-entry-login-reference .auth-social-stack,
body.panel-guest-auth .auth-entry-login-reference .auth-bottom-signup,
body.panel-guest-auth .auth-entry-login-reference .log-bottom,
body.panel-guest-auth .auth-entry-login-reference .auth-remember-row,
body.panel-guest-auth .auth-entry-login-reference .auth-action-row {
  width: min(100%, 35.75rem);
  max-width: 35.75rem;
  margin-inline: auto;
}

body.panel-guest-auth .auth-entry-login-reference .auth-entry-topline,
body.panel-guest-auth .auth-entry-login-reference .auth-heading {
  text-align: left;
  justify-content: flex-start;
  justify-items: start;
}

body.panel-guest-auth .auth-entry-login-reference .auth-entry-topline {
  margin-bottom: 0.5rem;
}

body.panel-guest-auth .auth-entry-login-reference .auth-entry-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0a1820;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: none;
}

body.panel-guest-auth .auth-entry-login-reference .auth-entry-badge strong {
  color: #0a1820;
  font-weight: 900;
}

body.panel-guest-auth .auth-entry-login-reference .auth-heading {
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

body.panel-guest-auth .auth-entry-login-reference .auth-heading h1 {
  max-width: 35.75rem;
  margin: 0;
  font-size: clamp(2.35rem, 2.7vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
  color: #02141c;
}

body.panel-guest-auth .auth-entry-login-reference .auth-title-accent {
  color: #31ae74;
}

body.panel-guest-auth .auth-entry-login-reference .auth-switch-row {
  width: min(100%, 35.75rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  overflow: hidden;
  margin: 0 auto 1.6rem;
  padding: 0.22rem;
  border-radius: 1.25rem;
  background: linear-gradient(90deg, #dff8e6 0%, #38b56f 100%);
  box-shadow: 0 18px 34px rgba(64, 180, 109, 0.18);
}

body.panel-guest-auth .auth-entry-login-reference .auth-switch-link {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

body.panel-guest-auth .auth-entry-login-reference .auth-switch-link-active {
  background: #ffffff;
  color: #0a1820;
  box-shadow: 0 10px 22px rgba(22, 34, 27, 0.08);
}

body.panel-guest-auth .auth-entry-login-reference .auth-form-panel .fg,
body.panel-guest-auth .auth-entry-login-reference .auth-form-panel .fg-control,
body.panel-guest-auth .auth-entry-login-reference .auth-form-panel select.fg-control {
  border-color: var(--auth-border);
  background: var(--auth-surface-soft);
  color: var(--auth-text);
}

body.panel-guest-auth .auth-entry-login-reference .auth-form-panel .fg {
  height: 45px;
  min-height: 45px;
  border-radius: 22px;
}

body.panel-guest-auth .auth-entry-login-reference .auth-form-panel .fg-control,
body.panel-guest-auth .auth-entry-login-reference .auth-form-panel select.fg-control {
  height: 45px;
  min-height: 45px;
  padding-block: 0;
  padding-inline: 18px 48px;
  border-radius: 22px;
}

body.panel-guest-auth .auth-entry-login-reference .auth-remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.45rem auto 1.15rem;
}

body.panel-guest-auth .auth-entry-login-reference .remember-login-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--auth-muted);
  font-weight: 700;
}

body.panel-guest-auth .auth-entry-login-reference .auth-submit-primary,
body.panel-guest-auth .auth-entry-login-reference .auth-social-button {
  height: 48px;
  min-height: 48px;
  padding-block: 0;
  border-radius: 18px;
}

body.panel-guest-auth .auth-entry-login-reference .auth-submit-primary {
  border: 0;
  background: linear-gradient(180deg, var(--auth-accent) 0%, var(--auth-accent-strong) 100%);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(47, 145, 95, 0.22);
}

body.panel-guest-auth .auth-entry-login-reference .auth-social-button {
  border-color: var(--auth-border);
  background: #ffffff;
  color: var(--auth-text);
}

body.panel-guest-auth .auth-entry-login-reference .auth-form-panel .fla,
body.panel-guest-auth .auth-entry-login-reference .frgpass,
body.panel-guest-auth .auth-entry-login-reference .auth-bottom-signup,
body.panel-guest-auth .auth-entry-login-reference .log-bottom {
  color: var(--auth-muted);
}

body.panel-guest-auth .auth-entry-login-reference .auth-form-panel .fla {
  font-weight: 800;
}

body.panel-guest-auth .auth-entry-login-reference .auth-form-panel :is(.fg-control, .form-control, .input, select, textarea)::placeholder {
  color: #6c7888;
  opacity: 1;
}

body.panel-guest-auth .auth-entry-login-reference .auth-password-toggle {
  color: #6c7888;
}

body.panel-guest-auth .auth-entry-login-reference .auth-bottom-signup,
body.panel-guest-auth .auth-entry-login-reference .log-bottom {
  margin-top: 1rem;
  text-align: center;
  padding: 12px 18px;
  border: 1px dashed rgba(14, 23, 29, 0.1);
  border-radius: 18px;
  background: #ffffff;
}

@media (max-width: 1199px) {
  body.panel-guest-auth .auth-shell-login-reference {
    grid-template-columns: minmax(0, 1fr);
    min-height: 100svh;
  }

  body.panel-guest-auth .auth-entry-login-reference .auth-visual-panel {
    display: none;
  }

  body.panel-guest-auth .auth-entry-login-reference .auth-form-panel,
  body.panel-guest-auth .auth-entry-login-reference .auth-form-panel-flat,
  body.panel-guest-auth .auth-entry-login-reference .auth-form-panel-compact {
    min-height: 100svh;
    padding: 1.5rem 1.25rem 2rem;
  }

  body.panel-guest-auth .auth-entry-login-reference .auth-public-topbar {
    top: 1.5rem;
    right: 1.25rem;
  }
}

@media (max-width: 540px) {
  body.panel-guest-auth .auth-entry-login-reference .auth-form-panel form .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  body.panel-guest-auth .auth-entry-login-reference .auth-form-panel form .row > [class*="col-"] {
    width: 100%;
    max-width: none;
    flex: 0 0 100%;
  }
}

body.panel-guest-auth .auth-form-panel,
body.panel-guest-auth .auth-form-panel-flat,
body.panel-guest-auth .auth-form-panel-compact {
  background: transparent;
  box-shadow: none;
}

body.panel-guest-auth .auth-form-panel .fg {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--auth-border);
  background: var(--auth-surface-soft);
}

body.panel-guest-auth .auth-form-panel :is(.fg-control, .form-control, .input, select, textarea) {
  width: 100%;
  border: 1px solid var(--auth-border);
  background: var(--auth-surface-soft);
  color: var(--auth-text);
  outline: 0;
  box-shadow: none;
}

body.panel-guest-auth .auth-form-panel :is(.fg-control, .form-control, .input, select, textarea)::placeholder {
  color: var(--auth-muted);
}

body.panel-guest-auth .auth-form-panel :is(.fg-control, .form-control, .input, select, textarea):focus {
  border-color: rgba(57, 203, 127, 0.45);
  background: var(--auth-surface);
  box-shadow: 0 0 0 0.22rem rgba(57, 203, 127, 0.12);
}

body.panel-guest-auth .auth-form-panel :is(.fg-control, .form-control, .input, select, textarea)[readonly] {
  background: var(--auth-surface-soft);
  color: var(--auth-muted);
}

body.panel-guest-auth .auth-form-panel .fg-control,
body.panel-guest-auth .auth-form-panel select.fg-control,
body.panel-guest-auth .auth-form-panel textarea.fg-control {
  background: var(--auth-surface-soft);
  color: var(--auth-text);
}

body.panel-guest-auth .auth-form-panel .fla {
  color: var(--auth-text);
}

body.panel-guest-auth .auth-form-panel .fg-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  border-radius: 0.95rem;
  background: linear-gradient(180deg, #3ccb80 0%, #2f8558 100%);
  color: #ffffff;
  z-index: 2;
  pointer-events: none;
}

body.panel-guest-auth .auth-password-toggle {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  border: 0;
  background: transparent;
  color: var(--auth-muted);
  z-index: 2;
}

body.panel-guest-auth .auth-form-panel .fg-control {
  padding-left: 5.15rem;
  padding-right: 4rem;
}

body.panel-guest-auth .auth-form-panel select.fg-control {
  padding-left: 5.15rem;
  padding-right: 3.65rem;
}

body.panel-guest-auth .auth-form-panel textarea.fg-control {
  min-height: 8rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

body.panel-guest-auth .auth-submit-primary,
body.panel-guest-auth .auth-social-button {
  border-radius: 16px;
}

body.panel-guest-auth .auth-social-button {
  border: 1px solid var(--auth-border);
  background: var(--auth-surface);
  color: var(--auth-text);
}

body.panel-guest-auth .auth-social-button i {
  color: var(--auth-accent-strong);
}

body.panel-guest-auth .auth-bottom-signup,
body.panel-guest-auth .log-bottom {
  color: var(--auth-muted);
}

body.panel-guest-auth .auth-bottom-signup a,
body.panel-guest-auth .log-bottom a,
body.panel-guest-auth .frgpass {
  color: var(--auth-accent-strong);
}

body.panel-guest-auth .auth-shell-responsive:not(.auth-shell-public-panel):not(.auth-shell-login-reference) {
  grid-template-columns: minmax(22rem, 1fr);
  gap: 1.25rem;
}

body.panel-guest-auth .auth-shell-responsive:not(.auth-shell-public-panel):not(.auth-shell-login-reference) .auth-visual-panel {
  min-height: 15rem;
  padding: 1rem;
  border-radius: 2rem;
  border: 1px solid var(--auth-border);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.5), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(105, 220, 146, 0.2), transparent 26%),
    linear-gradient(180deg, #eee3cf 0%, var(--auth-warm) 100%);
  box-shadow: var(--auth-shadow);
}

html[data-theme="dark"] body.panel-guest-auth .auth-shell-responsive:not(.auth-shell-public-panel):not(.auth-shell-login-reference) .auth-visual-panel {
  background:
    radial-gradient(circle at 18% 20%, rgba(88, 225, 146, 0.12), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(77, 103, 130, 0.2), transparent 26%),
    linear-gradient(180deg, #1b2129 0%, var(--auth-warm) 100%);
}

body.panel-guest-auth .auth-shell-responsive:not(.auth-shell-public-panel):not(.auth-shell-login-reference) .auth-visual-watermark {
  inset: 1rem;
  border-radius: 1.7rem;
}

body.panel-guest-auth .auth-shell-responsive:not(.auth-shell-public-panel):not(.auth-shell-login-reference) .auth-visual-watermark-wordmark {
  max-width: 6.8ch;
  white-space: normal;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.82;
  transform: none;
}

body.panel-guest-auth .auth-shell-responsive:not(.auth-shell-public-panel):not(.auth-shell-login-reference) .auth-form-panel,
body.panel-guest-auth .auth-shell-responsive:not(.auth-shell-public-panel):not(.auth-shell-login-reference) .auth-form-panel-flat,
body.panel-guest-auth .auth-shell-responsive:not(.auth-shell-public-panel):not(.auth-shell-login-reference) .auth-form-panel-compact {
  width: min(100%, 33rem);
  margin: 0 auto;
  padding: 1rem 0.45rem 0.4rem;
}

@media (min-width: 1200px) {
  body.panel-guest-auth .auth-shell-responsive:not(.auth-shell-public-panel):not(.auth-shell-login-reference) {
    max-width: 90rem;
    grid-template-columns: minmax(35rem, 1.04fr) minmax(28rem, 0.96fr);
    align-items: stretch;
    min-height: calc(100svh - 5rem);
  }

  body.panel-guest-auth .auth-shell-responsive:not(.auth-shell-public-panel):not(.auth-shell-login-reference) .auth-visual-panel {
    min-height: clamp(38rem, 44vw, 54rem);
    padding: clamp(1.35rem, 2vw, 2rem);
  }

  body.panel-guest-auth .auth-shell-responsive:not(.auth-shell-public-panel):not(.auth-shell-login-reference) .auth-form-panel,
  body.panel-guest-auth .auth-shell-responsive:not(.auth-shell-public-panel):not(.auth-shell-login-reference) .auth-form-panel-flat,
  body.panel-guest-auth .auth-shell-responsive:not(.auth-shell-public-panel):not(.auth-shell-login-reference) .auth-form-panel-compact {
    margin: 0 auto 0 0;
    padding: 2.3rem 0.35rem 1rem;
  }
}

@media (max-width: 720px) {
  body.panel-guest-auth .auth-form-panel .fg-icon {
    left: 0.75rem;
    width: 2.55rem;
    height: 2.55rem;
  }

  body.panel-guest-auth .auth-password-toggle {
    right: 0.75rem;
    width: 2.55rem;
    height: 2.55rem;
  }

  body.panel-guest-auth .auth-form-panel .fg-control {
    padding-left: 4.45rem;
    padding-right: 3.6rem;
  }
}

/* Reset/password public auth branch. */
body.panel-guest-auth .auth-entry-public-panel {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 200px 16px 32px;
}

body.panel-guest-auth .auth-entry-public-panel::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  height: 200px;
  border-radius: 0 0 26px 26px;
  background: linear-gradient(135deg, rgba(136, 218, 160, 0.95), rgba(116, 217, 148, 0.84));
  z-index: 0;
}

body.panel-guest-auth .auth-entry-public-panel .auth-shell-public-panel {
  width: min(100%, 460px);
  max-width: 460px;
  min-height: 0;
  display: block;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.panel-guest-auth .auth-entry-public-panel .auth-form-panel,
body.panel-guest-auth .auth-entry-public-panel .auth-form-panel-flat,
body.panel-guest-auth .auth-entry-public-panel .auth-form-panel-compact {
  width: min(100%, 370px);
  max-width: 370px;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

body.panel-guest-auth .auth-entry-public-panel .auth-entry-topline,
body.panel-guest-auth .auth-entry-public-panel .auth-heading,
body.panel-guest-auth .auth-entry-public-panel .auth-switch-row,
body.panel-guest-auth .auth-entry-public-panel form,
body.panel-guest-auth .auth-entry-public-panel .auth-social-stack,
body.panel-guest-auth .auth-entry-public-panel .auth-bottom-signup,
body.panel-guest-auth .auth-entry-public-panel .log-bottom,
body.panel-guest-auth .auth-entry-public-panel .auth-remember-row,
body.panel-guest-auth .auth-entry-public-panel .auth-action-row {
  width: min(100%, 340px);
  max-width: 340px;
  margin-inline: auto;
}

body.panel-guest-auth .auth-entry-public-panel .auth-heading {
  text-align: center;
  justify-items: center;
}

body.panel-guest-auth .auth-entry-public-panel .auth-heading h1 {
  margin: 0 auto;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: 0;
  text-align: center;
}

body.panel-guest-auth .auth-entry-public-panel .auth-public-topbar {
  position: fixed;
  top: 24px;
  right: 16px;
  z-index: 5;
  width: auto;
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

body.panel-guest-auth .auth-entry-public-panel .auth-public-topbar-logo {
  display: none;
}

body.panel-guest-auth .auth-entry-public-panel .auth-public-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #7f878e;
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(13, 24, 31, 0.08);
}

body.panel-guest-auth .auth-entry-public-panel .auth-entry-topline {
  margin-bottom: 0.45rem;
}

body.panel-guest-auth .auth-entry-public-panel .auth-entry-badge {
  gap: 0.35rem;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: #24352d;
  font-size: 0.78rem;
  font-weight: 700;
}

body.panel-guest-auth .auth-entry-public-panel .auth-entry-badge strong {
  color: #122018;
}

body.panel-guest-auth .auth-entry-public-panel .auth-rating-stars {
  color: #f2b93b;
}

body.panel-guest-auth .auth-entry-public-panel .auth-heading {
  gap: 0.55rem;
  margin-bottom: 1rem;
}

body.panel-guest-auth .auth-entry-public-panel .auth-title-accent {
  color: var(--auth-accent);
}

body.panel-guest-auth .auth-entry-public-panel .auth-form-panel .fg-icon {
  display: none;
}

body.panel-guest-auth .auth-entry-public-panel .auth-form-panel .fg,
body.panel-guest-auth .auth-entry-public-panel .auth-form-panel .fg-control,
body.panel-guest-auth .auth-entry-public-panel .auth-form-panel select.fg-control {
  background: #fafafa;
}

body.panel-guest-auth .auth-entry-public-panel .auth-form-panel .fg-control,
body.panel-guest-auth .auth-entry-public-panel .auth-form-panel select.fg-control {
  min-height: 44px;
  padding-inline: 18px 48px;
}

body.panel-guest-auth .auth-entry-public-panel .auth-submit-primary,
body.panel-guest-auth .auth-entry-public-panel .auth-social-button {
  min-height: 46px;
}

body.panel-guest-auth .auth-entry-public-panel .auth-social-stack {
  margin-top: 0.6rem;
}

body.panel-guest-auth .auth-entry-public-panel .auth-remember-row {
  margin-top: 0.1rem;
}

body.panel-guest-auth .auth-entry-public-panel .auth-bottom-signup,
body.panel-guest-auth .auth-entry-public-panel .log-bottom {
  text-align: center;
}

@media (max-width: 720px) {
  body.panel-guest-auth .auth-entry-public-panel {
    padding-top: 150px;
  }

  body.panel-guest-auth .auth-entry-public-panel::before {
    height: 150px;
  }
}

