:root {
  --future-bg: #06111d;
  --future-bg-deep: #091b2f;
  --future-panel: rgba(7, 18, 34, 0.82);
  --future-panel-strong: rgba(8, 16, 30, 0.94);
  --future-border: rgba(91, 231, 255, 0.16);
  --future-border-strong: rgba(91, 231, 255, 0.34);
  --future-accent: #5be7ff;
  --future-accent-strong: #2db7ff;
  --future-secondary: #78ffd1;
  --future-warning: #ffd66d;
  --future-danger: #ff6887;
  --future-text: #eef8ff;
  --future-muted: #8fa9bf;
  --future-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

body.theme-future,
body.login-page {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--future-text);
}

body.theme-future {
  background:
    radial-gradient(circle at top left, rgba(45, 183, 255, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(120, 255, 209, 0.1), transparent 30%),
    linear-gradient(160deg, #03101d 0%, #091523 45%, #0d2035 100%);
  min-height: 100vh;
}

body.theme-future::before,
body.theme-future::after,
body.login-page::before,
body.login-page::after {
  content: '';
  position: fixed;
  inset: auto;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

body.theme-future::before,
body.login-page::before {
  top: -90px;
  left: -40px;
  width: 280px;
  height: 280px;
  background: rgba(45, 183, 255, 0.22);
}

body.theme-future::after,
body.login-page::after {
  right: -80px;
  bottom: -80px;
  width: 320px;
  height: 320px;
  background: rgba(120, 255, 209, 0.18);
}

body.theme-future .layout-wrapper,
body.theme-future .layout-container,
body.theme-future .layout-page,
body.theme-future .content-wrapper {
  background: transparent;
}

body.theme-future .layout-navbar,
body.theme-future .content-footer,
body.theme-future .card,
body.theme-future .modal-content,
body.theme-future .dropdown-menu,
body.theme-future .swal2-popup {
  background: linear-gradient(180deg, rgba(9, 20, 36, 0.94), rgba(6, 14, 26, 0.9)) !important;
  border: 1px solid var(--future-border) !important;
  box-shadow: var(--future-shadow);
  backdrop-filter: blur(18px);
}

body.theme-future .layout-navbar {
  border-radius: 24px !important;
}

body.theme-future .content-footer {
  border-radius: 24px 24px 0 0;
}

body.theme-future #layout-menu {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(4, 14, 28, 0.96), rgba(8, 20, 38, 0.92)) !important;
  border-right: 1px solid var(--future-border);
  box-shadow: 18px 0 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
}

body.theme-future #layout-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(91, 231, 255, 0.12), transparent 32%, transparent 68%, rgba(120, 255, 209, 0.08)),
    radial-gradient(circle at top right, rgba(45, 183, 255, 0.12), transparent 35%);
  pointer-events: none;
}

body.theme-future .menu-inner-shadow {
  background: linear-gradient(180deg, rgba(8, 18, 34, 0.88) 0%, rgba(8, 18, 34, 0) 100%) !important;
}

body.theme-future .app-brand.demo {
  height: 82px;
  margin-top: 14px;
  padding-inline: 0.85rem;
}

body.theme-future .menu-profile-card {
  position: relative;
  margin: 0.4rem 0.95rem 1rem;
  padding: 1rem;
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(91, 231, 255, 0.12), rgba(120, 255, 209, 0.06)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(91, 231, 255, 0.12);
  overflow: hidden;
}

body.theme-future .menu-profile-card::after {
  content: '';
  position: absolute;
  inset: auto -18px -46px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(45, 183, 255, 0.16);
  filter: blur(24px);
}

body.theme-future .menu-profile-card__avatar img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(91, 231, 255, 0.22),
    0 12px 28px rgba(0, 0, 0, 0.28);
}

body.theme-future .menu-profile-card__content {
  margin-top: 0.9rem;
}

body.theme-future .menu-profile-card__eyebrow,
body.theme-future .navbar-shell-copy__eyebrow,
body.theme-future .page-hero__eyebrow,
body.theme-future .hero-metric__label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--future-muted);
}

body.theme-future .menu-profile-card__name {
  display: block;
  margin-top: 0.3rem;
  font-size: 1rem;
  color: #fff;
}

body.theme-future .menu-profile-card__meta,
body.theme-future .hero-metric__meta {
  display: block;
  margin-top: 0.18rem;
  color: var(--future-muted);
  font-size: 0.82rem;
}

body.theme-future .menu-profile-card__chips {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}

body.theme-future .menu-profile-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(91, 231, 255, 0.12);
  color: #e8f8ff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-future .app-brand-link {
  gap: 0.85rem;
}

body.theme-future .logo-icon {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(91, 231, 255, 0.2),
    0 0 30px rgba(45, 183, 255, 0.22);
}

body.theme-future .app-brand-text.demo,
body.theme-future .card-title,
body.theme-future .card-header h5,
body.theme-future .table thead th,
body.login-page .user-name,
body.login-page h3 {
  font-family: 'Orbitron', sans-serif;
}

body.theme-future .app-brand-text.demo {
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f9fdff;
}

body.theme-future .app-brand-text sup,
body.login-page .user-name sup {
  color: var(--future-secondary);
  font-size: 0.42em;
  top: -1em;
}

body.theme-future .menu-header-text {
  color: var(--future-muted) !important;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
}

body.theme-future .menu-inner > .menu-item > .menu-link {
  margin: 0.3rem 0.85rem;
  border-radius: 18px;
  color: rgba(238, 248, 255, 0.82) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.theme-future .menu-inner > .menu-item > .menu-link:hover {
  background: linear-gradient(135deg, rgba(45, 183, 255, 0.16), rgba(120, 255, 209, 0.12)) !important;
  transform: translateX(4px);
  box-shadow: inset 0 0 0 1px rgba(91, 231, 255, 0.12);
}

body.theme-future .menu-item.active > .menu-link,
body.theme-future .menu-item.open > .menu-link {
  background: linear-gradient(135deg, rgba(45, 183, 255, 0.24), rgba(120, 255, 209, 0.16)) !important;
  color: #fff !important;
  box-shadow:
    inset 0 0 0 1px rgba(91, 231, 255, 0.18),
    0 12px 28px rgba(3, 10, 22, 0.35);
}

body.theme-future .menu-link i,
body.theme-future .nav-link i,
body.theme-future .dropdown-item i {
  color: var(--future-accent);
}

body.theme-future .js-sidebar-mobile-toggle {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(91, 231, 255, 0.08);
}

body.theme-future .navbar-shell-copy {
  flex-direction: column;
  gap: 0.15rem;
  margin-left: 0.25rem;
}

body.theme-future .navbar-shell-copy__title {
  color: #f5fbff;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
}

body.theme-future .page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
  gap: 1rem;
  align-items: stretch;
  margin-top: 1.2rem;
  margin-bottom: 0.8rem;
  z-index: 1;
}

body.theme-future .page-hero__lead,
body.theme-future .hero-metric {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(9, 22, 40, 0.95), rgba(6, 15, 28, 0.9)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(91, 231, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

body.theme-future .page-hero__lead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.15rem;
  padding: 1.55rem;
}

body.theme-future .page-hero__lead::before,
body.theme-future .hero-metric::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(45, 183, 255, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(91, 231, 255, 0.05), transparent 50%, rgba(120, 255, 209, 0.06));
  pointer-events: none;
}

body.theme-future .page-hero__icon {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(45, 183, 255, 0.22), rgba(120, 255, 209, 0.14));
  border: 1px solid rgba(91, 231, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.theme-future .page-hero__icon i {
  font-size: 2rem;
  color: #fff;
}

body.theme-future .page-hero__title {
  margin: 0.3rem 0 0.6rem;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
  color: #fff;
}

body.theme-future .page-hero__summary {
  max-width: 60ch;
  margin: 0;
  color: #c9dceb;
  font-size: 0.97rem;
  line-height: 1.7;
}

body.theme-future .page-hero__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

body.theme-future .page-hero__metrics {
  display: grid;
  gap: 1rem;
}

body.theme-future .hero-metric {
  padding: 1.2rem 1.25rem;
  min-height: 108px;
}

body.theme-future .hero-metric__value {
  display: block;
  margin-top: 0.5rem;
  color: #fff;
  font-size: 1.12rem;
  line-height: 1.25;
}

body.theme-future .hero-metric--live {
  border-color: rgba(120, 255, 209, 0.18);
}

body.theme-future .hero-metric--attention {
  border-color: rgba(255, 214, 109, 0.22);
}

body.theme-future .hero-metric--expired {
  border-color: rgba(255, 104, 135, 0.24);
}

body.theme-future .avatar img,
body.theme-future .rounded-circle {
  box-shadow: 0 0 0 1px rgba(91, 231, 255, 0.24);
}

body.theme-future .container-p-y {
  position: relative;
  display: grid;
  gap: 1rem;
}

body.theme-future .card {
  border-radius: 26px;
}

body.theme-future .container-p-y.is-enhanced-page > .card,
body.theme-future .container-p-y.is-enhanced-page > .row > div > .card {
  overflow: hidden;
}

body.theme-future .card.panel-card--form .card-body,
body.theme-future .card.panel-card--media .card-body {
  padding: 1.6rem;
}

body.theme-future .card.panel-card--table .card-header,
body.theme-future .card.panel-card--table .card-body {
  padding-inline: 1.5rem;
}

body.theme-future .card.panel-card--table .table-responsive {
  border-radius: 20px;
  border: 1px solid rgba(91, 231, 255, 0.08);
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.02);
}

body.theme-future .card-title,
body.theme-future .card-header h5 {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1rem;
  color: #f5fbff;
}

body.theme-future .card-title {
  margin-bottom: 1.2rem;
}

body.theme-future .form-control,
body.theme-future .form-select,
body.theme-future .dataTables_wrapper .dataTables_filter input,
body.theme-future .dataTables_wrapper .dataTables_length select {
  min-height: 50px;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(91, 231, 255, 0.12) !important;
  border-radius: 16px !important;
  color: var(--future-text) !important;
}

body.theme-future .form-control::placeholder {
  color: rgba(143, 169, 191, 0.9);
}

body.theme-future .form-control:focus,
body.theme-future .form-select:focus,
body.theme-future .dataTables_wrapper .dataTables_filter input:focus,
body.theme-future .dataTables_wrapper .dataTables_length select:focus {
  box-shadow:
    0 0 0 0.22rem rgba(91, 231, 255, 0.12),
    0 0 30px rgba(45, 183, 255, 0.18) !important;
  border-color: var(--future-border-strong) !important;
}

body.theme-future label,
body.theme-future strong {
  color: #d8e8f5;
}

body.theme-future .btn {
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.theme-future .btn-primary,
body.login-page .btn-primary {
  background: linear-gradient(135deg, var(--future-accent-strong), var(--future-accent)) !important;
  border: none !important;
  color: #04111c !important;
  box-shadow: 0 14px 32px rgba(45, 183, 255, 0.24);
}

body.theme-future .btn-primary:hover,
body.login-page .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(45, 183, 255, 0.28);
}

