/* Base Gestao — redesign login/cadastro (fase 46) */
.bg-auth-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(37,99,235,.20), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(14,165,233,.12), transparent 24%),
    linear-gradient(180deg, #040916 0%, #020611 100%);
  color: #e5edf8;
}
.bg-auth-page::before,
.bg-auth-page::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  opacity: .55;
}
.bg-auth-page::before {
  top: 12%;
  left: 4%;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: rgba(37,99,235,.10);
  filter: blur(85px);
}
.bg-auth-page::after {
  right: -80px;
  bottom: -90px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(14,165,233,.08);
  filter: blur(100px);
}
.bg-auth-wrap {
  position: relative;
  z-index: 1;
  width: min(1440px, 100%);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
}
.bg-auth-showcase {
  position: relative;
  padding: clamp(34px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(148,163,184,.10);
}
.bg-auth-showcase::before {
  content: "";
  position: absolute;
  inset: 32px 24px 32px 32px;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(10,18,34,.56), rgba(5,10,21,.20)),
    repeating-linear-gradient(135deg, rgba(148,163,184,.04) 0 1px, transparent 1px 72px);
  border: 1px solid rgba(148,163,184,.08);
  pointer-events: none;
}
.bg-auth-showcase-inner,
.bg-auth-showcase-bottom {
  position: relative;
  z-index: 1;
}
.bg-auth-showcase-inner {
  width: min(680px, 100%);
  margin: auto 0;
}
.bg-auth-showcase-bottom { margin-top: 28px; }
.bg-auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}
.bg-auth-brand .brand-logo-img { max-height: 64px; max-width: 260px; }
.bg-auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #d8e5f7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.bg-auth-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(96,165,250,.85);
  box-shadow: 0 0 0 1px rgba(96,165,250,.08);
}
.bg-auth-title {
  margin: 0;
  font-size: clamp(2.3rem, 2rem + 1.5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -.05em;
  color: #f8fbff;
  font-weight: 800;
  max-width: 12ch;
}
.bg-auth-title .accent {
  color: #4094ff;
}
.bg-auth-subtitle {
  max-width: 620px;
  margin: 22px 0 30px;
  color: #9db0c9;
  font-size: 1.02rem;
  line-height: 1.7;
}
.bg-auth-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}
.bg-auth-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
}
.bg-auth-feature-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid rgba(59,130,246,.26);
  background: linear-gradient(180deg, rgba(11,18,33,.95), rgba(7,14,28,.78));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  color: #48a0ff;
}
.bg-auth-feature-icon svg { width: 22px; height: 22px; }
.bg-auth-feature-text {
  color: #eff5ff;
  font-size: .97rem;
  line-height: 1.35;
}
.bg-auth-compare {
  border: 0;
  padding: 0;
  background: transparent;
  color: #6ab0ff;
  font-size: .96rem;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
}
.bg-auth-compare:hover,
.bg-auth-link:hover { text-decoration: underline; }

.bg-auth-form-side {
  position: relative;
  padding: 26px clamp(18px, 4vw, 54px) 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bg-auth-topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}
