:root {
  color-scheme: dark;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #040b16;
  color: #eaf7ff;
  --bg-1: #040b16;
  --bg-2: #071528;
  --panel: rgba(8, 20, 39, 0.86);
  --panel-2: rgba(11, 29, 56, 0.92);
  --line: rgba(89, 196, 255, 0.16);
  --line-strong: rgba(89, 196, 255, 0.34);
  --cyan: #60e6ff;
  --sky: #41b5ff;
  --blue: #1b6bff;
  --text-soft: #95b8da;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

/* sanex latam redesign */

:root {
  color-scheme: light;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #eef5dd;
  color: #1e2710;
  --bg-1: #eef5dd;
  --bg-2: #f8fbe9;
  --panel: rgba(252, 254, 247, 0.97);
  --panel-2: rgba(246, 250, 234, 0.98);
  --line: rgba(89, 118, 22, 0.14);
  --line-strong: rgba(163, 207, 34, 0.34);
  --cyan: #9cc62b;
  --sky: #b2d33d;
  --blue: #40580f;
  --text-soft: #627149;
  --shadow: 0 24px 60px rgba(72, 93, 20, 0.12);
}

body {
  background:
    radial-gradient(circle at top left, rgba(184, 223, 70, 0.36), transparent 24rem),
    radial-gradient(circle at top right, rgba(64, 88, 15, 0.09), transparent 28rem),
    linear-gradient(180deg, #fbfef1 0%, #ebf3d8 100%);
  color: #1e2710;
}

button {
  border: 1px solid rgba(163, 207, 34, 0.18);
  background: linear-gradient(180deg, #9cc62b 0%, #84af1d 100%);
  color: #f9ffe7;
  font-family: "Sora", "Manrope", ui-sans-serif, sans-serif;
  box-shadow: 0 16px 32px rgba(134, 177, 23, 0.2);
}

button:hover {
  box-shadow: 0 20px 36px rgba(134, 177, 23, 0.26);
}

button::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

button.secondary,
.secondary {
  background: #fffdfb;
  color: #628511;
  border-color: rgba(134, 177, 23, 0.18);
  box-shadow: none;
}

input,
select,
textarea {
  border: 1px solid rgba(94, 116, 34, 0.16);
  background: #fefff9;
  color: #273313;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

label {
  color: #485a28;
}

h1,
h2,
h3,
.sidebar-account-card strong,
.stat strong,
.topbar-title {
  font-family: "Sora", "Manrope", ui-sans-serif, sans-serif;
  color: #24140c;
}

.muted,
.tag {
  color: var(--text-soft);
}

.hero {
  border: 1px solid rgba(100, 128, 23, 0.12);
  background: linear-gradient(135deg, rgba(252, 254, 247, 0.96), rgba(240, 247, 222, 0.94));
  box-shadow: var(--shadow);
}

.brand-block {
  align-items: center;
  gap: 1.3rem;
}

.brand-hero-copy {
  display: grid;
  gap: 0.35rem;
}

.brand-hero-copy h1 {
  margin: 0;
}

.auth-showcase.card,
.auth-card,
.card,
.report-card,
.content-topbar {
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(255, 248, 241, 0.98));
  border: 1px solid rgba(100, 128, 23, 0.12);
  box-shadow: 0 20px 52px rgba(72, 93, 20, 0.1);
  color: #24160f;
}

.auth-showcase {
  background:
    radial-gradient(circle at top right, rgba(184, 223, 70, 0.3), transparent 26rem),
    linear-gradient(180deg, rgba(252, 254, 247, 0.98), rgba(239, 247, 220, 0.98));
}

.sidebar {
  border: 0;
  background: linear-gradient(180deg, #1f260f 0%, #111608 100%);
  box-shadow: 0 24px 64px rgba(24, 31, 10, 0.28);
}

.sidebar-brand {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.sidebar-brand-copy strong,
.sidebar-brand-copy p,
.sidebar-account-card strong,
.sidebar-account-card span,
.sidebar-account-card small,
.nav-group-title,
.nav-pill {
  color: #f0f8d1;
}

.sidebar-account-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.content-topbar {
  position: sticky;
  top: 0.5rem;
}

.global-search input {
  background: #fbfef1;
}

.topbar-summary {
  background: #f4fadc;
  color: #587312;
  border: 1px solid rgba(163, 207, 34, 0.18);
}

.status-dot {
  background: #9cc62b;
}

.nav-pill {
  border-color: transparent;
  background: transparent;
  color: #f6d8c3;
  box-shadow: none;
}

.nav-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: none;
  filter: none;
  box-shadow: none;
}

.nav-pill.active,
.nav-pill.active:hover {
  background: rgba(163, 207, 34, 0.18);
  color: #f7fee1;
  border-color: rgba(184, 223, 70, 0.24);
  box-shadow: none;
}

.nav-pill.active .nav-pill-icon {
  color: #d3f16b;
}

.nav-pill-count {
  background: rgba(163, 207, 34, 0.18);
  color: #f7fee1;
}

.dashboard-section {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.portal-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.72fr);
  gap: 1rem;
}

.portal-main-column,
.portal-side-column {
  display: grid;
  gap: 1rem;
}

.portal-panel {
  padding: 1.2rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(255, 246, 237, 0.98));
  border: 1px solid rgba(100, 128, 23, 0.12);
  box-shadow: 0 20px 52px rgba(72, 93, 20, 0.1);
}

.portal-side-card {
  margin-bottom: 0;
  border-radius: 24px;
}

.portal-summary-stats {
  margin-top: 1rem;
}

.portal-reports-grid {
  margin-top: 1rem;
}

.account-action-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

.stats .stat,
.stat {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(100, 128, 23, 0.12);
  background: linear-gradient(180deg, rgba(252, 254, 247, 0.96), rgba(240, 246, 224, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.stat span,
.stat small {
  color: #836a5b;
}

.report-card {
  background:
    radial-gradient(circle at top right, rgba(184, 223, 70, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(252, 254, 247, 0.98), rgba(244, 249, 232, 0.98));
  border-color: rgba(100, 128, 23, 0.12);
}

.report-kicker {
  color: #84af1d;
}

.chart-bar i {
  background: linear-gradient(180deg, #d2e57d, #94bc22);
  box-shadow: 0 10px 24px rgba(134, 177, 23, 0.18);
}

.chart-bar-value {
  color: #6b3b22;
}

.chart-label {
  color: #9a7e6f;
}

.operation-hero {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
  align-items: center;
}

.operation-gauge {
  position: relative;
  min-height: 220px;
  display: grid;
  align-items: end;
  justify-items: center;
}

.operation-gauge-arc {
  position: absolute;
  inset: 0;
  border-radius: 999px 999px 0 0;
  background: conic-gradient(from 180deg at 50% 100%, #94bc22 calc(var(--operation-progress, 0) * 1%), #dde7c0 0);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 54%, #000 55%, #000 69%, transparent 70%);
  mask: radial-gradient(circle at 50% 100%, transparent 54%, #000 55%, #000 69%, transparent 70%);
}

.operation-gauge-core {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.6rem;
  text-align: center;
}

.operation-gauge-core strong {
  font-size: 2rem;
}

.operation-gauge-core small {
  color: #8a7263;
}

.operation-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.operation-meta-grid article,
.operation-footer-stats div,
.side-card-split div,
.side-card-metrics article,
.referral-meta-card,
.referral-link-card {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(100, 128, 23, 0.12);
}

.operation-meta-grid span,
.operation-footer-stats small,
.side-card-split small,
.side-card-metrics small,
.referral-meta-card small,
.referral-link-card small {
  display: block;
  margin-bottom: 0.3rem;
  color: #8b7465;
  font-size: 0.78rem;
}

.operation-footer-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.package-stack {
  display: grid;
  gap: 0.85rem;
}

.package-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(100, 128, 23, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.package-pill.active {
  border-color: rgba(142, 184, 26, 0.26);
  background: linear-gradient(180deg, rgba(244, 250, 225, 0.98), rgba(252, 254, 247, 0.98));
}

.package-pill strong,
.package-pill span {
  color: #5b2814;
}

.package-pill small {
  display: block;
  margin-top: 0.2rem;
  color: #8c7464;
}

.side-card-kicker {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: #84af1d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-card-value {
  margin: 0.25rem 0 0.8rem;
  font-family: "Sora", "Manrope", ui-sans-serif, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #30180d;
}

.side-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.side-card-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
}

.side-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.side-card-points {
  display: grid;
  gap: 0.2rem;
  margin: 0.2rem 0 0.4rem;
}

.side-card-points-value {
  font-family: "Sora", "Manrope", ui-sans-serif, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #1f1a14;
  line-height: 1;
}

.side-card-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.side-card-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.9rem;
}

.side-card-line span {
  color: #77675c;
}

.side-card-line strong {
  color: #1f1a14;
  font-family: "Sora", "Manrope", ui-sans-serif, sans-serif;
  font-size: 1rem;
}

.side-card-action {
  justify-self: end;
  margin-top: 0.8rem;
  min-width: 126px;
}

.side-card-split,
.side-card-metrics,
.referral-grid {
  display: grid;
  gap: 0.8rem;
}

.side-card-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.side-card-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.side-card-note {
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: #f8fce9;
  border: 1px solid rgba(100, 128, 23, 0.1);
  color: #7d6658;
  word-break: break-word;
}

.binary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: fit-content;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  color: #f7fee1;
  background: linear-gradient(180deg, #6d9611, #40580f);
}

.binary-pill.right,
.referral-meta-card.binary.right {
  background: linear-gradient(180deg, #b8d840, #86b01d);
  color: #f9ffe8;
}

.binary-pill.left,
.referral-meta-card.binary.left {
  background: linear-gradient(180deg, #7da61a, #4f6a11);
  color: #f4ffd9;
}

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

.referral-link-card {
  grid-column: 1 / -1;
}

.referral-link-card code,
.side-card-note,
.withdraw-summary-head code {
  font-size: 0.82rem;
}

.referral-link-card code {
  display: block;
  white-space: normal;
  word-break: break-all;
  color: #5d2d18;
}

.payment-box,
.payment-flow-card,
.payment-success-card,
.withdraw-summary-box,
.withdraw-metric,
.withdraw-rule-note,
.list .item,
.support-thread-card,
.support-message,
.network-level-card,
.network-tree-card,
.order-card,
.product-card,
.cart-summary-card {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(117, 78, 53, 0.1);
  color: #24160f;
}

.support-thread-card.active,
.network-tree-card.expandable[aria-expanded="true"] {
  border-color: rgba(142, 184, 26, 0.28);
  box-shadow: 0 14px 28px rgba(142, 184, 26, 0.12);
}

.ring-metric {
  background:
    radial-gradient(circle at center, #fffaf5 48%, transparent 49%),
    conic-gradient(#94bc22 calc(var(--ring, 0) * 1%), #dde7c0 0);
}

.ring-warning {
  background:
    radial-gradient(circle at center, #fffaf5 48%, transparent 49%),
    conic-gradient(#a4481f calc(var(--ring, 0) * 1%), #f0ddd1 0);
}

.notification-dropdown {
  background: #fffdfb;
  border-color: rgba(117, 78, 53, 0.12);
}

@media (max-width: 1180px) {
  .portal-overview,
  .operation-hero,
  .account-action-grid {
    grid-template-columns: 1fr;
  }

  .portal-side-column {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .portal-side-column,
  .side-card-metrics,
  .operation-footer-stats,
  .referral-grid,
  .operation-meta-grid {
    grid-template-columns: 1fr;
  }

  .portal-panel,
  .portal-side-card {
    padding: 1rem;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(22, 104, 255, 0.28), transparent 28rem),
    radial-gradient(circle at 85% 10%, rgba(96, 230, 255, 0.16), transparent 24rem),
    linear-gradient(180deg, #06111f 0%, #040b16 100%);
}

button,
input,
select {
  font: inherit;
}

button {
  border: 1px solid rgba(96, 230, 255, 0.24);
  border-radius: 18px;
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  background:
    linear-gradient(135deg, rgba(8, 22, 42, 0.98), rgba(14, 61, 146, 0.98)),
    linear-gradient(135deg, rgba(96, 230, 255, 0.46), rgba(27, 107, 255, 0.14));
  color: #fff;
  font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  box-shadow:
    0 0 0 1px rgba(96, 230, 255, 0.1),
    0 0 24px rgba(65, 181, 255, 0.18),
    0 12px 34px rgba(12, 76, 190, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -8px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
  position: relative;
  overflow: hidden;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow:
    0 0 0 1px rgba(96, 230, 255, 0.16),
    0 0 30px rgba(96, 230, 255, 0.2),
    0 18px 42px rgba(12, 76, 190, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -10px 22px rgba(0, 0, 0, 0.32);
}

button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  pointer-events: none;
}

button.secondary {
  background:
    linear-gradient(135deg, rgba(7, 18, 34, 0.96), rgba(9, 30, 58, 0.96)),
    linear-gradient(135deg, rgba(96, 230, 255, 0.16), rgba(27, 107, 255, 0.06));
  border-color: rgba(96, 230, 255, 0.1);
  color: #dff7ff;
}

input,
select {
  width: 100%;
  margin-top: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: #eaf7ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

label {
  display: block;
  color: #b7d7f4;
}

form {
  display: grid;
  gap: 1rem;
}

.toggle-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toggle-line input {
  width: auto;
  margin: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.sidebar-account-card strong,
.stat strong,
.topbar-title {
  font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.page {
  width: min(1520px, calc(100% - 1rem));
  margin: 0 auto;
  padding: 0.5rem 0 1.5rem;
}

.app-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  align-items: start;
  transition: grid-template-columns 0.24s ease;
}

.app-shell.sidebar-collapsed {
  grid-template-columns: 88px minmax(0, 1fr);
}

.app-content {
  min-width: 0;
  display: grid;
  gap: 0.9rem;
  padding-left: 1rem;
}

#accountSection,
#matrixSection,
#transactionsSection,
#userWithdrawSection,
#storeSection {
  border-radius: 24px;
}

.withdraw-grid {
  grid-template-columns: minmax(320px, 0.95fr) minmax(380px, 1fr) minmax(340px, 1.05fr);
  align-items: start;
}

.withdraw-wallet-card,
.withdraw-request-card,
.withdraw-history-card {
  min-height: 100%;
}

.withdraw-wallet-card,
.withdraw-request-card {
  display: grid;
  align-content: start;
}

.withdraw-summary-box {
  padding: 1rem;
  border-radius: 24px;
}

.withdraw-summary-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.withdraw-summary-head code {
  display: block;
  margin-top: 0.35rem;
}

.withdraw-summary-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.withdraw-metric {
  padding: 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(96, 230, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.28rem;
}

.withdraw-metric span {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.withdraw-metric strong {
  font-size: 1.02rem;
}

.withdraw-metric.primary {
  background: linear-gradient(180deg, rgba(10, 40, 79, 0.88), rgba(6, 18, 35, 0.95));
  border-color: rgba(96, 230, 255, 0.16);
}

.withdraw-rule-note {
  margin-top: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 184, 77, 0.18);
  background: rgba(255, 184, 77, 0.06);
  display: grid;
  gap: 0.3rem;
}

.withdraw-rule-note.success {
  border-color: rgba(92, 226, 167, 0.18);
  background: rgba(92, 226, 167, 0.07);
}

.withdraw-history-card {
  overflow: hidden;
}

.withdraw-history-list {
  gap: 0.9rem;
}

.withdraw-history-row {
  display: grid;
  gap: 0.9rem;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.withdraw-history-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.9rem;
}

.withdraw-history-main {
  min-width: 0;
}

.withdraw-history-main strong {
  display: block;
  font-size: 1rem;
}

.withdraw-history-main p {
  margin-top: 0.3rem;
  word-break: break-word;
}

.withdraw-history-metric {
  display: grid;
  gap: 0.22rem;
}

.withdraw-history-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.withdraw-history-top .status-badge {
  flex-shrink: 0;
  text-transform: capitalize;
}

.hero,
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero {
  margin-bottom: 1rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(10, 23, 45, 0.88), rgba(8, 19, 37, 0.68));
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}

.sidebar {
  position: sticky;
  top: 0.5rem;
  display: grid;
  gap: 1rem;
  padding: 1.1rem 0.85rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  border-left: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(4, 6, 11, 0.99), rgba(7, 10, 18, 0.98));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
  min-height: calc(100vh - 1rem);
  transition: padding 0.24s ease, border-radius 0.24s ease;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.15rem 0.25rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-brand-copy {
  display: grid;
  gap: 0.15rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sidebar-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(27, 107, 255, 0.24));
}

.sidebar-logo-large {
  width: 92px;
  height: 92px;
  margin-inline: auto;
  filter: drop-shadow(0 12px 26px rgba(27, 107, 255, 0.24));
}

.sidebar-context {
  display: grid;
  gap: 0.85rem;
}

.sidebar-account-card {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.sidebar-account-card small {
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
}

.sidebar-account-card strong {
  font-size: 0.96rem;
}

.sidebar-account-card span {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.sidebar-primary-action {
  width: 100%;
  justify-content: center;
  border-radius: 14px;
}

.sidebar-logout {
  margin-top: auto;
  border-radius: 14px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  color: #eefcff;
}

.tag,
.muted {
  color: var(--text-soft);
}

.meta-line {
  margin-bottom: 0;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brand-logo {
  width: 104px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(27, 107, 255, 0.18));
}

.top-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-group {
  display: grid;
  gap: 0.55rem;
}

.nav-group-title {
  padding: 0 0.35rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-group-items {
  display: grid;
  gap: 0.5rem;
}

.content-topbar {
  position: sticky;
  top: 0.5rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0;
  padding: 0.95rem 1.1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(17, 18, 26, 0.98), rgba(12, 13, 20, 0.98));
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.content-topbar-main,
.content-topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.notification-center {
  position: relative;
}

.notification-bell {
  min-width: 56px;
  padding-inline: 0;
  position: relative;
}

.notification-bell-icon {
  font-size: 1rem;
}

.notification-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 24px;
  height: 24px;
  padding: 0 0.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff4d6d, #ff1f4d);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(255, 31, 77, 0.35);
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 0.8rem);
  right: 0;
  width: min(380px, 84vw);
  max-height: 460px;
  overflow: auto;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(96, 230, 255, 0.14);
  background: linear-gradient(180deg, rgba(10, 23, 45, 0.98), rgba(6, 16, 31, 0.98));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
}

.notification-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.notification-list {
  display: grid;
  gap: 0.7rem;
}

.notification-item {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(96, 230, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.notification-item.unread {
  border-color: rgba(96, 230, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(96, 230, 255, 0.08);
}

.notification-item p,
.notification-item small {
  margin-bottom: 0;
}

.live-activity-item {
  border-color: rgba(96, 230, 255, 0.2);
}

.topbar-title {
  margin-bottom: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
}

.global-search {
  position: relative;
  min-width: min(520px, 52vw);
  display: block;
}

.global-search input {
  margin-top: 0;
  padding-left: 2.8rem;
  background: rgba(0, 0, 0, 0.36);
  border-color: rgba(255, 255, 255, 0.08);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-soft);
  pointer-events: none;
}

.topbar-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #e7f7ff;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--sky));
  box-shadow: 0 0 18px rgba(96, 230, 255, 0.55);
}

.icon-toggle {
  min-width: 56px;
  padding-inline: 0;
  font-size: 1.1rem;
}

.nav-pill,
.auth-tab {
  min-width: 120px;
  padding-inline: 0.95rem;
}

.nav-pill {
  background: rgba(255, 255, 255, 0.01);
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  text-align: left;
  padding: 0.8rem 0.9rem;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border-radius: 14px;
  border: 1px solid transparent;
  box-shadow: none;
  text-transform: none;
}

.nav-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cyan);
  flex: 0 0 auto;
}

.nav-pill-label {
  white-space: nowrap;
  font-size: 0.9rem;
}

.nav-pill-count {
  margin-left: auto;
  min-width: 24px;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.68rem;
  text-align: center;
}

.nav-pill.active,
.auth-tab.active {
  background: linear-gradient(135deg, rgba(24, 96, 255, 0.96), rgba(27, 107, 255, 0.92));
  color: #ffffff;
  border-color: rgba(98, 163, 255, 0.3);
  box-shadow: 0 12px 28px rgba(24, 96, 255, 0.22);
}

.nav-pill.active .nav-pill-icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(360px, 0.95fr);
  gap: 1rem;
  align-items: stretch;
}

.auth-showcase,
.auth-card {
  min-height: 100%;
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(96, 230, 255, 0.18);
  border-radius: 999px;
  background: rgba(96, 230, 255, 0.08);
  color: var(--cyan);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-showcase h1 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.02;
}

.showcase-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.app-download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 1.25rem 0 0.35rem;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(101, 193, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(8, 15, 28, 0.96), rgba(8, 16, 30, 0.9)),
    radial-gradient(circle at top left, rgba(43, 134, 255, 0.2), transparent 48%);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.app-download-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #65c8ff;
  background: linear-gradient(180deg, rgba(16, 35, 67, 0.98), rgba(7, 16, 32, 0.98));
  border: 1px solid rgba(101, 193, 255, 0.16);
}

.app-download-icon svg {
  width: 30px;
  height: 30px;
}

.app-download-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.app-download-copy strong {
  font-size: 1rem;
}

.app-download-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.download-app-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 12px 18px;
  border-radius: 16px;
  color: #eff7ff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #1664ff, #45c3ff);
  border: 1px solid rgba(95, 199, 255, 0.32);
  box-shadow: 0 16px 38px rgba(22, 101, 255, 0.25);
}

.download-app-btn:hover {
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .app-download-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-app-btn {
    margin-left: 0;
    width: 100%;
  }
}

.showcase-chip {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(96, 230, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.auth-card {
  padding: 1.2rem;
}

.auth-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.auth-pane {
  display: grid;
  gap: 1rem;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.recover-password-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(96, 230, 255, 0.08);
}

.section-head h2 {
  margin-bottom: 0;
}

.register-fee-box {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(96, 230, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(10, 28, 54, 0.86), rgba(7, 51, 112, 0.72)),
    rgba(255, 255, 255, 0.04);
}

#authView.auth-shell {
  min-height: calc(100vh - 3.5rem);
  grid-template-columns: minmax(0, 1.52fr) minmax(430px, 0.78fr);
  gap: 0;
  overflow: hidden;
  border-radius: 38px;
  border: 1px solid rgba(98, 87, 52, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 34px 84px rgba(89, 79, 50, 0.14);
  backdrop-filter: blur(16px);
}

.auth-split-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 2rem;
  min-height: 800px;
  padding: 2.35rem 2.55rem 2.15rem;
  color: #f4ffe0;
  background:
    radial-gradient(circle at 18% 18%, rgba(191, 231, 76, 0.18), transparent 20rem),
    radial-gradient(circle at 76% 24%, rgba(124, 153, 36, 0.14), transparent 16rem),
    linear-gradient(140deg, #24320c 0%, #0f1708 42%, #172109 100%);
}

.auth-split-visual::before {
  content: "";
  position: absolute;
  inset: auto -8% -16% auto;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 198, 43, 0.24), rgba(156, 198, 43, 0));
  filter: blur(22px);
  pointer-events: none;
}

.auth-split-visual::after {
  content: "";
  position: absolute;
  inset: 19% 10% auto auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  border: 1px solid rgba(231, 252, 187, 0.08);
  background: radial-gradient(circle, rgba(163, 207, 34, 0.05), rgba(163, 207, 34, 0));
  pointer-events: none;
}

.auth-visual-top,
.auth-visual-center,
.auth-feature-ribbon {
  position: relative;
  z-index: 1;
}

.auth-visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.auth-visual-brand {
  display: flex;
  align-items: center;
  gap: 0;
}

.auth-visual-logo {
  width: 236px;
  max-width: 48vw;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.22));
}

.auth-visual-brand-copy {
  display: none;
}

.auth-visual-brand-copy strong {
  font-family: "Sora", "Manrope", ui-sans-serif, sans-serif;
  font-size: 1.1rem;
  color: #f2ffe3;
}

.auth-visual-brand-copy span {
  color: rgba(242, 255, 227, 0.72);
  font-size: 0.92rem;
}

.auth-visual-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 0.86rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(238, 251, 209, 0.88);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-visual-center {
  display: grid;
  align-content: start;
  gap: 1.9rem;
  padding-top: 1rem;
}

.auth-visual-copy {
  max-width: 35rem;
}

.auth-visual-copy .muted {
  color: rgba(244, 255, 224, 0.72);
  font-size: 1rem;
  line-height: 1.76;
  max-width: 33rem;
}

.auth-visual-copy h1 {
  margin: 0.8rem 0 0.9rem;
  color: #f7ffe8;
  font-size: clamp(2.6rem, 4.1vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  max-width: 11ch;
  font-weight: 800;
}

.auth-visual-copy::after {
  content: "";
  display: block;
  width: 76px;
  height: 1px;
  margin-top: 1.3rem;
  background: linear-gradient(90deg, rgba(201, 228, 124, 0.65), rgba(201, 228, 124, 0));
}

.auth-visual-stage {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem 1.55rem;
  border-radius: 30px;
  border: 1px solid rgba(241, 255, 211, 0.09);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    radial-gradient(circle at 42% 32%, rgba(181, 225, 60, 0.12), transparent 10rem),
    linear-gradient(180deg, rgba(18, 27, 10, 0.78), rgba(18, 27, 10, 0.4));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.auth-stage-glow {
  position: absolute;
  inset: 10% auto auto 14%;
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 231, 78, 0.34), rgba(192, 231, 78, 0));
  filter: blur(18px);
}

.auth-stage-emblem {
  position: absolute;
  left: 50%;
  top: 44%;
  width: min(34vw, 410px);
  max-width: 420px;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.24));
  pointer-events: none;
}

.auth-stage-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
  max-width: 31rem;
}

.auth-stage-copy span {
  display: inline-flex;
  width: fit-content;
  padding: 0.34rem 0.66rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(239, 254, 210, 0.88);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.auth-stage-copy strong {
  font-family: "Sora", "Manrope", ui-sans-serif, sans-serif;
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
  line-height: 1.16;
  letter-spacing: -0.028em;
  color: #fefef6;
  max-width: 19ch;
}

.auth-stage-copy small {
  color: rgba(244, 255, 224, 0.72);
  font-size: 0.92rem;
  line-height: 1.72;
  max-width: 30rem;
}

.auth-stage-shadow {
  position: absolute;
  right: 1.2rem;
  bottom: -0.35rem;
  font-family: "Sora", "Manrope", ui-sans-serif, sans-serif;
  font-size: clamp(4.5rem, 12vw, 7.4rem);
  line-height: 0.8;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.04);
  user-select: none;
}

.auth-feature-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  padding-top: 0.1rem;
}

.auth-feature-pill {
  display: grid;
  gap: 0.28rem;
  min-height: 88px;
  padding: 0.95rem 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(241, 255, 211, 0.08);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.auth-feature-pill strong {
  color: rgba(246, 255, 228, 0.96);
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 700;
}

.auth-feature-pill span {
  color: rgba(244, 255, 224, 0.66);
  font-size: 0.88rem;
  line-height: 1.6;
}

.auth-panel-shell {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.9rem;
  padding: 1.55rem 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 253, 246, 0.96));
}

.auth-panel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.2rem;
}

.auth-panel-links,
.auth-panel-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.auth-panel-meta {
  color: #8a9075;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.auth-panel-meta span + span {
  position: relative;
}

.auth-panel-meta span + span::before {
  content: "";
  position: absolute;
  left: -0.45rem;
  top: 50%;
  width: 1px;
  height: 0.85rem;
  background: rgba(94, 116, 34, 0.14);
  transform: translateY(-50%);
}

.auth-tab {
  min-width: auto;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: #81866d;
  font-family: "Manrope", ui-sans-serif, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
}

.auth-tab::before {
  display: none;
}

.auth-tab:hover {
  transform: none;
  filter: none;
  box-shadow: none;
  color: #455320;
}

.auth-tab.active {
  color: #211912;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.4rem;
  text-decoration-color: rgba(156, 198, 43, 0.65);
}

.auth-pane-card {
  align-self: center;
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 252, 247, 0.98));
  border: 1px solid rgba(123, 104, 84, 0.08);
  box-shadow:
    0 24px 48px rgba(91, 77, 55, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.auth-pane-heading {
  display: grid;
  gap: 0.35rem;
}

.auth-pane-kicker {
  color: #95ad45;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.auth-pane-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 2.5vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.auth-pane-heading p {
  margin: 0;
  max-width: 36ch;
  font-size: 0.94rem;
  line-height: 1.6;
  color: #7d7569;
}

.auth-form-modern {
  gap: 1.05rem;
}

.auth-form-modern label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: none;
  letter-spacing: -0.01em;
  color: #9ab6e8;
}

.auth-form-modern input {
  min-height: 58px;
  border-radius: 16px;
  padding-inline: 1rem;
  border: 1px solid rgba(123, 104, 84, 0.14);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  color: #2d2218;
}

.auth-form-modern button[type="submit"] {
  min-height: 56px;
  border-radius: 999px;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, rgba(71, 169, 42, 1) 0%, rgba(54, 138, 29, 1) 100%);
  box-shadow: 0 18px 30px rgba(71, 169, 42, 0.22);
}

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

.auth-field-span-2 {
  grid-column: 1 / -1;
}

.auth-info-banner {
  border-radius: 22px;
  border-color: rgba(156, 198, 43, 0.12);
  background:
    linear-gradient(180deg, rgba(251, 253, 241, 0.98), rgba(247, 250, 232, 0.98)),
    rgba(255, 255, 255, 0.8);
  color: #304112;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.auth-info-banner strong {
  color: #22300d;
}

.auth-info-banner span {
  color: #5e6f3f;
}

.auth-link-toggle {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #2b1d14;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18rem;
}

.auth-link-toggle:hover {
  transform: none;
  box-shadow: none;
  color: rgba(71, 169, 42, 1);
}

.auth-recovery-card {
  margin-top: 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(123, 104, 84, 0.08);
}

.auth-pane-footer {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #837a6f;
  font-size: 0.9rem;
}

.auth-inline-link {
  color: #9cc62b;
  font-weight: 700;
}

.auth-inline-link.active {
  text-decoration: underline;
}

@media (max-width: 1180px) {
  #authView.auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-split-visual {
    min-height: 620px;
    padding-bottom: 1.8rem;
  }
}

@media (max-width: 760px) {
  .auth-split-visual {
    min-height: auto;
    padding: 1.35rem;
  }

  .auth-panel-shell {
    padding: 1rem;
  }

  .auth-panel-topbar,
  .auth-visual-top,
  .auth-pane-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-feature-ribbon,
  .auth-form-grid {
    grid-template-columns: 1fr;
  }

  .auth-stage-shadow {
    font-size: 4.5rem;
  }
}

.referral-card {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.account-action-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 1rem;
  margin-top: 1rem;
  align-items: start;
}

.account-action-grid > .card,
.account-action-grid > .referral-card {
  margin-bottom: 0;
}

.account-register-card {
  display: grid;
  gap: 1rem;
  border-color: rgba(96, 230, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(96, 230, 255, 0.09), transparent 30%),
    linear-gradient(180deg, rgba(13, 16, 24, 0.98), rgba(7, 9, 15, 0.98));
}

.account-register-card .toolbar h3,
.referral-card h3 {
  font-size: 1rem;
  margin-bottom: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.card {
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(14, 16, 24, 0.98), rgba(8, 10, 16, 0.98));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.report-card {
  grid-column: span 4;
  border: 1px solid rgba(96, 230, 255, 0.12);
  border-radius: 22px;
  padding: 1rem;
  background:
    radial-gradient(circle at top right, rgba(96, 230, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(12, 29, 56, 0.92), rgba(7, 16, 32, 0.96));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 1rem;
}

.report-card-wide {
  grid-column: span 8;
}

.report-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.report-head h3 {
  margin-bottom: 0;
  font-size: 1rem;
}

.report-kicker {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 0.7rem;
  min-height: 180px;
}

.labeled-bars {
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
}

.chart-bar {
  height: 100%;
  display: flex;
  align-items: end;
}

.chart-bar-group {
  display: grid;
  gap: 0.45rem;
  align-items: end;
}

.chart-bar i {
  width: 100%;
  display: block;
  border-radius: 16px 16px 8px 8px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 24px rgba(27, 107, 255, 0.24);
}

.chart-bar-value,
.chart-label {
  display: block;
  text-align: center;
}

.chart-bar-value {
  color: #f4fbff;
  font-size: 0.72rem;
}

.chart-label {
  color: var(--text-soft);
  font-size: 0.7rem;
}

.sparkline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 0.55rem;
  min-height: 110px;
}

.sparkline i {
  display: block;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, rgba(96, 230, 255, 0.35), rgba(27, 107, 255, 0.98));
}

.timeline-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
  align-items: end;
  gap: 0.65rem;
  min-height: 180px;
}

.timeline-point {
  display: grid;
  gap: 0.45rem;
  align-items: end;
  justify-items: center;
}

.timeline-point span {
  width: 100%;
  display: block;
  border-radius: 14px 14px 8px 8px;
  background: linear-gradient(180deg, rgba(96, 230, 255, 0.42), rgba(27, 107, 255, 0.98));
  box-shadow: 0 10px 22px rgba(27, 107, 255, 0.2);
  min-height: 14px;
}

.timeline-point small,
.timeline-point strong {
  text-align: center;
}

.timeline-point small {
  color: var(--text-soft);
  font-size: 0.68rem;
}

.timeline-point strong {
  font-size: 0.72rem;
  color: #f4fbff;
}

.report-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.report-split > div {
  display: grid;
  gap: 0.8rem;
}

.progress-report {
  display: grid;
  gap: 0.9rem;
}

.progress-report-row {
  display: grid;
  gap: 0.45rem;
}

.progress-report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.progress-report-row small {
  color: var(--text-soft);
}

.data-table {
  display: grid;
  gap: 0.55rem;
}

.data-table-head,
.data-table-row {
  display: grid;
  grid-template-columns: minmax(70px, 0.8fr) repeat(3, minmax(90px, 1fr));
  gap: 0.75rem;
  align-items: center;
}

.data-table-head {
  padding: 0.75rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

.data-table-row {
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(96, 230, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.dual-metric {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.dual-metric > div {
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(96, 230, 255, 0.1);
}

.dual-metric strong,
.ring-metric strong {
  display: block;
  font-size: 1.3rem;
  margin-top: 0.2rem;
}

.ring-metric {
  width: 158px;
  height: 158px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(6, 15, 29, 0.96) 0 56px, transparent 57px),
    conic-gradient(var(--cyan) calc(var(--ring, 0) * 1%), rgba(255, 255, 255, 0.08) 0);
  box-shadow: inset 0 0 0 1px rgba(96, 230, 255, 0.1);
}

.ring-warning {
  background:
    radial-gradient(circle at center, rgba(6, 15, 29, 0.96) 0 56px, transparent 57px),
    conic-gradient(#ffb347 calc(var(--ring, 0) * 1%), rgba(255, 255, 255, 0.08) 0);
}

.ring-metric > div {
  text-align: center;
}

.stat {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.02);
}

.stat strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.3rem;
}

.list {
  display: grid;
  gap: 0.75rem;
}

.loading-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(96, 230, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
}

.loading-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(96, 230, 255, 0.55);
  animation: pulseDot 1.1s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(0.9); opacity: 0.65; }
  50% { transform: scale(1.15); opacity: 1; }
}

.admin-users-toolbar {
  margin-top: 0.6rem;
  align-items: end;
}

.admin-users-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.admin-users-controls input {
  min-width: 280px;
  margin-top: 0;
}

.item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.015);
  box-shadow: none;
}