body.theme-future .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(91, 231, 255, 0.12);
  color: var(--future-text);
}

body.theme-future .table {
  color: var(--future-text);
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
  --bs-table-hover-bg: rgba(91, 231, 255, 0.06);
  --bs-table-border-color: rgba(91, 231, 255, 0.08);
}

body.theme-future .table thead th {
  color: var(--future-secondary);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom-width: 1px;
}

body.theme-future .preview-image {
  width: min(320px, 100%) !important;
  border-radius: 24px;
  border: 1px solid rgba(91, 231, 255, 0.14);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  object-fit: cover;
}

body.theme-future .badge.bg-primary,
body.theme-future .badge.bg-danger {
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
}

body.theme-future .badge.bg-primary {
  background: linear-gradient(135deg, rgba(45, 183, 255, 0.88), rgba(91, 231, 255, 0.78)) !important;
}

body.theme-future .badge.bg-danger {
  background: linear-gradient(135deg, rgba(255, 104, 135, 0.92), rgba(255, 140, 104, 0.78)) !important;
}

body.theme-future .dropdown-menu {
  border-radius: 18px;
  padding: 0.55rem;
}

body.theme-future .dropdown-item {
  border-radius: 14px;
  color: var(--future-text);
}

body.theme-future .dropdown-item:hover,
body.theme-future .dropdown-item.active {
  background: linear-gradient(135deg, rgba(45, 183, 255, 0.18), rgba(120, 255, 209, 0.12));
  color: #fff;
}

body.theme-future .dropdown-divider {
  border-color: rgba(91, 231, 255, 0.08);
}

body.theme-future .alert-danger {
  background: rgba(255, 104, 135, 0.12);
  border: 1px solid rgba(255, 104, 135, 0.2);
  color: #ffd8e1;
}

body.theme-future marquee {
  display: block;
  padding: 0.85rem 1.2rem;
  margin: 0 2rem 1rem;
  background: rgba(8, 20, 38, 0.8);
  border: 1px solid rgba(91, 231, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

body.theme-future .swal2-popup,
body.theme-future .swal2-title,
body.theme-future .swal2-html-container {
  color: var(--future-text) !important;
}

body.login-page {
  background:
    radial-gradient(circle at top left, rgba(45, 183, 255, 0.2), transparent 24%),
    radial-gradient(circle at bottom right, rgba(120, 255, 209, 0.16), transparent 28%),
    linear-gradient(160deg, #04101b 0%, #061a2b 52%, #0a2740 100%);
}

body.login-page #particles-js {
  opacity: 0.48;
}

body.login-page .login-container {
  width: 100%;
  max-width: 460px;
  padding: 3rem 2.4rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(9, 20, 38, 0.9), rgba(6, 14, 26, 0.92));
  border: 1px solid var(--future-border);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(24px);
  overflow: hidden;
}

body.login-page .login-container::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 29px;
  background:
    linear-gradient(140deg, rgba(91, 231, 255, 0.1), transparent 44%, rgba(120, 255, 209, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  pointer-events: none;
}

body.login-page .login-language .btn,
body.login-page .dropdown-menu {
  backdrop-filter: blur(18px);
}

body.login-page .btn-outline-light {
  border-color: rgba(91, 231, 255, 0.18);
  color: var(--future-text);
  background: rgba(255, 255, 255, 0.04);
}

body.login-page .btn-outline-light:hover {
  background: rgba(91, 231, 255, 0.12);
  border-color: rgba(91, 231, 255, 0.3);
  color: #fff;
}

body.login-page .login-logo {
  width: 120px !important;
  padding: 0 !important;
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 0 24px rgba(45, 183, 255, 0.35));
}

body.login-page h3 {
  margin-bottom: 0.7rem !important;
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--future-secondary);
}

body.login-page .user-name {
  margin-bottom: 1.75rem;
  font-size: 2.35rem;
  letter-spacing: 0.08em;
  color: #fff;
}

body.login-page .input-group {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(91, 231, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.login-page .input-group-text {
  border: none;
  background: transparent;
  color: var(--future-accent);
  padding-left: 1rem;
}

body.login-page .form-control {
  border: none;
  background: transparent !important;
  color: var(--future-text) !important;
  padding: 0.92rem 1rem 0.92rem 0.4rem;
}

body.login-page .form-control:focus {
  box-shadow: none !important;
}

body.login-page .form-control::placeholder {
  color: rgba(143, 169, 191, 0.92);
}

body.login-page .alert-danger {
  background: rgba(255, 104, 135, 0.12);
  border: 1px solid rgba(255, 104, 135, 0.2);
  color: #ffd6df;
}

body.login-page center.text-center {
  margin-top: 0.9rem;
  color: var(--future-muted);
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.login-page .dropdown-menu {
  background: linear-gradient(180deg, rgba(9, 20, 38, 0.96), rgba(6, 14, 26, 0.94));
  border: 1px solid var(--future-border);
  border-radius: 18px;
}

body.login-page .dropdown-item {
  border-radius: 14px;
}

body.login-page .dropdown-item:hover,
body.login-page .dropdown-item.active {
  background: linear-gradient(135deg, rgba(45, 183, 255, 0.16), rgba(120, 255, 209, 0.1));
}

@media (max-width: 991.98px) {
  body.theme-future .layout-navbar {
    margin-inline: 1rem;
  }

  body.theme-future marquee {
    margin-inline: 1rem;
  }

  body.theme-future .page-hero {
    grid-template-columns: 1fr;
    margin-inline: 1rem;
  }
}

@media (max-width: 576px) {
  body.login-page .login-container {
    padding: 2.25rem 1.35rem;
    border-radius: 24px;
  }

  body.login-page .user-name {
    font-size: 1.9rem;
  }

  body.theme-future .app-brand-text.demo {
    font-size: 1.05rem;
  }

  body.theme-future .page-hero__lead {
    grid-template-columns: 1fr;
    padding: 1.2rem;
  }

  body.theme-future .page-hero__icon {
    width: 64px;
    height: 64px;
  }
}

/* Modern admin refresh */
body.theme-future,
body.login-page {
  --future-page-bg: #f3f7fb;
  --future-page-bg-deep: #e8eef7;
  --future-surface: rgba(255, 255, 255, 0.9);
  --future-surface-strong: #ffffff;
  --future-surface-muted: #f7f9fc;
  --future-ink: #102134;
  --future-ink-soft: #5d7188;
  --future-line: rgba(15, 23, 42, 0.08);
  --future-line-strong: rgba(15, 23, 42, 0.14);
  --future-primary: #2859ff;
  --future-primary-soft: rgba(40, 89, 255, 0.12);
  --future-secondary: #0ea5e9;
  --future-success: #0f9f6e;
  --future-warning: #d97706;
  --future-danger: #d92d50;
  --future-sidebar-bg: #101828;
  --future-sidebar-bg-2: #172033;
  --future-sidebar-text: #dce6f4;
  --future-shadow-soft: 0 24px 54px rgba(15, 23, 42, 0.08);
  --future-shadow-card: 0 18px 42px rgba(15, 23, 42, 0.06);
  --future-shell-glass: rgba(255, 255, 255, 0.72);
  --future-shell-glass-strong: rgba(255, 255, 255, 0.86);
  --future-shell-border-soft: rgba(148, 163, 184, 0.18);
  --future-shell-border-strong: rgba(255, 255, 255, 0.34);
  --future-shell-highlight: rgba(255, 255, 255, 0.42);
  --future-shell-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  --future-shell-tint: rgba(40, 89, 255, 0.08);
  --future-shell-glow: rgba(14, 165, 233, 0.12);
  --future-module-glass: rgba(255, 255, 255, 0.58);
  --future-module-glass-strong: rgba(255, 255, 255, 0.76);
  --future-module-border: rgba(148, 163, 184, 0.16);
  --future-module-highlight: rgba(255, 255, 255, 0.28);
  --future-module-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
  font-family: 'Manrope', sans-serif;
  color: var(--future-ink);
}

body.theme-future {
  background:
    radial-gradient(circle at top left, rgba(40, 89, 255, 0.10), transparent 22%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.12), transparent 25%),
    linear-gradient(180deg, #f8fbff 0%, var(--future-page-bg) 52%, var(--future-page-bg-deep) 100%);
}

body.theme-future::before,
body.theme-future::after {
  filter: blur(120px);
  opacity: 0.8;
}

body.theme-future .layout-wrapper,
body.theme-future .layout-container,
body.theme-future .layout-page,
body.theme-future .content-wrapper {
  background: transparent;
}

body.theme-future #layout-menu {
  background:
    radial-gradient(circle at top right, rgba(40, 89, 255, 0.25), transparent 24%),
    linear-gradient(180deg, var(--future-sidebar-bg) 0%, var(--future-sidebar-bg-2) 100%) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 24px 0 64px rgba(8, 15, 27, 0.16);
  top: 0 !important;
  height: 100vh !important;
}

body.theme-future #layout-menu::before {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), transparent 38%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.18), transparent 32%);
}

body.theme-future .app-brand.demo {
  height: auto;
  margin: 0;
  padding-inline: 0;
}

body.theme-future .app-brand-text.demo,
body.theme-future .workspace-overview__title,
body.theme-future .workspace-heading__title,
body.theme-future .panel-surface__title,
body.theme-future .info-card__title,
body.theme-future .card-title,
body.theme-future .card-header h5,
body.theme-future .table thead th,
body.login-page .user-name,
body.login-page h3 {
  font-family: 'Outfit', sans-serif;
}

body.theme-future .app-brand-text.demo {
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

body.theme-future .logo-icon {
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

body.theme-future .menu-profile-card,
body.theme-future .menu-search-shell {
  margin-inline: 1rem;
}

body.theme-future .menu-profile-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.theme-future .menu-profile-card__name,
body.theme-future .menu-profile-card__meta,
body.theme-future .menu-profile-card__eyebrow {
  color: var(--future-sidebar-text);
}

body.theme-future .menu-profile-card__eyebrow,
body.theme-future .menu-profile-card__meta,
body.theme-future .menu-header-text {
  opacity: 0.72;
}

body.theme-future .menu-profile-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.10);
  color: #f8fbff;
}

body.theme-future .menu-search-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body.theme-future .menu-search-shell i {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
}

body.theme-future .menu-search-shell input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  outline: none;
  font-size: 0.94rem;
}

body.theme-future .menu-search-shell input::placeholder {
  color: rgba(220, 230, 244, 0.60);
}

body.theme-future .menu-header-text {
  color: rgba(220, 230, 244, 0.64) !important;
  letter-spacing: 0.16em;
}

body.theme-future .menu-inner > .menu-item > .menu-link {
  margin: 0.26rem 0.75rem;
  border-radius: 16px;
  color: rgba(220, 230, 244, 0.82) !important;
}

body.theme-future .menu-inner > .menu-item > .menu-link:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none;
  transform: translateX(0);
}

