/* Auth layout variants (BudunOS front) */

/* —— Page chrome (no stock 70px header) —— */
body.bos-auth-layout {
  padding-top: 0 !important;
}

body.bos-auth-layout .main-wrapper {
  min-height: 100vh;
  min-height: 100dvh;
}

.bos-auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 10px clamp(14px, 3vw, 28px);
  z-index: 50;
}

.bos-auth-topbar--bar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(10px);
}

body.night-mode .bos-auth-topbar--bar,
html[data-bs-theme="dark"] .bos-auth-topbar--bar {
  background: rgba(15, 17, 18, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.bos-auth-topbar--float {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  pointer-events: none;
}

.bos-auth-topbar--float .bos-auth-topbar-brand,
.bos-auth-topbar--float .bos-auth-topbar-actions {
  pointer-events: auto;
}

.bos-auth-topbar--float .bos-auth-topbar-brand,
.bos-auth-topbar--float .bos-auth-topbar-actions {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(10px);
}

.bos-auth-topbar--float .bos-auth-topbar-brand img {
  filter: brightness(0) invert(1);
}

.bos-auth-topbar--float .bos-auth-topbar-title,
.bos-auth-topbar--float .bos-auth-topbar-btn {
  color: #f8fafc !important;
}

.bos-auth-topbar-brand {
  display: inline-flex;
  align-items: center;
  max-width: min(200px, 46vw);
  text-decoration: none;
  color: inherit;
}

.bos-auth-topbar-brand img {
  display: block;
  max-height: 32px;
  width: auto;
  max-width: 100%;
}

.bos-auth-topbar-brand .logo-dark {
  display: none;
}

body.night-mode .bos-auth-topbar--bar .bos-auth-topbar-brand .logo-light,
html[data-bs-theme="dark"] .bos-auth-topbar--bar .bos-auth-topbar-brand .logo-light {
  display: none;
}

body.night-mode .bos-auth-topbar--bar .bos-auth-topbar-brand .logo-dark,
html[data-bs-theme="dark"] .bos-auth-topbar--bar .bos-auth-topbar-brand .logo-dark {
  display: block;
}

.bos-auth-topbar--float .bos-auth-topbar-brand .logo-dark {
  display: none !important;
}

.bos-auth-topbar--float .bos-auth-topbar-brand .logo-light {
  display: block !important;
}

.bos-auth-topbar-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bos-auth-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bos-auth-topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475569;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

body.night-mode .bos-auth-topbar--bar .bos-auth-topbar-btn,
html[data-bs-theme="dark"] .bos-auth-topbar--bar .bos-auth-topbar-btn {
  color: #cbd5e1;
}

.bos-auth-topbar-btn:hover {
  background: rgba(15, 23, 42, 0.06);
}

.bos-auth-topbar--float .bos-auth-topbar-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.bos-auth-headline--sm {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin-bottom: 0.35rem;
}

/* Hide in-form signup/signin duplicate when page has foot CTA */
.bos-auth-has-foot .card-register .js_panel > .card-body > .mt30.text-center {
  display: none !important;
}

/* —— Soft —— */
.bos-auth-page.bos-auth--soft {
  min-height: calc(100vh - 56px);
  min-height: calc(100dvh - 56px);
}

.bos-auth--soft .bos-auth-shell {
  gap: clamp(20px, 4vw, 48px);
  padding: 12px 0 28px;
}

.bos-auth--soft .bos-auth-shell-form .card-register {
  border-radius: 18px;
  border: 1px solid var(--bos-auth-line, #e9ebef);
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.06);
}

@media (max-width: 991.98px) {
  .bos-auth--soft .bos-auth-shell-intro {
    text-align: center;
  }

  .bos-auth--soft .bos-auth-intro {
    max-width: none;
    margin: 0 auto;
  }

  .bos-auth--soft .bos-auth-lead,
  .bos-auth--soft .bos-auth-points {
    margin-left: auto;
    margin-right: auto;
  }

  .bos-auth--soft .bos-auth-points {
    text-align: left;
  }

  .bos-auth--soft .bos-auth-cta-row,
  .bos-auth--soft .bos-auth-nudge {
    justify-content: center;
  }
}

/* —— Centered —— */
.bos-auth-page.bos-auth--centered {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100vh - 56px);
  min-height: calc(100dvh - 56px);
  padding: 12px 0 40px !important;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(94, 114, 228, 0.12), transparent 60%),
    #fff;
}

body.night-mode .bos-auth-page.bos-auth--centered,
html[data-bs-theme="dark"] .bos-auth-page.bos-auth--centered {
  background:
    radial-gradient(1000px 420px at 50% -8%, rgba(94, 114, 228, 0.18), transparent 55%),
    #0f1112;
}

.bos-auth--centered .bos-auth-centered {
  width: min(440px, 100%);
  margin: 0 auto;
  padding: 16px 0 24px;
}

.bos-auth--centered .bos-auth-centered-brand {
  text-align: center;
  margin-bottom: 18px;
}

.bos-auth--centered .bos-auth-centered-brand .bos-auth-eyebrow {
  margin-bottom: 8px;
}

.bos-auth--centered .bos-auth-shell-form--centered {
  max-width: none;
  margin: 0 auto;
  padding: 8px 4px 4px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--bos-auth-line, #e9ebef);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
}