.item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.product-card {
  border: 1px solid rgba(96, 230, 255, 0.12);
  border-radius: 28px;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(10, 25, 49, 0.96), rgba(6, 15, 30, 0.96));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 1rem;
  overflow: hidden;
}

.product-media {
  position: relative;
  min-height: 220px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(96, 230, 255, 0.12);
  background: radial-gradient(circle at 20% 20%, rgba(65, 181, 255, 0.32), transparent 42%), radial-gradient(circle at 78% 18%, rgba(27, 107, 255, 0.24), transparent 34%), linear-gradient(135deg, rgba(8, 20, 39, 0.98), rgba(7, 36, 74, 0.98));
}

.product-media.placeholder {
  display: grid;
  place-items: center;
  color: rgba(230, 247, 255, 0.8);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.product-glow {
  position: absolute;
  inset: auto -10% -40% auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 230, 255, 0.28), transparent 70%);
  pointer-events: none;
}

.product-topline {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.9rem;
}

.product-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(96, 230, 255, 0.16);
  background: rgba(6, 17, 33, 0.76);
  backdrop-filter: blur(10px);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #eafcff;
}

.product-chip.soft {
  color: var(--cyan);
}

.product-body {
  display: grid;
  gap: 0.9rem;
}

.product-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.product-heading h3 {
  margin-bottom: 0.45rem;
  font-size: 1.18rem;
}

