@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --sx-bg: #030304;
  --sx-bg-2: #090a0d;
  --sx-surface: rgba(16, 18, 24, 0.46);
  --sx-surface-2: rgba(18, 20, 28, 0.64);
  --sx-surface-3: rgba(255, 255, 255, 0.08);
  --sx-border: rgba(255, 255, 255, 0.12);
  --sx-border-strong: rgba(255, 255, 255, 0.18);
  --sx-text: #f5f7fb;
  --sx-text-soft: #d6dcef;
  --sx-text-muted: #8b93a9;
  --sx-ruby: #ff4d6d;
  --sx-ruby-2: #e22857;
  --sx-ruby-3: #c21746;
  --sx-ruby-soft: rgba(255, 77, 109, 0.18);
  --sx-ice: rgba(190, 220, 255, 0.18);
  --sx-green: #6fd3a6;
  --sx-yellow: #f0c574;
  --sx-radius-xl: 30px;
  --sx-radius-lg: 24px;
  --sx-radius-md: 18px;
  --sx-radius-sm: 14px;
  --sx-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --sx-shadow-soft: 0 16px 44px rgba(0, 0, 0, 0.28);
}

html,
body {
  min-height: 100%;
}

body.sx-body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 77, 109, 0.18), transparent 22%),
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.08), transparent 20%),
    radial-gradient(circle at 50% 120%, rgba(115, 152, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #030304 0%, #06070a 48%, #020203 100%);
  color: var(--sx-text);
  font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.sx-body,
body.sx-body .table,
body.sx-body .dropdown-menu,
body.sx-body .popover,
body.sx-body .tooltip,
body.sx-body .modal-content {
  color: var(--sx-text);
}

body.sx-body a {
  color: var(--sx-text);
  transition: color .22s ease, opacity .22s ease, transform .22s ease, border-color .22s ease, background-color .22s ease, box-shadow .22s ease;
}

body.sx-body a:hover,
body.sx-body a:focus {
  color: #fff;
  text-decoration: none;
}

body.sx-body img {
  max-width: 100%;
}


body.sx-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(360px circle at var(--sx-mx, 50%) var(--sx-my, 22%), rgba(255,255,255,.08), transparent 44%),
    radial-gradient(300px circle at var(--sx-mx, 50%) calc(var(--sx-my, 22%) + 8%), rgba(255,77,109,.06), transparent 48%);
  z-index: 1;
}

body.sx-body .container {
  position: relative;
  z-index: 2;
}

.sx-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sx-bg__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), rgba(0,0,0,.12));
}

.sx-bg__glow {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(44px);
  opacity: .72;
}

.sx-bg__glow--left {
  width: 360px;
  height: 360px;
  left: -110px;
  top: 50px;
  background: radial-gradient(circle, rgba(255, 77, 109, 0.34), transparent 68%);
}

.sx-bg__glow--right {
  width: 440px;
  height: 440px;
  right: -120px;
  top: 120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
}

.sx-bg__glow--top {
  width: 280px;
  height: 280px;
  left: 42%;
  top: -90px;
  background: radial-gradient(circle, rgba(180, 220, 255, 0.18), transparent 72%);
}

.sx-bg__glow--bottom {
  width: 420px;
  height: 420px;
  left: 28%;
  bottom: -160px;
  background: radial-gradient(circle, rgba(194, 18, 70, 0.18), transparent 72%);
}

.sx-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 18px;
}

.sx-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 16px 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.08)),
    rgba(12, 14, 19, 0.52);
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 18px 54px rgba(0, 0, 0, 0.28);
}

.sx-is-scrolled .sx-header__bar {
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.08)),
    rgba(10, 12, 17, 0.72);
  border-color: rgba(255,255,255,.16);
}

.sx-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.sx-brand__logo {
  max-height: 42px;
  width: auto;
}

.sx-brand__mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.06)),
    linear-gradient(135deg, rgba(255,77,109,.26), rgba(194,23,70,.1));
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.2),
    0 16px 36px rgba(194, 23, 70, 0.18);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: .08em;
}

.sx-brand__copy {
  display: inline-flex;
  flex-direction: column;
  min-width: 0;
}

.sx-brand__name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .02em;
}

.sx-brand__tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--sx-text-muted);
}