body.theme-future .menu-item.active > .menu-link,
body.theme-future .menu-item.open > .menu-link {
  background: linear-gradient(135deg, rgba(40, 89, 255, 0.92), rgba(14, 165, 233, 0.86)) !important;
  color: #fff !important;
  box-shadow: 0 16px 30px rgba(40, 89, 255, 0.26);
}

body.theme-future .menu-item.active > .menu-link i,
body.theme-future .menu-item.open > .menu-link i {
  color: #fff;
}

body.theme-future .layout-navbar,
body.theme-future .content-footer,
body.theme-future .card,
body.theme-future .modal-content,
body.theme-future .dropdown-menu,
body.theme-future .swal2-popup {
  background: var(--future-surface) !important;
  border: 1px solid var(--future-line) !important;
  box-shadow: var(--future-shadow-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.theme-future .layout-navbar {
  position: sticky;
  top: 1rem;
  left: auto;
  right: auto;
  height: auto !important;
  min-height: 0;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 26px !important;
  align-items: stretch;
  z-index: 40;
}

body.theme-future .layout-navbar.topbar-shell {
  position: sticky;
  overflow: visible;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.60), rgba(255, 255, 255, 0.46)) !important;
  border: 1px solid rgba(163, 193, 255, 0.14) !important;
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

body.theme-future .layout-navbar.topbar-shell::before {
  display: none;
}

body.theme-future .layout-navbar.topbar-shell::after {
  display: none;
}

body.theme-future .topbar-shell > * {
  position: relative;
  z-index: 1;
}

body.theme-future .navbar-shell-copy {
  gap: 0.35rem;
}

body.theme-future .navbar-shell-copy__eyebrow,
body.theme-future .workspace-overview__eyebrow,
body.theme-future .workspace-heading__eyebrow,
body.theme-future .workspace-stat__label,
body.theme-future .panel-surface__eyebrow,
body.theme-future .info-card__eyebrow,
body.theme-future .workspace-alert__eyebrow,
body.theme-future .detail-list__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a8ca1;
}

body.theme-future .navbar-shell-copy__trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: #6b7b91;
  font-size: 0.92rem;
}

body.theme-future .navbar-shell-copy__trail a,
body.theme-future .navbar-shell-copy__trail strong {
  color: var(--future-ink);
  text-decoration: none;
}

body.theme-future .topbar-pulse-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
  background: var(--future-primary-soft);
  color: var(--future-primary);
  font-weight: 700;
  font-size: 0.84rem;
  margin-right: 0.85rem;
}

body.theme-future .topbar-pulse-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--future-primary);
  box-shadow: 0 0 0 8px rgba(40, 89, 255, 0.12);
}

body.theme-future .js-sidebar-mobile-toggle {
  background: var(--future-surface-muted);
  border: 1px solid var(--future-line);
}

body.theme-future .js-sidebar-mobile-toggle i,
body.theme-future .dropdown-item i,
body.theme-future .navbar-nav .nav-link i {
  color: var(--future-primary);
}

body.theme-future .workspace-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

body.theme-future .workspace-overview__main,
body.theme-future .workspace-overview__side > .workspace-stat,
body.theme-future .workspace-alert,
body.theme-future .workspace-heading,
body.theme-future .panel-surface,
body.theme-future .info-card {
  background: var(--future-surface-strong);
  border: 1px solid var(--future-line);
  box-shadow: var(--future-shadow-card);
}

body.theme-future .workspace-overview__main {
  padding: 1.5rem 1.6rem;
  border-radius: 28px;
}

body.theme-future .workspace-overview__kicker-row,
body.theme-future .workspace-overview__title-row,
body.theme-future .workspace-overview__actions {
  display: flex;
  align-items: center;
}

body.theme-future .workspace-overview__kicker-row {
  justify-content: space-between;
  gap: 1rem;
}

body.theme-future .workspace-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

body.theme-future .workspace-chip--live {
  background: rgba(15, 159, 110, 0.12);
  color: var(--future-success);
}

body.theme-future .workspace-chip--attention {
  background: rgba(217, 119, 6, 0.12);
  color: var(--future-warning);
}

body.theme-future .workspace-chip--expired {
  background: rgba(217, 45, 80, 0.12);
  color: var(--future-danger);
}

body.theme-future .workspace-overview__title-row {
  gap: 1rem;
  margin-top: 1rem;
}

body.theme-future .workspace-overview__icon,
body.theme-future .panel-surface__icon,
body.theme-future .info-card__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(40, 89, 255, 0.12), rgba(14, 165, 233, 0.12));
  color: var(--future-primary);
}

body.theme-future .workspace-overview__icon {
  width: 74px;
  height: 74px;
  font-size: 1.95rem;
}

body.theme-future .workspace-overview__title,
body.theme-future .workspace-heading__title {
  margin: 0;
  color: var(--future-ink);
  letter-spacing: -0.03em;
}

body.theme-future .workspace-overview__title {
  font-size: clamp(1.9rem, 2.5vw, 2.7rem);
}

body.theme-future .workspace-overview__summary,
body.theme-future .workspace-heading__summary,
body.theme-future .panel-surface__subtitle,
body.theme-future .info-card__subtitle,
body.theme-future .workspace-alert__message,
body.theme-future .detail-list__hint {
  margin: 0.45rem 0 0;
  color: var(--future-ink-soft);
  line-height: 1.7;
}

body.theme-future .workspace-overview__actions {
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

body.theme-future .workspace-overview__side {
  display: grid;
  gap: 1rem;
}

body.theme-future .workspace-stat {
  border-radius: 24px;
  padding: 1.15rem 1.2rem;
}

body.theme-future .workspace-stat__value {
  display: block;
  margin-top: 0.45rem;
  color: var(--future-ink);
  font-size: 1.05rem;
  font-weight: 800;
}

body.theme-future .workspace-stat--live {
  border-color: rgba(15, 159, 110, 0.18);
}

body.theme-future .workspace-stat--attention {
  border-color: rgba(217, 119, 6, 0.18);
}

body.theme-future .workspace-stat--expired {
  border-color: rgba(217, 45, 80, 0.20);
}

body.theme-future .workspace-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 24px;
}

body.theme-future .workspace-alert--live {
  border-left: 5px solid var(--future-success);
}

body.theme-future .workspace-alert--attention {
  border-left: 5px solid var(--future-warning);
}

body.theme-future .workspace-alert--expired {
  border-left: 5px solid var(--future-danger);
}

body.theme-future .workspace-alert__title {
  display: block;
  margin-top: 0.2rem;
  color: var(--future-ink);
  font-size: 1rem;
}

body.theme-future .container-p-y.workspace-shell {
  display: grid;
  gap: 1rem;
  width: min(100%, 1280px);
  margin-left: 0;
  margin-right: auto;
}

body.theme-future .workspace-alert.container-xxl,
body.theme-future .container-p-y.workspace-shell {
  max-width: 1280px;
  padding-left: 0.85rem;
  padding-right: 1rem;
}

body.theme-future .layout-navbar.navbar-detached,
body.theme-future .layout-navbar.topbar-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 0.85rem !important;
  padding-right: 1rem !important;
  left: 0 !important;
  right: 0 !important;
}

body.theme-future .layout-navbar.navbar-detached.container-xxl,
body.theme-future .layout-navbar.topbar-shell.container-xxl {
  max-width: none !important;
}

@media (min-width: 1200px) {
  html.layout-menu-fixed body.theme-future .layout-page,
  html.layout-menu-fixed.layout-menu-collapsed body.theme-future .layout-page,
  html.layout-menu-fixed-offcanvas body.theme-future .layout-page {
    padding-left: 0 !important;
  }

  html.layout-navbar-fixed body.theme-future .layout-content-navbar .layout-navbar,
  html.layout-menu-fixed body.theme-future .layout-content-navbar .layout-navbar,
  html.layout-menu-fixed-offcanvas body.theme-future .layout-content-navbar .layout-navbar {
    top: 0 !important;
  }

  html.layout-navbar-fixed body.theme-future .layout-content-navbar .layout-menu,
  html.layout-menu-fixed body.theme-future .layout-content-navbar .layout-menu,
  html.layout-menu-fixed-offcanvas body.theme-future .layout-content-navbar .layout-menu {
    top: 0 !important;
    height: 100vh !important;
  }
}

body.theme-future .workspace-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: 26px;
}

body.theme-future .workspace-heading__copy {
  max-width: 720px;
}

body.theme-future .workspace-heading__title {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

body.theme-future .workspace-heading__controls,
body.theme-future .workspace-heading__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

body.theme-future .workspace-inline-search {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.95rem;
  border-radius: 18px;
  background: var(--future-surface-muted);
  border: 1px solid var(--future-line);
  min-width: min(100%, 280px);
}

body.theme-future .workspace-inline-search i {
  color: #6f83a0;
}

body.theme-future .workspace-inline-search__input {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--future-ink);
  outline: none;
}

body.theme-future .workspace-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body.theme-future .workspace-grid {
  display: grid;
  gap: 1rem;
}

body.theme-future .workspace-grid--2-1 {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.95fr);
}

body.theme-future .workspace-stack {
  display: grid;
  gap: 1rem;
}

body.theme-future .panel-surface,
body.theme-future .info-card {
  border-radius: 28px;
}

body.theme-future .panel-surface__header,
body.theme-future .info-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.35rem 0;
}

body.theme-future .panel-surface__intro,
body.theme-future .info-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

body.theme-future .panel-surface__icon,
body.theme-future .info-card__icon {
  width: 52px;
  height: 52px;
  font-size: 1.35rem;
}

body.theme-future .panel-surface__title,
body.theme-future .info-card__title {
  margin: 0.1rem 0 0;
  color: var(--future-ink);
  font-size: 1.18rem;
}

body.theme-future .panel-surface__body,
body.theme-future .info-card__body {
  padding: 1.35rem;
}

body.theme-future .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body.theme-future .field-span-2 {
  grid-column: 1 / -1;
}

body.theme-future .actions-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

body.theme-future .helper-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: var(--future-surface-muted);
  color: #66788f;
  font-size: 0.83rem;
  font-weight: 700;
}

body.theme-future .detail-list {
  display: grid;
  gap: 0.85rem;
}

body.theme-future .detail-list__row {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: var(--future-surface-muted);
  border: 1px solid var(--future-line);
}

body.theme-future .detail-list__value {
  color: var(--future-ink);
  font-size: 0.96rem;
  word-break: break-word;
}

body.theme-future .server-console-grid,
body.theme-future .users-directory-grid {
  align-items: start;
}

body.theme-future .server-config-form {
  display: grid;
  gap: 1rem;
}

body.theme-future .server-quick-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

body.theme-future .server-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.2rem;
  padding: 0.35rem 0.68rem;
  border-radius: 999px;
  background: var(--future-surface-muted);
  border: 1px solid var(--future-line);
  color: var(--future-ink);
  font-size: 0.78rem;
  font-weight: 700;
}