.bg-auth-top-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.bg-auth-select-wrap,
.bg-auth-theme-btn {
  min-height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,.16);
  background: rgba(8, 14, 26, .66);
  box-shadow: 0 10px 28px rgba(0,0,0,.14);
  backdrop-filter: blur(12px);
}
.bg-auth-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 38px 0 12px;
  color: #dce8fb;
}
.bg-auth-select-icon,
.bg-auth-theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #8fbefe;
}
.bg-auth-select-icon { margin-right: 8px; }
.bg-auth-select-wrap select {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: .85rem;
  font-weight: 600;
  padding-right: 4px;
  outline: none;
}
.bg-auth-select-wrap select option { color: #0f172a; }
.bg-auth-select-wrap svg:last-child {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}
.bg-auth-theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  color: #dce8fb;
  cursor: pointer;
}
.bg-auth-theme-btn span { font-size: .85rem; font-weight: 600; }
.bg-auth-card-wrap {
  width: min(540px, 100%);
  margin: 0 auto;
}
.bg-auth-card {
  position: relative;
  width: 100%;
  border-radius: 28px;
  padding: 28px;
  border: 1px solid rgba(59,130,246,.22);
  background:
    linear-gradient(180deg, rgba(8,14,26,.94), rgba(5,11,22,.92));
  box-shadow: 0 28px 80px rgba(0,0,0,.30);
  backdrop-filter: blur(20px);
}
.bg-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  margin-bottom: 24px;
  border-radius: 15px;
  background: rgba(15,23,42,.78);
  border: 1px solid rgba(148,163,184,.12);
}
.bg-auth-tab {
  min-height: 42px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #91a2bb;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.bg-auth-tab.active {
  background: linear-gradient(90deg, #4596ff, #3b82f6);
  color: #03111f;
  box-shadow: 0 0 0 1px rgba(255,255,255,.04), inset 0 1px 0 rgba(255,255,255,.18);
}
.bg-auth-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.bg-auth-card-copy h1,
.bg-auth-card-copy h2 {
  margin: 0;
  color: #f8fbff !important;
  font-size: clamp(1.72rem, 1.55rem + .35vw, 2.05rem) !important;
  line-height: 1.06;
  letter-spacing: -.04em;
  font-weight: 750 !important;
}
.bg-auth-card-subtitle {
  margin: 10px 0 0;
  color: #98abc5;
  font-size: .96rem;
  line-height: 1.6;
}
.bg-auth-card-brand {
  flex: 0 0 auto;
  opacity: .96;
}
.bg-auth-card-brand .brand-logo-img { max-height: 38px; max-width: 150px; }
.bg-auth-form {
  display: grid;
  gap: 14px;
}
.bg-auth-field {
  display: grid;
  gap: 8px;
}
.bg-auth-field-label {
  color: #d8e5f7;
  font-size: .86rem;
  font-weight: 600;
}
.bg-auth-input-shell {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,.16);
  background: rgba(12, 19, 34, .88);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.bg-auth-input-shell:focus-within {
  border-color: rgba(69,150,255,.70);
  box-shadow: 0 0 0 4px rgba(59,130,246,.10);
}
.bg-auth-input-icon,
.bg-auth-input-action {
  flex: 0 0 52px;
  width: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7f96b3;
}
.bg-auth-input-icon svg,
.bg-auth-input-action svg { width: 18px; height: 18px; }
.bg-auth-input-action {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.bg-auth-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent !important;
  color: #f8fbff !important;
  font-size: .96rem;
  padding: 0 8px 0 0;
}
.bg-auth-input::placeholder { color: #62748f !important; }
.bg-auth-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}
.bg-auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c6d3e7;
  font-size: .88rem;
}
.bg-auth-remember input {
  width: 18px;
  height: 18px;
  accent-color: #3b82f6;
}
.bg-auth-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: #63adff;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
}
.bg-auth-legal {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2px;
  color: #a5b6cc;
  font-size: .84rem;
  line-height: 1.55;
}
.bg-auth-legal input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: #3b82f6;
}
.bg-auth-legal a { color: #64adff; text-decoration: none; font-weight: 700; }
.bg-auth-primary {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(90deg, #4f9eff 0%, #3b82f6 100%);
  color: #04111f;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}
.bg-auth-primary:hover { transform: translateY(-1px); filter: brightness(1.02); }
.bg-auth-primary:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.bg-auth-note,
.bg-auth-success,
.bg-auth-error {
  border-radius: 14px;
  padding: 11px 13px;
  font-size: .83rem;
  line-height: 1.5;
}
.bg-auth-note {
  border: 1px solid rgba(59,130,246,.18);
  background: rgba(37,99,235,.12);
  color: #afcdf8;
}
.bg-auth-success {
  border: 1px solid rgba(52,211,153,.18);
  background: rgba(16,185,129,.10);
  color: #9ef0cf;
}
.bg-auth-error {
  border: 1px solid rgba(239,68,68,.18);
  background: rgba(127,29,29,.18);
  color: #fecaca;
}
.bg-auth-secondary-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.bg-auth-text-muted { color: #92a4bc; font-size: .86rem; }
.bg-auth-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(148,163,184,.12);
}
.bg-auth-footer-row p { margin: 0; color: #92a4bc; font-size: .9rem; }
.bg-auth-footer-row .bg-auth-link { font-size: .9rem; }
.bg-auth-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 16px;
}
.bg-auth-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  color: #bfd0e6;
  font-size: .82rem;
  line-height: 1.4;
}
.bg-auth-trust-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,.14);
  background: rgba(8,14,26,.60);
  color: #8cbefe;
}
.bg-auth-trust-icon svg { width: 18px; height: 18px; }
.bg-auth-plan-box {
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,.14);
  background: rgba(10,17,31,.66);
}
.bg-auth-plan-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.bg-auth-plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(34,197,94,.18);
  background: rgba(22,163,74,.10);
  color: #8df2c1;
  font-size: .75rem;
  font-weight: 700;
}
.bg-auth-plan-title {
  color: #f6fbff;
  font-size: .95rem;
  font-weight: 700;
}
.bg-auth-plan-desc {
  color: #98abc5;
  font-size: .84rem;
  line-height: 1.55;
}
.bg-auth-plan-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px 12px;
  margin-top: 12px;
}
.bg-auth-plan-benefit {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #d8e5f7;
  font-size: .8rem;
  line-height: 1.4;
}
.bg-auth-plan-benefit-mark {
  color: #60a5fa;
  font-weight: 900;
}
.bg-auth-code-note {
  color: #8fa5c0;
  text-align: center;
  font-size: .8rem;
  line-height: 1.5;
}
.bg-auth-divider {
  height: 1px;
  margin: 4px 0 0;
  background: rgba(148,163,184,.12);
}