.product-price-badge {
  min-width: 124px;
  padding: 0.8rem 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(96, 230, 255, 0.14);
  background: linear-gradient(180deg, rgba(17, 49, 98, 0.7), rgba(7, 18, 35, 0.92));
  text-align: right;
}

.product-price-badge span,
.eyebrow,
.commerce-item-total span,
.order-metrics span,
.payment-callout span,
.payment-meta-card span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-price-badge strong {
  font-size: 1.05rem;
  color: #f2fbff;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(96, 230, 255, 0.08);
}

.product-qty {
  min-width: 118px;
}

.product-qty span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-store-primary {
  min-width: 170px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(96, 230, 255, 0.1);
  border: 1px solid rgba(96, 230, 255, 0.08);
  font-size: 0.9rem;
}

.payment-box {
  margin-top: 1rem;
  border: 1px solid rgba(132, 148, 108, 0.16);
  border-radius: 28px;
  padding: 1.2rem;
  background: linear-gradient(180deg, #fffef9 0%, #f8f6ed 100%);
  box-shadow: 0 18px 40px rgba(83, 69, 40, 0.08);
  color: #2d2418;
}

.payment-box code {
  word-break: break-all;
  font-size: 0.92rem;
  color: #5b4a33;
  background: #f4f1e4;
  padding: 0.2rem 0.35rem;
  border-radius: 10px;
}

.payment-qr {
  display: grid;
  place-items: center;
  margin: 1rem 0 0;
}

.payment-qr img {
  width: 220px;
  height: 220px;
  background: #fff;
  border-radius: 16px;
  padding: 0.5rem;
}

.payment-box-grid {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.payment-box-grid-bank {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

.payment-qr-wrap,
.payment-details {
  border-radius: 22px;
  border: 1px solid rgba(132, 148, 108, 0.14);
  background: rgba(255, 255, 255, 0.82);
  padding: 1rem;
}

.payment-callout {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #526f97 0%, #314661 100%);
  border: 1px solid rgba(70, 92, 124, 0.35);
  color: #fffdf7;
}

.payment-callout span {
  color: rgba(239, 247, 255, 0.78) !important;
}

.payment-callout strong {
  font-size: 1.4rem;
  color: #ffffff;
}

.payment-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.payment-meta-card {
  padding: 0.95rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #faf8ef 100%);
  border: 1px solid rgba(144, 160, 109, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.payment-meta-card strong,
.payment-meta-card code,
.payment-qr-wrap strong,
.payment-details strong {
  color: #2d2418;
}

.payment-box p,
.payment-box .muted,
.payment-box small,
.payment-box label,
.payment-details p,
.payment-details .muted,
.payment-details small,
.payment-details label,
.payment-bank-destination,
.payment-bank-destination .eyebrow,
.payment-meta-card span,
.payment-qr-wrap .eyebrow {
  color: #6b614f !important;
}

.payment-box input,
.payment-box select,
.payment-box textarea {
  color: #241a13 !important;
  -webkit-text-fill-color: #241a13 !important;
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf4 100%) !important;
  border: 1px solid rgba(117, 101, 82, 0.14) !important;
}

.payment-box input::placeholder,
.payment-box textarea::placeholder {
  color: #a19483 !important;
  -webkit-text-fill-color: #a19483 !important;
}

.payment-box select option {
  color: #241a13;
  background: #fffdf7;
}

.payment-bank-destination {
  margin-bottom: 1rem;
  width: 100%;
}

.payment-bank-destination > strong {
  display: block;
  margin-bottom: 0.75rem;
  color: #2d2418;
}

.payment-status {
  margin-top: 1rem;
  border-radius: 18px;
  padding: 0.9rem 1rem;
  background: #fffef8;
  border: 1px solid rgba(144, 160, 109, 0.16);
  display: grid;
  gap: 0.35rem;
}

.payment-status strong {
  font-size: 0.98rem;
}

.payment-status p {
  margin: 0;
  color: #6e6557;
}

.payment-status.pending {
  background: #f2f6ff;
  border-color: rgba(82, 111, 151, 0.28);
}

.payment-status.warning {
  background: #fff8e9;
  border-color: rgba(219, 160, 39, 0.28);
}

.payment-status.expired {
  background: #fff1ef;
  border-color: rgba(213, 102, 82, 0.28);
}

.payment-status.success {
  background: #f3f8ea;
  border: 1px solid rgba(71, 169, 42, 0.28);
}

.compact-card {
  margin-bottom: 0;
}

.step-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.admin-step-tabs {
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  margin-bottom: 1.2rem;
}

.admin-step-tabs .step-tab,
.admin-subtabs .step-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.admin-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background: rgba(96, 230, 255, 0.1);
  border: 1px solid rgba(96, 230, 255, 0.14);
  color: var(--cyan);
  font-size: 0.88rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-step-tabs .step-tab small,
.admin-subtabs .step-tab small {
  min-width: 28px;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  text-align: center;
}

#welcomeTitle,
#adminView h2,
#accountSection h2,
#matrixSection h2,
#transactionsSection h2,
#storeSection h2 {
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  letter-spacing: -0.02em;
}

#userMeta,
#matrixMeta,
#contentEyebrow {
  font-size: 0.8rem;
}

#accountSection .toolbar,
#matrixSection .toolbar,
#storeSection .toolbar {
  align-items: center;
}

#balanceCards + .reports-grid {
  margin-top: 0.75rem;
}

.referral-card .payment-box {
  background: rgba(255, 255, 255, 0.03);
}

.payment-box p {
  margin-bottom: 0.45rem;
}

.payment-success-card {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(10, 48, 32, 0.72), rgba(8, 25, 17, 0.92));
  border: 1px solid rgba(52, 211, 153, 0.24);
}

.payment-success-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 118px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #d9fff1;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.payment-success-card strong {
  font-size: 1.08rem;
}

.payment-success-card p {
  margin: 0;
  color: var(--text-soft);
}

.payment-flow-card {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(96, 230, 255, 0.1);
}

.payment-flow-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.payment-flow-head strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1rem;
  word-break: break-word;
}

.payment-flow-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.32);
  color: #d9ebff;
  font-size: 0.8rem;
  font-weight: 700;
}

.payment-flow-state.warning {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.32);
  color: #ffe8bf;
}

.payment-progress {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(17, 57, 113, 0.72), rgba(9, 23, 44, 0.9));
  border: 1px solid rgba(96, 230, 255, 0.14);
}

.payment-progress strong {
  display: block;
  margin-bottom: 0.2rem;
}

.payment-progress p {
  margin: 0;
  color: var(--text-soft);
}

.payment-progress-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(96, 230, 255, 0.18);
  color: #eefbff;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tx-confirm-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.4rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(96, 230, 255, 0.1);
}

.tx-confirm-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  color: #eef8ff;
}

.tx-confirm-form input {
  width: 100%;
}

.tx-confirm-form button {
  width: 100%;
}

.tx-confirm-form small,
.payment-inline-note {
  color: var(--text-soft);
  line-height: 1.45;
}

.list .item strong {
  font-size: 0.98rem;
}

.treasury-history-item {
  display: grid;
  gap: 0.55rem;
}

.treasury-history-top,
.treasury-history-meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.treasury-history-meta {
  color: var(--text-soft);
  flex-wrap: wrap;
}

.finance-row {
  display: grid;
  grid-template-columns: minmax(200px, 1.4fr) repeat(3, minmax(120px, 1fr));
  gap: 1rem;
  align-items: center;
}

.finance-row small {
  display: block;
  color: var(--text-soft);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.68rem;
}

.finance-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.finance-panel {
  min-width: 0;
}

.finance-panel-wide {
  grid-column: 1 / -1;
}

.finance-detail-row {
  grid-template-columns: minmax(220px, 1.35fr) minmax(130px, 1fr) minmax(150px, 1fr) minmax(110px, 0.7fr);
}

.finance-statement-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(360px, 2fr);
  gap: 1rem;
  align-items: center;
}

.finance-statement-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: 0.75rem;
}

.finance-statement-metrics span {
  padding: 0.8rem;
  border: 1px solid rgba(127, 111, 88, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.finance-statement-metrics small {
  display: block;
  color: var(--text-soft);
  margin-bottom: 0.2rem;
}

.sidebar-primary-action,
.content-topbar,
.nav-pill,
.stat,
.report-card,
.item {
  transition: all 0.18s ease;
}

.admin-subtabs {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 1rem;
}

.admin-panel-section {
  display: grid;
  gap: 1rem;
}

.admin-subsection {
  display: grid;
  gap: 1rem;
}

.step-tab {
  background:
    linear-gradient(135deg, rgba(7, 18, 34, 0.96), rgba(9, 30, 58, 0.96)),
    linear-gradient(135deg, rgba(96, 230, 255, 0.14), rgba(27, 107, 255, 0.05));
  color: #d7e4ff;
}

.step-tab.active {
  background:
    linear-gradient(135deg, rgba(12, 51, 110, 0.98), rgba(96, 230, 255, 0.96)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  color: #03101d;
  border-color: rgba(96, 230, 255, 0.45);
}

.store-step {
  margin-top: 1.25rem;
}

.store-step .toolbar h3 {
  margin-bottom: 0.2rem;
}

.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.commerce-item,
.admin-commerce-item,
.order-card {
  display: grid;
  gap: 1rem;
}

.commerce-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.commerce-item-main {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.commerce-item-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(96, 230, 255, 0.16);
  background: linear-gradient(135deg, rgba(14, 49, 104, 0.9), rgba(8, 23, 44, 0.95));
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.commerce-item-side {
  display: grid;
  justify-items: end;
  gap: 0.7rem;
}

.commerce-item-total {
  text-align: right;
}

.commerce-item-total strong {
  font-size: 1.08rem;
}

.commerce-item-actions {
  justify-content: flex-end;
}

.cart-summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-summary-pill {
  min-width: 88px;
  padding: 0.75rem 0.9rem;
  border-radius: 18px;
  background: rgba(96, 230, 255, 0.1);
  border: 1px solid rgba(96, 230, 255, 0.12);
  text-align: center;
  font-weight: 700;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(96, 230, 255, 0.14);
  background: rgba(96, 230, 255, 0.08);
  color: #dff8ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 700;
}

.status-badge.success {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.2);
  color: #adffe5;
}

.status-badge.danger,
.micro-btn.danger {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.2);
  color: #ffd0d0;
}

.order-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.order-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.order-metrics > div {
  padding: 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(96, 230, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.micro-btn {
  min-width: unset;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  font-size: 0.78rem;
}

.level-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.season-bonus-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.season-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.season-metric-card {
  border: 1px solid rgba(96, 230, 255, 0.14);
  border-radius: 22px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 0.85rem;
}

.compact-stats {
  grid-template-columns: repeat(2, minmax(120px, 1fr));
}

.level-progress-list {
  display: grid;
  gap: 0.55rem;
}

.level-progress-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(96, 230, 255, 0.08);
}

.season-bonus-card {
  border: 1px solid rgba(96, 230, 255, 0.14);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 0.65rem;
}

.season-bonus-card.locked {
  opacity: 0.62;
}

.season-bonus-card.unlocked {
  border-color: rgba(96, 230, 255, 0.36);
  box-shadow: 0 0 24px rgba(96, 230, 255, 0.12);
}

.season-bonus-head {
  display: grid;
  gap: 0.2rem;
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sky), var(--cyan));
}

.season-bonus-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text-soft);
}