.sx-nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex: 1;
}

.sx-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sx-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 15px;
  border-radius: 14px;
  color: var(--sx-text-soft);
  font-size: 13px;
  font-weight: 600;
}

.sx-nav__item.is-active .sx-nav__link,
.sx-nav__link:hover,
.sx-nav__link:focus {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.08)),
    rgba(255,255,255,.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 10px 24px rgba(0,0,0,.16);
}

.sx-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.sx-btn {
  border-radius: 14px !important;
  padding: 11px 18px !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
  border: 1px solid transparent !important;
  box-shadow: none !important;
}

.sx-btn--solid,
body.sx-body .btn.btn-primary,
body.sx-body .btn-primary {
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.04)),
    linear-gradient(135deg, #ff5f7d 0%, #d61d4f 60%, #b51140 100%) !important;
  border-color: rgba(255,255,255,.14) !important;
  color: #fff !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    0 20px 40px rgba(214, 29, 79, 0.24) !important;
}

.sx-btn--solid:hover,
body.sx-body .btn.btn-primary:hover,
body.sx-body .btn-primary:hover,
.sx-btn--solid:focus,
body.sx-body .btn.btn-primary:focus,
body.sx-body .btn-primary:focus {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.sx-btn--ghost,
body.sx-body .btn-default,
body.sx-body .btn.btn-default {
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.08)),
    rgba(255,255,255,.03) !important;
  border-color: rgba(255,255,255,.12) !important;
  color: var(--sx-text) !important;
  backdrop-filter: blur(18px) saturate(150%);
}

.sx-btn--ghost:hover,
body.sx-body .btn-default:hover,
body.sx-body .btn.btn-default:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.06)),
    rgba(255,255,255,.04) !important;
  border-color: rgba(255,255,255,.18) !important;
}

.sx-btn--pill {
  padding-inline: 14px !important;
}

.sx-balance-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04)),
    rgba(255,255,255,.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}

.sx-balance-chip__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--sx-text-muted);
}

.sx-balance-chip__value {
  font-size: 14px;
  font-weight: 700;
}

.sx-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04)),
    rgba(255,255,255,.03);
  backdrop-filter: blur(18px);
}

.sx-nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform .22s ease, opacity .22s ease;
}

.sx-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sx-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.sx-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sx-main {
  padding: 24px 0 48px;
}

.sx-main__inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: var(--sx-text-soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.sx-hero,
.sx-auth-hero {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
}

.sx-hero__copy,
.sx-hero__panel,
.sx-auth-hero__copy,
.sx-auth-hero__visual,
.sx-dashboard-strip,
.sx-page-head,
.sx-content-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--sx-radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04)),
    rgba(14, 16, 22, 0.5);
  backdrop-filter: blur(28px) saturate(175%);
  -webkit-backdrop-filter: blur(28px) saturate(175%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 24px 80px rgba(0,0,0,.28);
}

.sx-hero__copy,
.sx-auth-hero__copy {
  padding: 36px;
}

.sx-hero__title,
.sx-auth-hero__title {
  margin: 18px 0 14px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 800;
}

.sx-hero__text,
.sx-auth-hero__text,
.sx-page-head__text,
.sx-preview-card__text,
.sx-footer__text {
  color: var(--sx-text-soft);
}

.sx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.sx-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.sx-chip,
.sx-order-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  color: var(--sx-text-soft);
  font-size: 12px;
  font-weight: 700;
}

.sx-hero__panel,
.sx-auth-hero__visual {
  padding: 22px;
}

.sx-preview-card,
.sx-auth-visual-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.08)),
    rgba(255,255,255,.03);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 18px 36px rgba(0,0,0,.16);
}

.sx-preview-card--main {
  padding: 22px;
  margin-bottom: 16px;
}