body.theme-future .server-pill--status.server-pill--live {
  border-color: color-mix(in srgb, #22c55e 24%, var(--future-line));
  background: color-mix(in srgb, #22c55e 10%, var(--future-surface-muted));
}

body.theme-future .server-pill--status.server-pill--attention {
  border-color: color-mix(in srgb, #f59e0b 24%, var(--future-line));
  background: color-mix(in srgb, #f59e0b 10%, var(--future-surface-muted));
}

body.theme-future .config-section {
  display: grid;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border: 1px solid var(--future-line);
}

body.theme-future .config-section__header {
  display: grid;
  gap: 0.2rem;
}

body.theme-future .config-section__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a8ca1;
}

body.theme-future .config-section__title {
  margin: 0;
  font-size: 1rem;
  color: var(--future-ink);
}

body.theme-future .config-section__summary,
body.theme-future .field-note,
body.theme-future .directory-toolbar__summary,
body.theme-future .user-access small {
  margin: 0;
  color: #7b8da3;
  font-size: 0.82rem;
  line-height: 1.45;
}

body.theme-future .config-section__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body.theme-future .config-section__grid .field-span-2 {
  grid-column: 1 / -1;
}

body.theme-future .stacked-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--future-line);
  border-radius: 18px;
  background: var(--future-surface-muted);
  overflow: hidden;
}

body.theme-future .stacked-input__prefix {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 0.95rem;
  border-right: 1px solid var(--future-line);
  color: var(--future-primary);
  font-weight: 700;
}

body.theme-future .stacked-input__control.form-control {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.theme-future .code-field,
body.theme-future .secret-pill,
body.theme-future .endpoint-card__value {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

body.theme-future .endpoint-grid {
  display: grid;
  gap: 0.85rem;
}

body.theme-future .endpoint-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.82rem 0.9rem;
  border-radius: 18px;
  background: var(--future-surface-muted);
  border: 1px solid var(--future-line);
}

body.theme-future .endpoint-card__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a8ca1;
}

body.theme-future .endpoint-card__value {
  margin: 0;
  color: var(--future-ink);
  line-height: 1.5;
  word-break: break-word;
}

body.theme-future .flow-list,
body.theme-future .stack-note-list {
  display: grid;
  gap: 0.85rem;
}

body.theme-future .flow-step,
body.theme-future .stack-note {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: var(--future-surface-muted);
  border: 1px solid var(--future-line);
}

body.theme-future .flow-step__icon,
body.theme-future .stack-note i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--future-primary-soft);
  color: var(--future-primary);
  font-size: 1rem;
  flex: 0 0 auto;
}

body.theme-future .flow-step__copy {
  display: grid;
  gap: 0.25rem;
}

body.theme-future .flow-step__copy strong,
body.theme-future .directory-toolbar__title {
  color: var(--future-ink);
  font-size: 0.98rem;
}

body.theme-future .flow-step__copy small {
  color: #7b8da3;
  line-height: 1.5;
}

body.theme-future .directory-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(40, 89, 255, 0.08), rgba(15, 23, 42, 0));
  border: 1px solid var(--future-line);
}

body.theme-future .directory-toolbar__copy {
  display: grid;
  gap: 0.35rem;
}

body.theme-future .directory-toolbar__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a8ca1;
}

body.theme-future .directory-toolbar__stats {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.theme-future .directory-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: var(--future-surface-muted);
  border: 1px solid var(--future-line);
  color: var(--future-ink);
  font-size: 0.84rem;
  font-weight: 700;
}

body.theme-future .table-shell--directory {
  padding: 0.9rem;
}

body.theme-future .user-directory-table td {
  vertical-align: middle;
}

body.theme-future .user-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 230px;
}

body.theme-future .user-avatar {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(40, 89, 255, 0.18), rgba(14, 165, 233, 0.12));
  color: var(--future-primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  flex: 0 0 auto;
}

body.theme-future .user-identity__copy {
  display: grid;
  gap: 0.18rem;
}

body.theme-future .user-identity__copy strong {
  color: var(--future-ink);
  font-size: 0.96rem;
}

body.theme-future .user-identity__copy small {
  color: #7b8da3;
}

body.theme-future .user-access {
  display: grid;
  gap: 0.45rem;
  min-width: 170px;
}

body.theme-future .role-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-future .role-pill--admin {
  background: rgba(15, 159, 110, 0.14);
  color: var(--future-success);
}

body.theme-future .role-pill--user {
  background: rgba(40, 89, 255, 0.12);
  color: var(--future-primary);
}

body.theme-future .secret-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--future-line);
  color: var(--future-ink);
  font-size: 0.84rem;
  white-space: normal;
  word-break: break-word;
}

body.theme-future .table-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

