﻿:root {
  --bg: #070a0f;
  --surface: #101722;
  --surface-2: #151d2a;
  --surface-3: #1d2735;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f6f8fb;
  --muted: #a9b5c6;
  --muted-2: #7f8da2;
  --teal: #33d7c5;
  --blue: #4c8dff;
  --gold: #f4bb4a;
  --green: #57d68d;
  --red: #ff6b7a;
  --orange: #f59f56;
  --factory-yellow: #ffd42a;
  --binance-yellow: #f0b90b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.app-shell {
  min-height: 100vh;
}

.public-site {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 4%, rgba(255, 212, 42, 0.13), transparent 24%),
    radial-gradient(circle at 18% 16%, rgba(51, 215, 197, 0.1), transparent 28%),
    linear-gradient(180deg, #0e1117 0%, #10141c 34%, #06090c 100%);
}

.public-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(19, 22, 29, 0.96);
  backdrop-filter: blur(20px);
}

.factory-mark {
  position: relative;
  width: 34px;
  height: 52px;
  border-left: 3px solid var(--factory-yellow);
  border-right: 3px solid var(--factory-yellow);
}

.factory-mark::before,
.factory-mark::after,
.factory-mark span {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  height: 3px;
  background: var(--factory-yellow);
}

.factory-mark::before {
  top: 9px;
}

.factory-mark::after {
  top: 23px;
}

.factory-mark span:nth-child(1) {
  top: 36px;
}

.factory-mark span:nth-child(2) {
  top: 0;
  bottom: 0;
  left: 15px;
  width: 3px;
  height: auto;
}

.factory-mark span:nth-child(3) {
  display: none;
}

.fintech-logo {
  width: 220px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
}

.fintech-logo + .brand-text {
  display: none;
}

.public-nav-links,
.public-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.public-nav-links a,
.ghost-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.public-nav-links a:hover,
.ghost-link:hover {
  color: #dffcf8;
}

.public-hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(22px, 5vw, 70px);
  padding: clamp(34px, 6vw, 78px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 64% 48%, rgba(255, 212, 42, 0.18), transparent 22%),
    radial-gradient(circle at 26% 32%, rgba(51, 215, 197, 0.12), transparent 25%),
    linear-gradient(90deg, rgba(7, 9, 13, 0.95) 0%, rgba(7, 9, 13, 0.78) 46%, rgba(7, 9, 13, 0.42) 100%),
    url("assets/crypto-login-bg.png") center right / cover no-repeat;
}

.animated-city-bg {
  position: absolute;
  inset: 0;
  opacity: 0.52;
  perspective: 900px;
  overflow: hidden;
}

.animated-city-bg::before {
  content: "";
  position: absolute;
  inset: 44% -18% -26%;
  background:
    linear-gradient(rgba(255, 212, 42, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 212, 42, 0.16) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: rotateX(65deg);
  transform-origin: top;
  animation: gridDrift 12s linear infinite;
}

.animated-city-bg span {
  position: absolute;
  bottom: 0;
  width: 8%;
  border: 1px solid rgba(255, 212, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.18));
  filter: blur(0.2px);
  animation: buildingFloat 8s ease-in-out infinite;
}

.animated-city-bg span:nth-child(1) { left: 58%; height: 54%; animation-delay: -1s; }
.animated-city-bg span:nth-child(2) { left: 68%; height: 42%; animation-delay: -3s; }
.animated-city-bg span:nth-child(3) { left: 78%; height: 61%; animation-delay: -4s; }
.animated-city-bg span:nth-child(4) { left: 88%; height: 48%; animation-delay: -2s; }
.animated-city-bg span:nth-child(5) { left: 48%; height: 38%; animation-delay: -5s; }

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 56px, 56px 0; }
}

@keyframes buildingFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.public-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(7, 10, 15, 0.94));
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: grid;
  gap: 18px;
  max-width: 660px;
}

.hero-copy h1 {
  margin: 0;
  font-size: 54px;
  line-height: 1.18;
  font-weight: 850;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-command-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-command-strip span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 0 13px;
  color: #e7edf8;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  font-size: 13px;
  font-weight: 800;
}

.yellow-btn {
  color: #080a0e;
  background: var(--factory-yellow);
  box-shadow: 0 18px 40px rgba(255, 212, 42, 0.22);
}

.yellow-btn:hover {
  filter: brightness(1.04);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
  max-width: 620px;
}

.hero-metrics div {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.hero-metrics span,
.preview-ledger span {
  color: var(--muted);
  font-size: 12px;
}

.hero-metrics strong,
.preview-ledger strong {
  font-size: 17px;
}

.secondary-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #bffbf4;
  font-weight: 750;
  text-decoration: none;
}

.hero-visual {
  display: grid;
  gap: 22px;
  min-height: 460px;
  align-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035)),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(255, 255, 255, 0.035) 58px 59px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.premium-wallet-preview {
  position: relative;
  transform-style: preserve-3d;
  animation: cardFloat 7s ease-in-out infinite;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 212, 42, 0.18), transparent 26%),
    linear-gradient(145deg, rgba(72, 38, 29, 0.92), rgba(8, 8, 8, 0.94));
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-10px) rotateX(1.5deg) rotateY(-2deg); }
}

.metamask-badge {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.metamask-badge::before {
  content: "";
  width: 34px;
  height: 34px;
  display: inline-block;
  clip-path: polygon(8% 14%, 42% 26%, 50% 6%, 58% 26%, 92% 14%, 74% 48%, 90% 82%, 58% 70%, 50% 92%, 42% 70%, 10% 82%, 26% 48%);
  background: linear-gradient(135deg, #ff9d28, #f16b1d);
}

.visual-header,
.visual-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.visual-balance {
  display: grid;
  gap: 8px;
}

.visual-balance span,
.section-heading span {
  color: var(--muted);
}

.visual-balance strong {
  font-size: 58px;
  line-height: 1;
}

.visual-balance em,
.preview-ledger em {
  color: #cfe7ff;
  font-style: normal;
}

.preview-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
}

.preview-tabs span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.preview-tabs .active {
  color: var(--text);
  background: rgba(0, 0, 0, 0.7);
}

.metamask-column {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 152, 28, 0.24);
  border-radius: var(--radius);
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 152, 28, 0.15), rgba(0, 0, 0, 0.22)),
    rgba(0, 0, 0, 0.24);
}

.metamask-column-head,
.metamask-column-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.metamask-mini-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  clip-path: polygon(8% 14%, 42% 26%, 50% 6%, 58% 26%, 92% 14%, 74% 48%, 90% 82%, 58% 70%, 50% 92%, 42% 70%, 10% 82%, 26% 48%);
  background: linear-gradient(135deg, #ffb14a, #f16b1d);
  filter: drop-shadow(0 0 18px rgba(255, 152, 28, 0.28));
}

.metamask-column-head div,
.metamask-column-row div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.metamask-column-head em,
.metamask-column-row span {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.metamask-column-row {
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 10px;
  background: rgba(0, 0, 0, 0.22);
}

.metamask-column-row .icon {
  color: var(--factory-yellow);
  flex: 0 0 auto;
}

.metamask-column-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metamask-flow-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 152, 28, 0.26);
  border-radius: var(--radius);
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 152, 28, 0.14), rgba(0, 0, 0, 0.24)),
    rgba(0, 0, 0, 0.22);
}

.metamask-flow-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.metamask-flow-head div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.metamask-flow-head em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.flow-balance-tile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.flow-balance-tile div,
.route-steps div,
.wallet-proof-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
}

.flow-balance-tile div {
  display: grid;
  gap: 5px;
  padding: 12px;
}

.flow-balance-tile span,
.route-steps em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.route-steps {
  display: grid;
  gap: 8px;
}

.route-steps div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 10px;
  padding: 10px;
}

.route-steps span {
  width: 26px;
  height: 26px;
  display: grid;
  grid-row: span 2;
  place-items: center;
  border-radius: 50%;
  color: #0b0e11;
  background: var(--factory-yellow);
  font-size: 12px;
  font-weight: 900;
}

.route-steps strong,
.route-steps em {
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallet-proof-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
}

.wallet-proof-card code {
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff2c9;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  white-space: nowrap;
}

.wallet-proof-card span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cfe7ff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.preview-ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.preview-ledger div {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px;
  background: rgba(0, 0, 0, 0.22);
}