.sx-preview-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.sx-preview-card__badge,
.sx-preview-card__status,
.sx-preview-card__micro {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sx-preview-card__badge,
.sx-preview-card__micro {
  background: rgba(255,255,255,.04);
  color: var(--sx-text-soft);
}


.sx-hero__copy > *,
.sx-hero__panel > *,
.sx-auth-hero__copy > *,
.sx-auth-hero__visual > *,
.sx-dashboard-strip > *,
.sx-page-head > *,
.sx-content-shell > *,
.sx-preview-card > *,
.sx-auth-visual-card > * {
  position: relative;
  z-index: 1;
}

.sx-preview-card__status {
  background: rgba(103,188,148,.14);
  color: #9cd5b8;
}

.sx-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sx-mini-stat,
.sx-dashboard-strip__item,
body.sx-body .panel,
body.sx-body .well,
body.sx-body .list-group-item,
body.sx-body .card,
body.sx-body .ticket,
body.sx-body .order-box,
body.sx-body .service-item,
body.sx-body .search-dropdown,
body.sx-body .dropdown-menu,
body.sx-body .modal-content,
body.sx-body .alert,
body.sx-body .table-responsive,
body.sx-body .pagination > li > a,
body.sx-body .pagination > li > span,
body.sx-body .nav-tabs > li > a,
body.sx-body .tab-content,
body.sx-body .input-group-addon,
body.sx-body .form-control,
body.sx-body .select2-selection,
body.sx-body .select2-dropdown {
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: var(--sx-radius-md) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.08)),
    rgba(255,255,255,.03) !important;
  color: var(--sx-text) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14) !important;
  backdrop-filter: blur(22px) saturate(150%);
}

.sx-mini-stat {
  padding: 18px;
}

.sx-mini-stat--wide {
  grid-column: 1 / -1;
}

.sx-mini-stat__label,
.sx-dashboard-strip__label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--sx-text-muted);
}

.sx-mini-stat__value,
.sx-dashboard-strip__value {
  display: block;
  margin-top: 8px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
  font-weight: 800;
}

.sx-order-rail {
  margin-top: 16px;
  padding: 18px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04)),
    rgba(10,12,18,.36);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(22px);
}

.sx-order-rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--sx-text-soft);
  font-weight: 600;
}

.sx-order-rail__line {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,77,109,.92), rgba(255,255,255,.12));
  margin-bottom: 14px;
}

.sx-order-rail__items,
.sx-preview-stack {
  display: grid;
  gap: 12px;
}

.sx-preview-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sx-preview-stack .sx-preview-card {
  padding: 18px;
}

.sx-preview-card__title {
  display: block;
  margin: 10px 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.sx-auth-visual-card {
  padding: 24px;
  min-height: 100%;
}

.sx-auth-visual-card__row {
  height: 56px;
  border-radius: 16px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}

.sx-auth-visual-card__row--accent {
  background: linear-gradient(90deg, rgba(255,77,109,.34), rgba(255,255,255,.12));
}

.sx-auth-visual-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.sx-auth-visual-card__grid span {
  display: block;
  min-height: 120px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
}

.sx-dashboard-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 16px;
}

.sx-dashboard-strip__item {
  padding: 18px 20px;
}

.sx-page-head {
  padding: 28px 30px;
}

.sx-page-head__title {
  margin: 16px 0 8px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.03em;
}

.sx-content-shell {
  padding: 24px;
}

.sx-hero__copy::before,
.sx-hero__panel::before,
.sx-auth-hero__copy::before,
.sx-auth-hero__visual::before,
.sx-dashboard-strip::before,
.sx-page-head::before,
.sx-content-shell::before,
.sx-preview-card::before,
.sx-auth-visual-card::before,
body.sx-body .panel::before,
body.sx-body .well::before,
body.sx-body .card::before,
body.sx-body .modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,.18), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 22%);
  opacity: .8;
}

.sx-hero__copy::after,
.sx-hero__panel::after,
.sx-auth-hero__copy::after,
.sx-auth-hero__visual::after,
.sx-dashboard-strip::after,
.sx-page-head::after,
.sx-content-shell::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 77, 109, .12), transparent 68%);
  filter: blur(10px);
}

.sx-preview-card__status {
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.06)),
    rgba(111,211,166,.14);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}

.sx-chip,
.sx-order-pill,
.sx-preview-card__badge,
.sx-preview-card__micro,
.sx-eyebrow {
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.05)),
    rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}

.sx-order-pill {
  color: #eef2ff;
}

body.sx-body .form-control::placeholder,
body.sx-body input::placeholder,
body.sx-body textarea::placeholder {
  color: rgba(214, 220, 239, .62);
}