.bg-plan-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 23, .76);
  backdrop-filter: blur(10px);
}
.bg-plan-modal {
  width: min(1020px, 100%);
  max-height: min(92dvh, 900px);
  overflow: auto;
  border-radius: 28px;
  border: 1px solid rgba(59,130,246,.16);
  background: linear-gradient(180deg, rgba(8,14,26,.98), rgba(5,11,21,.98));
  color: #e5edf8;
  box-shadow: 0 40px 100px rgba(0,0,0,.42);
  padding: 28px;
}
.bg-plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.bg-plan-head h2 {
  margin: 0;
  color: #f8fbff;
  font-size: clamp(1.7rem, 1.55rem + .35vw, 2.1rem);
  letter-spacing: -.04em;
}
.bg-plan-head p {
  margin: 8px 0 0;
  color: #8fa2bc;
  font-size: .92rem;
  line-height: 1.6;
}
.bg-plan-close {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,.16);
  background: rgba(15,23,42,.80);
  color: #cfe0f7;
  font-size: 24px;
  cursor: pointer;
}
.bg-plan-trial {
  margin: 0 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(34,197,94,.18);
  background: rgba(22,163,74,.10);
  color: #93f1c3;
  padding: 12px 14px;
  font-size: .88rem;
  font-weight: 700;
  text-align: center;
}
.bg-plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.bg-plan-card {
  border-radius: 22px;
  border: 1px solid rgba(148,163,184,.14);
  background: rgba(8,14,26,.75);
  padding: 22px;
}
.bg-plan-card.pro {
  border-color: rgba(69,150,255,.55);
  box-shadow: 0 0 0 1px rgba(69,150,255,.08), 0 24px 52px rgba(30,64,175,.10);
}
.bg-plan-badge {
  color: #7fb7ff;
  font-size: .68rem;
  letter-spacing: .20em;
  text-transform: uppercase;
  font-weight: 800;
}
.bg-plan-card h3 {
  margin: 7px 0 6px;
  color: #f8fbff;
  font-size: 1.42rem;
  letter-spacing: -.03em;
}
.bg-plan-desc {
  min-height: 42px;
  color: #91a3bc;
  font-size: .86rem;
  line-height: 1.55;
}
.bg-plan-price {
  margin: 16px 0 14px;
  color: #f8fbff;
  font-size: 2rem;
  letter-spacing: -.04em;
  font-weight: 800;
}
.bg-plan-price small {
  color: #8ea0b9;
  font-size: .8rem;
  font-weight: 700;
}
.bg-plan-feature-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 18px;
}
.bg-plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d9e5f7;
  font-size: .88rem;
  line-height: 1.45;
}
.bg-plan-feature.no { color: #64748b; }
.bg-plan-feature-mark { width: 16px; flex: 0 0 16px; text-align: center; color: #34d399; font-weight: 900; }
.bg-plan-feature.no .bg-plan-feature-mark { color: #475569; }
.bg-offer-list { display: grid; gap: 10px; margin-top: 16px; }
.bg-offer-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,.14);
  background: rgba(15,23,42,.72);
  color: #e2ebf9;
  cursor: pointer;
}
.bg-offer-btn:hover {
  border-color: rgba(69,150,255,.40);
  background: rgba(17,29,51,.88);
}
.bg-offer-btn strong { color: #74b6ff; }

html:not(.dark-mode) .bg-auth-page {
  background:
    radial-gradient(circle at 12% 18%, rgba(37,99,235,.12), transparent 28%),
    radial-gradient(circle at 84% 10%, rgba(14,165,233,.10), transparent 24%),
    linear-gradient(180deg, #eef4fb 0%, #f8fbff 100%);
  color: #0f172a;
}
html:not(.dark-mode) .bg-auth-page::before { background: rgba(59,130,246,.08); }
html:not(.dark-mode) .bg-auth-page::after { background: rgba(14,165,233,.08); }
html:not(.dark-mode) .bg-auth-showcase::before {
  background:
    linear-gradient(145deg, rgba(255,255,255,.88), rgba(241,246,255,.72)),
    repeating-linear-gradient(135deg, rgba(148,163,184,.06) 0 1px, transparent 1px 72px);
  border-color: rgba(148,163,184,.12);
}
html:not(.dark-mode) .bg-auth-showcase { border-right-color: rgba(148,163,184,.18); }
html:not(.dark-mode) .bg-auth-kicker { color: #174ea6; }
html:not(.dark-mode) .bg-auth-kicker::before { background: rgba(59,130,246,.85); }
html:not(.dark-mode) .bg-auth-title { color: #071529; }
html:not(.dark-mode) .bg-auth-subtitle { color: #52657f; }
html:not(.dark-mode) .bg-auth-feature-icon {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,248,255,.92));
  border-color: rgba(59,130,246,.20);
  box-shadow: 0 10px 22px rgba(37,99,235,.08);
}
html:not(.dark-mode) .bg-auth-feature-text { color: #10233e; }
html:not(.dark-mode) .bg-auth-compare,
html:not(.dark-mode) .bg-auth-link { color: #1d4ed8; }
html:not(.dark-mode) .bg-auth-select-wrap,
html:not(.dark-mode) .bg-auth-theme-btn {
  background: rgba(255,255,255,.84);
  border-color: rgba(148,163,184,.20);
  box-shadow: 0 12px 26px rgba(15,23,42,.08);
  color: #10233e;
}
html:not(.dark-mode) .bg-auth-select-icon,
html:not(.dark-mode) .bg-auth-theme-icon { color: #1d4ed8; }
html:not(.dark-mode) .bg-auth-card {
  border-color: rgba(148,163,184,.20);
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,251,255,.95));
  box-shadow: 0 30px 70px rgba(15,23,42,.12);
}
html:not(.dark-mode) .bg-auth-tabs {
  background: rgba(241,245,249,.92);
  border-color: rgba(148,163,184,.18);
}
html:not(.dark-mode) .bg-auth-tab { color: #64748b; }
html:not(.dark-mode) .bg-auth-tab.active { color: #ffffff; }
html:not(.dark-mode) .bg-auth-card-copy h1,
html:not(.dark-mode) .bg-auth-card-copy h2 { color: #071529 !important; }
html:not(.dark-mode) .bg-auth-card-subtitle,
html:not(.dark-mode) .bg-auth-plan-desc,
html:not(.dark-mode) .bg-auth-text-muted,
html:not(.dark-mode) .bg-auth-footer-row p,
html:not(.dark-mode) .bg-plan-head p,
html:not(.dark-mode) .bg-plan-desc { color: #52657f; }
html:not(.dark-mode) .bg-auth-field-label,
html:not(.dark-mode) .bg-auth-remember,
html:not(.dark-mode) .bg-auth-legal,
html:not(.dark-mode) .bg-auth-code-note,
html:not(.dark-mode) .bg-auth-plan-title,
html:not(.dark-mode) .bg-auth-trust-item,
html:not(.dark-mode) .bg-plan-feature,
html:not(.dark-mode) .bg-offer-btn { color: #10233e; }
html:not(.dark-mode) .bg-auth-input-shell {
  background: rgba(255,255,255,.96);
  border-color: rgba(148,163,184,.24);
}
html:not(.dark-mode) .bg-auth-input-icon,
html:not(.dark-mode) .bg-auth-input-action { color: #64748b; }
html:not(.dark-mode) .bg-auth-input { color: #0f172a !important; }
html:not(.dark-mode) .bg-auth-input::placeholder { color: #94a3b8 !important; }
html:not(.dark-mode) .bg-auth-note {
  background: rgba(37,99,235,.08);
  color: #1847a6;
}
html:not(.dark-mode) .bg-auth-success {
  background: rgba(16,185,129,.08);
  color: #047857;
}
html:not(.dark-mode) .bg-auth-error {
  background: rgba(239,68,68,.08);
  color: #b91c1c;
}
html:not(.dark-mode) .bg-auth-trust-icon,
html:not(.dark-mode) .bg-auth-plan-box {
  background: rgba(255,255,255,.78);
  border-color: rgba(148,163,184,.18);
}
html:not(.dark-mode) .bg-plan-modal {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,255,.98));
  color: #0f172a;
  border-color: rgba(148,163,184,.18);
  box-shadow: 0 40px 90px rgba(15,23,42,.18);
}
html:not(.dark-mode) .bg-plan-head h2,
html:not(.dark-mode) .bg-plan-card h3,
html:not(.dark-mode) .bg-plan-price { color: #071529; }
html:not(.dark-mode) .bg-plan-close {
  background: rgba(248,250,252,.92);
  border-color: rgba(148,163,184,.20);
  color: #334155;
}
html:not(.dark-mode) .bg-plan-card,
html:not(.dark-mode) .bg-offer-btn {
  background: rgba(255,255,255,.92);
  border-color: rgba(148,163,184,.18);
}
html:not(.dark-mode) .bg-plan-feature.no { color: #94a3b8; }

@media (max-width: 1080px) {
  .bg-auth-wrap { grid-template-columns: minmax(0,1fr) minmax(380px,.95fr); }
  .bg-auth-title { max-width: 13ch; font-size: clamp(2rem, 1.8rem + 1vw, 3.35rem); }
}
@media (max-width: 920px) {
  .bg-auth-wrap { grid-template-columns: 1fr; }
  .bg-auth-form-side { order: 1; padding: 20px 16px 12px; }
  .bg-auth-showcase { order: 2; padding: 18px 16px 26px; border-right: 0; border-top: 1px solid rgba(148,163,184,.10); }
  .bg-auth-showcase::before { inset: 8px 6px 0 6px; }
  .bg-auth-topbar { justify-content: flex-start; margin-bottom: 16px; }
  .bg-auth-card-wrap { max-width: 100%; }
  .bg-auth-card { padding: 22px; border-radius: 24px; }
  .bg-auth-showcase-inner { margin: 0; }
  .bg-auth-brand { margin-bottom: 26px; }
  .bg-auth-title { max-width: 14ch; }
}
@media (max-width: 640px) {
  .bg-auth-feature-grid,
  .bg-auth-plan-benefits,
  .bg-plan-grid,
  .bg-auth-trust-row { grid-template-columns: 1fr; }
  .bg-auth-card { padding: 18px 16px; border-radius: 20px; }
  .bg-auth-top-controls { gap: 8px; }
  .bg-auth-select-wrap { min-height: 38px; padding: 0 34px 0 10px; }
  .bg-auth-theme-btn { min-height: 38px; padding: 0 12px; }
  .bg-auth-theme-btn span { display: none; }
  .bg-auth-card-header { gap: 10px; }
  .bg-auth-card-brand .brand-logo-img { max-height: 30px; max-width: 120px; }
  .bg-auth-input-shell { min-height: 52px; }
  .bg-auth-footer-row,
  .bg-auth-meta-row,
  .bg-auth-secondary-row { align-items: flex-start; flex-direction: column; }
  .bg-auth-footer-row { gap: 10px; }
  .bg-plan-overlay { align-items: flex-start; padding: 10px; }
  .bg-plan-modal { margin-top: 6px; padding: 18px 16px; border-radius: 22px; max-height: 96dvh; }
}