.wallet-chart {
  min-height: 158px;
  border-radius: var(--radius);
  padding: 12px;
  background: linear-gradient(180deg, #050505, #080808);
}

.wallet-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.wallet-chart path {
  fill: none;
  stroke: #ff981c;
  stroke-width: 4;
  filter: drop-shadow(0 0 10px rgba(255, 152, 28, 0.5));
}

.wallet-chart line {
  stroke: #ff981c;
  stroke-width: 4;
}

.wallet-chart circle {
  fill: #ffffff;
  stroke: #ff981c;
  stroke-width: 5;
}

.floating-notice,
.profit-panel {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(82, 53, 45, 0.95), rgba(10, 10, 10, 0.95));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.floating-notice {
  top: 42px;
  right: -72px;
  width: 300px;
  display: grid;
  gap: 3px;
  padding: 16px;
}

.floating-notice span,
.floating-notice em,
.profit-panel span {
  color: var(--muted);
  font-style: normal;
}

.profit-panel {
  right: -30px;
  bottom: -68px;
  width: 270px;
  display: grid;
  gap: 14px;
  padding: 22px;
}

.profit-panel strong {
  font-size: 20px;
}

.profit-panel .active {
  color: #ffffff;
  display: flex;
  justify-content: space-between;
}

.visual-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.visual-flow div {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  color: #dfeaff;
  background: rgba(0, 0, 0, 0.23);
  font-weight: 750;
}

.landing-command-center {
  width: min(1320px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: -38px auto 0;
  position: relative;
  z-index: 3;
}

.landing-command-center div {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(9, 12, 17, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.command-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 212, 42, 0.32);
  border-radius: var(--radius);
  color: var(--factory-yellow);
  background: rgba(255, 212, 42, 0.09);
  font-style: normal;
}

.landing-command-center span,
.landing-command-center em {
  color: var(--muted);
  font-style: normal;
}

.landing-command-center strong {
  font-size: 22px;
}

.market-band,
.option-band,
.security-showcase,
.stats-band,
.conversion-band,
.info-band,
.crypto-band {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0;
}

.ticker-strip {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 12, 0.98);
}

.ticker-strip div {
  width: max-content;
  display: flex;
  gap: 34px;
  padding: 18px 0;
  animation: tickerMove 28s linear infinite;
}

.ticker-strip span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f4f7fb;
  font-weight: 800;
  white-space: nowrap;
}

.ticker-strip em {
  font-style: normal;
}

.ticker-strip small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-48%); }
}

.centered-heading {
  margin-inline: auto;
  text-align: center;
}

.security-showcase {
  padding-top: 88px;
  padding-bottom: 88px;
}

.security-feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-top: 70px;
}

.security-feature-row article {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.security-feature-row article > span {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border: 3px solid var(--factory-yellow);
  border-radius: 50%;
  color: var(--factory-yellow);
}

.security-feature-row h3 {
  margin: 0;
  color: var(--factory-yellow);
  font-size: 24px;
}

.security-feature-row p {
  max-width: 360px;
  margin: 0;
  color: #e9edf4;
  line-height: 1.55;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  text-align: center;
}

.stats-band div {
  display: grid;
  gap: 18px;
}

.stats-band strong {
  color: var(--factory-yellow);
  font-size: 38px;
}

.stats-band span {
  color: #f1f3f8;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.3;
}

.conversion-band {
  padding-top: 74px;
  padding-bottom: 84px;
  background: #070b0d;
}

.conversion-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 60px;
  margin-top: 72px;
}

.conversion-option-grid div {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.conversion-option-grid span {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0a0e12;
  background: var(--factory-yellow);
  font-weight: 900;
}

.conversion-option-grid strong {
  font-size: 22px;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading h2,
.crypto-text h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.04;
}

.market-band {
  position: relative;
}

.market-band > .tool-btn {
  position: absolute;
  right: 0;
  top: 60px;
}

.market-grid,
.option-grid,
.feature-grid,
.crypto-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.market-card,
.option-card,
.feature-card,
.crypto-steps div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.option-card {
  min-height: 182px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  color: var(--text);
  text-decoration: none;
}

.option-card:hover {
  border-color: rgba(51, 215, 197, 0.5);
  background: linear-gradient(180deg, rgba(51, 215, 197, 0.12), rgba(255, 255, 255, 0.045));
}

.option-card > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(51, 215, 197, 0.35);
  border-radius: var(--radius);
  color: var(--teal);
  background: rgba(51, 215, 197, 0.1);
}

.option-card strong {
  font-size: 20px;
}

.option-card em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.option-card small {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 212, 42, 0.22);
  border-radius: 999px;
  padding: 0 10px;
  color: #ffe27a;
  background: rgba(255, 212, 42, 0.08);
  font-size: 12px;
  font-weight: 850;
}

.market-card {
  min-height: 134px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
}

.market-card span,
.market-card em,
.market-card small {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.market-card strong {
  font-size: 28px;
}

.market-card small {
  display: block;
  color: #d6e4f7;
}

.market-card .positive,
.positive {
  color: #baf6d4;
}

.market-card .negative,
.negative {
  color: #ffb6bf;
}

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

.feature-card {
  min-height: 260px;
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(51, 215, 197, 0.35);
  border-radius: var(--radius);
  color: var(--teal);
  background: rgba(51, 215, 197, 0.1);
}

.feature-card h3 {
  margin: 0;
  font-size: 20px;
}

.feature-card p,
.crypto-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.crypto-band {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: 22px;
  align-items: center;
  padding-bottom: 78px;
}

.crypto-text {
  display: grid;
  gap: 13px;
}

.crypto-steps {
  grid-template-columns: 1fr;
}

.crypto-steps div {
  min-height: 92px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px;
}

.crypto-steps span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1b1607;
  background: var(--gold);
  font-weight: 850;
}

.crypto-steps strong {
  font-size: 20px;
}

.back-home {
  width: fit-content;
}

.landing-top-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(240, 185, 11, 0.52);
  border-radius: 999px;
  color: #151008;
  background: linear-gradient(135deg, #f0b90b, #f8d33a);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  font-weight: 850;
  cursor: pointer;
}

.landing-top-button .icon {
  transform: rotate(-90deg);
}

.landing-top-button:hover {
  transform: translateY(-2px);
}

.login-view {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 10, 15, 0.96) 0%, rgba(7, 10, 15, 0.86) 38%, rgba(7, 10, 15, 0.28) 100%),
    url("assets/crypto-login-bg.png") center right / cover no-repeat;
}

.login-panel {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 42px;
  border-right: 1px solid var(--line);
  background: rgba(7, 10, 15, 0.6);
  backdrop-filter: blur(22px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(51, 215, 197, 0.52);
  border-radius: 8px;
  color: var(--teal);
  background: linear-gradient(145deg, rgba(51, 215, 197, 0.18), rgba(244, 187, 74, 0.12));
  box-shadow: 0 0 32px rgba(51, 215, 197, 0.12);
}

.brand-text strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

.brand-text span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.login-copy h1 {
  margin: 0;
  max-width: 380px;
  font-size: 42px;
  line-height: 1.04;
  font-weight: 750;
}

.login-copy p {
  margin: 14px 0 0;
  max-width: 390px;
  color: var(--muted);
  line-height: 1.6;
}

.login-form {
  display: grid;
  gap: 14px;
  max-width: 390px;
}

.login-options-row,
.remember-row {
  display: flex;
  align-items: center;
}

.login-options-row {
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.remember-row {
  gap: 8px;
  color: var(--muted);
  cursor: pointer;
}

.remember-row input {
  width: 17px;
  height: 17px;
  accent-color: var(--gold);
}

.login-options-row a,
.auth-back-link {
  color: var(--teal);
  font-weight: 750;
  text-decoration: none;
}

.auth-page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(51, 215, 197, 0.12), transparent 32%),
    radial-gradient(circle at 85% 90%, rgba(240, 185, 11, 0.1), transparent 30%),
    var(--bg);
}

.auth-page-card {
  width: min(100%, 470px);
  display: grid;
  gap: 18px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(12, 20, 31, 0.96);
  box-shadow: var(--shadow);
}

.auth-page-logo {
  width: 190px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.creator-page-shell {
  background:
    radial-gradient(circle at 18% 16%, rgba(240, 185, 11, 0.1), transparent 34%),
    radial-gradient(circle at 82% 22%, rgba(51, 215, 197, 0.12), transparent 34%),
    #070b0f;
}

.creator-card {
  max-width: 520px;
}

.creator-qr-card {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(240, 185, 11, 0.28);
  border-radius: var(--radius);
  padding: 16px;
  background:
    radial-gradient(circle at 15% 20%, rgba(240, 185, 11, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.04));
}

.creator-qr-card img {
  width: 138px;
  height: 138px;
  border-radius: 16px;
  padding: 10px;
  background: #fff;
}

.creator-qr-card div {
  display: grid;
  gap: 8px;
}

.creator-qr-card strong {
  color: #fff;
  font-size: 18px;
}

.creator-qr-card span {
  color: var(--muted);
  line-height: 1.45;
}

.auth-page-card h1,
.auth-page-card p {
  margin: 0;
}

.auth-page-card > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.form-success {
  color: var(--teal);
  font-size: 13px;
  line-height: 1.45;
}

.field {
  display: grid;
  gap: 7px;
}

.field span,
.field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 0 13px;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(51, 215, 197, 0.85);
  box-shadow: 0 0 0 3px rgba(51, 215, 197, 0.12);
}