body.sx-body .form-control,
body.sx-body input,
body.sx-body textarea,
body.sx-body select,
body.sx-body .select2-selection {
  backdrop-filter: blur(18px);
}

body.sx-body .form-control:focus,
body.sx-body input:focus,
body.sx-body textarea:focus,
body.sx-body select:focus,
body.sx-body .select2-container--default.select2-container--focus .select2-selection--single,
body.sx-body .select2-container--default.select2-container--focus .select2-selection--multiple {
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.06)),
    rgba(255,255,255,.05) !important;
}

body.sx-body .panel-heading,
body.sx-body .panel-footer,
body.sx-body .well-header,
body.sx-body .card-header,
body.sx-body .modal-header,
body.sx-body .modal-footer,
body.sx-body .table thead th {
  backdrop-filter: blur(18px);
}

.sx-footer__inner {
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.05)),
    rgba(12, 14, 18, 0.5);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 18px 52px rgba(0,0,0,.22);
}

.sx-brand,
.sx-hero__copy,
.sx-hero__panel,
.sx-auth-hero__copy,
.sx-auth-hero__visual,
.sx-dashboard-strip,
.sx-page-head,
.sx-content-shell,
.sx-preview-card,
.sx-auth-visual-card {
  transform: translateZ(0);
}

body.sx-body .panel-heading,
body.sx-body .panel-footer,
body.sx-body .well-header,
body.sx-body .card-header,
body.sx-body .modal-header,
body.sx-body .modal-footer,
body.sx-body .table thead th {
  background: rgba(255,255,255,.08) !important;
  color: var(--sx-text) !important;
  border-color: rgba(255,255,255,.06) !important;
}

body.sx-body .panel-body,
body.sx-body .well,
body.sx-body .card-body,
body.sx-body .modal-body,
body.sx-body .table tbody td {
  color: var(--sx-text) !important;
  border-color: rgba(255,255,255,.06) !important;
}

body.sx-body .table {
  overflow: hidden;
}

body.sx-body .table > thead > tr > th,
body.sx-body .table > tbody > tr > td,
body.sx-body .table > tbody > tr > th {
  border-color: rgba(255,255,255,.06) !important;
}

body.sx-body .table-striped > tbody > tr:nth-of-type(odd) {
  background: rgba(255,255,255,.02) !important;
}

body.sx-body .form-control,
body.sx-body input,
body.sx-body textarea,
body.sx-body select {
  min-height: 46px;
  padding: 10px 14px;
}

body.sx-body textarea.form-control,
body.sx-body textarea {
  min-height: 120px;
}

body.sx-body .form-control:focus,
body.sx-body input:focus,
body.sx-body textarea:focus,
body.sx-body select:focus,
body.sx-body .select2-container--default.select2-container--focus .select2-selection--single,
body.sx-body .select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: rgba(255,77,109,.62) !important;
  box-shadow: 0 0 0 4px rgba(255,77,109,.14) !important;
}

body.sx-body label,
body.sx-body .control-label,
body.sx-body .help-block,
body.sx-body .text-muted,
body.sx-body small {
  color: var(--sx-text-soft) !important;
}

body.sx-body .badge,
body.sx-body .label,
body.sx-body .status,
body.sx-body .order-status,
body.sx-body .label-default {
  border-radius: 999px !important;
  padding: 7px 10px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background: rgba(255,255,255,.08) !important;
  color: var(--sx-text) !important;
}

body.sx-body .label-success,
body.sx-body .badge-success,
body.sx-body .alert-success {
  background: rgba(103,188,148,.12) !important;
  border-color: rgba(103,188,148,.24) !important;
  color: #98d6b3 !important;
}

body.sx-body .label-danger,
body.sx-body .badge-danger,
body.sx-body .alert-danger,
body.sx-body .alert-error,
body.sx-body .has-error .help-block {
  background: rgba(255,77,109,.12) !important;
  border-color: rgba(255,77,109,.24) !important;
  color: #ebb0b8 !important;
}

body.sx-body .alert-warning,
body.sx-body .label-warning,
body.sx-body .badge-warning {
  background: rgba(211,174,106,.12) !important;
  border-color: rgba(211,174,106,.26) !important;
  color: #e8ca95 !important;
}