body.theme-future .icon-action {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid var(--future-line);
  background: var(--future-surface-muted);
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.theme-future .icon-action i {
  font-size: 1.05rem;
}

body.theme-future .icon-action:hover {
  transform: translateY(-1px);
}

body.theme-future .icon-action--primary {
  color: var(--future-primary);
}

body.theme-future .icon-action--danger {
  color: var(--future-danger);
}

body.theme-future .empty-state-card {
  display: grid;
  gap: 0.6rem;
  place-items: center;
  padding: 2rem 1.5rem;
  border-radius: 24px;
  border: 1px dashed var(--future-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  text-align: center;
}

body.theme-future .empty-state-card i {
  font-size: 2rem;
  color: var(--future-primary);
}

body.theme-future .empty-state-card strong {
  color: var(--future-ink);
  font-size: 1rem;
}

body.theme-future .empty-state-card p,
body.theme-future .stack-note span {
  color: #7b8da3;
  line-height: 1.55;
  margin: 0;
}

body.theme-future .table-shell,
body.theme-future .media-stage {
  border-radius: 22px;
  border: 1px solid var(--future-line);
  background: var(--future-surface-muted);
  padding: 0.7rem;
}

body.theme-future .media-stage {
  display: grid;
  place-items: center;
  min-height: 240px;
}

body.theme-future .preview-image {
  width: min(100%, 520px) !important;
  border-radius: 20px;
  border: 1px solid var(--future-line);
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.08);
}

body.theme-future .table {
  color: var(--future-ink);
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(15, 23, 42, 0.015);
  --bs-table-hover-bg: rgba(40, 89, 255, 0.06);
  --bs-table-border-color: var(--future-line);
}

body.theme-future .table thead th {
  color: #8193a9;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

body.theme-future .form-control,
body.theme-future .form-select,
body.theme-future .dataTables_wrapper .dataTables_filter input,
body.theme-future .dataTables_wrapper .dataTables_length select {
  min-height: 54px;
  background: var(--future-surface-muted) !important;
  border: 1px solid var(--future-line) !important;
  border-radius: 18px !important;
  color: var(--future-ink) !important;
}

body.theme-future textarea.form-control {
  min-height: 150px;
}

body.theme-future .form-control::placeholder {
  color: #93a3b6;
}

body.theme-future .form-control:focus,
body.theme-future .form-select:focus,
body.theme-future .dataTables_wrapper .dataTables_filter input:focus,
body.theme-future .dataTables_wrapper .dataTables_length select:focus {
  border-color: rgba(40, 89, 255, 0.28) !important;
  box-shadow: 0 0 0 4px rgba(40, 89, 255, 0.10) !important;
}

body.theme-future label,
body.theme-future strong {
  color: var(--future-ink);
}

body.theme-future .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  border-radius: 16px;
  padding-inline: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

body.theme-future .btn-primary,
body.login-page .btn-primary {
  background: linear-gradient(135deg, var(--future-primary), var(--future-secondary)) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 16px 26px rgba(40, 89, 255, 0.18);
}

body.theme-future .btn-secondary {
  background: var(--future-surface-muted);
  border: 1px solid var(--future-line-strong);
  color: var(--future-ink);
}

body.theme-future .btn-danger {
  background: rgba(217, 45, 80, 0.10);
  border: 1px solid rgba(217, 45, 80, 0.14);
  color: var(--future-danger);
}

body.theme-future .badge.bg-primary {
  background: rgba(40, 89, 255, 0.14) !important;
  color: var(--future-primary);
}

body.theme-future .badge.bg-danger {
  background: rgba(217, 45, 80, 0.12) !important;
  color: var(--future-danger);
}

body.theme-future .alert-danger {
  background: rgba(217, 45, 80, 0.08);
  border: 1px solid rgba(217, 45, 80, 0.14);
  color: var(--future-danger);
}

body.theme-future .dropdown-menu {
  padding: 0.45rem;
}

body.theme-future .dropdown-item {
  border-radius: 14px;
  color: var(--future-ink) !important;
}

body.theme-future .dropdown-item:hover,
body.theme-future .dropdown-item.active {
  background: var(--future-surface-muted);
  color: var(--future-ink) !important;
}

body.theme-future .dropdown-item:active,
body.theme-future .topbar-select .dropdown-item:focus,
body.theme-future .topbar-select .dropdown-item:hover,
body.theme-future .topbar-select .dropdown-item.active,
body.theme-future .dropdown-user .dropdown-item:focus,
body.theme-future .dropdown-user .dropdown-item:hover,
body.theme-future .dropdown-user .dropdown-item.active {
  color: var(--future-ink) !important;
}

body.theme-future .topbar-control.show,
body.theme-future .topbar-control:focus,
body.theme-future .topbar-control:active,
body.theme-future .topbar-select.show .topbar-select__value,
body.theme-future .topbar-select.show .topbar-control,
body.theme-future .topbar-select .dropdown-toggle[aria-expanded='true'] {
  color: var(--future-ink) !important;
}

body.theme-future .topbar-select.show .topbar-control i,
body.theme-future .topbar-control.show i {
  color: var(--future-primary) !important;
}

body.theme-future marquee {
  display: none;
}

body.login-page {
  background:
    radial-gradient(circle at top left, rgba(40, 89, 255, 0.18), transparent 22%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.22), transparent 25%),
    linear-gradient(180deg, #eff5ff 0%, #eaf1fb 100%);
  color: var(--future-ink);
}

body.login-page .login-container {
  max-width: 520px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(18px);
}

body.login-page .user-name,
body.login-page h3 {
  color: var(--future-ink);
}

body.login-page .small,
body.login-page .text-muted,
body.login-page p {
  color: var(--future-ink-soft) !important;
}

body.login-page .form-control {
  background: var(--future-surface-muted) !important;
  border: 1px solid var(--future-line) !important;
  color: var(--future-ink) !important;
}

body.login-page .form-control::placeholder {
  color: #93a3b6;
}

body.login-page .btn-outline-light {
  color: var(--future-ink);
  border-color: var(--future-line-strong);
}

@media (max-width: 1199.98px) {
  body.theme-future .workspace-overview,
  body.theme-future .workspace-grid--2-1 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  body.theme-future .workspace-heading,
  body.theme-future .workspace-alert {
    flex-direction: column;
    align-items: stretch;
  }

  body.theme-future .workspace-stats,
  body.theme-future .form-grid {
    grid-template-columns: 1fr;
  }
}

body.theme-future .sidebar-shell {
  display: flex;
  flex-direction: column;
  width: 16.25rem;
  max-width: 16.25rem;
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(8, 15, 27, 0.96), rgba(11, 20, 36, 0.94));
  border-right: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 10px 0 28px rgba(2, 8, 20, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

body.theme-future .sidebar-shell__top {
  padding: 0;
  flex: 0 0 auto;
}

body.theme-future .sidebar-brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 4.35rem;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

body.theme-future .sidebar-brand__identity {
  display: flex;
  align-items: center;
  gap: 0.68rem;
  text-decoration: none;
  min-width: 0;
  width: 100%;
  padding-right: 2.5rem;
}

body.theme-future .sidebar-brand__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 2.25rem;
  border-radius: 0.78rem;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.theme-future .sidebar-brand__copy {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0;
}

body.theme-future .sidebar-brand__eyebrow {
  font-size: 0.61rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(191, 208, 228, 0.54);
}

body.theme-future .sidebar-brand__title {
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

body.theme-future .sidebar-brand__subtitle {
  color: rgba(220, 230, 244, 0.66);
  font-size: 0.76rem;
}

body.theme-future .sidebar-brand__toggle {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  flex: 0 0 1.9rem;
  border-radius: 0.65rem;
  background: rgba(148, 163, 184, 0.08);
  color: rgba(248, 250, 252, 0.92);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.08);
  transform: translateY(-50%);
}

body.theme-future .sidebar-brand__toggle:hover {
  background: rgba(148, 163, 184, 0.14);
  border-color: rgba(148, 163, 184, 0.18);
  color: #fff;
}

body.theme-future .sidebar-nav {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  padding: 0.7rem 0 0.9rem;
  overflow-y: auto;
  overflow-x: hidden;
}

body.theme-future .sidebar-nav-list {
  list-style: none;
  margin: 0;
  padding: 0 0.68rem;
  display: grid;
  gap: 0.14rem;
}

body.theme-future .sidebar-nav-item {
  margin: 0;
}

body.theme-future .sidebar-nav-item > .sidebar-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.68rem;
  margin: 0;
  padding: 0.48rem 0.62rem;
  min-height: 2.5rem;
  border-radius: 0.72rem;
  color: rgba(224, 232, 244, 0.84) !important;
  text-decoration: none;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

body.theme-future .sidebar-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 1.2rem;
  border-radius: 0;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

body.theme-future .sidebar-link__icon i {
  color: rgba(248, 250, 252, 0.92);
  font-size: 1.05rem;
}

body.theme-future .sidebar-link__label {
  min-width: 0;
  color: #f8fbff;
  font-weight: 600;
  line-height: 1.2;
  font-size: 0.86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.theme-future .menu-item.sidebar-nav-item.active > .sidebar-link,
body.theme-future .sidebar-link:hover {
  background: rgba(59, 130, 246, 0.14) !important;
  color: #fff !important;
  box-shadow: none;
}

body.theme-future .menu-item.sidebar-nav-item.active > .sidebar-link::before {
  display: none;
}

body.theme-future .menu-item.sidebar-nav-item.active > .sidebar-link .sidebar-link__icon,
body.theme-future .sidebar-link:hover .sidebar-link__icon {
  background: transparent;
}

body.theme-future .sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 0.18rem;
  padding: 0.72rem 0.72rem 0.82rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  flex: 0 0 auto;
}

body.theme-future .sidebar-footer__meta {
  color: rgba(191, 208, 228, 0.5);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-inline: 0.1rem;
}

body.theme-future .sidebar-actions {
  display: grid;
  gap: 0.2rem;
}

body.theme-future .sidebar-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.45rem;
  padding: 0.48rem 0.62rem;
  border-radius: 0.72rem;
  color: rgba(224, 232, 244, 0.82) !important;
  text-decoration: none;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

body.theme-future .sidebar-action-link i {
  color: rgba(248, 250, 252, 0.92);
  font-size: 1rem;
}

body.theme-future .sidebar-action-link:hover,
body.theme-future .sidebar-action-link.active {
  background: rgba(148, 163, 184, 0.12);
  color: #fff !important;
}

body.theme-future .sidebar-action-link--danger:hover {
  background: rgba(217, 45, 80, 0.16);
}

@media (min-width: 1200px) {
  html.layout-menu-fixed.layout-menu-collapsed body.theme-future #layout-menu {
    width: 4.6rem !important;
    max-width: 4.6rem !important;
  }

  html.layout-menu-fixed.layout-menu-collapsed body.theme-future .layout-page {
    padding-left: 0 !important;
  }

  html.layout-menu-collapsed body.theme-future .sidebar-brand {
    justify-content: center;
    min-height: 4.1rem;
    padding-inline: 0.7rem;
  }

  html.layout-menu-collapsed body.theme-future .sidebar-brand__identity {
    justify-content: center;
    gap: 0;
    width: auto;
    padding-right: 0;
  }

  html.layout-menu-collapsed body.theme-future .sidebar-brand__copy,
  html.layout-menu-collapsed body.theme-future .sidebar-link__label,
  html.layout-menu-collapsed body.theme-future .sidebar-footer__meta,
  html.layout-menu-collapsed body.theme-future .sidebar-action-link span {
    display: none;
  }

  html.layout-menu-collapsed body.theme-future .sidebar-nav-list {
    padding-inline: 0.45rem;
  }

  html.layout-menu-collapsed body.theme-future .sidebar-nav-item > .sidebar-link {
    justify-content: center;
    gap: 0;
    padding-inline: 0;
    min-height: 2.7rem;
  }

  html.layout-menu-collapsed body.theme-future .sidebar-link__icon {
    width: 100%;
    margin: 0 auto;
  }

  html.layout-menu-collapsed body.theme-future .sidebar-footer {
    display: none;
  }

  html.layout-menu-collapsed body.theme-future .sidebar-action-link {
    justify-content: center;
    gap: 0;
    padding-inline: 0;
    width: 100%;
    min-height: 2.45rem;
  }

  html.layout-menu-collapsed body.theme-future .sidebar-brand__toggle {
    right: -0.58rem;
    transform: translateY(-50%);
  }

  html.layout-menu-collapsed body.theme-future .layout-navbar.topbar-shell,
  html.layout-menu-collapsed body.theme-future .workspace-alert.container-xxl,
  html.layout-menu-collapsed body.theme-future .container-p-y.workspace-shell {
    padding-left: 0 !important;
  }
}

@media (max-width: 1199.98px) {
  body.theme-future #layout-menu {
    width: 16.25rem !important;
    max-width: calc(100vw - 1rem) !important;
    border-radius: 0;
    box-shadow: 18px 0 44px rgba(8, 15, 27, 0.24);
  }

  body.theme-future .sidebar-brand {
    min-height: 4.6rem;
  }

  body.theme-future .sidebar-brand__identity {
    padding-right: 2.4rem;
  }

  body.theme-future .sidebar-footer {
    padding-bottom: 0.95rem;
  }
}

@media (max-width: 767.98px) {
  body.theme-future #layout-menu {
    width: 15.5rem !important;
    max-width: calc(100vw - 0.65rem) !important;
  }

  body.theme-future .sidebar-brand {
    min-height: 4.2rem;
    padding: 0.85rem 0.78rem;
  }

  body.theme-future .sidebar-nav-list {
    padding-inline: 0.68rem;
  }

  body.theme-future .sidebar-nav-item > .sidebar-link {
    min-height: 2.7rem;
    padding: 0.52rem 0.66rem;
  }

  body.theme-future .sidebar-link__label {
    font-size: 0.85rem;
  }
}

body.theme-future .layout-overlay,
body.theme-future .content-backdrop {
  background: rgba(3, 10, 20, 0.45) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.theme-future .layout-overlay {
  transition: opacity 0.25s ease;
}

body.theme-future .layout-navbar.topbar-shell {
  position: sticky;
  top: 0 !important;
  min-height: 4.35rem;
  padding: 0.72rem 0.88rem;
  border-radius: 0.2rem !important;
  overflow: visible;
  isolation: isolate;
  background: color-mix(in srgb, var(--future-shell-glass-strong) 82%, var(--future-page-bg) 18%) !important;
  border: 1px solid var(--future-shell-border-soft) !important;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.theme-future .layout-navbar.topbar-shell::before {
  display: none;
}

body.theme-future .layout-navbar.topbar-shell::after {
  display: none;
}

body.theme-future .topbar-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0;
  overflow: visible;
}

body.theme-future .topbar-shell__primary-left,
body.theme-future .topbar-tools {
  min-height: 2.7rem;
}

body.theme-future .topbar-shell__primary-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
}

body.theme-future .topbar-title-block {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  overflow: hidden;
}

body.theme-future .topbar-title-block__line {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  flex-wrap: wrap;
}

body.theme-future .topbar-title-block__eyebrow {
  color: #7a8ca1;
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.theme-future .topbar-title-block__title {
  color: var(--future-ink);
  font-family: 'Outfit', sans-serif;
  font-size: 0.98rem;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.theme-future .topbar-inline-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(163, 193, 255, 0.1);
  font-size: 0.69rem;
  color: #6b7b91;
  white-space: nowrap;
}

body.theme-future .topbar-inline-meta__dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: #94a3b8;
  flex: 0 0 auto;
}

body.theme-future .topbar-inline-meta__dot--live {
  background: var(--future-success);
}

body.theme-future .topbar-inline-meta__dot--attention {
  background: var(--future-warning);
}

body.theme-future .topbar-inline-meta__dot--expired {
  background: var(--future-danger);
}

body.theme-future .topbar-tools {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.4rem;
  justify-content: flex-end;
  min-width: 0;
  overflow: visible;
  position: relative;
  z-index: 3;
}

body.theme-future .topbar-control,
body.theme-future .topbar-user-pill,
body.theme-future .js-sidebar-mobile-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.32rem;
  padding: 0.42rem 0.62rem !important;
  border-radius: 0.45rem;
  border: 1px solid var(--future-shell-border-soft);
  background: color-mix(in srgb, var(--future-shell-glass) 76%, transparent);
  color: var(--future-ink) !important;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

body.theme-future .topbar-select,
body.theme-future .dropdown-user {
  position: relative;
  z-index: 4;
}

body.theme-future .topbar-select .dropdown-menu,
body.theme-future .dropdown-user .dropdown-menu {
  margin-top: 0.45rem !important;
  border-radius: 0.45rem !important;
  min-width: 12.5rem;
  z-index: 1085;
}

body.theme-future .topbar-control:hover,
body.theme-future .topbar-user-pill:hover,
body.theme-future .js-sidebar-mobile-toggle:hover {
  border-color: rgba(96, 165, 250, 0.24);
  background: var(--future-shell-glass-strong);
}

body.theme-future .topbar-control i,
body.theme-future .topbar-user-pill i {
  font-size: 0.98rem;
  color: var(--future-primary);
}