.level-pill {
  border: 1px solid rgba(96, 230, 255, 0.12);
  border-radius: 14px;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
}

.level-pill span,
.level-pill strong,
.level-pill small {
  display: block;
}

.level-pill strong {
  margin: 0.2rem 0;
}

.level-pill.reached {
  border-color: rgba(52, 211, 153, 0.75);
  background: rgba(52, 211, 153, 0.14);
}

.level-pill.current {
  border-color: rgba(96, 230, 255, 0.55);
  background: rgba(65, 181, 255, 0.16);
}

.level-pill.locked {
  opacity: 0.52;
}

.matrix-tree {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  overflow-x: auto;
}

.network-levels {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.network-level-card {
  border: 1px solid rgba(96, 230, 255, 0.12);
  border-radius: 20px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.9rem;
}

.network-level-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.85rem;
}

.network-level-pill {
  border: 1px solid rgba(96, 230, 255, 0.1);
  border-radius: 18px;
  padding: 0.9rem;
  display: grid;
  gap: 0.2rem;
  background: linear-gradient(180deg, rgba(12, 24, 44, 0.84), rgba(8, 14, 26, 0.96));
}

.network-level-pill span,
.network-level-pill small {
  color: var(--text-soft);
}

.network-tree-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.network-tree-board {
  display: grid;
  gap: 1.2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.network-org-root {
  display: grid;
  justify-items: center;
  gap: 1rem;
  min-width: max-content;
}

.network-tree-name {
  font-weight: 700;
  color: var(--text);
}

.network-tree-email,
.network-tree-card small {
  color: var(--text-soft);
}

.network-org-children {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.4rem;
  position: relative;
  padding-top: 1.5rem;
  min-width: max-content;
}

.network-org-children::before {
  content: '';
  position: absolute;
  top: 0.75rem;
  left: 50%;
  width: 1px;
  height: 1.25rem;
  background: rgba(96, 230, 255, 0.22);
  transform: translateX(-50%);
}

.network-org-node {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.network-org-node::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 50%;
  width: 1px;
  height: 1rem;
  background: rgba(96, 230, 255, 0.18);
  transform: translateX(-50%);
}

.network-org-node::after {
  content: '';
  position: absolute;
  top: -1rem;
  left: calc(-0.7rem);
  right: calc(-0.7rem);
  height: 1px;
  background: rgba(96, 230, 255, 0.18);
}

.network-org-node:first-child::after {
  left: 50%;
}

.network-org-node:last-child::after {
  right: 50%;
}

.network-org-node:only-child::after {
  display: none;
}

.network-org-node.leaf > .network-tree-card {
  min-width: 124px;
}

.network-tree-card {
  border: 1px solid rgba(96, 230, 255, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(96, 230, 255, 0.09), transparent 30%),
    linear-gradient(180deg, rgba(14, 28, 50, 0.96), rgba(9, 15, 25, 0.98));
  padding: 0.75rem 0.7rem;
  display: grid;
  justify-items: center;
  gap: 0.18rem;
  text-align: center;
  min-width: 138px;
  color: inherit;
  box-shadow: 0 16px 34px rgba(5, 13, 27, 0.26);
}

.network-tree-card.root {
  min-width: 165px;
}

.network-org-node > .network-tree-card {
  min-width: 132px;
}

.network-tree-card.expandable {
  cursor: pointer;
}

.network-tree-card.expandable[aria-expanded="true"] {
  border-color: rgba(71, 159, 255, 0.32);
  box-shadow: 0 18px 38px rgba(5, 13, 27, 0.3), 0 0 0 1px rgba(71, 159, 255, 0.16);
}

.network-tree-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.82rem;
  color: #fff;
  background: linear-gradient(135deg, #5f7dff, #9a5cff 55%, #ff6ba7);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03);
}

.network-tree-name {
  font-size: 0.88rem;
  line-height: 1.15;
}

.network-tree-email,
.network-tree-card small {
  font-size: 0.72rem;
  line-height: 1.2;
}

.network-tree-badge {
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  font-size: 0.64rem;
  border: 1px solid rgba(96, 230, 255, 0.14);
}

.network-tree-badge.active {
  color: #9bf2c3;
  background: rgba(53, 171, 103, 0.14);
}

.network-tree-badge.inactive {
  color: #ffb4b4;
  background: rgba(170, 52, 52, 0.16);
}

.network-tree-toggle-text {
  font-style: normal;
  color: #8ccfff;
  font-size: 0.68rem;
}

.network-tree-empty {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px dashed rgba(96, 230, 255, 0.14);
  color: var(--text-soft);
}

.matrix-root {
  justify-self: center;
  min-width: 220px;
}

.matrix-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 1rem;
  position: relative;
}

.matrix-branch {
  display: grid;
  gap: 1rem;
  position: relative;
}

.matrix-branch > .matrix-node {
  justify-self: center;
  width: min(100%, 260px);
}

.matrix-child-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 1rem;
}

.matrix-node {
  border: 1px solid rgba(96, 230, 255, 0.12);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.matrix-node strong,
.matrix-node span {
  display: block;
}

.matrix-node.occupied {
  border-color: rgba(65, 181, 255, 0.38);
  background: rgba(65, 181, 255, 0.1);
}

.matrix-node.empty {
  border-style: dashed;
  color: var(--text-soft);
}

.matrix-node.donation {
  border-color: rgba(96, 230, 255, 0.35);
  background: rgba(96, 230, 255, 0.08);
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  max-width: 360px;
  border-radius: 20px;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(71, 169, 42, 0.98) 0%, rgba(58, 142, 33, 0.98) 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 50px rgba(46, 35, 20, 0.18);
  z-index: 1000;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.toast,
.toast * {
  color: #ffffff !important;
}

.toast.hidden {
  display: none !important;
}

.search-hidden {
  display: none !important;
}

.app-shell.sidebar-collapsed .sidebar {
  padding-inline: 0.9rem;
}

.app-shell.sidebar-collapsed .sidebar-brand {
  justify-content: center;
}

.app-shell.sidebar-collapsed .sidebar-brand-copy,
.app-shell.sidebar-collapsed .nav-pill-label {
  display: none;
}

.app-shell.sidebar-collapsed .sidebar-context,
.app-shell.sidebar-collapsed .nav-group-title,
.app-shell.sidebar-collapsed .nav-pill-count {
  display: none;
}

.app-shell.sidebar-collapsed .nav-pill {
  justify-content: center;
  padding-inline: 0.75rem;
}

.app-shell.sidebar-collapsed .top-nav {
  align-items: center;
}

.app-shell.sidebar-collapsed .sidebar-logout {
  font-size: 0;
  min-width: 56px;
  padding-inline: 0;
}

.app-shell.sidebar-collapsed .sidebar-logout::after {
  content: "ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â»";
  font-size: 1rem;
}

.hidden {
  display: none !important;
}

@media (max-width: 640px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .hero,
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .content-topbar,
  .content-topbar-main,
  .content-topbar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sidebar {
    position: static;
    min-height: auto;
  }

  .brand-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav,
  .auth-tabs {
    width: 100%;
  }

  .matrix-branches,
  .matrix-child-slots,
  .step-tabs,
  .reports-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .product-heading,
  .commerce-item,
  .cart-summary-card,
  .payment-box-grid {
    grid-template-columns: 1fr;
  }

  .commerce-item-side {
    justify-items: start;
  }

  .cart-summary-card {
    align-items: flex-start;
  }

  .payment-meta-grid {
    grid-template-columns: 1fr;
  }

  .admin-users-controls {
    width: 100%;
  }

  .admin-users-controls input {
    min-width: 100%;
  }

  .admin-step-tabs {
    grid-template-columns: 1fr;
  }

  .reports-grid {
    grid-template-columns: 1fr;
  }

  .report-card,
  .report-card-wide {
    grid-column: span 1;
  }

  .global-search {
    min-width: 100%;
  }
}

@media (max-width: 980px) {
  .account-action-grid {
    grid-template-columns: 1fr;
  }
}

.search-icon,
.notification-bell-icon,
.nav-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(96, 230, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cyan);
  font-family: \"Plus Jakarta Sans\", \"Inter\", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.search-icon {
  min-width: 58px;
  padding: 0 0.55rem;
}

#dashboardRegisterCard.hidden {
  display: none !important;
}

#dashboardRegisterCard:not(.hidden) {
  display: grid;
}
.icon-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-toggle svg,
.search-icon svg,
.notification-bell-icon svg,
.nav-pill-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.global-search {
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  min-width: 18px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-soft);
}

.notification-bell-icon,
.nav-pill-icon {
  padding: 0;
}

.notification-bell-icon {
  min-width: 18px;
  width: 18px;
  height: 18px;
  border: none;
  background: transparent;
}

.nav-pill-icon {
  width: 34px;
  height: 34px;
}

#userRegisterSection .account-register-card {
  margin-bottom: 0;
}
.activation-history-card .item {
  border-color: rgba(96, 230, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.activation-item {
  display: grid;
  gap: 0.8rem;
}

#userRegisterSection {
  display: grid;
  gap: 1rem;
}

#userRegisterSection h2,
#matrixSection h2,
#storeSection h2 {
  font-size: 1.08rem;
}

.matrix-tree {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}

.matrix-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.matrix-branch {
  display: grid;
  gap: 0.85rem;
  position: relative;
}

.matrix-branch::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 50%;
  width: 1px;
  height: 18px;
  background: rgba(96, 230, 255, 0.18);
}