.field textarea {
  min-height: 96px;
  resize: vertical;
  padding: 12px 13px;
  line-height: 1.45;
}

.password-row {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
}

.icon-btn,
.tool-btn {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.icon-btn:hover,
.tool-btn:hover {
  border-color: rgba(51, 215, 197, 0.5);
  background: rgba(51, 215, 197, 0.1);
}

.primary-btn,
.secondary-btn,
.danger-btn,
.ghost-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius);
  padding: 0 15px;
  font-weight: 750;
  color: var(--text);
}

.primary-btn {
  background: linear-gradient(135deg, #25cdb9, #3e83ff);
  box-shadow: 0 14px 34px rgba(62, 131, 255, 0.24);
}

.primary-btn.yellow-btn {
  color: #080a0e;
  background: var(--factory-yellow);
  box-shadow: 0 16px 36px rgba(255, 212, 42, 0.24);
}

.primary-btn:hover {
  filter: brightness(1.05);
}

.secondary-btn {
  border: 1px solid rgba(51, 215, 197, 0.38);
  background: rgba(51, 215, 197, 0.1);
}

.danger-btn {
  border: 1px solid rgba(255, 107, 122, 0.45);
  background: rgba(255, 107, 122, 0.12);
}

.ghost-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.login-meta {
  max-width: 390px;
  display: grid;
  gap: 10px;
}

.form-error {
  min-height: 19px;
  color: #ff9aa4;
  font-size: 13px;
}

.dashboard {
  min-height: 100vh;
  background: linear-gradient(180deg, #0b0f15 0%, #0e141d 46%, #0a0d12 100%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 14, 20, 0.96);
  backdrop-filter: blur(18px);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wallet-login-note {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  color: #bffbf4;
  border: 1px solid rgba(51, 215, 197, 0.24);
  background: rgba(51, 215, 197, 0.07);
  border-radius: 999px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.language-switcher {
  position: fixed;
  top: 112px;
  right: 14px;
  z-index: 9999;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(255, 209, 43, 0.24);
  border-radius: 22px;
  background: rgba(6, 17, 29, 0.78);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  color: #f7d45d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.language-switcher > span {
  display: none;
}

.panel-heading-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.currency-selector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(89, 145, 210, 0.22);
  border-radius: 12px;
  background: rgba(6, 18, 34, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.currency-selector select {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: rgba(2, 9, 18, 0.92);
  color: #fff;
  font-weight: 900;
  padding: 6px 28px 6px 10px;
  min-width: 86px;
  outline: none;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 209, 43, 0.06);
}

.currency-selector select:focus {
  border-color: rgba(248, 188, 12, 0.84);
  box-shadow: 0 0 0 3px rgba(248, 188, 12, 0.12);
}

.currency-selector option {
  color: #f7fbff;
  background: #071426;
}

.language-flag-list {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.language-flag-btn {
  width: 46px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #eef7ff;
  font: inherit;
  font-size: 0.68rem;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.language-flag-btn:hover,
.language-flag-btn.active {
  border-color: rgba(248, 188, 12, 0.84);
  background: rgba(248, 188, 12, 0.16);
  transform: translateY(-1px);
}

.flag-icon {
  width: 30px;
  height: 20px;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.26);
}

.flag-en {
  background:
    linear-gradient(90deg, #3c3b6e 0 42%, transparent 42% 100%),
    repeating-linear-gradient(180deg, #b22234 0 7.69%, #ffffff 7.69% 15.38%);
  position: relative;
}

.flag-en::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 10px;
  height: 8px;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 4px 4px;
}

.flag-it {
  background: linear-gradient(90deg, #009246 0 33.33%, #ffffff 33.33% 66.66%, #ce2b37 66.66% 100%);
}

.flag-fr {
  background: linear-gradient(90deg, #0055a4 0 33.33%, #ffffff 33.33% 66.66%, #ef4135 66.66% 100%);
}

.flag-de {
  background: linear-gradient(180deg, #000000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66% 100%);
}

.flag-pt {
  position: relative;
  background: linear-gradient(90deg, #006600 0 40%, #ff0000 40% 100%);
}

.flag-pt::after {
  content: "";
  position: absolute;
  left: 34%;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid #ffcc00;
  border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 0 2px #004b8d;
}

.language-flag-btn > span:not(.flag-icon) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.brand-home-link {
  cursor: pointer;
  border-radius: 14px;
}

.brand-home-link:focus-visible {
  outline: 2px solid rgba(248, 188, 12, 0.7);
  outline-offset: 6px;
}

.status-pill,
.role-pill,
.state-pill {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 999px;
  padding: 0 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.role-pill {
  color: #bffbf4;
  border-color: rgba(51, 215, 197, 0.34);
  background: rgba(51, 215, 197, 0.09);
}

.state-paid {
  color: #baf6d4;
  border-color: rgba(87, 214, 141, 0.35);
  background: rgba(87, 214, 141, 0.09);
}

.state-due,
.state-frozen {
  color: #ffd8de;
  border-color: rgba(255, 107, 122, 0.34);
  background: rgba(255, 107, 122, 0.1);
}

.state-pending {
  color: #ffe0b8;
  border-color: rgba(245, 159, 86, 0.38);
  background: rgba(245, 159, 86, 0.1);
}

.dashboard-main {
  width: min(1420px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 42px;
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 22px;
}

.portfolio-panel,
.market-panel,
.tool-panel,
.table-panel,
.user-card,
.payment-panel,
.notice-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.portfolio-panel {
  position: relative;
  min-height: 230px;
  padding: 25px;
  overflow: hidden;
}

.portfolio-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 52%, rgba(51, 215, 197, 0.08) 52% 53%, transparent 53% 100%);
  mask-image: linear-gradient(90deg, transparent, black 42%, black);
  pointer-events: none;
}

.portfolio-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
}

.eyebrow {
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.portfolio-panel h1,
.tool-panel h2,
.table-panel h2,
.payment-panel h2,
.notice-panel h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.portfolio-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.portfolio-value strong {
  font-size: 44px;
  line-height: 1;
}

.portfolio-value span {
  color: var(--muted);
  font-size: 15px;
}

.mini-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 12px;
  max-width: 700px;
}

.metric {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(0, 0, 0, 0.2);
}

.metric span {
  color: var(--muted);
  font-size: 12px;
}

.metric strong {
  font-size: 22px;
}

.metric-link {
  color: var(--text);
  text-align: left;
}

.metric-link:hover {
  border-color: rgba(240, 185, 11, 0.42);
  background: rgba(240, 185, 11, 0.08);
}

.market-panel {
  min-height: 264px;
  padding: 22px;
  display: grid;
  align-content: space-between;
  gap: 18px;
}

.coin-orbit {
  position: relative;
  width: 156px;
  height: 156px;
  margin: 0 auto;
}

.coin-orbit::before,
.coin-orbit::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(51, 215, 197, 0.25);
  border-radius: 50%;
}

.coin-orbit::after {
  inset: 28px;
  border-color: rgba(244, 187, 74, 0.28);
}

.coin {
  position: absolute;
  inset: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #3a2600;
  font-size: 50px;
  font-weight: 850;
  background: radial-gradient(circle at 30% 28%, #fff4bd, #f2b335 48%, #a96b11);
  box-shadow: inset -10px -14px 24px rgba(64, 36, 0, 0.34), 0 14px 42px rgba(244, 187, 74, 0.22);
}

.coin-dot {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 22px rgba(51, 215, 197, 0.8);
}

.coin-dot.one {
  top: 18px;
  right: 34px;
}

.coin-dot.two {
  bottom: 24px;
  left: 22px;
  background: var(--blue);
  box-shadow: 0 0 22px rgba(76, 141, 255, 0.75);
}

.market-copy {
  display: grid;
  gap: 8px;
  text-align: center;
}

.market-copy strong {
  font-size: 18px;
}

.market-copy span {
  color: var(--muted);
  line-height: 1.45;
}

.compact-market {
  display: grid;
  gap: 8px;
}

.compact-market .market-card {
  min-height: 74px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 10px;
  padding: 11px 12px;
  box-shadow: none;
}

.compact-market .market-card span,
.compact-market .market-card em {
  font-size: 12px;
}

.compact-market .market-card strong {
  font-size: 16px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.admin-workspace {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.admin-side-system {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.admin-page-area {
  min-width: 0;
}

.admin-tabs {
  display: grid;
  gap: 10px;
  margin: 0;
}

.admin-tab-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 15px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.admin-tab-btn:hover,
.admin-tab-btn.active {
  color: #0b0e11;
  border-color: rgba(240, 185, 11, 0.55);
  background: var(--binance-yellow);
}

.side-system-card {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(240, 185, 11, 0.18);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(240, 185, 11, 0.08);
}

.side-system-card span,
.side-system-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.side-system-card strong {
  font-size: 22px;
}

.side-system-card.subtle-card {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
}

.admin-action-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 20px;
  align-items: start;
}

.admin-command-card {
  min-height: 238px;
  display: grid;
  align-content: space-between;
  background:
    radial-gradient(circle at 88% 18%, rgba(240, 185, 11, 0.2), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
}

.admin-command-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-review-list {
  display: grid;
  gap: 10px;
}

.admin-review-list div {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(0, 0, 0, 0.18);
}

.admin-review-list strong {
  font-size: 15px;
}

.admin-review-list em {
  grid-column: 2;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.users-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(240, 185, 11, 0.2);
  border-radius: var(--radius);
  padding: 20px;
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
}

.users-page-head h2 {
  margin: 4px 0 6px;
  font-size: 26px;
}

.users-page-head span {
  color: var(--muted);
  line-height: 1.45;
}

.users-control-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}

.users-control-ribbon div {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(51, 215, 197, 0.18);
  border-radius: var(--radius);
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(51, 215, 197, 0.11), transparent 56%),
    rgba(255, 255, 255, 0.045);
}

.users-control-ribbon span,
.users-control-ribbon em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.users-control-ribbon strong {
  color: #dffcf8;
  font-size: 30px;
}

.users-workspace {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.users-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.users-tab-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 15px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.users-tab-btn:hover,
.users-tab-btn.active {
  color: #0b0e11;
  border-color: rgba(240, 185, 11, 0.55);
  background: var(--binance-yellow);
}

.users-directory-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 20px;
  align-items: start;
  min-width: 0;
}

.user-directory-panel,
#selectedUserMount,
.users-edit-view,
.users-create-view {
  min-width: 0;
}

.user-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 12px;
}

.management-user-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
}

.management-user-card.active {
  border-color: rgba(240, 185, 11, 0.62);
  box-shadow: 0 0 0 1px rgba(240, 185, 11, 0.12), 0 16px 44px rgba(240, 185, 11, 0.08);
}

.management-user-main {
  width: 100%;
  display: grid;
  justify-items: start;
  gap: 5px;
  padding: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
}

.management-user-main strong,
.management-user-main em,
.management-user-main small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.management-user-main strong {
  font-size: 18px;
}

.management-user-main em,
.management-user-main small {
  color: var(--muted);
  font-style: normal;
}

.management-user-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.management-user-stats div,
.selected-user-metrics div,
.selected-user-messages div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: #0b0e11;
}

.management-user-stats span,
.selected-user-metrics span,
.selected-user-messages span {
  color: var(--muted);
  font-size: 12px;
}

.management-user-stats strong,
.selected-user-metrics strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #f3f7fb;
  font-size: 14px;
  white-space: nowrap;
}

.management-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.secondary-btn.compact-btn,
.ghost-btn.compact-btn {
  min-height: 36px;
  padding: 0 10px;
  font-size: 13px;
}

.selected-user-panel {
  position: sticky;
  top: 96px;
}

.selected-user-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.selected-user-messages {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.selected-user-messages p {
  margin: 6px 0 0;
  color: #dce7f7;
  line-height: 1.45;
}

.selected-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.selected-action-grid button {
  width: 100%;
}

.users-edit-panel {
  max-width: 1100px;
}

.users-create-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 20px;
  align-items: start;
}

.users-create-panel .primary-btn {
  width: fit-content;
}

.admin-action-strip div {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(240, 185, 11, 0.11), transparent 52%),
    rgba(255, 255, 255, 0.045);
}

.admin-action-strip span,
.admin-action-strip em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.admin-action-strip strong {
  color: var(--binance-yellow);
  font-size: 30px;
}

.hero-band > *,
.admin-grid > *,
.user-layout > * {
  min-width: 0;
}

.tool-stack {
  display: grid;
  gap: 20px;
}

.tool-panel,
.table-panel,
.payment-panel,
.notice-panel {
  padding: 20px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.panel-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.form-grid {
  display: grid;
  gap: 13px;
}

.rate-note {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(51, 215, 197, 0.28);
  border-radius: var(--radius);
  padding: 9px 11px;
  color: var(--muted);
  background: rgba(51, 215, 197, 0.08);
  font-size: 13px;
}

.rate-note strong {
  color: #dffcf8;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.search-box {
  min-width: 230px;
  flex: 1;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 0 13px;
}

.user-table-wrap {
  overflow-x: auto;
}

.user-table {
  width: 100%;
  min-width: 1500px;
  border-collapse: collapse;
}

.user-table th,
.user-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 10px;
  text-align: left;
  vertical-align: middle;
}

.user-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.user-table td {
  color: #e9eef7;
  font-size: 14px;
}

.amount-stack {
  display: grid;
  gap: 4px;
}

.amount-stack strong {
  color: #f5f8ff;
}

.amount-stack span {
  color: var(--muted);
  font-size: 12px;
}

.profile-stack {
  display: grid;
  gap: 4px;
}

.profile-stack span,
.profile-stack em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.profile-stack strong {
  color: var(--binance-yellow);
  font-size: 13px;
}

.warning-cell {
  max-width: 240px;
  display: -webkit-box;
  overflow: hidden;
  color: #dce7f7;
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.warning-cell.empty-warning {
  color: var(--muted-2);
}

.withdraw-admin-cell {
  display: grid;
  gap: 6px;
}

.withdraw-admin-cell em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.user-cell {
  display: grid;
  gap: 3px;
}

.user-cell strong {
  font-size: 14px;
}

.user-cell span,
.subtle {
  color: var(--muted-2);
  font-size: 12px;
}

.address {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #c8d5e8;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.wallet-address {
  max-width: 260px;
  color: #e5edf8;
}

.optional-field {
  opacity: 0.78;
}

.optional-field input,
.optional-field textarea {
  border-style: dashed;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 164px;
}

.table-actions .tool-btn {
  width: 36px;
  height: 36px;
}

.empty-state {
  min-height: 170px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(12px);
}

.modal {
  width: min(560px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111925;
  box-shadow: var(--shadow);
  padding: 20px;
}

.modal-wide {
  width: min(860px, 100%);
}

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

.modal-header h2 {
  margin: 0;
  font-size: 20px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.admin-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.check-row {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 750;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--binance-yellow);
}

.user-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 20px;
  align-items: start;
}

.client-dashboard-shell {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.client-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: #10161f;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.client-sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(240, 185, 11, 0.28);
  border-radius: var(--radius);
  color: var(--binance-yellow);
  background: rgba(240, 185, 11, 0.09);
}

.client-sidebar-profile div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.client-sidebar-profile strong,
.client-sidebar-profile span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-sidebar-profile span {
  color: var(--muted);
  font-size: 12px;
}

.client-balance-card {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(240, 185, 11, 0.22);
  border-radius: var(--radius);
  padding: 14px;
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.13), rgba(255, 255, 255, 0.04));
}

.client-balance-card span,
.client-balance-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.client-balance-card strong {
  font-size: 20px;
}

.client-nav {
  display: grid;
  gap: 8px;
}

.client-nav-btn {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.client-nav-btn:hover,
.client-nav-btn.active {
  color: #0b0e11;
  border-color: rgba(240, 185, 11, 0.5);
  background: var(--binance-yellow);
}

.client-sidebar-note {
  display: grid;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.client-sidebar-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.client-content {
  min-width: 0;
}

.client-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.client-page-header h1 {
  margin: 4px 0 6px;
  font-size: 30px;
  line-height: 1.1;
}

.client-page-header span {
  color: var(--muted);
  line-height: 1.45;
}

.client-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.client-quick-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.withdraw-payment-layout .tool-stack {
  gap: 14px;
}

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

.withdraw-start-panel {
  min-height: 360px;
  align-content: start;
  gap: 18px;
}

.withdraw-start-balance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.withdraw-start-balance div {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(89, 145, 210, 0.18);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(3, 10, 20, 0.48);
}

.withdraw-start-balance span,
.withdraw-start-balance em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.withdraw-start-balance strong {
  font-size: 22px;
}

.withdraw-start-btn {
  width: fit-content;
  min-width: 180px;
  margin-top: 18px;
}

.withdraw-paywall-panel {
  border-color: rgba(255, 107, 122, 0.24);
  background: linear-gradient(135deg, rgba(255, 107, 122, 0.1), rgba(255, 255, 255, 0.035));
}

.dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.tab-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  font-weight: 750;
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--text);
  border-color: rgba(51, 215, 197, 0.4);
  background: rgba(51, 215, 197, 0.11);
}

.binance-hero-band {
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
}

.binance-account-panel {
  min-height: 318px;
  border-color: rgba(240, 185, 11, 0.22);
  background:
    radial-gradient(circle at 92% 12%, rgba(240, 185, 11, 0.22), transparent 26%),
    linear-gradient(145deg, #181a20, #0b0e11);
}

.binance-account-panel::after {
  background:
    linear-gradient(115deg, transparent 0 50%, rgba(240, 185, 11, 0.13) 50% 51%, transparent 51% 100%),
    repeating-linear-gradient(90deg, transparent 0 50px, rgba(255, 255, 255, 0.035) 50px 51px);
}

.binance-balance-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.binance-balance-actions,
.client-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.binance-side-card {
  border-color: rgba(240, 185, 11, 0.16);
  background: linear-gradient(180deg, #181a20, #11151c);
}

.client-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: 20px;
  align-items: start;
}

.spot-wallet-panel,
.account-mini-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #181a20;
  box-shadow: var(--shadow);
  padding: 20px;
}

.spot-wallet-panel {
  min-width: 0;
}

.spot-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.spot-summary-grid div {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 16px;
  background: #0b0e11;
}

.spot-summary-grid span,
.spot-summary-grid em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.spot-summary-grid strong {
  font-size: 24px;
}

.asset-table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.asset-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #0b0e11;
}

.asset-table th,
.asset-table td {
  padding: 15px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  text-align: left;
}

.asset-table th {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.asset-table td {
  color: #eaecef;
  font-size: 14px;
}

.clean-asset-table td:nth-child(3) {
  min-width: 138px;
}

.asset-table td:last-child,
.asset-table th:last-child {
  white-space: nowrap;
}

.clean-asset-table td:nth-child(3) strong,
.clean-asset-table td:nth-child(3) em,
.clean-asset-table td:nth-child(3) span {
  display: block;
}

.clean-asset-table td:nth-child(3) em {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 12px;
  font-style: normal;
  white-space: normal;
}

.asset-table tbody tr:hover {
  background: rgba(240, 185, 11, 0.055);
}

.asset-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.asset-name-cell div {
  display: grid;
  gap: 3px;
}

.asset-name-cell em {
  color: var(--muted-2);
  font-style: normal;
  font-size: 12px;
}

.asset-token {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 3px solid currentColor;
  background: transparent;
  box-shadow: none;
  font-weight: 900;
}

.asset-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 34px;
  transform: none;
}

.market-coin-title {
  display: flex;
  align-items: center;
  gap: 9px;
}

.market-coin-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 24px;
}

.payment-queue-item {
  gap: 8px;
}

.payment-queue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}

.submission-sent-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(51, 215, 197, 0.34);
  border-radius: var(--radius);
  background: rgba(51, 215, 197, 0.1);
}