body.theme-future .topbar-select__value {
  color: var(--future-ink);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

body.theme-future .topbar-user-pill .avatar {
  flex-shrink: 0;
}

body.theme-future .topbar-user-pill__copy {
  display: grid;
  line-height: 1.15;
}

body.theme-future .topbar-user-pill__copy strong {
  color: var(--future-ink);
  font-size: 0.82rem;
}

body.theme-future .topbar-user-pill__copy small {
  color: var(--future-ink-soft);
  font-size: 0.72rem;
}

body.theme-future .content-wrapper {
  padding-top: 0.35rem;
}

body.theme-future .container-p-y.workspace-shell {
  gap: 1.1rem;
}

body.theme-future .workspace-heading {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--future-module-glass-strong), var(--future-module-glass));
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border: 1px solid var(--future-module-border);
  box-shadow:
    var(--future-module-shadow),
    inset 0 1px 0 var(--future-module-highlight);
}

body.theme-future .workspace-heading::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, var(--future-module-highlight), rgba(255, 255, 255, 0.02) 32%, var(--future-shell-tint)),
    radial-gradient(circle at top right, var(--future-shell-glow), transparent 36%);
}

body.theme-future .workspace-heading > * {
  position: relative;
  z-index: 1;
}

body.theme-future .workspace-inline-search {
  background: linear-gradient(180deg, var(--future-module-glass-strong), var(--future-module-glass));
  border: 1px solid var(--future-module-border);
  box-shadow: inset 0 1px 0 var(--future-module-highlight);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.theme-future .topbar-pulse-chip,
body.theme-future .topbar-global-search {
  display: none !important;
}

html.dark body.theme-future,
html.dark body.login-page {
  --future-page-bg: #0b1220;
  --future-page-bg-deep: #0f172a;
  --future-surface: rgba(17, 24, 39, 0.92);
  --future-surface-strong: #111827;
  --future-surface-muted: #182234;
  --future-ink: #eef2f7;
  --future-ink-soft: #99a6b8;
  --future-line: rgba(255, 255, 255, 0.08);
  --future-line-strong: rgba(255, 255, 255, 0.12);
  --future-primary: #7c9bff;
  --future-primary-soft: rgba(124, 155, 255, 0.16);
  --future-secondary: #4cc9f0;
  --future-success: #34d399;
  --future-warning: #f59e0b;
  --future-danger: #fb7185;
  --future-sidebar-bg: #0f172a;
  --future-sidebar-bg-2: #111c31;
  --future-sidebar-text: #e5ecf6;
  --future-shadow-soft: 0 28px 60px rgba(2, 6, 23, 0.40);
  --future-shadow-card: 0 22px 48px rgba(2, 6, 23, 0.34);
  --future-shell-glass: rgba(19, 28, 43, 0.72);
  --future-shell-glass-strong: rgba(15, 23, 38, 0.88);
  --future-shell-border-soft: rgba(124, 155, 255, 0.16);
  --future-shell-border-strong: rgba(255, 255, 255, 0.08);
  --future-shell-highlight: rgba(255, 255, 255, 0.05);
  --future-shell-shadow: 0 18px 34px rgba(2, 6, 23, 0.26);
  --future-shell-tint: rgba(124, 155, 255, 0.12);
  --future-shell-glow: rgba(76, 201, 240, 0.12);
  --future-module-glass: rgba(16, 25, 39, 0.62);
  --future-module-glass-strong: rgba(19, 28, 43, 0.82);
  --future-module-border: rgba(124, 155, 255, 0.14);
  --future-module-highlight: rgba(255, 255, 255, 0.04);
  --future-module-shadow: 0 18px 36px rgba(2, 6, 23, 0.22);
}

html.dark body.theme-future {
  background:
    radial-gradient(circle at top left, rgba(124, 155, 255, 0.16), transparent 22%),
    radial-gradient(circle at bottom right, rgba(76, 201, 240, 0.12), transparent 24%),
    linear-gradient(180deg, #08111f 0%, #0b1220 55%, #0f172a 100%);
}

html.dark body.login-page {
  background:
    radial-gradient(circle at top left, rgba(124, 155, 255, 0.18), transparent 22%),
    radial-gradient(circle at bottom right, rgba(76, 201, 240, 0.16), transparent 25%),
    linear-gradient(180deg, #08111f 0%, #0f172a 100%);
}

html.theme-midnight body.theme-future,
html.theme-midnight body.login-page {
  --future-page-bg: #0b0e14;
  --future-page-bg-deep: #101521;
  --future-surface: rgba(18, 22, 32, 0.94);
  --future-surface-strong: #121620;
  --future-surface-muted: #1a2232;
  --future-ink: #e6e9ef;
  --future-ink-soft: #9aa7bd;
  --future-line: #2a3446;
  --future-line-strong: rgba(79, 140, 255, 0.22);
  --future-primary: #4f8cff;
  --future-primary-soft: rgba(79, 140, 255, 0.18);
  --future-secondary: #60a5fa;
  --future-success: #34d399;
  --future-warning: #fbbf24;
  --future-danger: #f472b6;
  --future-sidebar-bg: #101521;
  --future-sidebar-bg-2: #182233;
  --future-sidebar-text: #e6e9ef;
  --future-shell-glass: rgba(18, 24, 36, 0.76);
  --future-shell-glass-strong: rgba(14, 19, 29, 0.9);
  --future-shell-border-soft: rgba(79, 140, 255, 0.18);
  --future-shell-border-strong: rgba(255, 255, 255, 0.08);
  --future-shell-highlight: rgba(255, 255, 255, 0.05);
  --future-shell-shadow: 0 18px 34px rgba(2, 6, 23, 0.3);
  --future-shell-tint: rgba(79, 140, 255, 0.13);
  --future-shell-glow: rgba(52, 211, 153, 0.1);
  --future-module-glass: rgba(19, 25, 37, 0.64);
  --future-module-glass-strong: rgba(23, 31, 45, 0.84);
  --future-module-border: rgba(79, 140, 255, 0.14);
  --future-module-highlight: rgba(255, 255, 255, 0.04);
  --future-module-shadow: 0 18px 36px rgba(2, 6, 23, 0.24);
}

html.theme-midnight body.theme-future {
  background:
    radial-gradient(circle at top left, rgba(79, 140, 255, 0.18), transparent 22%),
    radial-gradient(circle at bottom right, rgba(52, 211, 153, 0.12), transparent 24%),
    linear-gradient(180deg, #0b0e14 0%, #101521 100%);
}

html.theme-darkblue body.theme-future,
html.theme-darkblue body.login-page {
  --future-page-bg: #0a1420;
  --future-page-bg-deep: #0d1726;
  --future-surface: rgba(15, 27, 43, 0.94);
  --future-surface-strong: #0f1b2b;
  --future-surface-muted: #132135;
  --future-ink: #e8eef6;
  --future-ink-soft: #a8b6c9;
  --future-line: #22344a;
  --future-line-strong: rgba(30, 136, 229, 0.26);
  --future-primary: #1e88e5;
  --future-primary-soft: rgba(30, 136, 229, 0.18);
  --future-secondary: #38bdf8;
  --future-success: #10b981;
  --future-warning: #f59e0b;
  --future-danger: #f43f5e;
  --future-sidebar-bg: #0d1726;
  --future-sidebar-bg-2: #10243a;
  --future-sidebar-text: #e8eef6;
  --future-shell-glass: rgba(15, 27, 43, 0.76);
  --future-shell-glass-strong: rgba(11, 21, 34, 0.9);
  --future-shell-border-soft: rgba(30, 136, 229, 0.18);
  --future-shell-border-strong: rgba(255, 255, 255, 0.08);
  --future-shell-highlight: rgba(255, 255, 255, 0.05);
  --future-shell-shadow: 0 18px 34px rgba(4, 12, 24, 0.28);
  --future-shell-tint: rgba(30, 136, 229, 0.14);
  --future-shell-glow: rgba(56, 189, 248, 0.12);
  --future-module-glass: rgba(15, 28, 44, 0.64);
  --future-module-glass-strong: rgba(18, 33, 52, 0.84);
  --future-module-border: rgba(30, 136, 229, 0.14);
  --future-module-highlight: rgba(255, 255, 255, 0.04);
  --future-module-shadow: 0 18px 36px rgba(4, 12, 24, 0.24);
}

html.theme-darkblue body.theme-future {
  background:
    radial-gradient(circle at top left, rgba(30, 136, 229, 0.20), transparent 22%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.16), transparent 24%),
    linear-gradient(180deg, #08111b 0%, #0a1420 100%);
}

html.dark body.theme-future .topbar-title-block__eyebrow,
html.dark body.theme-future .navbar-shell-copy__eyebrow,
html.dark body.theme-future .navbar-shell-copy__trail,
html.dark body.theme-future .workspace-heading__eyebrow,
html.dark body.theme-future .workspace-overview__eyebrow,
html.dark body.theme-future .workspace-stat__label,
html.dark body.theme-future .panel-surface__eyebrow,
html.dark body.theme-future .info-card__eyebrow,
html.dark body.theme-future .detail-list__label,
html.dark body.theme-future .topbar-select__label,
html.dark body.theme-future .menu-header-text {
  color: var(--future-ink-soft) !important;
}

html.dark body.theme-future .navbar-shell-copy__trail a,
html.dark body.theme-future .navbar-shell-copy__trail strong,
html.dark body.theme-future .topbar-title-block__title,
html.dark body.theme-future .topbar-select__value,
html.dark body.theme-future .workspace-overview__title,
html.dark body.theme-future .workspace-heading__title,
html.dark body.theme-future .panel-surface__title,
html.dark body.theme-future .info-card__title,
html.dark body.theme-future .workspace-alert__title,
html.dark body.theme-future .detail-list__value,
html.dark body.theme-future .workspace-stat__value,
html.dark body.theme-future .topbar-user-pill__copy strong {
  color: var(--future-ink);
}

html.dark body.theme-future .workspace-overview__summary,
html.dark body.theme-future .workspace-heading__summary,
html.dark body.theme-future .panel-surface__subtitle,
html.dark body.theme-future .info-card__subtitle,
html.dark body.theme-future .workspace-alert__message,
html.dark body.theme-future .detail-list__hint,
html.dark body.theme-future .topbar-user-pill__copy small,
html.dark body.theme-future .sidebar-status-card__meta {
  color: var(--future-ink-soft);
}

html.dark body.theme-future .topbar-control,
html.dark body.theme-future .topbar-user-pill,
html.dark body.theme-future .topbar-icon-button,
html.dark body.theme-future .topbar-global-search,
html.dark body.theme-future .workspace-inline-search,
html.dark body.theme-future .sidebar-action-link,
html.dark body.theme-future .sidebar-status-card,
html.dark body.theme-future .helper-chip,
html.dark body.login-page .login-container {
  background: var(--future-surface-muted);
  border-color: var(--future-line);
}

html.dark body.theme-future .menu-search-shell,
html.dark body.theme-future .menu-profile-card {
  background: rgba(255, 255, 255, 0.05);
}

html.dark body.theme-future .topbar-global-search__hint {
  background: var(--future-primary-soft);
  color: var(--future-primary);
}

html.dark body.theme-future .layout-navbar.topbar-shell,
html.theme-midnight body.theme-future .layout-navbar.topbar-shell,
html.theme-darkblue body.theme-future .layout-navbar.topbar-shell,
html.dark body.theme-future .topbar-control,
html.dark body.theme-future .topbar-user-pill,
html.dark body.theme-future .js-sidebar-mobile-toggle,
html.theme-midnight body.theme-future .topbar-control,
html.theme-midnight body.theme-future .topbar-user-pill,
html.theme-midnight body.theme-future .js-sidebar-mobile-toggle,
html.theme-darkblue body.theme-future .topbar-control,
html.theme-darkblue body.theme-future .topbar-user-pill,
html.theme-darkblue body.theme-future .js-sidebar-mobile-toggle {
  background: linear-gradient(180deg, var(--future-shell-glass-strong), var(--future-shell-glass)) !important;
  border-color: var(--future-shell-border-soft) !important;
  box-shadow:
    var(--future-shell-shadow),
    inset 0 1px 0 var(--future-shell-highlight);
}

html.dark body.theme-future .workspace-heading,
html.theme-midnight body.theme-future .workspace-heading,
html.theme-darkblue body.theme-future .workspace-heading,
html.dark body.theme-future .workspace-inline-search,
html.theme-midnight body.theme-future .workspace-inline-search,
html.theme-darkblue body.theme-future .workspace-inline-search {
  background: linear-gradient(180deg, var(--future-module-glass-strong), var(--future-module-glass)) !important;
  border-color: var(--future-module-border) !important;
  box-shadow:
    var(--future-module-shadow),
    inset 0 1px 0 var(--future-module-highlight);
}

@media (max-width: 1439.98px) {
  body.theme-future .topbar-user-pill__copy {
    display: none !important;
  }

  body.theme-future .topbar-control,
  body.theme-future .topbar-user-pill {
    padding-inline: 0.62rem !important;
  }
}

@media (max-width: 991.98px) {
  body.theme-future .config-section__grid,
  body.theme-future .workspace-stats {
    grid-template-columns: 1fr;
  }

  body.theme-future .directory-toolbar {
    flex-direction: column;
  }

  body.theme-future .directory-toolbar__stats {
    justify-content: flex-start;
  }

  body.theme-future .user-identity {
    min-width: 0;
  }
}

@media (max-width: 1279.98px) {
  body.theme-future .topbar-tools {
    gap: 0.45rem;
  }
}

@media (max-width: 991.98px) {
  body.theme-future .topbar-shell__primary-left,
  body.theme-future .topbar-tools {
    width: auto;
    flex: initial;
  }

  body.theme-future .layout-navbar.topbar-shell {
    top: 0 !important;
    min-height: 4rem;
    padding: 0.68rem 0.76rem;
    border-radius: 0.2rem !important;
  }

  body.theme-future .topbar-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
  }

  body.theme-future .topbar-tools {
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.34rem;
  }

  body.theme-future .topbar-select,
  body.theme-future .dropdown-user {
    min-width: 0;
  }

  body.theme-future .topbar-control,
  body.theme-future .topbar-user-pill {
    min-width: 0;
  }

  body.theme-future .topbar-user-pill__copy {
    display: none !important;
  }

  body.theme-future .topbar-title-block__eyebrow,
  body.theme-future .topbar-inline-meta {
    display: none;
  }

  body.theme-future .topbar-control,
  body.theme-future .topbar-user-pill,
  body.theme-future .js-sidebar-mobile-toggle {
    width: 2.3rem;
    min-width: 2.3rem;
    min-height: 2.3rem;
    justify-content: center;
    padding: 0 !important;
  }
}

@media (max-width: 767.98px) {
  body.theme-future .layout-navbar.topbar-shell {
    top: 0 !important;
    min-height: 3.75rem;
    padding: 0.56rem 0.62rem;
    border-radius: 0.15rem !important;
  }

  body.theme-future .topbar-shell {
    gap: 0.45rem;
  }

  body.theme-future .topbar-title-block__title {
    font-size: 0.9rem;
  }

  body.theme-future .topbar-shell__primary-left {
    gap: 0.5rem;
  }

  body.theme-future .topbar-tools {
    justify-content: flex-end;
    gap: 0.3rem;
  }

  body.theme-future .topbar-inline-meta,
  body.theme-future .topbar-title-block__eyebrow,
  body.theme-future .topbar-select--theme .topbar-select__value {
    display: none;
  }

  body.theme-future .topbar-control,
  body.theme-future .topbar-user-pill,
  body.theme-future .js-sidebar-mobile-toggle {
    width: 2.18rem;
    min-width: 2.18rem;
    min-height: 2.18rem;
    border-radius: 0.4rem;
  }

  body.theme-future .topbar-select .dropdown-menu,
  body.theme-future .dropdown-user .dropdown-menu {
    min-width: 11.5rem;
    max-width: calc(100vw - 2rem);
  }

  body.theme-future .sidebar-shell {
    border-radius: 0 1rem 1rem 0;
  }

  body.theme-future #layout-menu {
    width: 14.5rem !important;
    max-width: calc(100vw - 2rem) !important;
  }

  body.theme-future .sidebar-brand {
    min-height: 4rem;
    padding: 0.78rem 0.72rem;
  }

  body.theme-future .sidebar-brand__eyebrow {
    display: none;
  }

  body.theme-future .sidebar-nav-list {
    padding-inline: 0.58rem;
  }

  body.theme-future .sidebar-nav-item > .sidebar-link {
    min-height: 2.56rem;
    padding: 0.48rem 0.58rem;
    border-radius: 0.78rem;
  }

  body.theme-future .sidebar-link__icon {
    width: 1.8rem;
    height: 1.8rem;
    flex-basis: 1.8rem;
  }

  body.theme-future .sidebar-footer {
    padding: 0.72rem 0.7rem 0.8rem;
  }
}

@media (max-width: 1199.98px) {
  body.theme-future .js-sidebar-desktop-toggle {
    display: none;
  }
}

/* Login rebuild */
body.login-page {
  min-height: 100vh;
  margin: 0;
  display: block;
  padding: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(45, 183, 255, 0.14), transparent 24%),
    radial-gradient(circle at bottom right, rgba(124, 92, 255, 0.14), transparent 26%),
    linear-gradient(180deg, #090d14 0%, #0b0e14 100%);
}

body.login-page .login-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.5rem);
}