body.night-mode .bos-auth--centered .bos-auth-shell-form--centered,
html[data-bs-theme="dark"] .bos-auth--centered .bos-auth-shell-form--centered {
  background: #1a2229;
  border-color: #2e3f4d;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.bos-auth--centered .bos-auth-shell-form--centered .card-register {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.bos-auth-centered-foot {
  margin: 18px 0 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--bos-auth-muted, #858b95);
}

.bos-auth-centered-foot a {
  font-weight: 600;
}

/* Full-bleed immersive shells */
.bos-auth-page.bos-auth--cover,
.bos-auth-page.bos-auth--split-dark,
.bos-auth-page.bos-auth--stacked,
.bos-auth-page.bos-auth--wallpaper {
  display: block;
  align-items: stretch;
  padding: 0 !important;
  overflow: visible;
  min-height: 100vh;
  min-height: 100dvh;
  background: #fff;
}

.bos-auth-page.bos-auth--cover::before,
.bos-auth-page.bos-auth--split-dark::before,
.bos-auth-page.bos-auth--stacked::before,
.bos-auth-page.bos-auth--wallpaper::before {
  display: none;
}

/* —— Wallpaper —— */
.bos-auth--wallpaper {
  position: relative;
  background-image: var(--bos-auth-wall);
  background-size: cover;
  background-position: center;
  display: flex !important;
  align-items: center;
}

.bos-auth--wallpaper .bos-auth-wall-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(10, 12, 16, 0.82) 0%, rgba(10, 12, 16, 0.55) 48%, rgba(10, 12, 16, 0.35) 100%);
  pointer-events: none;
}

.bos-auth--wallpaper .bos-auth-wall-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(72px, 10vw, 96px) 0 clamp(28px, 5vw, 56px);
}

.bos-auth--wallpaper .bos-auth-wall-panel {
  display: grid;
  gap: 24px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .bos-auth--wallpaper .bos-auth-wall-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }
}

.bos-auth--wallpaper .bos-auth-wall-copy .bos-auth-eyebrow {
  color: rgba(248, 250, 252, 0.72);
}

.bos-auth--wallpaper .bos-auth-wall-copy .bos-auth-headline {
  color: #f8fafc;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.bos-auth--wallpaper .bos-auth-wall-copy .bos-auth-lead {
  color: rgba(248, 250, 252, 0.82);
  max-width: 36ch;
}