.submission-sent-card > .icon {
  width: 28px;
  height: 28px;
  color: var(--teal);
  flex: 0 0 auto;
}

.submission-sent-card div {
  display: grid;
  gap: 5px;
}

.submission-sent-card strong {
  color: var(--teal);
  font-size: 18px;
}

.submission-sent-card span {
  color: var(--muted);
  line-height: 1.45;
}

.btc-token {
  background: linear-gradient(135deg, #f0b90b, #f8d33a);
}

.eur-token {
  color: #2aa7ff;
  font-size: 20px;
  line-height: 1;
}

.usd-token {
  color: #35d08a;
  font-size: 19px;
  line-height: 1;
}

.cad-token {
  color: #ff4f64;
  font-size: 14px;
  line-height: 1;
}

.visual-asset-row {
  opacity: 0.82;
}

.eth-token {
  background: linear-gradient(135deg, #d9d9d9, #627eea);
}

.usdt-token {
  background: linear-gradient(135deg, #26a17b, #7de2bf);
}

.bnb-token {
  background: linear-gradient(135deg, #f0b90b, #f8d33a);
}

.ada-token {
  background: linear-gradient(135deg, #1c8dff, #12d8ff);
}

.fee-token {
  background: linear-gradient(135deg, #ff9a5d, #ff6b7a);
}

.binance-account-side {
  display: grid;
  gap: 20px;
}

.account-mini-card {
  display: grid;
  gap: 14px;
}

.account-mini-card h2 {
  margin: 0;
  font-size: 20px;
}

.detail-list {
  display: grid;
  gap: 10px;
}

.detail-list div {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #0b0e11;
}

.detail-list span {
  color: var(--muted);
  font-size: 12px;
}

.detail-list code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #eaecef;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.client-status-card {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(240, 185, 11, 0.22);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(240, 185, 11, 0.08);
}

.client-status-card .icon {
  color: var(--binance-yellow);
  flex: 0 0 auto;
}

.client-status-card div {
  display: grid;
  gap: 5px;
}

.client-status-card span,
.public-detail-list span {
  color: var(--muted);
}

.public-detail-list strong {
  overflow: hidden;
  text-overflow: ellipsis;
  color: #f4f7fb;
}

.client-signal-bars {
  height: 150px;
  margin-top: 0;
}

.btc-value-chart {
  margin: 16px 0;
  overflow: hidden;
  border: 1px solid rgba(240, 185, 11, 0.15);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 80% 18%, rgba(240, 185, 11, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(0, 0, 0, 0.16));
}

.chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 0;
}

.chart-head div {
  display: grid;
  gap: 4px;
}

.chart-head span,
.chart-head em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.chart-head strong {
  font-size: 22px;
}

.btc-value-chart svg {
  display: block;
  width: 100%;
  height: 210px;
}

.chart-grid-line {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
  fill: none;
}

.chart-fill {
  fill: url(#btcFillGradient);
}

.chart-line {
  fill: none;
  stroke: url(#btcLineGradient);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(240, 185, 11, 0.24));
}

.chart-dot {
  fill: var(--binance-yellow);
  stroke: #0b0e11;
  stroke-width: 3;
}

.withdraw-request-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 22px;
}

.withdraw-request-panel::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% 45%;
  height: 220px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(51, 215, 197, 0.14), transparent 62%);
}

.withdraw-frozen {
  border-color: rgba(255, 107, 122, 0.28);
}

.withdraw-lock-card {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 107, 122, 0.24);
  border-radius: var(--radius);
  padding: 18px;
  background: linear-gradient(135deg, rgba(255, 107, 122, 0.12), rgba(255, 255, 255, 0.04));
}

.withdraw-lock-card .icon {
  color: var(--red);
  flex: 0 0 auto;
}

.withdraw-lock-card div {
  display: grid;
  gap: 5px;
}

.withdraw-lock-card span {
  color: var(--muted);
}

.withdraw-status-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.withdraw-request-panel .withdraw-state-card,
.withdraw-request-panel .withdraw-submission-card {
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.withdraw-request-panel .withdraw-state-card {
  min-height: 106px;
}

.withdraw-request-panel .withdraw-state-card.is-open {
  border-color: rgba(51, 215, 197, 0.30);
  background:
    radial-gradient(circle at 92% 20%, rgba(51, 215, 197, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(51, 215, 197, 0.10), rgba(255, 255, 255, 0.045));
}

.withdraw-request-panel .withdraw-state-card.is-open .icon {
  color: var(--teal);
}

.withdraw-request-panel .withdraw-submission-card {
  border-color: rgba(51, 215, 197, 0.42);
  background:
    radial-gradient(circle at 12% 12%, rgba(51, 215, 197, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(51, 215, 197, 0.13), rgba(255, 255, 255, 0.045));
}

.user-card {
  overflow: hidden;
}

.balance-strip {
  padding: 25px;
  background:
    linear-gradient(110deg, rgba(51, 215, 197, 0.16), transparent 45%),
    linear-gradient(135deg, rgba(76, 141, 255, 0.18), rgba(244, 187, 74, 0.1));
  border-bottom: 1px solid var(--line);
}

.balance-strip h1 {
  margin: 8px 0 0;
  font-size: 48px;
  line-height: 1;
}

.balance-strip p {
  margin: 8px 0 0;
  color: #c6d6ea;
  font-size: 15px;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.account-stat {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px;
  background: rgba(14, 20, 29, 0.94);
}

.account-stat span {
  color: var(--muted);
  font-size: 12px;
}

.account-stat strong {
  font-size: 18px;
}

.hash-text {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  letter-spacing: 0;
}

.wallet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 25px;
}

.wallet-row code {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #d7e8ff;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.withdraw-panel {
  padding: 25px;
  border-top: 1px solid var(--line);
}

.withdraw-panel p {
  margin: 8px 0 18px;
  color: var(--muted);
  line-height: 1.5;
}

.payment-panel {
  display: grid;
  gap: 16px;
}

.payment-panel-large {
  align-content: start;
}

.commission-payment-panel {
  border-color: rgba(240, 185, 11, 0.22);
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 185, 11, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.commission-due-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(240, 185, 11, 0.34);
  border-radius: var(--radius);
  padding: 18px;
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.16), rgba(255, 255, 255, 0.045));
}

.commission-due-banner div {
  display: grid;
  gap: 5px;
}

.commission-due-banner span,
.commission-due-banner em,
.commission-due-banner p {
  margin: 0;
  color: var(--muted);
  font-style: normal;
}

.commission-due-banner span {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.commission-due-banner strong {
  color: #ffe27a;
  font-size: 32px;
  line-height: 1;
}

.commission-due-banner p {
  max-width: 280px;
  line-height: 1.45;
}

.side-stack {
  display: grid;
  gap: 20px;
}

.dashboard-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 20px;
  align-items: start;
}

.dual-amount,
.conversion-grid,
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dual-amount div,
.conversion-card,
.security-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
}

.dual-amount div {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
}

.dual-amount span,
.conversion-card span {
  color: var(--muted);
  font-size: 12px;
}

.dual-amount strong,
.conversion-card strong {
  font-size: 26px;
}

.exchange-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 8px 0;
}

.exchange-path::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), rgba(51, 215, 197, 0.3));
}