body.login-page .login-shell__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.7;
  pointer-events: none;
}

body.login-page .login-shell__orb--one {
  top: -6rem;
  left: -5rem;
  width: 20rem;
  height: 20rem;
  background: color-mix(in srgb, var(--future-primary) 22%, transparent);
}

body.login-page .login-shell__orb--two {
  right: -5rem;
  bottom: -6rem;
  width: 24rem;
  height: 24rem;
  background: color-mix(in srgb, var(--future-secondary) 20%, transparent);
}

body.login-page .login-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(360px, 0.95fr);
  gap: 1.2rem;
  min-height: calc(100vh - clamp(2rem, 4vw, 3rem));
  align-items: stretch;
}

body.login-page .login-showcase,
body.login-page .login-panel {
  min-width: 0;
}

body.login-page .login-showcase {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background: #05080d;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body.login-page .login-showcase__wall {
  position: absolute;
  inset: -6% -8%;
  display: flex;
  gap: 1rem;
  transform: rotate(-14deg) scale(1.12);
  opacity: 0.96;
}

body.login-page .login-showcase__wall-column {
  flex: 1 1 0;
  display: grid;
  gap: 1rem;
  animation: login-wall-scroll 28s linear infinite;
}

body.login-page .login-showcase__wall-column--two {
  animation-direction: reverse;
  animation-duration: 34s;
}

body.login-page .login-showcase__poster {
  display: block;
  min-height: 11.5rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
}