.bos-auth--wallpaper .bos-auth-shell-form--wall {
  width: min(440px, 100%);
  margin: 0;
  padding: 8px 6px 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.bos-auth--wallpaper .bos-auth-shell-form--wall .card-register {
  border: 0;
  box-shadow: none;
  background: transparent;
}

body.night-mode .bos-auth--wallpaper .bos-auth-shell-form--wall,
html[data-bs-theme="dark"] .bos-auth--wallpaper .bos-auth-shell-form--wall {
  background: rgba(26, 34, 41, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 991.98px) {
  .bos-auth--wallpaper .bos-auth-shell-form--wall {
    margin: 0 auto;
  }

  .bos-auth--wallpaper .bos-auth-wall-copy {
    text-align: center;
  }

  .bos-auth--wallpaper .bos-auth-wall-copy .bos-auth-lead {
    margin-left: auto;
    margin-right: auto;
  }
}

/* —— Split dark —— */
.bos-auth--split-dark .bos-auth-split-dark {
  display: grid;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

@media (min-width: 992px) {
  .bos-auth--split-dark .bos-auth-split-dark {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.bos-auth--split-dark .bos-auth-split-dark-brand {
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(94, 114, 228, 0.35), transparent 55%),
    linear-gradient(160deg, #0f172a 0%, #111827 55%, #0b1220 100%);
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(72px, 10vw, 96px) clamp(24px, 5vw, 64px) clamp(36px, 5vw, 64px);
  min-height: 100%;
}

.bos-auth--split-dark .bos-auth-split-dark-brand-inner {
  width: min(440px, 100%);
}

.bos-auth--split-dark .bos-auth-eyebrow {
  color: rgba(248, 250, 252, 0.7);
}

.bos-auth--split-dark .bos-auth-headline,
.bos-auth--split-dark .bos-auth-lead {
  color: #f8fafc;
}

.bos-auth--split-dark .bos-auth-lead {
  opacity: 0.82;
  max-width: 36ch;
}

.bos-auth--split-dark .bos-auth-split-dark-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.bos-auth--split-dark .bos-auth-split-dark-points li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: rgba(248, 250, 252, 0.78);
}

.bos-auth--split-dark .bos-auth-split-dark-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5e72e4;
}

.bos-auth--split-dark .bos-auth-split-dark-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 48px);
  background: #fff;
  min-height: 100%;
}

body.night-mode .bos-auth--split-dark .bos-auth-split-dark-form,
html[data-bs-theme="dark"] .bos-auth--split-dark .bos-auth-split-dark-form {
  background: #0f1112;
}

.bos-auth--split-dark .bos-auth-split-dark-form-inner {
  width: min(420px, 100%);
}

.bos-auth--split-dark .bos-auth-split-dark-kicker {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 650;
  color: var(--bos-auth-ink, #0f172a);
}

body.night-mode .bos-auth--split-dark .bos-auth-split-dark-kicker,
html[data-bs-theme="dark"] .bos-auth--split-dark .bos-auth-split-dark-kicker {
  color: #e2e8f0;
}

.bos-auth--split-dark .bos-auth-split-dark-form-inner .card-register {
  border: 0;
  box-shadow: none;
  background: transparent;
}

@media (max-width: 991.98px) {
  .bos-auth--split-dark .bos-auth-split-dark-brand {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 28px;
    text-align: center;
  }

  .bos-auth--split-dark .bos-auth-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .bos-auth--split-dark .bos-auth-split-dark-points {
    display: none;
  }

  .bos-auth--split-dark .bos-auth-split-dark-form {
    padding-top: 8px;
    align-items: flex-start;
  }
}

/* —— Stacked —— */
.bos-auth--stacked {
  background: #f8fafc;
}

body.night-mode .bos-auth--stacked,
html[data-bs-theme="dark"] .bos-auth--stacked {
  background: #0f1112;
}

.bos-auth--stacked .bos-auth-stacked-banner {
  width: 100%;
  padding: clamp(80px, 10vw, 110px) 0 clamp(32px, 5vw, 56px);
  background:
    radial-gradient(900px 280px at 15% 0%, rgba(94, 114, 228, 0.28), transparent 60%),
    linear-gradient(180deg, #111827 0%, #1e293b 100%);
  color: #f8fafc;
  margin: 0 0 28px;
}

.bos-auth--stacked .bos-auth-stacked-banner .bos-auth-eyebrow {
  color: rgba(248, 250, 252, 0.7);
}

.bos-auth--stacked .bos-auth-stacked-banner .bos-auth-headline,
.bos-auth--stacked .bos-auth-stacked-banner .bos-auth-lead {
  color: #f8fafc;
}

.bos-auth--stacked .bos-auth-stacked-banner .bos-auth-lead {
  max-width: 52ch;
  opacity: 0.85;
  margin-bottom: 0;
}

.bos-auth--stacked .bos-auth-stacked-form {
  width: min(460px, 100%);
  margin: 0 auto 48px;
  padding: 10px 8px 12px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--bos-auth-line, #e9ebef);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
}

body.night-mode .bos-auth--stacked .bos-auth-stacked-form,
html[data-bs-theme="dark"] .bos-auth--stacked .bos-auth-stacked-form {
  background: #1a2229;
  border-color: #2e3f4d;
}

.bos-auth--stacked .bos-auth-stacked-form .card-register {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.bos-auth--stacked .bos-auth-centered-foot {
  margin: 8px 12px 16px;
}

@media (max-width: 575.98px) {
  .bos-auth--stacked .bos-auth-stacked-banner {
    text-align: center;
  }

  .bos-auth--stacked .bos-auth-stacked-banner .bos-auth-lead {
    margin-left: auto;
    margin-right: auto;
  }
}

/* —— Cover —— */
.bos-auth--cover .bos-auth-cover {
  display: grid;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

@media (min-width: 992px) {
  .bos-auth--cover .bos-auth-cover {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.bos-auth--cover .bos-auth-cover-media {
  position: relative;
  min-height: 240px;
  height: 100%;
  background-image: var(--bos-auth-wall);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: clamp(72px, 9vw, 96px) clamp(20px, 4vw, 48px) clamp(28px, 4vw, 48px);
}

.bos-auth--cover .bos-auth-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.78) 100%);
}

.bos-auth--cover .bos-auth-cover-copy {
  position: relative;
  z-index: 1;
  max-width: 38ch;
}

.bos-auth--cover .bos-auth-cover-copy .bos-auth-eyebrow {
  color: rgba(248, 250, 252, 0.72);
}

.bos-auth--cover .bos-auth-cover-copy .bos-auth-headline,
.bos-auth--cover .bos-auth-cover-copy .bos-auth-lead {
  color: #f8fafc;
}

.bos-auth--cover .bos-auth-cover-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 48px);
  background: #fff;
  min-height: 100%;
}

body.night-mode .bos-auth--cover .bos-auth-cover-form,
html[data-bs-theme="dark"] .bos-auth--cover .bos-auth-cover-form {
  background: #0f1112;
}

.bos-auth--cover .bos-auth-cover-form-inner {
  width: min(420px, 100%);
}

.bos-auth--cover .bos-auth-cover-kicker {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 650;
  color: var(--bos-auth-ink, #0f172a);
}

body.night-mode .bos-auth--cover .bos-auth-cover-kicker,
html[data-bs-theme="dark"] .bos-auth--cover .bos-auth-cover-kicker {
  color: #e2e8f0;
}

.bos-auth--cover .bos-auth-cover-form-inner .card-register {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.bos-auth--cover .bos-auth-centered-foot {
  margin: 12px 0 0;
}

@media (max-width: 991.98px) {
  .bos-auth--cover .bos-auth-cover-media {
    min-height: 220px;
    align-items: flex-end;
    text-align: center;
  }

  .bos-auth--cover .bos-auth-cover-copy {
    max-width: none;
    margin: 0 auto;
  }

  .bos-auth--cover .bos-auth-cover-copy .bos-auth-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .bos-auth--cover .bos-auth-cover-form {
    align-items: flex-start;
    padding-top: 12px;
  }
}

/* —— Minimal —— */
.bos-auth-page.bos-auth--minimal {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100vh - 56px);
  min-height: calc(100dvh - 56px);
  padding: 28px 16px 48px !important;
  background: #fafafa;
}

body.night-mode .bos-auth-page.bos-auth--minimal,
html[data-bs-theme="dark"] .bos-auth-page.bos-auth--minimal {
  background: #0f1112;
}

.bos-auth--minimal .bos-auth-minimal {
  width: min(400px, 100%);
  margin: 0 auto;
}

.bos-auth--minimal .bos-auth-minimal-brand {
  text-align: center;
  margin-bottom: 28px;
}

.bos-auth--minimal .bos-auth-minimal-form .card-register {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.bos-auth--minimal .bos-auth-minimal-form .card-register .card-header {
  text-align: center;
  padding-top: 0 !important;
}

.bos-auth--minimal .bos-auth-minimal-form .card-register .card-header .card-title,
.bos-auth--minimal .bos-auth-minimal-form .card-register .card-header p {
  display: none;
}

.bos-auth--minimal .bos-auth-centered-foot {
  margin-top: 20px;
}

/* —— Editorial —— */
.bos-auth-page.bos-auth--editorial {
  display: block;
  padding: 0 !important;
  min-height: calc(100vh - 56px);
  min-height: calc(100dvh - 56px);
  background: #f8fafc;
}

body.night-mode .bos-auth-page.bos-auth--editorial,
html[data-bs-theme="dark"] .bos-auth-page.bos-auth--editorial {
  background: #0f1112;
}

.bos-auth--editorial .bos-auth-editorial {
  display: grid;
  width: 100%;
  min-height: calc(100vh - 56px);
  min-height: calc(100dvh - 56px);
  gap: 0;
}

@media (min-width: 992px) {
  .bos-auth--editorial .bos-auth-editorial {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.bos-auth--editorial .bos-auth-editorial-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 72px);
  max-width: 560px;
}

.bos-auth--editorial .bos-auth-editorial-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bos-auth-muted, #858b95);
}

.bos-auth--editorial .bos-auth-editorial-display {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--bos-auth-ink, #0f172a);
}

body.night-mode .bos-auth--editorial .bos-auth-editorial-display,
html[data-bs-theme="dark"] .bos-auth--editorial .bos-auth-editorial-display {
  color: #f8fafc;
}

.bos-auth--editorial .bos-auth-editorial-deck {
  margin: 0;
  max-width: 38ch;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--bos-auth-muted, #858b95);
}

.bos-auth--editorial .bos-auth-editorial-rule {
  width: 64px;
  height: 2px;
  margin: 28px 0;
  background: #0f172a;
}

body.night-mode .bos-auth--editorial .bos-auth-editorial-rule,
html[data-bs-theme="dark"] .bos-auth--editorial .bos-auth-editorial-rule {
  background: #e2e8f0;
}

.bos-auth--editorial .bos-auth-editorial-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  color: var(--bos-auth-muted, #858b95);
}

.bos-auth--editorial .bos-auth-editorial-list li {
  padding-left: 14px;
  border-left: 2px solid #cbd5e1;
}

.bos-auth--editorial .bos-auth-editorial-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px) clamp(16px, 3vw, 40px);
  background: #fff;
  border-left: 1px solid #e2e8f0;
}

body.night-mode .bos-auth--editorial .bos-auth-editorial-form,
html[data-bs-theme="dark"] .bos-auth--editorial .bos-auth-editorial-form {
  background: #151a1f;
  border-left-color: #2e3f4d;
}

.bos-auth--editorial .bos-auth-editorial-panel {
  width: min(420px, 100%);
  padding: 22px 18px 16px;
  border: 2px solid #0f172a;
  border-radius: 4px;
  background: #fff;
}

body.night-mode .bos-auth--editorial .bos-auth-editorial-panel,
html[data-bs-theme="dark"] .bos-auth--editorial .bos-auth-editorial-panel {
  border-color: #e2e8f0;
  background: #1a2229;
}

.bos-auth--editorial .bos-auth-editorial-panel-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bos-auth--editorial .bos-auth-editorial-panel .card-register {
  border: 0;
  box-shadow: none;
  background: transparent;
}

@media (max-width: 991.98px) {
  .bos-auth--editorial .bos-auth-editorial-copy {
    padding-bottom: 12px;
    text-align: center;
    max-width: none;
  }

  .bos-auth--editorial .bos-auth-editorial-deck,
  .bos-auth--editorial .bos-auth-editorial-rule {
    margin-left: auto;
    margin-right: auto;
  }

  .bos-auth--editorial .bos-auth-editorial-list {
    display: none;
  }

  .bos-auth--editorial .bos-auth-editorial-form {
    border-left: 0;
    border-top: 1px solid #e2e8f0;
    align-items: flex-start;
  }
}

/* —— Mesh —— */
.bos-auth-page.bos-auth--mesh {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(72px, 10vw, 96px) 16px 40px !important;
  overflow: hidden;
  background: #eef2ff;
}

.bos-auth--mesh .bos-auth-mesh-bg {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 50% 45% at 18% 22%, rgba(96, 165, 250, 0.55), transparent 60%),
    radial-gradient(ellipse 45% 50% at 82% 68%, rgba(167, 139, 250, 0.5), transparent 58%),
    radial-gradient(ellipse 40% 35% at 55% 10%, rgba(244, 114, 182, 0.28), transparent 55%),
    linear-gradient(160deg, #eef2ff 0%, #fdf2f8 100%);
  filter: blur(8px);
  pointer-events: none;
}

body.night-mode .bos-auth-page.bos-auth--mesh,
html[data-bs-theme="dark"] .bos-auth-page.bos-auth--mesh {
  background: #0b1020;
}

body.night-mode .bos-auth--mesh .bos-auth-mesh-bg,
html[data-bs-theme="dark"] .bos-auth--mesh .bos-auth-mesh-bg {
  background:
    radial-gradient(ellipse 50% 45% at 18% 22%, rgba(59, 130, 246, 0.35), transparent 60%),
    radial-gradient(ellipse 45% 50% at 82% 68%, rgba(139, 92, 246, 0.32), transparent 58%),
    radial-gradient(ellipse 40% 35% at 55% 10%, rgba(236, 72, 153, 0.18), transparent 55%),
    linear-gradient(160deg, #0b1020 0%, #151028 100%);
}

.bos-auth--mesh .bos-auth-mesh {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
}

.bos-auth--mesh .bos-auth-mesh-card {
  padding: 18px 14px 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(18px);
}

body.night-mode .bos-auth--mesh .bos-auth-mesh-card,
html[data-bs-theme="dark"] .bos-auth--mesh .bos-auth-mesh-card {
  background: rgba(26, 34, 41, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
}

.bos-auth--mesh .bos-auth-mesh-brand {
  text-align: center;
  margin-bottom: 8px;
  padding: 4px 8px 0;
}

.bos-auth--mesh .bos-auth-mesh-card .card-register {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.bos-auth--mesh .bos-auth-centered-foot {
  margin: 8px 8px 12px;
}

/* —— Rail —— */
.bos-auth-page.bos-auth--rail {
  display: block;
  padding: 0 !important;
  min-height: 100vh;
  min-height: 100dvh;
  background: #f8fafc;
}

body.night-mode .bos-auth-page.bos-auth--rail,
html[data-bs-theme="dark"] .bos-auth-page.bos-auth--rail {
  background: #0f1112;
}

.bos-auth--rail .bos-auth-rail {
  display: grid;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  grid-template-columns: 72px minmax(0, 1fr);
}

@media (min-width: 992px) {
  .bos-auth--rail .bos-auth-rail {
    grid-template-columns: 88px minmax(0, 1fr);
  }
}

.bos-auth--rail .bos-auth-rail-side {
  position: relative;
  background: #111827;
  overflow: hidden;
}

.bos-auth--rail .bos-auth-rail-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.72);
}

.bos-auth--rail .bos-auth-rail-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(72px, 9vw, 96px) clamp(16px, 4vw, 48px) clamp(28px, 5vw, 56px);
}

.bos-auth--rail .bos-auth-rail-inner {
  width: min(460px, 100%);
}

.bos-auth--rail .bos-auth-rail-form {
  margin-top: 18px;
  padding: 10px 8px 8px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--bos-auth-line, #e9ebef);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

body.night-mode .bos-auth--rail .bos-auth-rail-form,
html[data-bs-theme="dark"] .bos-auth--rail .bos-auth-rail-form {
  background: #1a2229;
  border-color: #2e3f4d;
}

.bos-auth--rail .bos-auth-rail-form .card-register {
  border: 0;
  box-shadow: none;
  background: transparent;
}

@media (max-width: 575.98px) {
  .bos-auth--rail .bos-auth-rail {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .bos-auth--rail .bos-auth-rail-mark {
    font-size: 11px;
    letter-spacing: 0.16em;
  }
}

/* Shared small-screen form safety */
@media (max-width: 575.98px) {
  .bos-auth-page .card-register .card-header,
  .bos-auth-page .card-register .card-body {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .bos-auth--centered .bos-auth-shell-form--centered,
  .bos-auth--stacked .bos-auth-stacked-form,
  .bos-auth--wallpaper .bos-auth-shell-form--wall,
  .bos-auth--mesh .bos-auth-mesh-card,
  .bos-auth--rail .bos-auth-rail-form {
    border-radius: 16px;
  }
}

/* —— Soft dark —— */
.bos-auth-page.bos-auth--soft-dark {
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(72px, 9vw, 96px) 0 40px !important;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(94, 114, 228, 0.16), transparent 60%),
    linear-gradient(180deg, #0f1112 0%, #151a1f 100%);
  color: #e2e8f0;
}

.bos-auth--soft-dark .bos-auth-eyebrow,
.bos-auth--soft-dark .bos-auth-lead,
.bos-auth--soft-dark .bos-auth-points span,
.bos-auth--soft-dark .bos-auth-nudge-copy span {
  color: #94a3b8;
}

.bos-auth--soft-dark .bos-auth-headline {
  color: #f8fafc;
}

.bos-auth--soft-dark .bos-auth-shell-form .card-register {
  border-radius: 18px;
  border: 1px solid #2e3f4d;
  background: #1a2229;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.bos-auth--soft-dark .bos-auth-cta--ghost {
  border-color: #334155;
  color: #e2e8f0;
}

.bos-auth--soft-dark .bos-auth-cta--solid {
  background: #5e72e4;
  color: #fff;
}

@media (max-width: 991.98px) {
  .bos-auth--soft-dark .bos-auth-shell-intro {
    text-align: center;
  }

  .bos-auth--soft-dark .bos-auth-points {
    text-align: left;
  }
}

/* —— Mirror (form left) —— */
.bos-auth-page.bos-auth--mirror {
  min-height: calc(100vh - 56px);
  min-height: calc(100dvh - 56px);
}

.bos-auth--mirror .bos-auth-shell--mirror {
  direction: ltr;
}

@media (min-width: 992px) {
  .bos-auth--mirror .bos-auth-shell--mirror {
    grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
  }

  .bos-auth--mirror .bos-auth-shell-form {
    order: 0;
  }

  .bos-auth--mirror .bos-auth-shell-intro {
    order: 1;
  }
}

.bos-auth--mirror .bos-auth-shell-form .card-register {
  border-radius: 18px;
  border: 1px solid var(--bos-auth-line, #e9ebef);
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.06);
}

@media (max-width: 991.98px) {
  .bos-auth--mirror .bos-auth-shell-intro {
    order: -1;
    text-align: center;
  }
}

/* —— Glass (animated orbs) —— */
.bos-auth-page.bos-auth--glass {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(72px, 10vw, 96px) 16px 40px !important;
  overflow: hidden;
  background: #0b1220;
}

.bos-auth--glass .bos-auth-glass-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bos-auth--glass .bos-auth-glass-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
  animation: bos-auth-orb 18s ease-in-out infinite;
}

.bos-auth--glass .bos-auth-glass-orb--a {
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  left: -8%;
  top: -10%;
  background: #3b82f6;
}

.bos-auth--glass .bos-auth-glass-orb--b {
  width: min(380px, 65vw);
  height: min(380px, 65vw);
  right: -6%;
  bottom: -12%;
  background: #8b5cf6;
  animation-delay: -6s;
  animation-duration: 22s;
}

.bos-auth--glass .bos-auth-glass-orb--c {
  width: min(280px, 50vw);
  height: min(280px, 50vw);
  left: 40%;
  top: 55%;
  background: #ec4899;
  animation-delay: -12s;
  animation-duration: 26s;
}

@keyframes bos-auth-orb {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(4%, 6%, 0) scale(1.08); }
  66% { transform: translate3d(-5%, -4%, 0) scale(0.94); }
}

.bos-auth--glass .bos-auth-glass {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
}

.bos-auth--glass .bos-auth-glass-card {
  padding: 18px 14px 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(22px) saturate(140%);
  color: #f8fafc;
}

.bos-auth--glass .bos-auth-glass-brand {
  text-align: center;
  margin-bottom: 6px;
}

.bos-auth--glass .bos-auth-eyebrow {
  color: rgba(248, 250, 252, 0.7);
}

.bos-auth--glass .bos-auth-headline {
  color: #fff;
}

.bos-auth--glass .bos-auth-glass-card .card-register {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.bos-auth--glass .bos-auth-glass-card .card-register .card-header .card-title,
.bos-auth--glass .bos-auth-glass-card .card-register .card-header p,
.bos-auth--glass .bos-auth-glass-card .card-register .card-header .bos-auth-form-note,
.bos-auth--glass .bos-auth-centered-foot,
.bos-auth--glass .bos-auth-glass-card .form-check-label,
.bos-auth--glass .bos-auth-glass-card a {
  color: rgba(248, 250, 252, 0.88);
}

.bos-auth--glass .bos-auth-glass-card .input-group-text,
.bos-auth--glass .bos-auth-glass-card .form-control,
.bos-auth--glass .bos-auth-glass-card .form-select {
  background: rgba(15, 23, 42, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #f8fafc !important;
}

.bos-auth--glass .bos-auth-centered-foot {
  margin: 8px 8px 12px;
}

/* —— Aurora —— */
.bos-auth-page.bos-auth--aurora {
  position: relative;
  display: flex !important;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 !important;
  overflow: hidden;
  background: #020617;
}

.bos-auth--aurora .bos-auth-aurora-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, #022c22 0%, transparent 55%);
}

.bos-auth--aurora .bos-auth-aurora-band {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 42%;
  filter: blur(48px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: bos-auth-aurora 16s ease-in-out infinite;
}

.bos-auth--aurora .bos-auth-aurora-band--1 {
  top: 18%;
  background: linear-gradient(90deg, transparent, #34d399 30%, #22d3ee 55%, transparent);
}

.bos-auth--aurora .bos-auth-aurora-band--2 {
  top: 34%;
  background: linear-gradient(90deg, transparent, #818cf8 25%, #c084fc 60%, transparent);
  animation-delay: -5s;
  animation-duration: 20s;
  opacity: 0.45;
}

.bos-auth--aurora .bos-auth-aurora-band--3 {
  top: 48%;
  background: linear-gradient(90deg, transparent, #2dd4bf 20%, #60a5fa 50%, transparent);
  animation-delay: -10s;
  animation-duration: 24s;
  opacity: 0.35;
}

@keyframes bos-auth-aurora {
  0%, 100% { transform: translate3d(-2%, 0, 0) skewX(-4deg); }
  50% { transform: translate3d(3%, -4%, 0) skewX(3deg); }
}

.bos-auth--aurora .bos-auth-aurora-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(72px, 10vw, 96px) 0 clamp(28px, 5vw, 56px);
}

.bos-auth--aurora .bos-auth-aurora-panel {
  display: grid;
  gap: 24px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .bos-auth--aurora .bos-auth-aurora-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }
}

.bos-auth--aurora .bos-auth-eyebrow {
  color: rgba(248, 250, 252, 0.72);
}

.bos-auth--aurora .bos-auth-headline,
.bos-auth--aurora .bos-auth-lead {
  color: #f8fafc;
}

.bos-auth--aurora .bos-auth-aurora-form {
  width: min(440px, 100%);
  padding: 10px 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.bos-auth--aurora .bos-auth-aurora-form .card-register {
  border: 0;
  box-shadow: none;
  background: transparent;
}

@media (max-width: 991.98px) {
  .bos-auth--aurora .bos-auth-aurora-copy {
    text-align: center;
  }

  .bos-auth--aurora .bos-auth-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .bos-auth--aurora .bos-auth-aurora-form {
    margin: 0 auto;
  }
}

/* —— Neon —— */
.bos-auth-page.bos-auth--neon {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(72px, 10vw, 96px) 16px 40px !important;
  overflow: hidden;
  background: #05070d;
}

.bos-auth--neon .bos-auth-neon-glow {
  position: absolute;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 114, 228, 0.35) 0%, transparent 68%);
  filter: blur(20px);
  animation: bos-auth-neon-pulse 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bos-auth-neon-pulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.bos-auth--neon .bos-auth-neon {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
}

.bos-auth--neon .bos-auth-neon-card {
  padding: 18px 14px 14px;
  border-radius: 20px;
  background: rgba(11, 16, 32, 0.88);
  border: 1px solid rgba(94, 114, 228, 0.45);
  box-shadow:
    0 0 0 1px rgba(94, 114, 228, 0.12),
    0 0 40px rgba(94, 114, 228, 0.18),
    0 24px 60px rgba(0, 0, 0, 0.45);
  color: #e2e8f0;
}

.bos-auth--neon .bos-auth-neon-brand {
  text-align: center;
  margin-bottom: 6px;
}

.bos-auth--neon .bos-auth-eyebrow {
  color: #94a3b8;
}

.bos-auth--neon .bos-auth-headline {
  color: #f8fafc;
  text-shadow: 0 0 24px rgba(94, 114, 228, 0.35);
}

.bos-auth--neon .bos-auth-neon-card .card-register {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.bos-auth--neon .bos-auth-neon-card .card-register .card-header .card-title,
.bos-auth--neon .bos-auth-neon-card .card-register .card-header p,
.bos-auth--neon .bos-auth-neon-card .card-register .card-header .bos-auth-form-note,
.bos-auth--neon .bos-auth-centered-foot,
.bos-auth--neon .bos-auth-neon-card .form-check-label,
.bos-auth--neon .bos-auth-neon-card a {
  color: #cbd5e1;
}

.bos-auth--neon .bos-auth-neon-card .btn-primary {
  box-shadow: 0 0 24px rgba(94, 114, 228, 0.45) !important;
}

.bos-auth--neon .bos-auth-centered-foot {
  margin: 8px 8px 12px;
}

@media (prefers-reduced-motion: reduce) {
  .bos-auth--glass .bos-auth-glass-orb,
  .bos-auth--aurora .bos-auth-aurora-band,
  .bos-auth--neon .bos-auth-neon-glow {
    animation: none !important;
  }
}

/* —— Live stats widgets (pulse / pulse-dark / widgets) —— */
.bos-auth-stats {
  margin: 22px 0 0;
}

.bos-auth-stats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  flex-wrap: wrap;
}

.bos-auth-stats-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bos-auth-muted, #858b95);
}

.bos-auth-stats-live {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: bos-auth-live-pulse 1.8s ease-out infinite;
}

@keyframes bos-auth-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.bos-auth-stats-online {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  color: var(--bos-auth-muted, #858b95);
}

.bos-auth-stats-online strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--bos-auth-ink, #191b20);
}

.bos-auth-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 720px) {
  .bos-auth-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.bos-auth-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid var(--bos-auth-line, #e9ebef);
  background: #fff;
  box-shadow: 0 10px 28px -22px rgba(20, 24, 32, 0.35);
  min-width: 0;
}

.bos-auth-stat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--bos-auth-soft, #f6f7f9);
  color: var(--bos-auth-ink, #191b20);
  margin-bottom: 4px;
}

.bos-auth-stat-ico .main-icon,
.bos-auth-stat-ico .main-icon *,
.bos-auth-stat-ico .bos-sb-ico,
.bos-auth-stat-ico .bos-sb-ico * {
  color: inherit !important;
  fill: none !important;
  stroke: currentColor !important;
}

.bos-auth-stat strong {
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bos-auth-ink, #191b20);
}

.bos-auth-stat > span:last-child {
  font-size: 12px;
  font-weight: 650;
  color: var(--bos-auth-muted, #858b95);
}

.bos-auth-stats--dark .bos-auth-stats-kicker,
.bos-auth-stats--dark .bos-auth-stats-online,
.bos-auth-stats--dark .bos-auth-stat > span:last-child {
  color: rgba(240, 243, 246, 0.62);
}

.bos-auth-stats--dark .bos-auth-stats-online strong,
.bos-auth-stats--dark .bos-auth-stat strong {
  color: #f0f3f6;
}

.bos-auth-stats--dark .bos-auth-stat {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.bos-auth-stats--dark .bos-auth-stat-ico {
  background: rgba(255, 255, 255, 0.08);
  color: #f0f3f6;
}

/* pulse */
.bos-auth--pulse .bos-auth-shell--pulse {
  align-items: start;
}

.bos-auth--pulse .bos-auth-intro--pulse .bos-auth-headline {
  max-width: 16ch;
}

.bos-auth--pulse .bos-auth-nudge {
  margin-top: 18px;
}

/* pulse-dark */
.bos-auth-page.bos-auth--pulse-dark {
  display: block;
  padding: 0 !important;
  min-height: 100vh;
  min-height: 100dvh;
  background: #0f1419;
}

.bos-auth-page.bos-auth--pulse-dark::before {
  display: none;
}

.bos-auth--pulse-dark .bos-auth-pulse-dark {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 100vh;
  min-height: 100dvh;
}

@media (max-width: 991.98px) {
  .bos-auth--pulse-dark .bos-auth-pulse-dark {
    grid-template-columns: 1fr;
  }
}

.bos-auth--pulse-dark .bos-auth-pulse-dark-brand {
  display: flex;
  align-items: center;
  padding: clamp(72px, 10vw, 96px) clamp(20px, 4vw, 48px) 40px;
  background:
    radial-gradient(ellipse 70% 50% at 20% 15%, rgba(34, 197, 94, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 45% at 85% 80%, rgba(94, 114, 228, 0.22), transparent 60%),
    #141a20;
  color: #f0f3f6;
}

.bos-auth--pulse-dark .bos-auth-pulse-dark-brand-inner {
  width: min(560px, 100%);
  margin: 0 auto;
}

.bos-auth--pulse-dark .bos-auth-eyebrow {
  color: rgba(240, 243, 246, 0.55);
}

.bos-auth--pulse-dark .bos-auth-headline {
  color: #f0f3f6;
}

.bos-auth--pulse-dark .bos-auth-lead {
  color: rgba(240, 243, 246, 0.68);
}

.bos-auth--pulse-dark .bos-auth-pulse-dark-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(72px, 10vw, 96px) 20px 40px;
  background: #f8fafc;
}

body.night-mode .bos-auth--pulse-dark .bos-auth-pulse-dark-form,
html[data-bs-theme="dark"] .bos-auth--pulse-dark .bos-auth-pulse-dark-form {
  background: #1a2229;
}

.bos-auth--pulse-dark .bos-auth-pulse-dark-form-inner {
  width: min(440px, 100%);
}

.bos-auth--pulse-dark .bos-auth-pulse-dark-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
}

.bos-auth--pulse-dark .bos-auth-pulse-dark-form-inner .card-register {
  border: 0;
  box-shadow: 0 18px 48px -28px rgba(15, 23, 42, 0.35);
}

@media (max-width: 991.98px) {
  .bos-auth--pulse-dark .bos-auth-pulse-dark-brand {
    padding-bottom: 28px;
  }

  .bos-auth--pulse-dark .bos-auth-pulse-dark-form {
    padding-top: 28px;
  }
}

/* widgets */
.bos-auth-page.bos-auth--widgets {
  padding-top: clamp(72px, 10vw, 96px) !important;
  padding-bottom: 48px !important;
  background:
    radial-gradient(ellipse 50% 40% at 12% 20%, rgba(34, 197, 94, 0.12), transparent 55%),
    radial-gradient(ellipse 45% 35% at 88% 18%, rgba(94, 114, 228, 0.14), transparent 55%),
    var(--body-bg-color, #f0f2f5);
}

.bos-auth--widgets .bos-auth-widgets {
  width: min(980px, 100%);
  margin: 0 auto;
}

.bos-auth--widgets .bos-auth-widgets-copy {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 28px;
}

.bos-auth--widgets .bos-auth-widgets-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  margin: 0 0 28px;
}

.bos-auth--widgets .bos-auth-widgets-card {
  position: relative;
  z-index: 2;
  width: min(420px, 100%);
  padding: 8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(12px);
}

body.night-mode .bos-auth--widgets .bos-auth-widgets-card,
html[data-bs-theme="dark"] .bos-auth--widgets .bos-auth-widgets-card {
  background: rgba(30, 37, 43, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
}

.bos-auth--widgets .bos-auth-widgets-card .card-register {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.bos-auth-widget {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 108px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--bos-auth-line, #e9ebef);
  box-shadow: 0 16px 36px -24px rgba(15, 23, 42, 0.4);
  animation: bos-auth-widget-float 5.5s ease-in-out infinite;
}

.bos-auth-widget strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--bos-auth-ink, #191b20);
}

.bos-auth-widget span {
  font-size: 11px;
  font-weight: 650;
  color: var(--bos-auth-muted, #858b95);
}

.bos-auth-widget--a { top: 8%; left: 2%; animation-delay: 0s; }
.bos-auth-widget--b { top: 12%; right: 4%; animation-delay: 0.6s; }
.bos-auth-widget--c { bottom: 16%; left: 6%; animation-delay: 1.1s; }
.bos-auth-widget--d { bottom: 10%; right: 3%; animation-delay: 1.7s; }

.bos-auth-widget--online {
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: #141a20;
  border-color: transparent;
  animation: none;
}

.bos-auth-widget--online strong,
.bos-auth-widget--online span {
  color: #f0f3f6;
}

.bos-auth-widget--online span {
  opacity: 0.72;
}

@keyframes bos-auth-widget-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

body.night-mode .bos-auth-widget,
html[data-bs-theme="dark"] .bos-auth-widget {
  background: #1e252b;
  border-color: rgba(255, 255, 255, 0.1);
}

body.night-mode .bos-auth-widget strong,
html[data-bs-theme="dark"] .bos-auth-widget strong {
  color: #f0f3f6;
}

@media (max-width: 767.98px) {
  .bos-auth-widget--a,
  .bos-auth-widget--b,
  .bos-auth-widget--c,
  .bos-auth-widget--d {
    display: none;
  }

  .bos-auth--widgets .bos-auth-widgets-stage {
    min-height: 0;
  }

  .bos-auth-widget--online {
    position: static;
    transform: none;
    margin: 0 auto 14px;
    width: fit-content;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bos-auth-stats-live,
  .bos-auth-widget {
    animation: none !important;
  }
}