.exchange-path .payment-timeline-step {
  position: relative;
  min-height: 178px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 9px;
  border: 1px solid rgba(51, 215, 197, 0.26);
  border-radius: 16px;
  padding: 16px 14px;
  color: #dffcf8;
  text-align: center;
  background: linear-gradient(180deg, rgba(51, 215, 197, 0.1), rgba(7, 17, 27, 0.72));
}

.timeline-number {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid var(--teal);
  border-radius: 50%;
  color: #071019;
  background: var(--teal);
  font-weight: 900;
}

.payment-timeline-step i {
  display: grid;
  place-items: center;
  color: var(--teal);
  font-style: normal;
}

.payment-timeline-step i .icon {
  width: 22px;
  height: 22px;
}

.payment-timeline-step strong {
  font-size: 16px;
}

.payment-timeline-step small {
  color: var(--muted);
  line-height: 1.45;
  font-size: 12px;
}

.conversion-card {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
}

.conversion-card-large {
  min-height: 168px;
  box-shadow: var(--shadow);
  background: linear-gradient(145deg, rgba(51, 215, 197, 0.12), rgba(76, 141, 255, 0.08));
}

.conversion-card em {
  color: var(--muted);
  font-style: normal;
}

.market-dashboard-panel {
  min-width: 0;
}

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