body.login-page .login-showcase__poster--one {
  background-image: linear-gradient(180deg, rgba(8, 15, 26, 0.12), rgba(8, 15, 26, 0.56)), linear-gradient(135deg, #1d4ed8, #0f172a 62%, #06b6d4);
}

body.login-page .login-showcase__poster--two {
  background-image: linear-gradient(180deg, rgba(8, 15, 26, 0.12), rgba(8, 15, 26, 0.56)), linear-gradient(135deg, #7c3aed, #111827 58%, #0ea5e9);
}

body.login-page .login-showcase__poster--three {
  background-image: linear-gradient(180deg, rgba(8, 15, 26, 0.12), rgba(8, 15, 26, 0.56)), linear-gradient(135deg, #0f766e, #0f172a 62%, #2563eb);
}

body.login-page .login-showcase__poster--four {
  background-image: linear-gradient(180deg, rgba(8, 15, 26, 0.12), rgba(8, 15, 26, 0.56)), linear-gradient(135deg, #111827, #1d4ed8 52%, #312e81);
}

body.login-page .login-showcase__poster--five {
  background-image: linear-gradient(180deg, rgba(8, 15, 26, 0.12), rgba(8, 15, 26, 0.56)), linear-gradient(135deg, #0f172a, #0f766e 56%, #38bdf8);
}

body.login-page .login-showcase__poster--six {
  background-image: linear-gradient(180deg, rgba(8, 15, 26, 0.12), rgba(8, 15, 26, 0.56)), linear-gradient(135deg, #312e81, #111827 60%, #7c3aed);
}

body.login-page .login-showcase__poster--seven {
  background-image: linear-gradient(180deg, rgba(8, 15, 26, 0.12), rgba(8, 15, 26, 0.56)), linear-gradient(135deg, #1e293b, #0ea5e9 54%, #1d4ed8);
}

body.login-page .login-showcase__poster--eight {
  background-image: linear-gradient(180deg, rgba(8, 15, 26, 0.12), rgba(8, 15, 26, 0.56)), linear-gradient(135deg, #0f172a, #2563eb 52%, #7c3aed);
}

body.login-page .login-showcase__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 14, 20, 0.46), rgba(11, 14, 20, 0.22) 42%, rgba(11, 14, 20, 0.88)),
    radial-gradient(circle at center, transparent 0%, rgba(11, 14, 20, 0.42) 58%, rgba(11, 14, 20, 0.9) 100%);
}

body.login-page .login-showcase__surface {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

body.login-page .login-showcase__glass {
  display: grid;
  gap: 1.6rem;
  width: min(34rem, 100%);
  padding: clamp(2rem, 3vw, 2.8rem);
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(8, 15, 26, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

body.login-page .login-showcase__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.46rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d6e7ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.login-page .login-showcase__brand {
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

body.login-page .login-panel {
  display: grid;
  align-content: center;
  gap: 1.2rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #0b0e14;
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
}

body.login-page .login-panel::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  filter: blur(90px);
  pointer-events: none;
}

body.login-page .login-panel::after {
  content: '';
  position: absolute;
  bottom: -22%;
  left: -18%;
  width: 20rem;
  height: 20rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
  filter: blur(90px);
  pointer-events: none;
}

body.login-page .login-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
}

body.login-page .login-toolbar__control {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.55rem;
  padding: 0.56rem 0.82rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #e5edf8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

body.login-page .login-toolbar__control:hover,
body.login-page .login-toolbar__control:focus {
  border-color: rgba(96, 165, 250, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

body.login-page .login-toolbar .dropdown-menu {
  min-width: 12rem;
}

body.login-page .login-card {
  position: relative;
  z-index: 1;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

body.login-page .login-card__header {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}

body.login-page .login-card__title {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #ffffff;
}

body.login-page .login-card__summary,
body.login-page .login-showcase__summary {
  color: rgba(209, 219, 234, 0.72);
}

body.login-page .login-card__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.12);
  color: #8ae8ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.login-page .login-form {
  display: grid;
  gap: 0.9rem;
}

body.login-page .login-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.2rem 0.3rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body.login-page .login-field:focus-within {
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow:
    0 0 0 4px rgba(34, 211, 238, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.login-page .login-field__icon,
body.login-page .login-field__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  color: rgba(117, 134, 157, 0.96);
  background: transparent;
  border: 0;
}

body.login-page .login-field__toggle {
  cursor: pointer;
}

body.login-page .login-field .form-control {
  min-width: 0;
  padding: 0.95rem 0.2rem;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

body.login-page .login-field .form-control::placeholder {
  color: rgba(124, 140, 162, 0.86);
}

body.login-page .login-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.4rem;
  margin-top: 0.35rem;
  border-radius: 1.05rem;
  background: linear-gradient(135deg, #0891b2, #2563eb);
  border: 0;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.24);
}

body.login-page .login-submit:hover,
body.login-page .login-submit:focus {
  transform: translateY(-1px);
  filter: saturate(110%);
}

body.login-page .login-card__footer {
  display: flex;
  justify-content: center;
  margin-top: 1.2rem;
  color: rgba(117, 134, 157, 0.84);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.login-page .alert-danger {
  border-radius: 1rem;
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.18);
  color: #fecaca;
}

body.login-page .login-showcase__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10rem;
  height: 4.4rem;
  position: relative;
}

body.login-page .login-showcase__logo::before {
  content: '';
  position: absolute;
  inset: 0.35rem 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.24), rgba(124, 58, 237, 0.16));
  filter: blur(26px);
  opacity: 0.7;
}

body.login-page .login-showcase__logo img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.12));
}

body.login-page .login-showcase__copy {
  display: grid;
  gap: 0.85rem;
}

body.login-page .login-showcase__title {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffffff;
}

body.login-page .login-showcase__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.login-page .login-feature-card {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
}

body.login-page .login-feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  color: #67e8f9;
  font-size: 0.95rem;
}

body.login-page .login-feature-card__copy {
  display: grid;
  gap: 0.12rem;
}

body.login-page .login-feature-card__copy strong {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
}

body.login-page .login-feature-card__copy p {
  margin: 0;
  color: rgba(148, 163, 184, 0.82);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  body.login-page .login-stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  body.login-page .login-showcase {
    min-height: 32rem;
  }

  body.login-page .login-showcase__surface {
    min-height: auto;
  }

  body.login-page .login-panel {
    align-content: stretch;
  }
}

@media (max-width: 767.98px) {
  body.login-page .login-shell {
    padding: 0.8rem;
  }

  body.login-page .login-stage {
    gap: 0.85rem;
  }

  body.login-page .login-showcase,
  body.login-page .login-panel,
  body.login-page .login-card,
  body.login-page .login-showcase__glass {
    border-radius: 1.5rem;
  }

  body.login-page .login-showcase {
    min-height: 26rem;
  }

  body.login-page .login-showcase__wall {
    gap: 0.72rem;
  }

  body.login-page .login-showcase__wall-column {
    gap: 0.72rem;
  }

  body.login-page .login-showcase__poster {
    min-height: 8.8rem;
    border-radius: 1rem;
  }

  body.login-page .login-showcase__surface {
    padding: 1.25rem;
  }

  body.login-page .login-showcase__glass {
    gap: 1.15rem;
    padding: 1.35rem;
  }

  body.login-page .login-toolbar {
    justify-content: space-between;
  }

  body.login-page .login-toolbar__control {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    padding-inline: 0.6rem;
  }

  body.login-page .login-card {
    padding: 1.2rem;
  }

  body.login-page .login-card__title {
    font-size: 1.65rem;
  }

  body.login-page .login-showcase__grid {
    display: grid;
    gap: 0.7rem;
    justify-content: stretch;
  }

  body.login-page .login-feature-card {
    padding: 0.72rem 0.78rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  body.login-page .login-field {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.45rem;
  }

  body.login-page .login-field__icon,
  body.login-page .login-field__toggle {
    width: 2.45rem;
    height: 2.45rem;
  }

  body.login-page .login-submit {
    min-height: 3.15rem;
  }
}

@keyframes login-wall-scroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-12%);
  }
}

/* Single-card login refinement */
body.login-page {
  color: var(--future-ink);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--future-primary) 16%, transparent), transparent 28%),
    radial-gradient(circle at bottom right, color-mix(in srgb, var(--future-secondary) 15%, transparent), transparent 30%),
    linear-gradient(180deg, var(--future-page-bg) 0%, color-mix(in srgb, var(--future-page-bg-deep) 82%, #000000 18%) 100%);
}

body.login-page .login-shell__orb {
  opacity: 0.5;
  filter: blur(96px);
}

body.login-page .login-stage {
  grid-template-columns: minmax(320px, 560px);
  justify-content: center;
  align-items: center;
}

body.login-page .login-showcase {
  display: none;
}

body.login-page .login-panel {
  padding: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

body.login-page .login-panel::before,
body.login-page .login-panel::after {
  display: none;
}

body.login-page .login-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  background: linear-gradient(180deg, var(--future-shell-glass-strong), var(--future-shell-glass));
  border: 1px solid var(--future-shell-border-soft);
  box-shadow:
    0 26px 60px rgba(7, 10, 18, 0.18),
    inset 0 1px 0 color-mix(in srgb, var(--future-text) 10%, transparent);
  backdrop-filter: blur(28px) saturate(135%);
  -webkit-backdrop-filter: blur(28px) saturate(135%);
}

body.login-page .login-toolbar {
  margin-bottom: 1.25rem;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

body.login-page .login-toolbar__control {
  min-height: 2.7rem;
  border-radius: 1rem;
  border-color: var(--future-module-border);
  background: linear-gradient(180deg, var(--future-module-glass-strong), var(--future-module-glass));
  color: var(--future-ink);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--future-text) 8%, transparent),
    0 10px 24px rgba(9, 15, 25, 0.08);
}

body.login-page .login-toolbar__control:hover,
body.login-page .login-toolbar__control:focus,
body.login-page .login-toolbar__control:active {
  color: var(--future-ink);
  border-color: color-mix(in srgb, var(--future-primary) 28%, var(--future-module-border));
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--future-module-glass-strong) 84%, var(--future-primary) 16%),
    color-mix(in srgb, var(--future-module-glass) 88%, var(--future-primary) 12%)
  );
}

body.login-page .login-toolbar .dropdown-menu {
  border: 1px solid var(--future-module-border);
  background: linear-gradient(180deg, var(--future-shell-glass-strong), var(--future-shell-glass));
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 22px 48px rgba(6, 11, 20, 0.18);
}

body.login-page .login-toolbar .dropdown-item {
  color: var(--future-ink);
}

body.login-page .login-toolbar .dropdown-item:hover,
body.login-page .login-toolbar .dropdown-item:focus,
body.login-page .login-toolbar .dropdown-item.active {
  color: var(--future-ink);
  background: color-mix(in srgb, var(--future-primary) 12%, transparent);
}

body.login-page .login-card__header {
  text-align: center;
  justify-items: center;
}

body.login-page .login-card__brand {
  display: flex;
  justify-content: center;
  margin-bottom: 0.2rem;
}

body.login-page .login-card__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8.5rem;
  height: 4rem;
  position: relative;
}

body.login-page .login-card__logo::before {
  content: '';
  position: absolute;
  inset: 0.3rem 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--future-primary) 18%, transparent),
    color-mix(in srgb, var(--future-secondary) 18%, transparent)
  );
  filter: blur(22px);
  opacity: 0.75;
}

body.login-page .login-card__logo img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

body.login-page .login-card__summary {
  max-width: 28rem;
  color: var(--future-ink-soft);
}

body.login-page .login-card__title {
  color: var(--future-ink);
}

body.login-page .login-card__eyebrow {
  background: color-mix(in srgb, var(--future-primary) 14%, transparent);
  border-color: color-mix(in srgb, var(--future-primary) 20%, transparent);
  color: color-mix(in srgb, var(--future-primary) 60%, var(--future-text) 40%);
}

body.login-page .login-field {
  border-color: var(--future-module-border);
  background: linear-gradient(180deg, var(--future-module-glass-strong), var(--future-module-glass));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--future-text) 6%, transparent);
}

body.login-page .login-field:focus-within {
  border-color: color-mix(in srgb, var(--future-primary) 28%, var(--future-module-border));
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--future-primary) 10%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--future-text) 8%, transparent);
}

body.login-page .login-field__icon,
body.login-page .login-field__toggle {
  color: var(--future-muted);
}

body.login-page .login-field .form-control {
  color: var(--future-ink) !important;
}

body.login-page .login-field .form-control::placeholder {
  color: color-mix(in srgb, var(--future-muted) 82%, transparent);
}

body.login-page .login-submit {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--future-primary) 84%, #ffffff 16%),
    color-mix(in srgb, var(--future-secondary) 68%, var(--future-primary) 32%)
  );
  box-shadow: 0 18px 36px color-mix(in srgb, var(--future-primary) 26%, transparent);
}

body.login-page .login-card__footer {
  color: var(--future-muted);
}

body.login-page .alert-danger {
  background: color-mix(in srgb, #ef4444 14%, var(--future-shell-glass));
  border-color: color-mix(in srgb, #ef4444 24%, var(--future-shell-border-soft));
  color: color-mix(in srgb, #ef4444 58%, var(--future-text) 42%);
}

html.dark body.login-page,
html.theme-midnight body.login-page,
html.theme-darkblue body.login-page {
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--future-primary) 20%, transparent), transparent 24%),
    radial-gradient(circle at bottom right, color-mix(in srgb, var(--future-secondary) 18%, transparent), transparent 28%),
    linear-gradient(180deg, var(--future-page-bg) 0%, color-mix(in srgb, var(--future-page-bg-deep) 78%, #000000 22%) 100%);
}

html.dark body.login-page .login-card,
html.theme-midnight body.login-page .login-card,
html.theme-darkblue body.login-page .login-card {
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (max-width: 767.98px) {
  body.login-page .login-stage {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 1.6rem);
  }

  body.login-page .login-toolbar {
    margin-bottom: 1rem;
    justify-content: stretch;
  }

  body.login-page .login-toolbar > .dropdown {
    flex: 1 1 100%;
  }

  body.login-page .login-toolbar__control {
    width: 100%;
    justify-content: space-between;
  }

  body.login-page .login-card__logo {
    width: 7.4rem;
    height: 3.6rem;
  }
}