.matrix-child-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.matrix-node {
  min-height: 108px;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(96, 230, 255, 0.12);
  background: linear-gradient(180deg, rgba(14, 18, 28, 0.96), rgba(8, 10, 16, 0.98));
  display: grid;
  gap: 0.35rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.matrix-root {
  justify-self: center;
  width: min(420px, 100%);
  text-align: center;
  background: radial-gradient(circle at top, rgba(96, 230, 255, 0.12), transparent 55%), linear-gradient(180deg, rgba(17, 28, 48, 0.98), rgba(8, 11, 18, 0.98));
}

.matrix-node.occupied strong {
  color: #eefbff;
}

.matrix-node.empty,
.matrix-node.donation {
  border-style: dashed;
}

.matrix-node.donation {
  background: linear-gradient(180deg, rgba(16, 35, 58, 0.96), rgba(8, 12, 20, 0.98));
}

.product-card {
  border-radius: 24px;
  border: 1px solid rgba(96, 230, 255, 0.12);
  background: linear-gradient(180deg, rgba(12, 16, 24, 0.98), rgba(6, 8, 14, 0.98));
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.product-media {
  position: relative;
  min-height: 210px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top right, rgba(96, 230, 255, 0.12), transparent 28%), linear-gradient(180deg, rgba(11, 22, 40, 0.98), rgba(8, 12, 18, 0.98));
}

.product-media.placeholder span {
  font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  color: rgba(234, 247, 255, 0.82);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-topline {
  position: absolute;
  inset: 1rem 1rem auto 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-body,
.product-footer {
  padding: 1rem 1.05rem;
}

.product-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.product-heading h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.product-price-badge {
  min-width: 126px;
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(96, 230, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  text-align: right;
}

.product-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-qty {
  max-width: 130px;
}

.btn-store-primary {
  min-width: 190px;
}

.order-card,
.commerce-item,
.cart-summary-card {
  border-radius: 20px;
  border: 1px solid rgba(96, 230, 255, 0.08);
  background: linear-gradient(180deg, rgba(11, 15, 23, 0.98), rgba(7, 9, 15, 0.98));
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.support-sidebar,
.support-chat {
  display: grid;
  gap: 1rem;
}

.support-create-form textarea,
.support-reply-form textarea {
  min-height: 110px;
}

.support-messages {
  display: grid;
  gap: 0.85rem;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.support-message {
  border-radius: 18px;
  border: 1px solid rgba(96, 230, 255, 0.1);
  background: rgba(11, 16, 24, 0.96);
  padding: 0.95rem 1rem;
}

.support-message.admin {
  border-color: rgba(71, 159, 255, 0.28);
  background: linear-gradient(180deg, rgba(14, 31, 58, 0.98), rgba(10, 18, 31, 0.98));
}

.support-message.user {
  border-color: rgba(104, 228, 171, 0.18);
}

.support-message-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 0.45rem;
}

.support-message p {
  margin: 0;
  color: #dbe7ff;
  line-height: 1.6;
}

.support-thread-card {
  width: 100%;
  text-align: left;
  border-radius: 18px;
  border: 1px solid rgba(96, 230, 255, 0.09);
  background: rgba(8, 12, 20, 0.95);
  padding: 0.95rem 1rem;
  display: grid;
  gap: 0.35rem;
  color: inherit;
}

.support-thread-card.active {
  border-color: rgba(71, 159, 255, 0.4);
  box-shadow: 0 0 0 1px rgba(71, 159, 255, 0.22), 0 14px 32px rgba(7, 20, 38, 0.28);
}

.support-thread-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.support-reply-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.8rem;
}

@media (max-width: 980px) {
  .matrix-branches,
  .matrix-child-slots,
  .product-footer,
  .product-heading {
    grid-template-columns: 1fr;
    display: grid;
  }

  .product-footer {
    align-items: stretch;
  }

  .btn-store-primary,
  .product-qty {
    min-width: 100%;
    max-width: none;
  }
}

@media (max-width: 980px) {
  .page {
    padding: 0.45rem;
  }

  .app-shell,
  .app-shell.sidebar-collapsed {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    top: auto;
    min-height: auto;
    border-radius: 26px;
    padding: 1rem;
    margin-bottom: 0.75rem;
  }

  .sidebar-brand {
    justify-content: center;
  }

  .sidebar-context {
    margin-top: 0.2rem;
  }

  .top-nav {
    gap: 0.8rem;
  }

  .nav-group-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .nav-pill {
    min-height: 58px;
  }

  .app-content {
    padding: 0 0.15rem 1rem;
  }

  .content-topbar {
    position: static;
    padding: 0.95rem 1rem;
  }

  .content-topbar-main,
  .content-topbar-actions {
    width: 100%;
  }

  .content-topbar-actions {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }

  .global-search {
    min-width: 0;
    width: 100%;
  }

  .global-search input {
    min-height: 52px;
    font-size: 16px;
  }

  .topbar-summary {
    width: 100%;
    justify-content: center;
  }

  .stats,
  .grid,
  .reports-grid,
  .account-action-grid,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .withdraw-grid,
  .withdraw-summary-metrics {
    grid-template-columns: 1fr;
  }

  .withdraw-history-top,
  .withdraw-history-meta,
  .treasury-history-top,
  .treasury-history-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .toolbar {
    gap: 0.8rem;
  }

  .toolbar > * {
    width: 100%;
  }

  .toolbar button,
  .toolbar .secondary,
  #refreshBtn,
  #adminRefreshBtn {
    width: 100%;
  }

  .card,
  .auth-card,
  .auth-showcase {
    border-radius: 22px;
  }

  .payment-box,
  .payment-status,
  .order-card,
  .commerce-item,
  .cart-summary-card {
    padding: 1rem;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .page {
    padding: 0.3rem;
  }

  .hero {
    margin-bottom: 0.5rem;
  }

  .brand-logo,
  .sidebar-logo-large {
    width: 78px;
    height: 78px;
  }

  .nav-group-items {
    grid-template-columns: 1fr;
  }

  .content-topbar-actions {
    grid-template-columns: 1fr;
  }

  .notification-center,
  .topbar-summary {
    justify-self: stretch;
  }

  .notification-bell,
  .secondary,
  button,
  .btn-store-primary {
    min-height: 48px;
  }

  .auth-form input,
  .auth-form select,
  .auth-form textarea,
  input,
  select,
  textarea {
    font-size: 16px;
  }

  .section-head h2,
  #welcomeTitle,
  .topbar-title {
    font-size: 1.45rem;
  }

  .matrix-node {
    min-height: 94px;
    padding: 0.85rem;
  }

  .product-media {
    min-height: 170px;
  }

  .notification-dropdown {
    width: min(92vw, 340px);
    right: 0;
  }
}

/* sanex latam final overrides */

body {
  background:
    radial-gradient(circle at top left, rgba(184, 223, 70, 0.36), transparent 24rem),
    radial-gradient(circle at top right, rgba(64, 88, 15, 0.09), transparent 28rem),
    linear-gradient(180deg, #fbfef1 0%, #ebf3d8 100%);
  color: #1e2710;
}

.hero,
.auth-showcase.card,
.auth-card,
.card,
.report-card,
.content-topbar,
.portal-panel {
  border-color: rgba(100, 128, 23, 0.12);
  box-shadow: 0 20px 52px rgba(72, 93, 20, 0.1);
}

.hero,
.portal-panel,
.auth-showcase.card {
  background:
    radial-gradient(circle at top right, rgba(184, 223, 70, 0.22), transparent 26rem),
    linear-gradient(180deg, rgba(252, 254, 247, 0.98), rgba(241, 247, 223, 0.97));
}

button {
  border-color: rgba(163, 207, 34, 0.18);
  background: linear-gradient(180deg, #9cc62b 0%, #84af1d 100%);
  color: #f9ffe7;
  box-shadow: 0 16px 32px rgba(134, 177, 23, 0.2);
}

button.secondary,
.secondary {
  color: #628511;
  border-color: rgba(134, 177, 23, 0.18);
}

.sidebar {
  background: linear-gradient(180deg, #1f260f 0%, #111608 100%);
}

.sidebar-brand-copy strong,
.sidebar-brand-copy p,
.sidebar-account-card strong,
.sidebar-account-card span,
.sidebar-account-card small,
.nav-group-title,
.nav-pill,
.nav-pill-count {
  color: #f0f8d1;
}

.nav-pill.active,
.nav-pill.active:hover {
  background: rgba(163, 207, 34, 0.18);
  border-color: rgba(184, 223, 70, 0.24);
}

.nav-pill.active .nav-pill-icon {
  color: #d3f16b;
}

.report-kicker,
.side-card-kicker {
  color: #84af1d;
}

.chart-bar i,
.binary-pill,
.status-dot {
  background: linear-gradient(180deg, #b8d840, #86b01d);
}

.binary-pill {
  color: #f9ffe8;
}

.operation-gauge-arc {
  background: conic-gradient(from 180deg at 50% 100%, #94bc22 calc(var(--operation-progress, 0) * 1%), #dde7c0 0);
}

.ring-metric {
  background:
    radial-gradient(circle at center, #fbfef1 48%, transparent 49%),
    conic-gradient(#94bc22 calc(var(--ring, 0) * 1%), #dde7c0 0);
}

.brand-logo {
  width: min(340px, 42vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(88, 116, 17, 0.16));
}

/* sanex latam portal layout: closer to the commercial reference */

body {
  background:
    radial-gradient(circle at top left, rgba(184, 223, 70, 0.26), transparent 18rem),
    linear-gradient(180deg, #fbfdf5 0%, #eef4de 100%);
}

.page {
  width: min(1720px, calc(100% - 1rem));
  padding: 0.75rem 0 1.5rem;
}

.app-shell {
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.app-shell.sidebar-collapsed {
  grid-template-columns: 92px minmax(0, 1fr);
}

.app-content {
  gap: 1rem;
  padding-left: 0;
}

.sidebar {
  background: linear-gradient(180deg, #35180f 0%, #221109 100%);
  border: 0;
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(53, 24, 15, 0.22);
}

.sidebar-brand {
  align-items: flex-start;
}

.sidebar-logo {
  width: 110px;
  max-width: 100%;
}

.sidebar-account-card,
.nav-pill {
  border-color: rgba(255, 255, 255, 0.08);
}

.nav-pill {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
}

.nav-pill.active,
.nav-pill.active:hover {
  background: rgba(163, 207, 34, 0.2);
}

.content-topbar,
.card,
.portal-panel,
.portal-side-card,
.report-card,
.item,
.payment-box,
.payment-status,
.support-message,
.support-thread-card,
.network-level-card,
.network-tree-card,
.product-card,
.cart-summary-card,
.matrix-node,
.matrix-root,
.level-pill {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 242, 0.98));
  border: 1px solid rgba(126, 156, 43, 0.12);
  box-shadow: 0 14px 34px rgba(91, 111, 29, 0.08);
  color: #24160f;
}

.content-topbar {
  position: sticky;
  top: 0.5rem;
  border-radius: 24px;
  padding: 0.9rem 1.1rem;
}

.topbar-title,
.content-topbar .muted,
.global-search input,
.global-search input::placeholder {
  color: #3f321f;
}

.global-search {
  background: #ffffff;
  border: 1px solid rgba(126, 156, 43, 0.12);
  border-radius: 18px;
}

.global-search input {
  background: transparent;
}

.icon-toggle,
.notification-bell,
.topbar-summary,
button.secondary,
.secondary {
  background: #ffffff;
  border: 1px solid rgba(126, 156, 43, 0.12);
  color: #6a861b;
  box-shadow: none;
}

.topbar-summary {
  min-height: 52px;
}

.dashboard-section {
  padding: 0;
}

.portal-overview {
  grid-template-columns: minmax(0, 1.75fr) 320px;
  gap: 1rem;
}

.portal-panel,
.portal-side-card {
  border-radius: 22px;
}

.stats .stat,
.stat,
.operation-meta-grid article,
.operation-footer-stats div,
.side-card-split div,
.side-card-metrics article,
.package-pill,
.data-table-head,
.data-table-row,
.referral-meta-card,
.referral-link-card {
  background: #ffffff;
  border: 1px solid rgba(126, 156, 43, 0.12);
  box-shadow: none;
}

.report-card {
  gap: 1.1rem;
}

.report-head strong,
.operation-gauge-core strong,
.side-card-value,
.stat strong,
.matrix-node strong,
.network-tree-name {
  color: #1f1a14;
}

.report-kicker,
.side-card-kicker {
  color: #86b01d;
}

.operation-gauge-core small,
.stat span,
.stat small,
.chart-label,
.season-bonus-meta,
.network-tree-email,
.network-tree-card small,
.support-message p,
.muted {
  color: #77675c;
}

.chart-bar-value,
.timeline-point strong {
  color: #4c3729;
}

.data-table-head {
  background: #f6f9ea;
}

.data-table-row {
  background: #ffffff;
}

.ring-metric {
  background:
    radial-gradient(circle at center, #ffffff 48%, transparent 49%),
    conic-gradient(#94bc22 calc(var(--ring, 0) * 1%), #e4edd0 0);
  box-shadow: inset 0 0 0 1px rgba(126, 156, 43, 0.1);
}

.matrix-root {
  width: min(420px, 100%);
  background:
    radial-gradient(circle at top, rgba(163, 207, 34, 0.12), transparent 58%),
    linear-gradient(180deg, #edf6d4, #ffffff);
}

.matrix-node.occupied {
  background: linear-gradient(180deg, rgba(232, 244, 198, 0.98), rgba(255, 255, 255, 0.98));
  border-color: rgba(142, 184, 26, 0.22);
}

.matrix-node.empty,
.matrix-node.donation,
.network-tree-empty {
  background: #fbfcf6;
  border-color: rgba(126, 156, 43, 0.16);
  color: #736458;
}

.network-tree-card {
  background:
    radial-gradient(circle at top left, rgba(184, 223, 70, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff, #f8fbef);
}

.network-tree-card.expandable[aria-expanded="true"],
.support-thread-card.active {
  border-color: rgba(142, 184, 26, 0.3);
  box-shadow: 0 12px 26px rgba(142, 184, 26, 0.14);
}

.network-org-children::before,
.network-org-node::before,
.network-org-node::after,
.matrix-branch::before {
  background: rgba(126, 156, 43, 0.2);
}

.product-card {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .portal-overview {
    grid-template-columns: 1fr;
  }

  .portal-side-column {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .portal-side-column {
    grid-template-columns: 1fr;
  }
}

.sidebar-logo {
  width: 124px;
  height: auto;
  filter: none;
}

/* premium dashboard refinement */

body {
  background:
    radial-gradient(circle at top left, rgba(205, 220, 158, 0.34), transparent 24rem),
    radial-gradient(circle at 85% 0%, rgba(89, 58, 32, 0.08), transparent 26rem),
    linear-gradient(180deg, #fdfdf8 0%, #f4f4ea 100%);
}

.page {
  gap: 1rem;
}

.app-shell {
  grid-template-columns: 228px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 0.75rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, #412116 0%, #2b150e 58%, #1f100c 100%);
  border: 1px solid rgba(240, 226, 196, 0.08);
  box-shadow:
    0 28px 60px rgba(50, 24, 15, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sidebar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.sidebar-brand,
.sidebar-context,
.top-nav,
.sidebar-logout {
  position: relative;
  z-index: 1;
}

.sidebar-brand {
  padding: 0.3rem 0.35rem 1.1rem;
  border-bottom-color: rgba(240, 226, 196, 0.08);
}

.sidebar-brand-copy strong {
  font-size: 1.06rem;
  line-height: 1.12;
}

.sidebar-brand-copy .meta-line,
.sidebar-account-card span,
.sidebar-account-card small {
  color: rgba(243, 240, 221, 0.76);
}

.sidebar-account-card {
  border-radius: 20px;
  padding: 1rem 1rem 1.05rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-group-title {
  color: rgba(241, 236, 209, 0.92);
  letter-spacing: 0.1em;
}

.nav-pill {
  min-height: 62px;
  padding: 0.9rem 0.95rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.nav-pill:hover {
  background: rgba(255, 255, 255, 0.065);
}

.nav-pill.active,
.nav-pill.active:hover {
  background:
    linear-gradient(180deg, rgba(112, 97, 22, 0.78), rgba(92, 75, 18, 0.84));
  border-color: rgba(176, 194, 96, 0.28);
  box-shadow:
    0 16px 28px rgba(42, 22, 11, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-pill-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cddd88;
}

.nav-pill.active .nav-pill-icon {
  background: rgba(225, 240, 166, 0.14);
  border-color: rgba(225, 240, 166, 0.2);
  color: #edf7c0;
}

.sidebar-logout.secondary {
  background: linear-gradient(180deg, #fffef7, #f4f3e8);
  color: #6b5b21;
  border-color: rgba(118, 104, 41, 0.12);
  box-shadow: 0 14px 24px rgba(42, 22, 11, 0.16);
}

#dashboardView .content-topbar,
#dashboardView .card,
#dashboardView .portal-panel,
#dashboardView .portal-side-card,
#dashboardView .report-card,
#dashboardView .item,
#dashboardView .payment-box,
#dashboardView .payment-status,
#dashboardView .support-message,
#dashboardView .support-thread-card,
#dashboardView .network-level-card,
#dashboardView .network-tree-card,
#dashboardView .product-card,
#dashboardView .cart-summary-card,
#dashboardView .matrix-node,
#dashboardView .matrix-root,
#dashboardView .level-pill {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 250, 244, 0.98));
  border: 1px solid rgba(109, 90, 68, 0.09);
  box-shadow:
    0 22px 46px rgba(100, 83, 60, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

#dashboardView .content-topbar {
  padding: 1rem 1.2rem;
  border-radius: 28px;
}

#dashboardView .topbar-title {
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  letter-spacing: -0.035em;
}

.global-search {
  min-height: 60px;
  background: linear-gradient(180deg, #ffffff, #fafaf3);
  border-color: rgba(109, 90, 68, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.global-search input,
.global-search input::placeholder {
  color: #635646;
}

.icon-toggle,
.notification-bell,
.topbar-summary,
button.secondary,
.secondary {
  background: linear-gradient(180deg, #ffffff, #f7f6ef);
  border-color: rgba(109, 90, 68, 0.09);
  color: #6c7b2b;
}

.topbar-summary {
  padding-inline: 1.1rem;
  color: #6d5b3b;
}

.status-dot {
  box-shadow: 0 0 0 6px rgba(170, 200, 82, 0.16);
}

.portal-overview {
  grid-template-columns: minmax(0, 1.78fr) 330px;
  gap: 1.1rem;
}

.portal-panel,
.portal-side-card {
  border-radius: 28px;
}

#dashboardView .stats .stat,
#dashboardView .stat,
#dashboardView .operation-meta-grid article,
#dashboardView .operation-footer-stats div,
#dashboardView .side-card-split div,
#dashboardView .side-card-metrics article,
#dashboardView .package-pill,
#dashboardView .data-table-head,
#dashboardView .data-table-row,
#dashboardView .referral-meta-card,
#dashboardView .referral-link-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #fbfaf5);
  border: 1px solid rgba(109, 90, 68, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

#dashboardView .stats .stat::before,
#dashboardView .stat::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(183, 208, 94, 0.92), rgba(124, 157, 27, 0.92));
  border-radius: 20px 0 0 20px;
}

#dashboardView .stat strong,
#dashboardView .side-card-value,
#dashboardView .side-card-points-value,
#dashboardView .operation-gauge-core strong,
#dashboardView .matrix-node strong {
  color: #231811;
}

#dashboardView .stat span,
#dashboardView .stat small,
#dashboardView .muted,
#dashboardView .chart-label,
#dashboardView .season-bonus-meta,
#dashboardView .side-card-line span,
#dashboardView .operation-gauge-core small,
#dashboardView .network-tree-email,
#dashboardView .network-tree-card small {
  color: #806f60;
}

.operation-hero {
  grid-template-columns: minmax(0, 1.28fr) minmax(220px, 0.72fr);
  gap: 1.1rem;
}

.operation-gauge {
  min-height: 260px;
}

.operation-gauge-arc {
  background: conic-gradient(
    from 180deg at 50% 100%,
    #b8d35b calc(var(--operation-progress, 0) * 1%),
    #e8edd6 0
  );
  filter: drop-shadow(0 16px 22px rgba(181, 199, 106, 0.12));
}

.operation-gauge-core {
  margin-bottom: 1.9rem;
  padding: 1rem 1.45rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 247, 239, 0.92));
  border: 1px solid rgba(109, 90, 68, 0.06);
  box-shadow: 0 16px 26px rgba(104, 85, 63, 0.08);
}

.binary-pill.left {
  background: linear-gradient(180deg, rgba(183, 208, 94, 0.16), rgba(183, 208, 94, 0.08));
  color: #789818;
  border: 1px solid rgba(183, 208, 94, 0.22);
}

#rewardsMallCard {
  background:
    radial-gradient(circle at top right, rgba(255, 209, 121, 0.16), transparent 24%),
    linear-gradient(180deg, #fffdf8 0%, #fcfaf2 100%);
}

#walletStatusCard {
  background:
    radial-gradient(circle at top right, rgba(183, 208, 94, 0.14), transparent 22%),
    linear-gradient(180deg, #ffffff, #fbfaf3);
}

.report-card {
  gap: 1.15rem;
}

.report-kicker,
.side-card-kicker {
  color: #88ab1f;
}

.chart-bar i {
  background: linear-gradient(180deg, #d9e88f, #97bb24);
  box-shadow: 0 10px 20px rgba(147, 179, 32, 0.14);
}

.ring-metric {
  background:
    radial-gradient(circle at center, #ffffff 48%, transparent 49%),
    conic-gradient(#b7cb67 calc(var(--ring, 0) * 1%), #ebefdb 0);
}

.matrix-root {
  background:
    radial-gradient(circle at top, rgba(189, 211, 109, 0.18), transparent 58%),
    linear-gradient(180deg, #f4f8e2, #fffefb);
}

.matrix-node.occupied {
  background: linear-gradient(180deg, rgba(241, 247, 216, 0.98), rgba(255, 255, 255, 0.98));
  border-color: rgba(181, 199, 106, 0.28);
}

.network-tree-card {
  background:
    radial-gradient(circle at top left, rgba(183, 208, 94, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff, #fafaf3);
}

.status-badge {
  background: #f8f7ef;
  border-color: rgba(109, 90, 68, 0.1);
  color: #6d5c45;
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .portal-overview {
    grid-template-columns: 1fr;
  }
}

/* cleanup: logo only + readable fields + softer backoffice */

.sidebar-brand {
  justify-content: center;
  align-items: center;
  padding: 0.4rem 0.35rem 1.2rem;
}

.sidebar-brand-copy {
  display: none !important;
}

.sidebar-logo {
  width: 152px !important;
  max-width: 100%;
  height: auto;
  filter: none;
}

#dashboardView .content-topbar,
#dashboardView .portal-panel,
#dashboardView .portal-side-card,
#dashboardView .card,
#dashboardView .item,
#dashboardView .matrix-node,
#dashboardView .matrix-root,
#dashboardView .level-pill,
#dashboardView .season-bonus-card,
#dashboardView .support-thread-card,
#dashboardView .support-message,
#dashboardView .network-level-card,
#dashboardView .network-tree-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfcf8 100%);
  border-color: rgba(117, 101, 82, 0.08);
  box-shadow:
    0 18px 36px rgba(94, 82, 63, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

#dashboardView .content-topbar .muted,
#dashboardView .muted,
#dashboardView .stat span,
#dashboardView .stat small,
#dashboardView .season-bonus-meta,
#dashboardView .side-card-line span,
#dashboardView .network-tree-email,
#dashboardView .network-tree-card small,
#dashboardView .operation-gauge-core small {
  color: #73675b;
}

#dashboardView label,
#dashboardView .auth-form label,
#authView label {
  color: #8f9d5f;
}

#dashboardView input,
#dashboardView select,
#dashboardView textarea,
#authView input,
#authView select,
#authView textarea,
.global-search input {
  color: #241a13 !important;
  -webkit-text-fill-color: #241a13 !important;
  caret-color: #241a13;
  background: linear-gradient(180deg, #ffffff 0%, #fdfcf7 100%) !important;
  border-color: rgba(117, 101, 82, 0.12) !important;
}

#dashboardView input::placeholder,
#dashboardView textarea::placeholder,
#authView input::placeholder,
#authView textarea::placeholder,
.global-search input::placeholder {
  color: #9c9488 !important;
  -webkit-text-fill-color: #9c9488 !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #241a13 !important;
  box-shadow: 0 0 0 1000px #fffdf7 inset !important;
  transition: background-color 9999s ease-in-out 0s;
}

.global-search {
  background: linear-gradient(180deg, #ffffff 0%, #faf8f1 100%);
  border-color: rgba(117, 101, 82, 0.09);
}

.topbar-title {
  color: #2c2118;
  letter-spacing: -0.04em;
}

/* premium rollout across the full portal */

#dashboardView,
#authView {
  --sanex-ink: #23170f;
  --sanex-ink-soft: #756655;
  --sanex-line: rgba(102, 84, 63, 0.1);
  --sanex-line-strong: rgba(153, 192, 40, 0.28);
  --sanex-surface: #fffdfa;
  --sanex-surface-soft: #f7f4eb;
  --sanex-surface-alt: #f2ede2;
  --sanex-green: rgba(71, 169, 42, 1);
  --sanex-green-deep: rgba(54, 138, 29, 1);
  --sanex-gold: #c8af71;
  --sanex-sidebar-top: #131313;
  --sanex-sidebar-bottom: #050505;
  --sanex-shadow: 0 22px 50px rgba(71, 51, 33, 0.1);
}

body {
  background:
    radial-gradient(circle at top left, rgba(179, 205, 88, 0.18), transparent 22%),
    linear-gradient(180deg, #f9f8f1 0%, #f3efe4 100%);
  color: var(--sanex-ink);
}

.page {
  background: transparent;
}

#authView.auth-shell {
  background:
    linear-gradient(135deg, rgba(168, 199, 53, 0.09), transparent 24%),
    linear-gradient(180deg, #fffdfa 0%, #f8f5ec 100%);
  border: 1px solid rgba(120, 101, 79, 0.1);
  box-shadow: 0 28px 62px rgba(69, 50, 32, 0.1);
}

.auth-split-visual {
  background:
    radial-gradient(circle at 24% 20%, rgba(172, 203, 67, 0.18), transparent 18%),
    radial-gradient(circle at 78% 74%, rgba(200, 175, 113, 0.08), transparent 18%),
    linear-gradient(180deg, #24310a 0%, #152007 100%);
}

.auth-visual-logo {
  width: 292px;
  max-width: 100%;
}

.auth-visual-copy h1 {
  font-size: clamp(3.1rem, 4.4vw, 4.75rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.auth-visual-copy .muted,
.auth-stage-copy small {
  color: rgba(244, 242, 229, 0.82);
}

.auth-panel-shell {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.94), rgba(248, 244, 235, 0.96));
}

.auth-panel-topbar {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(113, 95, 73, 0.08);
}

.auth-panel-meta,
.auth-panel-meta span,
.auth-pane-heading .muted,
.auth-pane-footer span {
  color: #7b6d5e;
}

.auth-pane-card {
  background:
    radial-gradient(circle at top right, rgba(163, 198, 34, 0.08), transparent 20%),
    linear-gradient(180deg, #fffefa 0%, #fbf7ee 100%);
  border: 1px solid rgba(117, 101, 82, 0.1);
  box-shadow:
    0 22px 48px rgba(84, 65, 46, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.auth-pane-heading h2 {
  font-size: clamp(2rem, 2.6vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

#authView .auth-form-modern label,
#authView .auth-recovery-card label {
  color: #a0b762;
}

#authView .auth-form-modern input,
#authView .auth-recovery-card input,
#authView .auth-form-grid input {
  min-height: 58px;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#authView .auth-form-modern button,
#authView .auth-form-grid button {
  min-height: 58px;
  border-radius: 999px;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  box-shadow: 0 18px 34px rgba(144, 177, 28, 0.2);
}

#dashboardView {
  color: var(--sanex-ink);
}

#dashboardView .app-shell {
  gap: 0;
  min-height: 100vh;
  grid-template-columns: 248px minmax(0, 1fr);
  align-items: stretch;
}

#dashboardView .sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: 1.15rem 0.9rem 1.15rem;
  border-radius: 0;
  background:
    radial-gradient(circle at top left, rgba(71, 169, 42, 0.12), transparent 18%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.03), transparent 22%),
    linear-gradient(180deg, var(--sanex-sidebar-top) 0%, var(--sanex-sidebar-bottom) 100%);
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    16px 0 38px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
  z-index: 4;
}

.sidebar-brand {
  padding: 0.8rem 0.4rem 1.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-logo {
  width: 174px !important;
  max-width: calc(100% - 10px);
  height: auto;
  display: block;
  margin-inline: auto;
}

#dashboardView .sidebar-context,
#dashboardView .sidebar small,
#dashboardView .sidebar .muted {
  color: rgba(244, 238, 221, 0.72);
}

#dashboardView .top-nav {
  gap: 0.72rem;
  align-content: start;
}

#dashboardView .nav-group {
  gap: 0.8rem;
}

#dashboardView .nav-group-title {
  padding-inline: 0.2rem;
  margin: 0.25rem 0 0.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.48);
}

#dashboardView .nav-group-items {
  display: grid;
  gap: 0.2rem;
}

#dashboardView .sidebar-account-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 14px 28px rgba(0, 0, 0, 0.14);
  border-radius: 18px;
}

#dashboardView .sidebar-account-card strong,
#dashboardView .sidebar-account-card small,
#dashboardView .sidebar-account-card span,
#dashboardView .nav-group-title {
  color: #f4ecdc;
}

#dashboardView .sidebar-account-card-minimal {
  padding: 0.1rem 0.15rem 0.9rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#dashboardView .sidebar-account-card-minimal small {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.46);
}

#dashboardView .sidebar-account-card-minimal strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff8eb;
}

#dashboardView .sidebar-account-card-minimal span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
}

#dashboardView .top-nav a,
#dashboardView .top-nav button,
#dashboardView .nav-pill,
#dashboardView .sidebar-logout {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #f8f3e6 !important;
  border-radius: 0 !important;
}

#dashboardView .nav-pill {
  width: 100% !important;
  min-height: 40px !important;
  justify-content: flex-start !important;
  gap: 0.72rem !important;
  padding: 0.5rem 0.15rem 0.5rem 0.05rem !important;
  position: relative !important;
  text-align: left !important;
  font-weight: 500 !important;
}

#dashboardView .nav-pill-label {
  font-size: 0.96rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
}

#dashboardView .nav-pill-count {
  display: none !important;
}

#dashboardView .top-nav a.active,
#dashboardView .top-nav button.active,
#dashboardView .nav-pill.active,
#dashboardView .top-nav a[aria-current="page"],
#dashboardView .top-nav button[aria-current="page"] {
  background: transparent !important;
  border: 0 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

#dashboardView .nav-pill.active::before {
  content: "";
  position: absolute;
  left: -0.25rem;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(71, 169, 42, 1);
  transform: translateY(-50%);
}

#dashboardView .top-nav a:hover,
#dashboardView .top-nav button:hover,
#dashboardView .nav-pill:hover,
#dashboardView .sidebar-logout:hover {
  color: #ffffff !important;
  transform: none !important;
  background: transparent !important;
}

#dashboardView .nav-pill-icon,
#dashboardView .top-nav svg,
#dashboardView .sidebar-logout svg {
  color: rgba(255, 255, 255, 0.72) !important;
}

#dashboardView .nav-pill-icon {
  width: 1.1rem !important;
  height: 1.1rem !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  flex: 0 0 auto !important;
  opacity: 0.92;
}

#dashboardView .sidebar-logout.secondary {
  margin-top: auto;
  justify-content: flex-start;
  padding: 0.9rem 0.1rem 0.1rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 0;
  box-shadow: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#dashboardView .app-content {
  gap: 1rem;
  padding: 0;
  background: #f8f6ef;
}

#dashboardView #welcomeTitle {
  font-size: 1.22rem !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em !important;
  margin: 0 !important;
}

#dashboardView #userMeta {
  font-size: 0.88rem !important;
  color: #8a7a68 !important;
}

#dashboardView .content-topbar,
#dashboardView .portal-panel,
#dashboardView .portal-side-card,
#dashboardView .card,
#dashboardView .item,
#dashboardView .matrix-node,
#dashboardView .matrix-root,
#dashboardView .level-pill,
#dashboardView .season-bonus-card,
#dashboardView .support-thread-card,
#dashboardView .support-message,
#dashboardView .network-level-card,
#dashboardView .network-tree-card,
#dashboardView .payment-box,
#dashboardView .payment-status,
#dashboardView .product-card,
#dashboardView .order-card,
#dashboardView .cart-summary-card,
#dashboardView .withdraw-wallet-card,
#dashboardView .withdraw-request-card,
#dashboardView .withdraw-history-card,
#dashboardView .support-chat,
#dashboardView .support-layout,
#dashboardView .stats .stat,
#dashboardView .report-card {
  background:
    radial-gradient(circle at top right, rgba(164, 195, 57, 0.08), transparent 22%),
    linear-gradient(180deg, #fffefb 0%, #faf7ef 100%);
  border: 1px solid rgba(117, 101, 82, 0.09);
  box-shadow:
    0 20px 44px rgba(90, 71, 51, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

#dashboardView .card,
#dashboardView .portal-panel,
#dashboardView .portal-side-card,
#dashboardView .stats .stat,
#dashboardView .product-card,
#dashboardView .order-card,
#dashboardView .support-thread-card,
#dashboardView .support-chat,
#dashboardView .withdraw-wallet-card,
#dashboardView .withdraw-request-card,
#dashboardView .withdraw-history-card {
  border-radius: 28px;
}

#dashboardView h1,
#dashboardView h2,
#dashboardView h3,
#dashboardView h4,
#dashboardView strong,
#dashboardView .topbar-title {
  color: #26180f;
  letter-spacing: -0.04em;
}

#dashboardView h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.8rem);
}

#dashboardView h3 {
  font-size: clamp(1.02rem, 1.22vw, 1.22rem);
}

#dashboardView .toolbar,
#dashboardView .section-head,
#dashboardView .item-actions {
  gap: 0.9rem;
}

#dashboardView .toolbar button,
#dashboardView .item-actions button,
#dashboardView .payment-status button,
#dashboardView .product-card button,
#dashboardView .order-card button,
#dashboardView .support-thread-card button,
#dashboardView .support-chat button,
#dashboardView .withdraw-request-card button,
#dashboardView .withdraw-history-card button {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

#dashboardView button:not(.secondary):not(.notification-bell):not(.icon-toggle):not(.micro-btn):not(.auth-tab),
#dashboardView .btn-primary,
#dashboardView .primary-action {
  background: linear-gradient(180deg, var(--sanex-green) 0%, var(--sanex-green-deep) 100%);
  color: #fffef4;
  border: 1px solid rgba(71, 169, 42, 0.42);
  box-shadow: 0 14px 28px rgba(71, 169, 42, 0.2);
}

#dashboardView button.secondary,
#dashboardView .secondary,
#dashboardView .micro-btn,
#dashboardView .icon-toggle,
#dashboardView .notification-bell,
#dashboardView .status-badge {
  background: linear-gradient(180deg, #fffdf9 0%, #f4efe4 100%);
  color: #5e4c3d;
  border: 1px solid rgba(117, 101, 82, 0.12);
  box-shadow:
    0 10px 22px rgba(98, 80, 60, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

#dashboardView .step-tabs,
#dashboardView .admin-step-tabs,
#dashboardView .admin-subtabs,
#dashboardView .tab-strip {
  gap: 0.7rem;
  padding: 0.38rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(244, 239, 228, 0.96));
  border: 1px solid rgba(117, 101, 82, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

#dashboardView .step-tab,
#dashboardView .admin-step-tabs button,
#dashboardView .admin-subtabs button,
#dashboardView .tab-strip button {
  border-radius: 999px;
  background: transparent;
  color: #6d5c48;
  border: 1px solid transparent;
  font-weight: 700;
}

#dashboardView .step-tab.active,
#dashboardView .admin-step-tabs button.active,
#dashboardView .admin-subtabs button.active,
#dashboardView .tab-strip button.active {
  background: linear-gradient(180deg, rgba(160, 193, 45, 0.94), rgba(129, 166, 20, 0.96));
  color: #fffef2;
  border-color: rgba(126, 158, 21, 0.42);
  box-shadow: 0 12px 22px rgba(136, 169, 27, 0.18);
}

#dashboardView input,
#dashboardView select,
#dashboardView textarea,
#authView input,
#authView select,
#authView textarea,
.global-search input {
  color: #241a13 !important;
  -webkit-text-fill-color: #241a13 !important;
  caret-color: #241a13;
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf4 100%) !important;
  border: 1px solid rgba(117, 101, 82, 0.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 10px 24px rgba(113, 92, 67, 0.04);
}

#dashboardView input:focus,
#dashboardView select:focus,
#dashboardView textarea:focus,
#authView input:focus,
#authView select:focus,
#authView textarea:focus,
.global-search input:focus {
  outline: none;
  border-color: rgba(148, 182, 36, 0.52) !important;
  box-shadow:
    0 0 0 4px rgba(157, 195, 40, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 26px rgba(144, 122, 86, 0.08);
}

#dashboardView select option,
#authView select option {
  color: #241a13;
  background: #fffdf7;
}

#dashboardView input::placeholder,
#dashboardView textarea::placeholder,
#authView input::placeholder,
#authView textarea::placeholder,
.global-search input::placeholder {
  color: #9a8f82 !important;
  -webkit-text-fill-color: #9a8f82 !important;
}

#dashboardView table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

#dashboardView thead th {
  color: #8a7b6a;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 1rem 0.55rem;
}

#dashboardView tbody td {
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 246, 238, 0.94));
  border-top: 1px solid rgba(117, 101, 82, 0.06);
  border-bottom: 1px solid rgba(117, 101, 82, 0.06);
  color: #2a1d15;
}

#dashboardView tbody td:first-child {
  border-left: 1px solid rgba(117, 101, 82, 0.06);
  border-radius: 18px 0 0 18px;
}

#dashboardView tbody td:last-child {
  border-right: 1px solid rgba(117, 101, 82, 0.06);
  border-radius: 0 18px 18px 0;
}