body.sx-body .nav-tabs {
  border-bottom: 0 !important;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

body.sx-body .nav-tabs > li {
  margin-bottom: 0 !important;
}

body.sx-body .nav-tabs > li > a {
  margin-right: 0 !important;
  padding: 10px 14px !important;
  color: var(--sx-text-soft) !important;
}

body.sx-body .nav-tabs > li.active > a,
body.sx-body .nav-tabs > li.active > a:hover,
body.sx-body .nav-tabs > li.active > a:focus {
  background: linear-gradient(135deg, rgba(255,77,109,.24), rgba(194,23,70,.12)) !important;
  border-color: rgba(255,77,109,.28) !important;
  color: #fff !important;
}

body.sx-body .pagination > li > a,
body.sx-body .pagination > li > span {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sx-text-soft) !important;
}

body.sx-body .pagination > .active > a,
body.sx-body .pagination > .active > span,
body.sx-body .pagination > .active > a:hover,
body.sx-body .pagination > .active > span:hover,
body.sx-body .pagination > .active > a:focus,
body.sx-body .pagination > .active > span:focus {
  background: linear-gradient(135deg, rgba(255,77,109,.3), rgba(194,23,70,.14)) !important;
  border-color: rgba(255,77,109,.3) !important;
  color: #fff !important;
}

body.sx-body .dropdown-menu {
  padding: 8px;
  min-width: 220px;
}

body.sx-body .dropdown-menu > li > a,
body.sx-body .dropdown-menu > li > button {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--sx-text-soft) !important;
}

body.sx-body .dropdown-menu > li > a:hover,
body.sx-body .dropdown-menu > li > a:focus,
body.sx-body .dropdown-menu > .active > a,
body.sx-body .dropdown-menu > .active > a:hover,
body.sx-body .dropdown-menu > .active > a:focus {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
}

body.sx-body .progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.08) !important;
  box-shadow: none !important;
}

body.sx-body .progress-bar {
  background: linear-gradient(90deg, #ff5877, #d11749) !important;
}

body.sx-body .breadcrumb {
  background: transparent !important;
  padding: 0 !important;
}

body.sx-body hr {
  border-top-color: rgba(255,255,255,.08) !important;
}

body.sx-body .close {
  color: #fff !important;
  opacity: .7;
}

body.sx-body .close:hover {
  opacity: 1;
}

.sx-footer {
  padding: 0 0 30px;
}

.sx-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  border: 1px solid var(--sx-border);
  border-radius: 24px;
  background: rgba(12,11,12,.78);
}

.sx-footer__brand {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 800;
}

.sx-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--sx-text-muted);
  font-size: 13px;
}

[data-sx-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}

[data-sx-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .sx-hero,
  .sx-auth-hero {
    grid-template-columns: 1fr;
  }

  .sx-dashboard-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .sx-nav-toggle {
    display: inline-flex;
  }

  .sx-nav-shell {
    position: absolute;
    top: calc(100% + 10px);
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.12);
    background:
      linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06)),
      rgba(10,12,18,.78);
    backdrop-filter: blur(24px) saturate(170%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.16),
      var(--sx-shadow-soft);
  }

  .sx-nav-shell.is-open {
    display: flex;
  }

  .sx-nav__list,
  .sx-header__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sx-header__actions {
    margin-left: 0;
  }

  .sx-header__actions > * {
    width: 100%;
  }

  .sx-balance-chip {
    align-items: stretch;
  }

  .sx-header__bar {
    position: relative;
    padding: 14px 16px;
  }

  .sx-content-shell,
  .sx-hero__copy,
  .sx-auth-hero__copy,
  .sx-page-head {
    padding: 22px;
  }
}

@media (max-width: 767px) {
  .sx-main {
    padding-top: 18px;
  }

  .sx-header {
    padding-top: 12px;
  }

  .sx-dashboard-strip {
    grid-template-columns: 1fr;
  }

  .sx-preview-stack,
  .sx-preview-grid,
  .sx-auth-visual-card__grid {
    grid-template-columns: 1fr;
  }

  .sx-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .sx-hero__title,
  .sx-auth-hero__title,
  .sx-page-head__title {
    letter-spacing: -.03em;
  }
}