.signal-bars {
  height: 170px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  align-items: end;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(255, 255, 255, 0.04) 34px 35px);
}

.signal-bars span {
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--teal), var(--blue));
  box-shadow: 0 0 22px rgba(51, 215, 197, 0.18);
}

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

.security-item {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  color: #e7eefb;
  font-weight: 700;
}

.security-item .icon {
  color: var(--teal);
  flex: 0 0 auto;
}

.activity-list {
  display: grid;
  gap: 12px;
}

.activity-list div {
  position: relative;
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px 14px 12px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
}

.activity-list span {
  position: absolute;
  left: 14px;
  top: 23px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(244, 187, 74, 0.6);
}

.activity-list strong {
  font-size: 15px;
}

.activity-list em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.dashboard-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-option {
  min-height: 138px;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  text-align: left;
}

.dashboard-option:hover {
  border-color: rgba(255, 212, 42, 0.45);
  background: rgba(255, 212, 42, 0.08);
}

.dashboard-option .icon {
  color: var(--factory-yellow);
}

.dashboard-option strong {
  font-size: 16px;
}

.dashboard-option span {
  color: var(--muted);
  line-height: 1.35;
}

.classic-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: 20px;
  align-items: start;
}

.profile-card-main {
  display: grid;
  gap: 18px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-header h2 {
  margin: 4px 0;
}

.profile-header span {
  color: var(--muted);
}

.avatar-badge {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(51, 215, 197, 0.32);
  border-radius: var(--radius);
  color: var(--teal);
  background: rgba(51, 215, 197, 0.09);
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.profile-detail-grid div {
  min-width: 0;
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.profile-detail-grid span {
  color: var(--muted);
  font-size: 12px;
}

.profile-detail-grid strong {
  overflow: hidden;
  text-overflow: ellipsis;
  color: #f5f8ff;
  white-space: nowrap;
}

.support-list {
  display: grid;
  gap: 10px;
}

.support-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(0, 0, 0, 0.16);
}

.support-row div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.support-row strong,
.support-row em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.settings-list {
  display: grid;
  gap: 10px;
}

.settings-list button,
.settings-list div {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
  font-weight: 700;
}

.settings-list button:hover {
  border-color: rgba(51, 215, 197, 0.42);
  background: rgba(51, 215, 197, 0.08);
}

.settings-list-large div {
  min-height: 64px;
}

.text-list div {
  align-items: flex-start;
  color: #dce7f7;
  font-weight: 650;
}

.neutral-panel {
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.compact-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.wallet-preview {
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  color: #dce7f7;
  background: rgba(0, 0, 0, 0.18);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  white-space: nowrap;
}

.support-form .primary-btn {
  width: fit-content;
}

.dashboard {
  background:
    linear-gradient(90deg, rgba(43, 141, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(43, 141, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #06172c 0%, #07111f 42%, #050a13 100%);
  background-size: 46px 46px, 46px 46px, auto;
}

.topbar {
  min-height: 82px;
  border-bottom-color: rgba(86, 142, 208, 0.22);
  background: rgba(5, 13, 25, 0.92);
}

.brand-mark {
  border-color: rgba(31, 206, 224, 0.34);
  color: #7fe7ff;
  background: linear-gradient(135deg, rgba(22, 139, 255, 0.18), rgba(21, 229, 193, 0.1));
}

.role-pill {
  color: #bceaff;
  border-color: rgba(34, 171, 255, 0.34);
  background: rgba(34, 171, 255, 0.1);
}

.admin-side-system,
.client-sidebar {
  border-color: rgba(89, 145, 210, 0.22);
  background:
    linear-gradient(180deg, rgba(11, 37, 70, 0.96), rgba(6, 16, 32, 0.98)),
    #071426;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.admin-tab-btn,
.client-nav-btn {
  min-height: 46px;
  border-radius: 8px;
}

.admin-tab-btn:hover,
.admin-tab-btn.active,
.client-nav-btn:hover,
.client-nav-btn.active {
  color: #ffffff;
  border-color: rgba(46, 173, 255, 0.56);
  background: linear-gradient(135deg, #168bff, #11bddf);
  box-shadow: 0 12px 28px rgba(21, 139, 255, 0.28);
}

.client-avatar {
  border-color: rgba(31, 206, 224, 0.34);
  color: #93ecff;
  background: rgba(18, 152, 255, 0.14);
}

.client-balance-card {
  border-color: rgba(77, 190, 255, 0.36);
  background:
    linear-gradient(135deg, rgba(31, 128, 255, 0.92), rgba(17, 190, 223, 0.86)),
    #0f64ff;
  box-shadow: 0 18px 38px rgba(18, 118, 255, 0.22);
}

.client-balance-card span,
.client-balance-card em {
  color: rgba(255, 255, 255, 0.78);
}

.client-balance-card strong {
  color: #ffffff;
}

.client-sidebar-note,
.client-page-header,
.spot-wallet-panel,
.account-mini-card,
.tool-panel,
.notice-panel,
.table-panel,
.payment-panel {
  border-color: rgba(89, 145, 210, 0.2);
  background: linear-gradient(180deg, rgba(13, 31, 56, 0.94), rgba(8, 18, 34, 0.96));
}

.client-page-header {
  padding: 22px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
}

.client-page-header h1 {
  font-size: 32px;
}

.client-quick-strip .metric {
  overflow: hidden;
  position: relative;
  border-color: rgba(94, 157, 232, 0.22);
  background: linear-gradient(135deg, rgba(24, 62, 108, 0.92), rgba(8, 18, 34, 0.96));
}

.client-quick-strip .metric::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -30px;
  width: 92px;
  height: 92px;
  border: 18px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.client-quick-strip .metric:nth-child(1) {
  background: linear-gradient(135deg, rgba(28, 122, 255, 0.44), rgba(8, 18, 34, 0.96));
}

.client-quick-strip .metric:nth-child(2) {
  background: linear-gradient(135deg, rgba(12, 206, 204, 0.32), rgba(8, 18, 34, 0.96));
}

.client-quick-strip .metric:nth-child(3) {
  background: linear-gradient(135deg, rgba(222, 59, 142, 0.28), rgba(8, 18, 34, 0.96));
}

.client-quick-strip .metric:nth-child(3)::after {
  content: "\2193";
  right: 18px;
  bottom: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.05);
  font-size: 28px;
  transform: translateY(50%);
}

.spot-summary-grid div,
.asset-table,
.detail-list div {
  background: rgba(3, 10, 20, 0.62);
}

.btc-value-chart {
  border-color: rgba(43, 141, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(24, 108, 220, 0.12), rgba(8, 18, 34, 0.72)),
    rgba(4, 12, 24, 0.8);
}

.chart-line {
  filter: drop-shadow(0 0 14px rgba(43, 141, 255, 0.35));
}

.fintech-card-preview,
.expense-ring-card {
  overflow: hidden;
}

.mini-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mini-card-head div {
  display: grid;
  gap: 4px;
}

.mini-card-head span,
.mini-card-head em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.mini-card-head strong {
  font-size: 17px;
}

.virtual-card {
  min-height: 198px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 18px;
  color: #ffffff;
  background:
    linear-gradient(130deg, rgba(18, 70, 160, 0.95), rgba(116, 56, 216, 0.84) 52%, rgba(19, 207, 211, 0.78)),
    #123b82;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 22px 44px rgba(15, 105, 255, 0.2);
}

.card-chip {
  width: 42px;
  height: 30px;
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(180deg, #f6d77a, #c7922f);
  background-size: 10px 100%, auto;
}

.virtual-card > span {
  justify-self: end;
  font-weight: 850;
}

.virtual-card strong {
  font-size: 30px;
  line-height: 1;
}

.virtual-card em,
.virtual-card small {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.card-actions button {
  min-height: 54px;
  display: grid;
  place-items: center;
  gap: 5px;
  border: 1px solid rgba(89, 145, 210, 0.22);
  border-radius: 8px;
  color: #dbeafe;
  background: rgba(3, 10, 20, 0.46);
  font-size: 12px;
  font-weight: 800;
}

.card-actions button:hover {
  border-color: rgba(46, 173, 255, 0.5);
  background: rgba(46, 173, 255, 0.12);
}

.expense-ring-wrap {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.expense-ring {
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #09162a 0 53%, transparent 54%),
    conic-gradient(#1c8dff 0 48%, #13d5d1 48% 72%, #d83b93 72% 88%, #8d6dff 88% 100%);
}

.expense-ring strong {
  font-size: 20px;
}

.expense-ring span {
  color: var(--muted);
  font-size: 12px;
}

.expense-legend {
  display: grid;
  gap: 9px;
}

.expense-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dce8f8;
  font-size: 13px;
}

.expense-legend b {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #1c8dff;
}

.expense-legend span:nth-child(2) b {
  background: #13d5d1;
}

.expense-legend span:nth-child(3) b {
  background: #d83b93;
}

.expense-legend em {
  color: #ffffff;
  font-style: normal;
}

.compact-status-panel {
  display: grid;
  gap: 12px;
}

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

.support-inbox-panel,
.support-conversation-panel {
  min-width: 0;
}

.support-thread-list {
  display: grid;
  gap: 10px;
}

.support-thread-card {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  border: 1px solid rgba(89, 145, 210, 0.2);
  border-radius: 8px;
  padding: 12px;
  color: var(--text);
  background: rgba(3, 10, 20, 0.42);
  text-align: left;
}

.support-thread-card:hover,
.support-thread-card.active {
  border-color: rgba(46, 173, 255, 0.5);
  background: rgba(27, 111, 220, 0.16);
}

.thread-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(31, 206, 224, 0.34);
  border-radius: 8px;
  color: #dffaff;
  background: linear-gradient(135deg, rgba(22, 139, 255, 0.34), rgba(17, 189, 223, 0.2));
  font-weight: 900;
}

.thread-avatar.large {
  width: 56px;
  height: 56px;
}

.thread-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.thread-copy strong,
.thread-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thread-copy em,
.thread-meta small {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.thread-meta {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.thread-meta b {
  border-radius: 999px;
  padding: 4px 8px;
  color: #bceaff;
  background: rgba(34, 171, 255, 0.12);
  font-size: 11px;
}

.support-chat-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.support-chat-head div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.support-chat-head h2 {
  margin: 3px 0 4px;
}

.support-chat-head span:not(.state-pill) {
  color: var(--muted);
}

.support-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.chat-messages {
  min-height: 360px;
  max-height: 540px;
  display: grid;
  align-content: start;
  gap: 12px;
  overflow-y: auto;
  scroll-behavior: smooth;
  border: 1px solid rgba(89, 145, 210, 0.18);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(2, 9, 18, 0.64), rgba(2, 9, 18, 0.38)),
    rgba(4, 12, 24, 0.72);
}

.chat-message {
  width: fit-content;
  max-width: min(78%, 640px);
  display: grid;
  gap: 7px;
  overflow-wrap: anywhere;
  border: 1px solid rgba(89, 145, 210, 0.18);
  border-radius: 8px;
  padding: 11px 13px;
  background: rgba(11, 28, 51, 0.92);
}

.chat-message.user,
.chat-message.admin-reply {
  justify-self: end;
  border-color: rgba(48, 168, 255, 0.36);
  background: linear-gradient(135deg, rgba(22, 139, 255, 0.92), rgba(17, 189, 223, 0.82));
}

.chat-message.client {
  justify-self: start;
  border-color: rgba(216, 59, 147, 0.3);
  background: rgba(63, 27, 59, 0.74);
}

.chat-bubble-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chat-bubble-head strong {
  font-size: 13px;
}

.chat-bubble-head span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  white-space: nowrap;
}

.chat-message p {
  margin: 0;
  color: #f5f8ff;
  line-height: 1.45;
}

.chat-form {
  display: grid;
  gap: 12px;
}

.withdraw-history-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.withdraw-history-list div {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(89, 145, 210, 0.2);
  border-radius: 8px;
  background: rgba(5, 18, 34, 0.52);
}

.withdraw-history-list span,
.withdraw-history-list em {
  color: var(--muted);
  font-size: 12px;
}

.withdraw-history-list strong {
  color: #fff;
}

.chat-form .primary-btn {
  width: fit-content;
}

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

.client-chat-panel {
  gap: 16px;
}

.client-support-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.client-support-summary div {
  min-width: 0;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(89, 145, 210, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(3, 10, 20, 0.42);
}

.client-support-summary span,
.client-support-summary em {
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.client-support-summary strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-amount {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(244, 187, 74, 0.3);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(244, 187, 74, 0.08);
}

.payment-amount strong {
  font-size: 24px;
  color: #ffe2a0;
}

.qr-sim {
  width: 148px;
  height: 148px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 5px;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #eef7ff;
}

.qr-sim span {
  border-radius: 2px;
  background: #0e1724;
}

.qr-sim span:nth-child(3n) {
  background: var(--teal);
}

.deposit-target {
  display: grid;
  gap: 10px;
}

.deposit-target > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.deposit-address {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
}

.mini-wallet-address {
  grid-template-columns: 1fr;
}

.deposit-address code {
  min-height: 44px;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  color: #dce7f7;
  padding: 0 12px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.payment-form {
  display: grid;
  gap: 12px;
}

.notice-panel {
  display: grid;
  gap: 12px;
  border-color: rgba(255, 107, 122, 0.24);
  background: linear-gradient(180deg, rgba(255, 107, 122, 0.12), rgba(255, 255, 255, 0.04));
}

.notice-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.notice-panel.neutral-panel {
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 70;
  transform: translateX(-50%);
  border: 1px solid rgba(51, 215, 197, 0.38);
  border-radius: var(--radius);
  background: rgba(15, 24, 34, 0.94);
  color: var(--text);
  padding: 12px 15px;
  box-shadow: var(--shadow);
}

.hidden {
  display: none !important;
}

.icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1080px) {
  .public-hero,
  .crypto-band {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
  }

  .floating-notice,
  .profit-panel {
    position: static;
    width: auto;
  }

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

  .option-grid,
  .security-feature-row,
  .stats-band,
  .conversion-option-grid,
  .dashboard-option-grid,
  .landing-command-center,
  .users-control-ribbon,
  .admin-action-strip,
  .spot-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-band,
  .admin-workspace,
  .admin-grid,
  .admin-overview-grid,
  .users-directory-view,
  .users-create-layout,
  .classic-page-grid,
  .support-desk-grid,
  .support-client-layout,
  .withdraw-start-layout,
  .client-dashboard-shell,
  .user-layout,
  .dashboard-page-grid,
  .client-overview-grid,
  .binance-hero-band {
    grid-template-columns: 1fr;
  }

  .market-panel {
    min-height: auto;
  }

  .admin-side-system {
    position: static;
  }

  .client-sidebar {
    position: static;
  }

  .client-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .client-nav-btn {
    justify-content: center;
  }

  .selected-user-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  .app-shell,
  .client-sidebar,
  .client-content {
    min-width: 0;
  }

  .public-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-nav-links,
  .public-nav-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .public-nav-links {
    display: none;
  }

  .hero-visual {
    display: none;
  }

  .public-hero {
    min-height: auto;
    padding-bottom: 30px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .hero-metrics > div:nth-child(n + 2) {
    display: none;
  }

  .hero-copy {
    gap: 14px;
  }

  .hero-metrics > div {
    min-width: 0;
    padding: 11px 8px;
  }

  .hero-metrics span,
  .hero-metrics strong {
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .market-band {
    padding-top: 26px;
    padding-bottom: 34px;
  }

  .landing-top-button {
    display: none;
  }

  .public-nav-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .public-nav-actions > * {
    width: 100%;
    justify-content: center;
  }

  .public-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 30px 18px;
    background:
      linear-gradient(180deg, rgba(7, 10, 15, 0.95), rgba(7, 10, 15, 0.72)),
      url("assets/crypto-login-bg.png") center / cover no-repeat;
  }

  .hero-copy h1 {
    font-size: clamp(32px, 10vw, 40px);
    line-height: 1.06;
  }

  .metamask-badge {
    font-size: 19px;
  }

  .visual-balance strong {
    font-size: 40px;
  }

  .section-heading h2,
  .crypto-text h2 {
    font-size: 30px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-visual {
    min-height: auto;
  }

  .visual-flow,
  .market-grid,
  .option-grid,
  .hero-metrics,
  .preview-ledger,
  .feature-grid,
  .crypto-steps,
  .security-feature-row,
  .stats-band,
  .conversion-option-grid,
  .dashboard-option-grid,
  .landing-command-center,
  .client-support-summary,
  .expense-ring-wrap,
  .flow-balance-tile,
  .withdraw-start-balance,
  .users-control-ribbon,
  .admin-action-strip,
  .compact-strip,
  .spot-summary-grid,
  .management-user-stats,
  .selected-user-metrics,
  .selected-action-grid,
  .profile-detail-grid,
  .admin-profile-grid {
    grid-template-columns: 1fr;
  }

  .market-band,
  .option-band,
  .security-showcase,
  .stats-band,
  .conversion-band,
  .info-band,
  .crypto-band {
    width: min(100% - 24px, 1320px);
    padding: 32px 0;
  }

  .market-grid,
  .option-grid,
  .security-feature-row,
  .conversion-option-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .market-grid > *,
  .option-grid > *,
  .security-feature-row > *,
  .conversion-option-grid > * {
    flex: 0 0 min(82vw, 310px);
    scroll-snap-align: start;
  }

  .market-grid::-webkit-scrollbar,
  .option-grid::-webkit-scrollbar,
  .security-feature-row::-webkit-scrollbar,
  .conversion-option-grid::-webkit-scrollbar {
    height: 6px;
  }

  .market-grid::-webkit-scrollbar-thumb,
  .option-grid::-webkit-scrollbar-thumb,
  .security-feature-row::-webkit-scrollbar-thumb,
  .conversion-option-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 212, 42, 0.45);
  }

  .landing-command-center {
    width: min(100% - 24px, 1320px);
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
  }

  .landing-command-center div {
    min-height: 96px;
    padding: 16px;
  }

  .option-card,
  .feature-card,
  .crypto-steps div {
    min-height: auto;
    padding: 16px;
  }

  .security-showcase {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .security-feature-row article > span {
    width: 58px;
    height: 58px;
  }

  .security-feature-row h3,
  .conversion-option-grid strong {
    font-size: 20px;
  }

  .stats-band {
    gap: 20px;
  }

  .stats-band strong {
    font-size: 30px;
  }

  .security-feature-row,
  .conversion-option-grid {
    gap: 20px;
    margin-top: 28px;
  }

  .stats-band span {
    font-size: 18px;
  }

  .market-band > .tool-btn {
    position: static;
    margin-bottom: 12px;
  }

  .login-view {
    grid-template-columns: 1fr;
    background:
      linear-gradient(180deg, rgba(7, 10, 15, 0.95), rgba(7, 10, 15, 0.72)),
      url("assets/crypto-login-bg.png") center / cover no-repeat;
  }

  .login-panel {
    padding: 26px;
    border-right: 0;
  }

  .login-copy h1 {
    font-size: 34px;
  }

  .dashboard-main {
    width: calc(100% - 16px);
    padding-top: 16px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .brand-lockup,
  .brand-text {
    min-width: 0;
  }

  .brand-text span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .fintech-logo {
    width: 172px;
    height: 48px;
  }

  .client-sidebar {
    padding: 14px;
  }

  .portfolio-panel,
  .tool-panel,
  .table-panel,
  .payment-panel,
  .notice-panel,
  .spot-wallet-panel,
  .account-mini-card {
    padding: 16px;
  }

  .binance-balance-header {
    flex-direction: column;
  }

  .client-action-row,
  .binance-balance-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .portfolio-value strong,
  .balance-strip h1 {
    font-size: 38px;
  }

  .mini-ledger,
  .client-quick-strip,
  .account-grid,
  .two-col,
  .dual-amount,
  .conversion-grid,
  .exchange-path,
  .market-grid-dashboard {
    grid-template-columns: 1fr;
  }

  .exchange-path {
    gap: 12px;
    padding-left: 8px;
  }

  .exchange-path::before {
    top: 28px;
    bottom: 28px;
    left: 31px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .exchange-path .payment-timeline-step {
    min-height: 0;
    grid-template-columns: 38px 28px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    text-align: left;
    padding: 14px;
  }

  .payment-timeline-step .timeline-number {
    grid-row: 1 / span 2;
  }

  .payment-timeline-step i {
    grid-row: 1 / span 2;
  }

  .payment-timeline-step small {
    grid-column: 3;
  }

  .dashboard-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .client-nav {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .client-nav-btn {
    min-height: 48px;
    padding: 10px;
    border-radius: 12px;
    justify-content: flex-start;
  }

  .client-page-header {
    align-items: stretch;
    flex-direction: column;
  }

  .client-page-header h1,
  .client-page-header h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .table-wrap,
  .asset-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .asset-table,
  .users-table {
    min-width: 680px;
  }

  .asset-logo,
  .asset-token {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .support-chat-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .support-thread-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .thread-meta {
    grid-column: 2;
    justify-items: start;
  }

  .chat-messages {
    min-height: 300px;
    max-height: 460px;
  }

  .chat-message {
    max-width: 100%;
  }

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

  .client-header-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-tabs,
  .users-subtabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .tab-btn,
  .admin-tab-btn,
  .users-tab-btn {
    width: 100%;
  }

  .users-page-head {
    align-items: stretch;
    flex-direction: column;
  }

  .wallet-row,
  .payment-amount,
  .commission-due-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .support-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .support-row .compact-btn {
    width: 100%;
  }

  .modal-actions {
    flex-direction: column-reverse;
  }

  .modal-actions button {
    width: 100%;
  }

  .creator-qr-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .public-nav,
  .topbar {
    padding-left: 12px;
    padding-right: 12px;
  }

  .topbar-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .role-pill {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .wallet-login-note {
    grid-column: 1 / -1;
    white-space: normal;
    font-size: 12px;
  }

  .portfolio-panel,
  .tool-panel,
  .table-panel,
  .payment-panel,
  .notice-panel,
  .spot-wallet-panel,
  .account-mini-card {
    padding: 14px;
    border-radius: 14px;
  }
}

@media (max-width: 760px) {
  .language-switcher {
    top: 96px;
    right: 10px;
    bottom: auto;
    transform: none;
  }
}

@media (max-width: 520px) {
  .language-switcher {
    left: auto;
    right: 8px;
    border-radius: 18px;
    padding: 6px;
  }

  .language-switcher > span {
    display: none;
  }

  .language-flag-list {
    width: auto;
    justify-content: center;
    gap: 6px;
  }

  .language-flag-btn {
    flex: 0 0 auto;
    width: 40px;
    height: 30px;
  }

  .flag-icon {
    width: 26px;
    height: 17px;
  }
}

.user-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.user-pagination span {
  color: var(--muted);
  font-size: 0.9rem;
}