#dashboardView .product-card,
#dashboardView .order-card,
#dashboardView .support-thread-card,
#dashboardView .network-level-card,
#dashboardView .network-tree-card,
#dashboardView .payment-box,
#dashboardView .payment-status,
#dashboardView .withdraw-history-card {
  overflow: hidden;
}

#dashboardView .product-card img,
#dashboardView .order-card img {
  border-radius: 20px;
}

#dashboardView .support-thread-card.active,
#dashboardView .network-tree-card.active,
#dashboardView .product-card.active,
#dashboardView .order-card.active {
  border-color: rgba(148, 182, 36, 0.3);
  box-shadow:
    0 24px 44px rgba(94, 75, 53, 0.12),
    0 0 0 4px rgba(157, 195, 40, 0.08);
}

#dashboardView .matrix-root {
  background:
    radial-gradient(circle at top center, rgba(170, 198, 72, 0.18), transparent 56%),
    linear-gradient(180deg, #fbfbf6 0%, #fffdfa 100%);
  border-color: rgba(155, 190, 45, 0.16);
}

#dashboardView .matrix-node {
  min-height: 130px;
}

#dashboardView .matrix-node.occupied {
  background:
    radial-gradient(circle at top right, rgba(163, 198, 34, 0.1), transparent 30%),
    linear-gradient(180deg, #f7faea 0%, #fffdfa 100%);
  border-color: rgba(152, 186, 40, 0.24);
}

