/* Plus Jakarta Sans — logged-in UI only (body.host-auth-theme in app layout) */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");

/* Decorative orbs use negative inset + heavy blur; clip root horizontally so filtered
   “ink” does not widen the document (no horizontal scrollbar) while orbs stay visible. */
html.host-auth-html {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  overscroll-behavior-x: none;
}

@supports (overflow-x: clip) {
  html.host-auth-html,
  body.host-auth-theme {
    overflow-x: clip;
  }
}

body.host-auth-theme {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  touch-action: pan-y;
}

/* Wrapper is only used for logged-in theme orbs; keep out of layout when guest. */
.auth-theme-bloats {
  display: none;
}

/* Full-viewport layer behind UI: clips orb + filter ink (fixes residual horizontal scroll on mobile). */
body.host-auth-theme .auth-theme-bloats {
  display: block;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
  contain: strict;
}

body.host-auth-theme .font-montserrat {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Page background — logged-in only */
html[data-bs-theme="dark"] body.host-auth-theme {
  --tw-bg-opacity: 1;
  background-color: rgb(6 14 32 / var(--tw-bg-opacity, 1));
}

html[data-bs-theme="light"] body.host-auth-theme {
  --tw-bg-opacity: 1;
  background-color: rgb(250 249 254 / var(--tw-bg-opacity, 1));
}

/* Decorative orb — includes/left-bloat.blade.php (logged-in only) */
html[data-bs-theme="dark"] body.host-auth-theme .left-bloat {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.4;
  left: -5rem;
  top: -5rem;
  height: 500px;
  width: 500px;
  --tw-bg-opacity: 1;
  background-color: rgb(228 10 101 / var(--tw-bg-opacity, 1));
}

html[data-bs-theme="light"] body.host-auth-theme .left-bloat {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.15;
  left: -5rem;
  top: -5rem;
  height: 500px;
  width: 500px;
  --tw-bg-opacity: 1;
  background-color: rgb(184 0 73 / var(--tw-bg-opacity, 1));
}

/* Decorative orb — includes/right-bloat.blade.php (logged-in only) */
html[data-bs-theme="dark"] body.host-auth-theme .right-bloat {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.4;
  right: -5rem;
  top: 50%;
  height: 400px;
  width: 400px;
  --tw-bg-opacity: 1;
  background-color: rgb(129 236 255 / var(--tw-bg-opacity, 1));
}

html[data-bs-theme="light"] body.host-auth-theme .right-bloat {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.15;
  right: -5rem;
  top: 50%;
  height: 400px;
  width: 400px;
  --tw-bg-opacity: 1;
  background-color: rgb(95 94 94 / var(--tw-bg-opacity, 1));
}

/* Narrow screens: smaller orbs + less blur so ink stays tighter (fallback where clip is unsupported). */
@media (max-width: 767.98px) {
  html[data-bs-theme="dark"] body.host-auth-theme .left-bloat,
  html[data-bs-theme="light"] body.host-auth-theme .left-bloat {
    left: -1.25rem;
    top: -2.5rem;
    width: min(88vw, 320px);
    height: min(88vw, 320px);
    filter: blur(48px);
  }

  html[data-bs-theme="dark"] body.host-auth-theme .right-bloat,
  html[data-bs-theme="light"] body.host-auth-theme .right-bloat {
    right: -1.25rem;
    top: 52%;
    width: min(78vw, 280px);
    height: min(78vw, 280px);
    filter: blur(48px);
  }
}

/* Navbar — glass-style bar + theme shadows (logged-in only) */
html[data-bs-theme="dark"] body.host-auth-theme nav.navbar {
  background-color: rgb(9 19 40 / 0.7) !important;
  --tw-shadow-color: rgb(255 178 190 / 0.1);
  --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

html[data-bs-theme="light"] body.host-auth-theme nav.navbar {
  background-color: rgb(255 255 255 / 0.8) !important;
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

@media (max-width: 991px) {
  html[data-bs-theme="dark"] body.host-auth-theme .navbar .navbar-collapse {
    background-color: rgb(9 19 40 / 0.7) !important;
    --tw-shadow-color: rgb(255 178 190 / 0.1);
    --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }

  html[data-bs-theme="light"] body.host-auth-theme .navbar .navbar-collapse {
    background-color: rgb(255 255 255 / 0.8) !important;
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }
}

/*
 * Tailwind-style helpers — prefixed tw- so Bootstrap .shadow-sm / .shadow-lg are unchanged.
 * Primary tint: use .tw-shadow-primary-10.tw-shadow-lg together on the same element.
 */
body.host-auth-theme .tw-shadow-primary-10 {
  --tw-shadow-color: rgb(255 178 190 / 0.1);
}

body.host-auth-theme .tw-shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

body.host-auth-theme .tw-shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

body.host-auth-theme .tw-shadow-primary-10.tw-shadow-lg {
  --tw-shadow-color: rgb(255 178 190 / 0.1);
  --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* Slash form from Tailwind — same as .tw-shadow-primary-10 */
body.host-auth-theme .shadow-primary\/10 {
  --tw-shadow-color: rgb(255 178 190 / 0.1);
}

/* Spotlight badge — theme-specific text + background */
html[data-bs-theme="dark"] body.host-auth-theme .spotlite-badge {
  --tw-text-opacity: 1;
  color: rgb(255 178 190 / var(--tw-text-opacity, 1));
  background-color: rgb(255 178 190 / 0.2);
}

html[data-bs-theme="light"] body.host-auth-theme .spotlite-badge {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(184 0 73 / var(--tw-bg-opacity, 1));
}

/* Spotlight bio — theme colors (weight/size in css_general) */
html[data-bs-theme="dark"] body.host-auth-theme .spotlite-card__bio {
  color: #a3aac4;
}

html[data-bs-theme="light"] body.host-auth-theme .spotlite-card__bio {
  color: rgb(255 255 255 / 0.8);
}

/* Spotlight CTA — dark mode gradient (#FF8AA5 → #E40A65) */
html[data-bs-theme="dark"] body.host-auth-theme .spotlite-btn {
  background-color: transparent;
  background-image: linear-gradient(90deg, #ff8aa5 0%, #e40a65 100%);
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

html[data-bs-theme="dark"] body.host-auth-theme .spotlite-btn:hover {
  background-color: transparent;
  background-image: linear-gradient(90deg, #ff8aa5 0%, #e40a65 100%);
  color: #fff;
  filter: brightness(1.08);
}

/* Spotlight CTA — light mode gradient (#B80049 → #E2165F) */
html[data-bs-theme="light"] body.host-auth-theme .spotlite-btn {
  background-color: transparent;
  background-image: linear-gradient(90deg, #b80049 0%, #e2165f 100%);
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

html[data-bs-theme="light"] body.host-auth-theme .spotlite-btn:hover {
  background-color: transparent;
  background-image: linear-gradient(90deg, #b80049 0%, #e2165f 100%);
  color: #fff;
  filter: brightness(1.08);
}

/* Spotlight card overlay — dark mode (from #060E20 → via/20 → transparent, bottom to top) */
html[data-bs-theme="dark"] body.host-auth-theme .spotlite-card__overlay {
  inset: 0;
  background-image: linear-gradient(
    to top,
    #060E20,
    rgb(6 14 32 / 0.2),
    transparent
  );
}

/* Spotlight card overlay — light mode (from black/80 → via black/20 → transparent, bottom to top) */
html[data-bs-theme="light"] body.host-auth-theme .spotlite-card__overlay {
  inset: 0;
  background-image: linear-gradient(
    to top,
    rgb(0 0 0 / 0.8),
    rgb(0 0 0 / 0.2),
    transparent
  );
}

/* Creators filter + categories cards — dark glass panel */
html[data-bs-theme="dark"] .mfc-sidebar__inner {
  background-color: rgb(9 19 40 / 0.7);
  border: 1px solid rgb(255 255 255 / 0.05);
  box-shadow: 0 8px 32px rgb(0 0 0 / 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Sidebar header — theme colors */
html[data-bs-theme="dark"] .mfc-sidebar .mfc-sidebar__header-icon {
  color: #ffb2be;
}

html[data-bs-theme="dark"] .mfc-sidebar .mfc-sidebar__header-title {
  color: #fadbde;
}

html[data-bs-theme="light"] .mfc-sidebar .mfc-sidebar__header-icon {
  color: #b80049;
}

html[data-bs-theme="light"] .mfc-sidebar .mfc-sidebar__header-title {
  color: #1a1b1f;
}

/* Row label — theme default colors */
html[data-bs-theme="light"] .mfc-sidebar__row-label {
  color: #5b3f43;
}

html[data-bs-theme="dark"] .mfc-sidebar__row-label {
  color: #e4bdc2;
}

/* Inactive row icon — dark */
html[data-bs-theme="dark"] .mfc-sidebar__item:not(.mfc-sidebar__item--active) .mfc-sidebar__row-icon {
  color: #e4bdc2;
}

html[data-bs-theme="dark"] .mfc-sidebar__item:not(.mfc-sidebar__item--active) .mfc-sidebar__row:hover {
  background-color: rgb(255 255 255 / 0.06);
}

/* Inactive row icon — light */
html[data-bs-theme="light"] .mfc-sidebar__item:not(.mfc-sidebar__item--active) .mfc-sidebar__row-icon {
  color: #5b3f43;
}

/* Creators filter + categories cards — light: solid panel + stroke + drop shadow */
html[data-bs-theme="light"] .mfc-sidebar__inner {
  background-color: #ffffff;
  border: 1px solid #e3e2e7;
  box-shadow:
    0 1px 2px rgb(15 23 42 / 0.04),
    0 8px 24px rgb(15 23 42 / 0.08),
    0 16px 40px rgb(15 23 42 / 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Active sidebar row — light */
html[data-bs-theme="light"] .mfc-sidebar__item--active .mfc-sidebar__row {
  background-color: rgb(184 0 73 / 0.1);
  border: 1px solid rgb(184 0 73 / 0.2);
}

html[data-bs-theme="light"] .mfc-sidebar__item--active .mfc-sidebar__row-label,
html[data-bs-theme="light"] .mfc-sidebar__item--active .mfc-sidebar__row-icon {
  color: #b80049;
}

html[data-bs-theme="light"] .mfc-sidebar__item--active .mfc-sidebar__new-badge {
  color: #b80049;
  border-color: rgb(184 0 73 / 0.35);
}

/* Active sidebar row — dark */
html[data-bs-theme="dark"] .mfc-sidebar__item--active .mfc-sidebar__row {
  background-color: #7f2540;
  border: 1px solid rgb(91 63 67 / 0.3);
  box-shadow:
    0 2px 8px rgb(0 0 0 / 0.22),
    0 6px 20px rgb(0 0 0 / 0.28);
}

html[data-bs-theme="dark"] .mfc-sidebar__item--active .mfc-sidebar__row-label,
html[data-bs-theme="dark"] .mfc-sidebar__item--active .mfc-sidebar__row-icon {
  color: #ff96ad;
}

html[data-bs-theme="dark"] .mfc-sidebar__item--active .mfc-sidebar__new-badge {
  color: #ff96ad;
  border-color: rgb(255 150 173 / 0.45);
}

/* Creator card (.cmc) — theme backgrounds */
html[data-bs-theme="dark"] .cmc {
  background: rgba(9, 19, 40, 0.7);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}

html[data-bs-theme="light"] .cmc {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

html[data-bs-theme="dark"] .cmc__cover::after {
  --tw-gradient-from-position: ;
  --tw-gradient-to-position: ;
  --tw-gradient-from: #091328 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(9 19 40 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  background: none;
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

html[data-bs-theme="light"] .cmc__cover::after {
  --tw-gradient-from-position: ;
  --tw-gradient-to-position: ;
  --tw-gradient-from: #fff var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  background: none;
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

html[data-bs-theme="dark"] .cmc:hover {
  border-color: rgb(255 178 190 / 0.3);
  transform: translateY(-3px);
  box-shadow:
    0 4px 10px rgb(0 0 0 / 0.14),
    0 14px 36px rgb(0 0 0 / 0.22),
    0 28px 56px rgb(0 0 0 / 0.18);
}

html[data-bs-theme="light"] .cmc:hover {
  --tw-border-opacity: 1;
  border-color: rgb(184 0 73 / var(--tw-border-opacity, 1));
  transform: translateY(-3px);
  box-shadow:
    0 4px 10px rgb(0 0 0 / 0.06),
    0 14px 36px rgb(0 0 0 / 0.12),
    0 28px 56px rgb(0 0 0 / 0.09);
}

html[data-bs-theme="dark"] .cmc__name {
  color: #fadbde;
  font-weight: 400 !important;
}

html[data-bs-theme="light"] .cmc__name {
  color: #1a1b1f;
  font-weight: 400 !important;
}

html[data-bs-theme="dark"] .cmc__bio {
  color: #a3aac4;
}

html[data-bs-theme="light"] .cmc__bio {
  color: #5b3f43;
}

html[data-bs-theme="dark"] .cmc__stat-val {
  color: #fadbde;
}

html[data-bs-theme="light"] .cmc__stat-val {
  color: #1a1b1f;
}

html[data-bs-theme="dark"] .cmc__stat-lbl {
  color: #a3aac4;
}

html[data-bs-theme="light"] .cmc__stat-lbl {
  color: #5b3f43;
}

html[data-bs-theme="dark"] .cmc__stat:not(:last-child)::after {
  background: none;
  width: 0;
  border: none;
  border-right: 1px solid rgb(255 255 255 / 0.1);
}

html[data-bs-theme="light"] .cmc__stat:not(:last-child)::after {
  background: none;
  width: 0;
  border: none;
  --tw-border-opacity: 1;
  border-right: 1px solid rgb(227 226 231 / var(--tw-border-opacity, 1));
}

html[data-bs-theme="dark"] .cmc__btn.cmc__btn--ghost {
  color: #fadbde;
  background-color: #141f38;
  border-width: 1px;
  border-color: rgb(255 255 255 / 0.05);
}

html[data-bs-theme="light"] .cmc__btn.cmc__btn--ghost {
  --tw-border-opacity: 1;
  color: #1a1b1f;
  background-color: #f4f3f8;
  border-width: 1px;
  border-color: rgb(227 226 231 / var(--tw-border-opacity, 1));
}

html[data-bs-theme="dark"] .cmc__btn.cmc__btn--primary,
html[data-bs-theme="dark"] .cmc__btn.cmc__btn--primary:hover,
html[data-bs-theme="light"] .cmc__btn.cmc__btn--primary,
html[data-bs-theme="light"] .cmc__btn.cmc__btn--primary:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
 * Navbar language — logged-in theme (mobile + desktop)
 * -------------------------------------------------------------------------- */

/* Desktop: language dropdown (.lang-drop) */
body.host-auth-theme .lang-drop {
  display: flex;
  align-items: center;
  padding: 0.15rem 0;
  position: relative;
}

body.host-auth-theme .lang-drop__trigger {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.35rem 0.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 1.2;
  -webkit-tap-highlight-color: transparent;
}

body.host-auth-theme .lang-drop__trigger:hover,
body.host-auth-theme .lang-drop__trigger:focus {
  outline: none;
}

html[data-bs-theme="light"] body.host-auth-theme .lang-drop__trigger:hover .navbar-lang-pill,
html[data-bs-theme="light"] body.host-auth-theme .lang-drop.show .navbar-lang-pill {
  border-color: rgb(184 0 73 / 0.28);
  background: rgb(184 0 73 / 0.08);
  box-shadow: 0 2px 10px rgb(184 0 73 / 0.1);
}

html[data-bs-theme="dark"] body.host-auth-theme .lang-drop__trigger:hover .navbar-lang-pill,
html[data-bs-theme="dark"] body.host-auth-theme .lang-drop.show .navbar-lang-pill {
  border-color: rgb(255 178 190 / 0.28);
  background: rgb(255 255 255 / 0.08);
}

body.host-auth-theme .lang-drop.show .navbar-lang-chevron {
  transform: rotate(180deg);
}

body.host-auth-theme .lang-drop__menu {
  min-width: 13rem;
  margin-top: 0.5rem !important;
}

body.host-auth-theme .lang-drop__option {
  white-space: nowrap;
  text-decoration: none !important;
}

body.host-auth-theme .lang-drop__option:focus {
  outline: none;
}

body.host-auth-theme .navbar-lang-form {
  margin: 0;
  padding: 0;
}

body.host-auth-theme .navbar-lang-form button.navbar-lang-item {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

body.host-auth-theme .navbar-lang-form button.navbar-lang-item:focus {
  outline: none;
}

/* Mobile bar: globe + menu toggler (language before hamburger) */
@media (max-width: 991.98px) {
  body.host-auth-theme .p-nav > .container-fluid {
    align-items: center;
  }
}

body.host-auth-theme .buttons-mobile-nav {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  height: auto;
  line-height: 1;
  z-index: 10;
}

@media (max-width: 991.98px) {
  body.host-auth-theme .lang-drop--mobile {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin: 0;
  }

  /* Icon-only trigger — matches hamburger, not boxed pill */
  body.host-auth-theme .lang-drop--mobile .lang-drop__trigger--mobile {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0.35rem 0.4rem !important;
    margin: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.15s ease;
  }

  body.host-auth-theme .lang-drop--mobile .lang-drop__trigger--mobile:hover,
  body.host-auth-theme .lang-drop--mobile .lang-drop__trigger--mobile:focus {
    outline: none;
    opacity: 0.85;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.host-auth-theme .lang-drop--mobile .lang-drop__trigger--mobile .icon-navbar {
    font-size: 1.35rem;
    line-height: 1;
    vertical-align: middle;
  }

  html[data-bs-theme="light"] body.host-auth-theme .lang-drop--mobile.show .lang-drop__trigger--mobile .icon-navbar,
  html[data-bs-theme="light"] body.host-auth-theme .lang-drop--mobile .lang-drop__trigger--mobile[aria-expanded="true"] .icon-navbar {
    color: #b80049 !important;
  }

  html[data-bs-theme="dark"] body.host-auth-theme .lang-drop--mobile.show .lang-drop__trigger--mobile .icon-navbar,
  html[data-bs-theme="dark"] body.host-auth-theme .lang-drop--mobile .lang-drop__trigger--mobile[aria-expanded="true"] .icon-navbar {
    color: #ffb2be !important;
  }

  body.host-auth-theme .lang-drop--mobile .lang-drop__menu {
    min-width: 11.5rem;
    max-width: min(16rem, calc(100vw - 1.5rem));
    right: 0;
    left: auto;
    margin-top: 0.4rem !important;
  }

  body.host-auth-theme .buttons-mobile-nav .navbar-toggler-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin: 0;
    padding: 0.35rem 0.4rem;
    line-height: 1;
    vertical-align: middle;
  }

  body.host-auth-theme .buttons-mobile-nav .navbar-toggler-mobile .fa-bars {
    display: block;
    line-height: 1;
    font-size: 1.35rem;
  }
}

body.host-auth-theme .navbar-lang {
  position: relative;
}

body.host-auth-theme .navbar-lang.show {
  z-index: 1060;
}

body.host-auth-theme .navbar-lang-icon {
  font-size: 1.25rem;
  line-height: 1;
  vertical-align: middle;
}

/* ----- Desktop: pill with locale code ----- */
body.host-auth-theme .navbar-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem 0.35rem 0.5rem;
  border-radius: 999px;
  line-height: 1.2;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.host-auth-theme .navbar-lang-chevron {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 200ms linear, color 200ms linear;
}

html[data-bs-theme="light"] body.host-auth-theme .navbar-lang-pill {
  border: 1px solid rgb(227 226 231 / 0.9);
  background: rgb(255 255 255 / 0.55);
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}


html[data-bs-theme="light"] body.host-auth-theme .navbar-lang-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #b80049;
}

html[data-bs-theme="light"] body.host-auth-theme .lang-drop .navbar-lang-icon {
  color: #b80049;
}

html[data-bs-theme="dark"] body.host-auth-theme .navbar-lang-pill {
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.05);
}


html[data-bs-theme="dark"] body.host-auth-theme .navbar-lang-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffb2be;
}

html[data-bs-theme="dark"] body.host-auth-theme .lang-drop .navbar-lang-icon {
  color: #ffb2be;
}

html[data-bs-theme="light"] body.host-auth-theme .navbar-lang-chevron {
  color: inherit;
}

html[data-bs-theme="dark"] body.host-auth-theme .navbar-lang-chevron {
  color: #fadbde;
}

/* ----- Dropdown panel (shared) ----- */
body.host-auth-theme .navbar-lang-menu {
  min-width: 12.5rem;
  margin-top: 0.5rem;
  padding: 0.35rem 0;
  border-radius: 14px;
  overflow: hidden;
  z-index: 1060;
}

html[data-bs-theme="light"] body.host-auth-theme .navbar-lang-menu {
  border: 1px solid #e3e2e7;
  background: rgb(255 255 255 / 0.98);
  box-shadow:
    0 1px 2px rgb(15 23 42 / 0.04),
    0 16px 40px rgb(15 23 42 / 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html[data-bs-theme="dark"] body.host-auth-theme .navbar-lang-menu {
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(9 19 40 / 0.97);
  box-shadow:
    0 10px 24px rgb(0 0 0 / 0.45),
    0 0 0 1px rgb(255 178 190 / 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.host-auth-theme .navbar-lang-menu__header {
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.35rem !important;
}

html[data-bs-theme="light"] body.host-auth-theme .navbar-lang-menu__header {
  color: #5b3f43 !important;
  background: rgb(250 249 254 / 0.95);
  border-bottom: 1px solid rgb(227 226 231 / 0.8);
}

html[data-bs-theme="dark"] body.host-auth-theme .navbar-lang-menu__header {
  color: #a3aac4 !important;
  background: rgb(6 14 32 / 0.5);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
}

/* ----- Menu rows ----- */
body.host-auth-theme .navbar-lang-item {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem !important;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  line-height: 1.3;
  transition: background 0.15s ease, color 0.15s ease;
}

body.host-auth-theme .navbar-lang-item__check {
  flex: 0 0 1rem;
  width: 1rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1;
}

body.host-auth-theme .navbar-lang-item__check--spacer {
  display: inline-block;
  height: 1px;
  visibility: hidden;
}

body.host-auth-theme .navbar-lang-item__name {
  flex: 1;
  min-width: 0;
}

html[data-bs-theme="light"] body.host-auth-theme .navbar-lang-item {
  color: #1a1b1f;
}

html[data-bs-theme="light"] body.host-auth-theme .navbar-lang-item:hover {
  background: rgb(184 0 73 / 0.06);
  color: #b80049;
}

html[data-bs-theme="light"] body.host-auth-theme .navbar-lang-item.active {
  color: #b80049;
  font-weight: 600;
  background: rgb(184 0 73 / 0.1);
}

html[data-bs-theme="light"] body.host-auth-theme .navbar-lang-item.active .navbar-lang-item__check {
  color: #b80049;
}

html[data-bs-theme="dark"] body.host-auth-theme .navbar-lang-item {
  color: #fadbde;
}

html[data-bs-theme="dark"] body.host-auth-theme .navbar-lang-item:hover {
  background: rgb(255 255 255 / 0.06);
  color: #ffb2be;
}

html[data-bs-theme="dark"] body.host-auth-theme .navbar-lang-item.active {
  color: #ff96ad;
  font-weight: 600;
  background: rgb(255 178 190 / 0.1);
}

html[data-bs-theme="dark"] body.host-auth-theme .navbar-lang-item.active .navbar-lang-item__check {
  color: #ff96ad;
}

body.host-auth-theme .navbar-lang--mobile-bar {
  line-height: 0;
}