#dashboardView .matrix-node.available,
#dashboardView .matrix-node.pending {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 243, 233, 0.86));
  border-style: solid;
}

#dashboardView .ring-metric,
#dashboardView .chart-bar i,
#dashboardView .operation-gauge-arc {
  filter: drop-shadow(0 14px 24px rgba(144, 175, 36, 0.14));
}

#dashboardView .notification-dropdown,
#dashboardView .dropdown-menu,
#dashboardView .popover,
#dashboardView .modal-card {
  background:
    radial-gradient(circle at top right, rgba(157, 194, 45, 0.08), transparent 22%),
    linear-gradient(180deg, #fffefa 0%, #faf6ec 100%);
  border: 1px solid rgba(117, 101, 82, 0.1);
  box-shadow: 0 28px 58px rgba(58, 40, 26, 0.16);
}

#dashboardView .global-search {
  background: linear-gradient(180deg, #fffefb 0%, #f6f2e8 100%);
  border: 1px solid rgba(117, 101, 82, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 12px 24px rgba(84, 66, 47, 0.06);
}

#dashboardView .global-search .search-icon,
#dashboardView .notification-bell,
#dashboardView .icon-toggle,
#dashboardView .status-dot {
  color: #88aa1e;
}

#dashboardView .muted,
#dashboardView small,
#dashboardView .meta-line,
#dashboardView .side-card-line span,
#dashboardView .network-tree-email,
#dashboardView .chart-label,
#dashboardView .season-bonus-meta,
#dashboardView .support-thread-card p,
#dashboardView .support-message small,
#dashboardView .order-card small,
#dashboardView .product-card small {
  color: #7c6f62;
}

/* Shopify-style storefront */
.storefront-card {
  padding: 0;
  overflow: visible;
  background: #ffffff;
}

.storefront-hero {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(36, 20, 12, 0.08);
  background:
    linear-gradient(135deg, rgba(250, 255, 234, 0.94), rgba(255, 255, 255, 0.96)),
    linear-gradient(135deg, rgba(156, 198, 43, 0.12), transparent);
}

.storefront-hero-copy {
  display: grid;
  gap: 0.28rem;
  max-width: 620px;
}

.storefront-hero-copy h2 {
  margin: 0;
  font-size: 1.55rem;
}

.storefront-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
}

.storefront-switch,
.store-checkout-steps {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.35rem;
  border-radius: 8px;
  background: #f5f7ef;
  border: 1px solid rgba(36, 20, 12, 0.08);
}

.storefront-switch .step-tab,
.store-checkout-steps .step-tab {
  min-height: 38px;
  padding: 0.55rem 0.85rem;
  border-radius: 7px;
  background: transparent;
  color: #4c5531;
  border: 0;
  box-shadow: none;
}

.storefront-switch .step-tab.active,
.store-checkout-steps .step-tab.active {
  background: #1f260f;
  color: #f8ffe3;
}

#storeCommerceMode,
#storeRewardsMode {
  padding: 1.25rem;
}

.store-checkout-steps {
  margin-bottom: 1rem;
}

.storefront-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.storefront-metrics article {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(36, 20, 12, 0.08);
  border-radius: 8px;
  background: #fbfcf7;
}

.storefront-metrics span,
.store-search-field span,
.store-filter-title,
.shopify-product-price span,
.store-cart-total span {
  display: block;
  color: #758063;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.storefront-metrics strong {
  display: block;
  margin-top: 0.2rem;
  color: #24140c;
  font-size: 1.18rem;
}

.storefront-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) minmax(260px, 320px);
  gap: 1rem;
  align-items: start;
}

.storefront-filters,
.store-cart-panel,
.store-checkout-summary,
.store-checkout-form {
  border: 1px solid rgba(36, 20, 12, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(34, 44, 18, 0.07);
}

.storefront-filters,
.store-cart-panel,
.store-checkout-summary {
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.store-search-field {
  display: grid;
  gap: 0.4rem;
}

.store-search-field input,
.store-search-field select {
  min-height: 42px;
  border-radius: 7px;
  background: #fbfcf7;
}

.store-category-list {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.store-category-list button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  padding: 0.55rem 0.7rem;
  border-radius: 7px;
  background: transparent;
  border: 1px solid transparent;
  color: #334017;
  box-shadow: none;
  text-align: left;
}

.store-category-list button.active,
.store-category-list button:hover {
  background: #f4f8e5;
  border-color: rgba(156, 198, 43, 0.22);
}

.store-category-list small {
  color: #7d885e;
  font-weight: 800;
}

.storefront-products {
  display: grid;
  gap: 0.9rem;
}

.storefront-products-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.storefront-products-head h3 {
  margin: 0;
}

.shopify-grid.product-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

#dashboardView .shopify-product-card,
.shopify-product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-radius: 8px;
  border: 1px solid rgba(36, 20, 12, 0.08);
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(34, 44, 18, 0.08);
  overflow: hidden;
  padding: 0;
}

#dashboardView .shopify-product-card .product-media,
.shopify-product-card .product-media {
  min-height: 210px;
  border-radius: 0;
  background: #f6f7f1;
}

#dashboardView .shopify-product-card img,
.shopify-product-card img {
  height: 210px;
  border-radius: 0;
  object-fit: cover;
}

.shopify-product-card .product-topline {
  inset: 0.75rem 0.75rem auto 0.75rem;
}

.shopify-product-card .product-chip {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #1f260f;
  border: 1px solid rgba(36, 20, 12, 0.08);
}

.shopify-product-card .product-body {
  padding: 0.95rem;
  gap: 0.75rem;
}

.shopify-product-card .product-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  line-height: 1.25;
}

.shopify-product-card .product-body p {
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.shopify-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.shopify-product-meta span,
.stock-note {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  background: #f4f8e5;
  color: #596730;
  font-size: 0.78rem;
  font-weight: 800;
}

.stock-note.urgent {
  background: #fff0df;
  color: #9b4d10;
}

.shopify-product-buy {
  display: grid;
  grid-template-columns: 1fr 76px;
  gap: 0.7rem;
  align-items: end;
}

.shopify-product-price strong {
  display: block;
  margin-top: 0.2rem;
  color: #111807;
  font-size: 1.22rem;
}

.shopify-product-card .product-qty {
  min-width: 0;
  max-width: none;
}

.shopify-product-card .product-qty input {
  min-height: 38px;
  padding-inline: 0.55rem;
  border-radius: 7px;
}

.shopify-product-card .product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.9rem 0.95rem;
  border-top: 1px solid rgba(36, 20, 12, 0.08);
}

.shopify-product-card .btn-store-primary {
  min-width: 96px;
  min-height: 40px;
  border-radius: 7px;
}

.store-cart-panel-head,
.store-cart-total,
.store-cart-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

.store-cart-panel-head {
  align-items: center;
}

.store-cart-preview {
  display: grid;
  gap: 0.65rem;
  max-height: 320px;
  overflow: auto;
}

.store-cart-row {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(36, 20, 12, 0.08);
}

.store-cart-row strong,
.store-cart-row span {
  display: block;
}

.store-cart-row span {
  margin-top: 0.2rem;
  color: #7d806c;
  font-size: 0.85rem;
}

.store-cart-row b {
  white-space: nowrap;
  color: #1f260f;
}

.store-cart-total {
  align-items: center;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(36, 20, 12, 0.08);
}

.store-cart-total strong {
  color: #111807;
  font-size: 1.2rem;
}

.store-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 1rem;
  align-items: start;
}

.store-checkout-form {
  padding: 1rem;
}

@media (max-width: 1180px) {
  .storefront-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .store-cart-panel {
    grid-column: 1 / -1;
    position: static;
  }
}

@media (max-width: 860px) {
  .storefront-hero,
  .storefront-products-head,
  .store-checkout-layout {
    grid-template-columns: 1fr;
    display: grid;
  }

  .storefront-actions {
    justify-content: stretch;
  }

  .storefront-layout,
  .storefront-metrics {
    grid-template-columns: 1fr;
  }

  .storefront-filters,
  .store-cart-panel,
  .store-checkout-summary {
    position: static;
  }
}

.dashboard-mode {
  background: #f3f3f3 !important;
}

.dashboard-mode .page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.dashboard-mode #dashboardView {
  background: #f7f7f7;
}

.dashboard-mode #dashboardView .app-shell,
.dashboard-mode #dashboardView .app-shell.sidebar-collapsed {
  display: block !important;
  min-height: 100vh !important;
}

.dashboard-mode #dashboardView .sidebar,
.dashboard-mode #dashboardView .app-shell.sidebar-collapsed .sidebar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 234px !important;
  min-height: 100vh !important;
  padding: 1.2rem 0.8rem 1rem !important;
  border-radius: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.dashboard-mode #dashboardView .sidebar-brand {
  justify-content: flex-start !important;
  padding: 0.9rem 0.45rem 1.15rem !important;
}

.dashboard-mode #dashboardView .sidebar-logo {
  width: 142px !important;
  max-width: 142px !important;
  margin-inline: 0 !important;
}

.dashboard-mode #dashboardView .sidebar-context {
  margin-top: 0.15rem !important;
  padding: 0 0.45rem 0.55rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-mode #dashboardView .sidebar-account-card-minimal {
  min-height: auto !important;
  display: grid !important;
  gap: 0.22rem !important;
  align-content: start !important;
  padding: 0 !important;
}

.dashboard-mode #dashboardView .sidebar-account-card-minimal strong {
  margin: 0.15rem 0 0 !important;
}

.dashboard-mode #dashboardView .sidebar-account-card-minimal span,
.dashboard-mode #dashboardView .sidebar-account-card-minimal small {
  line-height: 1.35 !important;
}

.dashboard-mode #dashboardView .top-nav {
  padding: 0.35rem 0 0 !important;
}

.dashboard-mode #dashboardView .nav-group {
  gap: 0.38rem !important;
}

.dashboard-mode #dashboardView .nav-group-title {
  margin: 0.65rem 0.45rem 0.15rem !important;
}

.dashboard-mode #dashboardView .nav-group-items {
  gap: 0 !important;
}

.dashboard-mode #dashboardView .nav-pill {
  min-height: 34px !important;
  padding: 0.45rem 0.45rem 0.45rem 0.2rem !important;
}

.dashboard-mode #dashboardView .app-content,
.dashboard-mode #dashboardView .app-shell.sidebar-collapsed .app-content {
  margin-left: 234px !important;
  min-height: 100vh !important;
  padding: 0 !important;
  background: #f7f7f7 !important;
}

.dashboard-mode #dashboardView .content-topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 3 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
}

.dashboard-mode #dashboardView #welcomeTitle {
  font-size: 1.02rem !important;
  font-weight: 700 !important;
}

.dashboard-mode #dashboardView #userMeta {
  font-size: 0.82rem !important;
}

.dashboard-mode #sidebarToggleBtn {
  display: none !important;
}

@media (max-width: 980px) {
  .dashboard-mode #dashboardView .sidebar,
  .dashboard-mode #dashboardView .app-shell.sidebar-collapsed .sidebar {
    position: static !important;
    width: auto !important;
    min-height: auto !important;
  }

  .dashboard-mode #dashboardView .app-content,
  .dashboard-mode #dashboardView .app-shell.sidebar-collapsed .app-content {
    margin-left: 0 !important;
  }
}

@media (max-width: 980px) {
  .auth-visual-logo {
    width: 224px;
  }

  .auth-visual-copy h1 {
    font-size: clamp(2.4rem, 8vw, 3.5rem);
  }

  .sidebar-logo {
    width: 160px !important;
  }
}

/* final auth screen overrides */

#authView.auth-shell {
  min-height: calc(100vh - 2rem);
  grid-template-columns: minmax(0, 1.56fr) minmax(440px, 0.74fr);
  background: #ffffff;
}

#authView .auth-split-visual {
  background:
    radial-gradient(circle at 12% 18%, rgba(197, 111, 35, 0.28), transparent 24rem),
    radial-gradient(circle at 78% 16%, rgba(31, 69, 159, 0.24), transparent 28rem),
    linear-gradient(135deg, #62230e 0%, #1a2346 58%, #09111f 100%);
}

#authView .auth-visual-copy h1 {
  font-size: clamp(2.8rem, 4.2vw, 4.35rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

#authView .auth-poster,
#authView .auth-visual-stage {
  display: none !important;
}

#authView .auth-feature-ribbon {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: auto;
  padding-top: 0.45rem;
}

#authView .auth-feature-pill {
  min-height: 92px;
  padding: 0.95rem 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

#authView .auth-feature-pill strong {
  font-size: 0.92rem;
  text-transform: none;
  letter-spacing: -0.01em;
}

#authView .auth-feature-pill span {
  color: rgba(255, 255, 255, 0.72);
}

#authView .auth-panel-shell {
  background: #ffffff;
}

#authView .auth-pane-card {
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: #ffffff;
}

#authView .auth-pane-heading h2 {
  font-size: clamp(2rem, 2.5vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

#authView .auth-pane-heading p {
  color: #7e7568;
}

#authView .auth-form-modern label,
#authView .auth-recovery-card label {
  color: #8d9db5 !important;
  font-size: 0.92rem;
  text-transform: none;
  letter-spacing: -0.01em;
}

#authView .auth-form-modern input,
#authView .auth-recovery-card input,
#authView .auth-form-grid input {
  min-height: 58px;
  border-radius: 16px;
  background: #ffffff !important;
}

#authView .auth-form-modern button[type="submit"],
#authView .auth-form-grid button[type="submit"] {
  background: linear-gradient(180deg, rgba(71, 169, 42, 1) 0%, rgba(54, 138, 29, 1) 100%) !important;
  box-shadow: 0 18px 30px rgba(71, 169, 42, 0.22) !important;
}

#authView .auth-link-toggle {
  color: #2b1d14;
}

#authView .auth-recovery-card {
  padding-top: 1rem;
  border-top: 1px solid rgba(123, 104, 84, 0.08);
}

@media (max-width: 1180px) {
  #authView.auth-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  #authView .auth-feature-ribbon {
    grid-template-columns: 1fr;
  }
}

/* definitive auth composition */

body.auth-mode {
  background: #f6f3ea !important;
}

.auth-mode .page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#authView.auth-shell {
  min-height: 100vh !important;
  grid-template-columns: minmax(0, 1.58fr) minmax(470px, 0.72fr) !important;
  border-radius: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

#authView .auth-split-visual {
  isolation: isolate !important;
  min-height: 920px !important;
  padding: 2.2rem 2.35rem 1.75rem !important;
  background:
    radial-gradient(circle at 78% 36%, rgba(214, 163, 52, 0.34), transparent 22rem),
    radial-gradient(circle at 58% 82%, rgba(163, 207, 34, 0.16), transparent 24rem),
    linear-gradient(90deg, rgba(4, 4, 3, 0.96) 0%, rgba(16, 14, 10, 0.86) 45%, rgba(6, 6, 5, 0.78) 100%),
    linear-gradient(138deg, #20140e 0%, #493416 48%, #0f1116 100%) !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  background-position: center !important;
}

#authView .auth-split-visual::before {
  content: "" !important;
  position: absolute !important;
  inset: auto 9.5rem -3.2rem auto !important;
  width: min(46vw, 660px) !important;
  height: min(74vh, 760px) !important;
  border-radius: 0 !important;
  filter: drop-shadow(0 38px 42px rgba(0, 0, 0, 0.46)) !important;
  pointer-events: none !important;
  background: url("./auth-product-protein.png") no-repeat center bottom / contain !important;
  opacity: 0.9 !important;
  transform: none !important;
  z-index: 0 !important;
}

#authView .auth-split-visual::after {
  content: "" !important;
  position: absolute !important;
  inset: auto -5.5rem 1.4rem auto !important;
  width: min(31vw, 420px) !important;
  height: min(60vh, 620px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  pointer-events: none !important;
  background: url("./auth-product-fem.png") no-repeat center bottom / contain !important;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.42)) !important;
  opacity: 0.96 !important;
  z-index: 1 !important;
}

#authView .auth-visual-top,
#authView .auth-visual-center,
#authView .auth-feature-ribbon {
  position: relative !important;
  z-index: 2 !important;
}

#authView .auth-visual-top {
  align-items: flex-start !important;
}

#authView .auth-visual-logo {
  width: 250px !important;
  max-width: 44vw !important;
}

#authView .auth-visual-copy {
  max-width: 38rem !important;
}

#authView .auth-kicker {
  color: rgba(255, 255, 255, 0.88) !important;
}

#authView .auth-visual-copy h1 {
  font-size: clamp(3rem, 4.6vw, 4.8rem) !important;
  line-height: 0.93 !important;
  letter-spacing: -0.065em !important;
  max-width: 10.6ch !important;
  color: #ffffff !important;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.46) !important;
}

#authView .auth-visual-copy .muted {
  color: rgba(255, 255, 255, 0.78) !important;
  max-width: 31rem !important;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.45) !important;
}

#authView .auth-poster {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  display: flex;
  align-items: flex-end;
  padding: 1.6rem 1.6rem 1.4rem;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    radial-gradient(circle at 45% 35%, rgba(255, 255, 255, 0.09), transparent 24%),
    linear-gradient(180deg, rgba(11, 18, 33, 0.2), rgba(11, 18, 33, 0.02));
}

#authView .auth-poster-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
  max-width: 33rem;
}

#authView .auth-poster-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.32rem 0.66rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#authView .auth-poster-copy strong {
  font-family: "Sora", "Manrope", ui-sans-serif, sans-serif;
  font-size: clamp(1.6rem, 2.2vw, 2.12rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  max-width: 18ch;
}

#authView .auth-poster-copy small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
  line-height: 1.7;
  max-width: 30rem;
}

#authView .auth-stage-emblem {
  width: min(34vw, 430px) !important;
  top: 44% !important;
  opacity: 0.27 !important;
}

#authView .auth-feature-ribbon {
  display: none !important;
}

#authView .auth-feature-pill,
#authView .auth-feature-pill + .auth-feature-pill {
  min-height: 84px !important;
  padding: 0.95rem 1rem !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

#authView .auth-feature-pill strong {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
}

#authView .auth-feature-pill span {
  color: rgba(255, 255, 255, 0.7) !important;
}

#authView .auth-panel-shell {
  grid-template-rows: auto 1fr !important;
  align-content: start !important;
  padding: 0.95rem 1.55rem 1.3rem !important;
  background: #ffffff !important;
}

#authView .auth-panel-topbar {
  align-items: flex-start !important;
  padding-top: 0 !important;
}

#authView .auth-pane-card {
  align-self: start !important;
  padding: 0.7rem 1.1rem 1.2rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #ffffff !important;
}

#authView .auth-pane-heading h2 {
  font-size: clamp(2rem, 2.45vw, 2.6rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.05em !important;
}

#authView .auth-pane-heading p {
  color: #847b70 !important;
}

#authView .auth-form-modern {
  gap: 0.95rem !important;
}

#authView .auth-form-modern label,
#authView .auth-recovery-card label {
  color: #8ea8d4 !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
}

#authView .auth-form-modern input,
#authView .auth-recovery-card input,
#authView .auth-form-grid input {
  min-height: 58px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(123, 104, 84, 0.14) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

#authView .auth-link-toggle {
  color: #2b1d14 !important;
}

#authView .auth-link-toggle:hover {
  color: rgba(71, 169, 42, 1) !important;
}

#authView .auth-recovery-card {
  padding-top: 1rem !important;
  border-top: 1px solid rgba(123, 104, 84, 0.08) !important;
}

@media (max-width: 1180px) {
  #authView.auth-shell {
    grid-template-columns: 1fr !important;
  }

  #authView .auth-split-visual {
    min-height: 720px !important;
  }
}

@media (max-width: 760px) {
  .finance-board,
  .finance-statement-row,
  .finance-detail-row {
    grid-template-columns: 1fr;
  }

  .finance-statement-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-mode .page {
    width: 100% !important;
    margin: 0 !important;
  }

  #authView .auth-feature-ribbon {
    grid-template-columns: 1fr !important;
  }
}

/* followme + residual overrides */

#dashboardView .matrix-node {
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

#dashboardView .matrix-node.occupied {
  background:
    radial-gradient(circle at top right, rgba(163, 198, 34, 0.16), transparent 30%),
    linear-gradient(180deg, #eef6d1 0%, #fffdfa 100%) !important;
  border-color: rgba(150, 178, 46, 0.34) !important;
  box-shadow:
    0 18px 34px rgba(120, 141, 53, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

#dashboardView .matrix-node.empty,
#dashboardView .matrix-node.available,
#dashboardView .matrix-node.pending,
#dashboardView .matrix-node.donation {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 235, 0.96)) !important;
  border-color: rgba(138, 120, 97, 0.12) !important;
  box-shadow:
    0 14px 28px rgba(100, 83, 60, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

#dashboardView .matrix-node.empty strong,
#dashboardView .matrix-node.available strong,
#dashboardView .matrix-node.pending strong,
#dashboardView .matrix-node.donation strong {
  color: #5d5146 !important;
}

#dashboardView .network-level-card,
#dashboardView .network-level-pill,
#dashboardView .network-tree-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(252, 248, 241, 0.98)) !important;
  border-color: rgba(135, 117, 93, 0.11) !important;
  box-shadow:
    0 18px 36px rgba(98, 82, 61, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.94) !important;
}

#dashboardView .network-tree-card {
  background:
    radial-gradient(circle at top right, rgba(163, 198, 34, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 245, 236, 0.98)) !important;
}

#dashboardView .network-tree-card.expandable[aria-expanded="true"],
#dashboardView .network-tree-card.active {
  border-color: rgba(150, 178, 46, 0.28) !important;
  box-shadow:
    0 22px 42px rgba(106, 92, 63, 0.1),
    0 0 0 4px rgba(168, 196, 65, 0.08) !important;
}

#dashboardView .network-org-children::before,
#dashboardView .network-org-node::before,
#dashboardView .network-org-node::after,
#dashboardView .matrix-branch::before {
  background: rgba(149, 129, 101, 0.16) !important;
}

#dashboardView .network-tree-badge {
  border-color: rgba(132, 115, 90, 0.12) !important;
}

#dashboardView .network-tree-badge.active {
  color: #54751f !important;
  background: rgba(168, 196, 65, 0.14) !important;
}

#dashboardView .network-tree-badge.inactive {
  color: #9b4d4d !important;
  background: rgba(198, 88, 88, 0.12) !important;
}

#dashboardView .network-tree-toggle-text {
  color: #7a6a58 !important;
}

#bonusLevelInputs,
#bonusRankInputs {
  gap: 0.9rem;
}

#bonusRankInputs label span,
#bonusRankInputs label .muted {
  display: block;
  margin-top: 0.3rem;
}

/* Premium readable overrides for registration and withdrawal modules */
#dashboardView #userRegisterSection,
#dashboardView #userWithdrawSection {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#dashboardView #userRegisterSection > .toolbar,
#dashboardView #userWithdrawSection > .toolbar {
  margin-bottom: 0.3rem;
}

#dashboardView #userRegisterSection h2,
#dashboardView #userWithdrawSection h2,
#dashboardView .withdraw-request-card h2,
#dashboardView .withdraw-history-card h2,
#dashboardView .withdraw-wallet-card h2 {
  color: #21170f !important;
  font-size: clamp(1.55rem, 2.2vw, 2.45rem) !important;
  letter-spacing: -0.035em !important;
}

#dashboardView #dashboardRegisterCard,
#dashboardView .activation-history-card,
#dashboardView .withdraw-wallet-card,
#dashboardView .withdraw-request-card,
#dashboardView .withdraw-history-card {
  background:
    radial-gradient(circle at top right, rgba(163, 198, 34, 0.1), transparent 28%),
    linear-gradient(180deg, #fffefa 0%, #fbf8f0 100%) !important;
  border: 1px solid rgba(126, 108, 84, 0.11) !important;
  border-radius: 24px !important;
  box-shadow:
    0 22px 48px rgba(70, 55, 35, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
  color: #271b12 !important;
}

#dashboardView #dashboardRegisterCard {
  padding: 1.2rem !important;
}

#dashboardView #dashboardRegisterForm,
#dashboardView #withdrawWalletForm,
#dashboardView #withdrawForm {
  gap: 0.9rem !important;
}

#dashboardView #dashboardRegisterForm label,
#dashboardView #withdrawWalletForm label,
#dashboardView #withdrawForm label,
#dashboardView .store-checkout-form label {
  color: #5d6f2f !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

#dashboardView #dashboardRegisterForm input,
#dashboardView #withdrawWalletForm input,
#dashboardView #withdrawForm input,
#dashboardView .store-checkout-form input {
  min-height: 52px !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: 1px solid rgba(126, 108, 84, 0.14) !important;
  color: #251910 !important;
  -webkit-text-fill-color: #251910 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 24px rgba(90, 72, 47, 0.04) !important;
}

#dashboardView #dashboardRegisterForm input:focus,
#dashboardView #withdrawWalletForm input:focus,
#dashboardView #withdrawForm input:focus,
#dashboardView .store-checkout-form input:focus {
  border-color: rgba(122, 161, 24, 0.55) !important;
  box-shadow:
    0 0 0 4px rgba(157, 195, 40, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

#dashboardView .register-fee-box,
#dashboardView .account-register-card .register-fee-box {
  background:
    linear-gradient(135deg, rgba(238, 248, 211, 0.96), rgba(255, 254, 248, 0.98)) !important;
  border: 1px solid rgba(144, 178, 40, 0.22) !important;
  border-radius: 18px !important;
  color: #263612 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

#dashboardView .register-fee-box strong,
#dashboardView .register-fee-box span {
  color: #263612 !important;
}

#dashboardView #dashboardRegisterForm button[type="submit"],
#dashboardView #withdrawForm button[type="submit"],
#dashboardView #withdrawWalletForm button[type="submit"] {
  min-height: 52px !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, #7aae20 0%, #4f8b16 100%) !important;
  color: #fffef3 !important;
  border: 1px solid rgba(67, 127, 19, 0.38) !important;
  box-shadow: 0 16px 30px rgba(76, 139, 23, 0.22) !important;
}

#dashboardView .payment-success-card,
#dashboardView #dashboardRegisterPaymentPanel,
#dashboardView #dashboardRegisterPaymentStatus {
  background:
    linear-gradient(180deg, #f7fbeb 0%, #ffffff 100%) !important;
  border: 1px solid rgba(126, 108, 84, 0.11) !important;
  border-radius: 20px !important;
  color: #24170f !important;
  box-shadow: 0 16px 32px rgba(70, 55, 35, 0.07) !important;
}

#dashboardView .payment-success-card *,
#dashboardView #dashboardRegisterPaymentPanel *,
#dashboardView #dashboardRegisterPaymentStatus * {
  color: #24170f !important;
}

#dashboardView .payment-success-card .status-badge,
#dashboardView #dashboardRegisterPaymentPanel .status-badge,
#dashboardView #dashboardRegisterPaymentStatus .status-badge {
  background: rgba(67, 153, 54, 0.12) !important;
  border-color: rgba(67, 153, 54, 0.2) !important;
  color: #3f7e21 !important;
}

#dashboardView .withdraw-summary-box {
  margin-top: 0.9rem !important;
  background:
    radial-gradient(circle at top right, rgba(163, 198, 34, 0.12), transparent 32%),
    linear-gradient(180deg, #fffefa 0%, #fbf8f0 100%) !important;
  border: 1px solid rgba(126, 108, 84, 0.11) !important;
  border-radius: 22px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
  color: #271b12 !important;
}

#dashboardView .withdraw-summary-head strong,
#dashboardView .withdraw-summary-head code,
#dashboardView .withdraw-summary-box p,
#dashboardView .withdraw-summary-box span,
#dashboardView .withdraw-summary-box small {
  color: #6f745a !important;
}

#dashboardView .withdraw-summary-head .status-badge {
  background: #fff8ec !important;
  border: 1px solid rgba(166, 129, 65, 0.2) !important;
  color: #8b6332 !important;
}

#dashboardView .withdraw-summary-metrics {
  gap: 0.75rem !important;
}

#dashboardView .withdraw-metric,
#dashboardView .withdraw-metric.primary {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf4 100%) !important;
  border: 1px solid rgba(126, 108, 84, 0.1) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 22px rgba(70, 55, 35, 0.05) !important;
}

#dashboardView .withdraw-metric.primary {
  background:
    linear-gradient(180deg, rgba(240, 248, 221, 0.96), rgba(255, 255, 250, 0.98)) !important;
  border-color: rgba(144, 178, 40, 0.18) !important;
}

#dashboardView .withdraw-metric span {
  color: #6f745a !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
}

#dashboardView .withdraw-metric strong {
  color: #251910 !important;
  font-size: 1.05rem !important;
  letter-spacing: -0.02em !important;
}

#dashboardView .withdraw-rule-note,
#dashboardView .withdraw-rule-note.success {
  background: linear-gradient(180deg, #eef9eb 0%, #fafff6 100%) !important;
  border: 1px solid rgba(82, 169, 81, 0.18) !important;
  border-radius: 16px !important;
  color: #263612 !important;
}

#dashboardView .withdraw-rule-note strong,
#dashboardView .withdraw-rule-note p {
  color: #263612 !important;
}

#dashboardView .activation-history-card .item,
#dashboardView .withdraw-history-row {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf4 100%) !important;
  border: 1px solid rgba(126, 108, 84, 0.1) !important;
  color: #271b12 !important;
}

@media (max-width: 980px) {
  #dashboardView #userRegisterSection h2,
  #dashboardView #userWithdrawSection h2,
  #dashboardView .withdraw-request-card h2,
  #dashboardView .withdraw-history-card h2,
  #dashboardView .withdraw-wallet-card h2 {
    font-size: 1.45rem !important;
  }
}
