/* dashboard.css */

:root {
  --bg: #0b1020;
  --bg-soft: #121933;
  --card: rgba(16, 24, 48, 0.86);
  --card-2: rgba(23, 34, 68, 0.92);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f7ff;
  --muted: #9da8c7;
  --primary: #7c3aed;
  --primary-2: #5b21b6;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #f59e0b;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at top, rgba(124, 58, 237, 0.22), transparent 35%),
    linear-gradient(180deg, #090d1a 0%, #0b1020 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(8, 12, 26, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span {
  font-size: 0.82rem;
  color: var(--muted);
}

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

.btn,
.btn-secondary,
.btn-danger,
.btn-success,
.ghost-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.18s ease;
  white-space: nowrap;
}

.btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 12px 24px rgba(91, 33, 182, 0.28);
}

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

.btn-secondary,
.ghost-btn {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--line);
}

.btn-secondary:hover,
.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-danger {
  background: rgba(220, 38, 38, 0.14);
  color: #fecaca;
  border-color: rgba(220, 38, 38, 0.34);
}

.btn-danger:hover {
  background: rgba(220, 38, 38, 0.2);
}

.btn-success {
  background: rgba(22, 163, 74, 0.14);
  color: #bbf7d0;
  border-color: rgba(22, 163, 74, 0.34);
}

.btn-success:hover {
  background: rgba(22, 163, 74, 0.2);
}

.user-chip {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 6px 12px 6px 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #2563eb);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.user-name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-wrap {
  padding: 28px 0 56px;
}

.hero-card,
.card,
.stat-card,
.table-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.eyebrow {
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-card h1,
.section-head h2,
.card h3,
.table-card h3 {
  margin: 0;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
}

.status-card {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.status-card.is-error {
  border-color: rgba(220, 38, 38, 0.35);
  background: rgba(220, 38, 38, 0.1);
  color: #fecaca;
}

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

.stat-card {
  padding: 20px;
  display: grid;
  gap: 10px;
}

.stat-card .label {
  color: var(--muted);
  font-size: 0.92rem;
}

.stat-card .value {
  font-size: 1.8rem;
  font-weight: 800;
}

.stat-card .hint {
  color: var(--muted);
  font-size: 0.86rem;
}

.sections {
  display: grid;
  gap: 20px;
}

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

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.card {
  padding: 20px;
}

.table-card {
  padding: 20px;
}

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

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

td {
  color: var(--text);
  font-size: 0.95rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.badge.pending {
  color: #fde68a;
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.12);
}

.badge.approved,
.badge.active {
  color: #bbf7d0;
  border-color: rgba(22, 163, 74, 0.3);
  background: rgba(22, 163, 74, 0.12);
}

.badge.rejected,
.badge.suspended {
  color: #fecaca;
  border-color: rgba(220, 38, 38, 0.3);
  background: rgba(220, 38, 38, 0.12);
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.empty-state {
  padding: 20px;
  border-radius: 14px;
  border: 1px dashed var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

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

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

.field span {
  font-size: 0.9rem;
  color: var(--muted);
}

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

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field-wide {
  grid-column: 1 / -1;
}

.avatar-design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
}

.avatar-design-option {
  display: grid;
  grid-template-rows: 64px auto;
  align-items: center;
  justify-items: center;
  gap: 8px;
  min-height: 112px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.avatar-design-option img {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.avatar-design-option span {
  max-width: 100%;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.avatar-design-option:hover,
.avatar-design-option.is-selected {
  border-color: rgba(34, 211, 238, 0.78);
  background: rgba(34, 211, 238, 0.09);
}

.avatar-design-option.is-selected {
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

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

.info-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.info-item:last-child {
  border-bottom: 0;
}

.info-item .k {
  color: var(--muted);
}

.info-item .v {
  text-align: right;
  font-weight: 600;
}

.footer-space {
  height: 20px;
}

@media (max-width: 980px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(var(--max), calc(100% - 20px));
  }

  .nav-row {
    min-height: 64px;
  }

  .hero-card,
  .card,
  .table-card,
  .stat-card {
    padding: 16px;
  }

  th,
  td {
    padding: 12px 10px;
  }

  .user-name {
    max-width: 90px;
  }
}
select {
  background-color: #facc15;
  color: #111;
  border: 1px solid #eab308;
}

select option {
  background-color: #facc15;
  color: #111;
}
select {
  background-color: #facc15;
  color: #111;
  border: 2px solid #000;
}

select option {
  background-color: #facc15;
  color: #111;
}
select {
  background-color: #facc15;
  color: #111;
  border: 2px solid #000 !important;
  outline: none;
  box-shadow: none;
}

select:focus {
  border: 2px solid #000 !important;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}

select option {
  background-color: #facc15;
  color: #111;
}
select {
  background-color: #facc15;
  color: #111;
  border: 2px solid #000 !important;
  outline: none;
  box-shadow: none;
}

select:focus {
  border: 2px solid #000 !important;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}
.dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.dashboard-tab-btn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.dashboard-tab-btn.is-active {
  background: rgba(250, 204, 21, 0.14);
  border-color: rgba(250, 204, 21, 0.45);
}

.dashboard-tab-panel[hidden] {
  display: none !important;
}

.dashboard-page .field[hidden] {
  display: none !important;
}

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

.shop-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.shop-card h3 {
  margin: 0;
  font-size: 1rem;
}

.shop-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.coin-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.14);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.32);
  font-size: 0.82rem;
  font-weight: 700;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  border-radius: 999px;
  background: #1d9bf0;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}

@media (max-width: 980px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}

.shop-nameplate-preview {
  margin: 2px 0 4px;
}

.shop-nameplate-preview .nameplate {
  width: 100%;
}

.shop-nameplate-preview .nameplate-subtitle {
  display: none;
}
/* =========================================================
   THEME SHOP PREVIEWS
========================================================= */

.shop-theme-preview {
  position: relative;
  min-height: 84px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.shop-theme-preview__title {
  position: absolute;
  left: 14px;
  top: 12px;
  z-index: 3;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.shop-theme-preview__scene {
  position: absolute;
  display: block;
  pointer-events: none;
}

.shop-theme-preview::before,
.shop-theme-preview::after,
.shop-theme-preview__scene::before,
.shop-theme-preview__scene::after {
  content: "";
  position: absolute;
  display: block;
  pointer-events: none;
}

.shop-theme-preview.store-theme--cat-beans {
  background: linear-gradient(135deg, #16052f 0%, #4f167b 55%, #2b0b4f 100%);
}

.shop-theme-preview.store-theme--cat-beans::before {
  right: 16px;
  top: -4px;
  width: 40px;
  height: 48px;
  background:
    radial-gradient(circle at 50% 72%, #ffb8ca 0 19%, transparent 20%),
    radial-gradient(circle at 26% 18%, #ff94b5 0 9%, transparent 10%),
    radial-gradient(circle at 44% 10%, #ff94b5 0 9%, transparent 10%),
    radial-gradient(circle at 64% 12%, #ff94b5 0 9%, transparent 10%),
    radial-gradient(circle at 82% 22%, #ff94b5 0 9%, transparent 10%);
}

.shop-theme-preview.store-theme--cityscape {
  background: linear-gradient(135deg, #1a1030 0%, #4a1887 55%, #2a104f 100%);
}

.shop-theme-preview.store-theme--cityscape::before {
  right: 10px;
  bottom: 0;
  width: 118px;
  height: 38px;
  background:
    linear-gradient(180deg, #7f42ff, #5120ab) right 0 bottom 0 / 16px 28px no-repeat,
    linear-gradient(180deg, #a756ff, #6a26ca) right 22px bottom 0 / 18px 18px no-repeat,
    linear-gradient(180deg, #8c53ff, #6128bf) right 46px bottom 0 / 14px 24px no-repeat,
    linear-gradient(180deg, #c169ff, #7a31cf) right 66px bottom 0 / 18px 32px no-repeat,
    linear-gradient(180deg, #9257ff, #5f2ab8) right 90px bottom 0 / 12px 16px no-repeat;
}

.shop-theme-preview.store-theme--spring-paradise {
  background: linear-gradient(135deg, #91d9ff 0%, #7fe7c7 50%, #d7ffad 100%);
}

.shop-theme-preview.store-theme--spring-paradise::before {
  inset: auto -6% -22% -6%;
  height: 68%;
  background:
    radial-gradient(ellipse at 18% 100%, #90d86d 0 34%, transparent 35%),
    radial-gradient(ellipse at 52% 100%, #63bf5a 0 38%, transparent 39%),
    radial-gradient(ellipse at 84% 100%, #9de079 0 32%, transparent 33%);
}

.shop-theme-preview.store-theme--spring-paradise::after {
  right: 12px;
  bottom: 8px;
  width: 82px;
  height: 28px;
  background:
    radial-gradient(circle at 12% 70%, #ff73a0 0 7%, transparent 8%),
    radial-gradient(circle at 34% 64%, #ffa65d 0 8%, transparent 9%),
    radial-gradient(circle at 58% 72%, #ff73a0 0 7%, transparent 8%),
    radial-gradient(circle at 82% 66%, #ffd86b 0 7%, transparent 8%);
}

.shop-theme-preview.store-theme--koi-pond {
  background: linear-gradient(135deg, #0c3354 0%, #1f7ca3 55%, #0c566c 100%);
}

.shop-theme-preview.store-theme--koi-pond::before {
  right: 76px;
  top: 22px;
  width: 36px;
  height: 16px;
  border-radius: 60% 40% 50% 50%;
  background:
    radial-gradient(circle at 64% 42%, rgba(255,255,255,0.95) 0 14%, transparent 15%),
    linear-gradient(90deg, #ffbd6a 0%, #fff7de 42%, #ff945c 100%);
}

.shop-theme-preview.store-theme--koi-pond::after {
  right: 18px;
  bottom: 16px;
  width: 42px;
  height: 18px;
  border-radius: 60% 40% 50% 50%;
  background:
    radial-gradient(circle at 62% 40%, rgba(255,255,255,0.95) 0 14%, transparent 15%),
    linear-gradient(90deg, #ff9552 0%, #fff7df 42%, #ffd27a 100%);
}

.shop-theme-preview.store-theme--twilight {
  background: linear-gradient(135deg, #172150 0%, #4358c3 50%, #7a5ff0 100%);
}

.shop-theme-preview.store-theme--twilight::before {
  right: 18px;
  top: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 36%, rgba(255,255,255,0.88) 0 18%, rgba(255,247,193,0.92) 19% 62%, rgba(255,247,193,0.16) 63%, transparent 64%);
}

.shop-theme-preview.store-theme--twilight::after {
  inset: 0;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,0.9) 0 0.9%, transparent 1%),
    radial-gradient(circle at 44% 42%, rgba(255,255,255,0.75) 0 0.8%, transparent 0.9%),
    radial-gradient(circle at 68% 24%, rgba(255,255,255,0.85) 0 0.9%, transparent 1%),
    radial-gradient(circle at 84% 38%, rgba(255,236,170,0.9) 0 0.9%, transparent 1%);
}

.shop-theme-preview.store-theme--cherry-blossoms {
  background: linear-gradient(135deg, #6b1e4d 0%, #d2649b 55%, #f1a9c7 100%);
}

.shop-theme-preview.store-theme--cherry-blossoms::before {
  left: 0;
  top: 0;
  width: 96px;
  height: 100%;
  background:
    linear-gradient(70deg, transparent 0 20%, #7d4a50 20% 24%, transparent 24% 100%),
    linear-gradient(22deg, transparent 0 52%, #8e5b60 52% 56%, transparent 56% 100%);
  opacity: 0.7;
}

.shop-theme-preview.store-theme--cherry-blossoms::after {
  right: 10px;
  bottom: 8px;
  width: 72px;
  height: 28px;
  background:
    radial-gradient(circle at 12% 46%, #ffd7e8 0 10%, transparent 11%),
    radial-gradient(circle at 32% 24%, #ffc4dc 0 10%, transparent 11%),
    radial-gradient(circle at 54% 40%, #ffd7e8 0 10%, transparent 11%),
    radial-gradient(circle at 76% 52%, #ffc4dc 0 10%, transparent 11%);
}

.shop-theme-preview.store-theme--vengeance {
  background: linear-gradient(135deg, #0d0912 0%, #2a0f24 50%, #190818 100%);
}

.shop-theme-preview.store-theme--vengeance::before {
  left: 96px;
  top: 14px;
  width: 82px;
  height: 10px;
  background:
    linear-gradient(90deg, rgba(170,170,190,0.75) 0 12%, transparent 12% 18%, rgba(170,170,190,0.75) 18% 30%, transparent 30% 36%, rgba(170,170,190,0.75) 36% 48%, transparent 48% 54%, rgba(170,170,190,0.75) 54% 66%, transparent 66%);
}

.shop-theme-preview.store-theme--vengeance::after {
  right: 0;
  bottom: -2px;
  width: 92px;
  height: 28px;
  background:
    radial-gradient(ellipse at 10% 100%, rgba(255, 184, 220, 0.82) 0 12%, transparent 13%),
    radial-gradient(ellipse at 28% 100%, rgba(255, 90, 175, 0.96) 0 18%, transparent 19%),
    radial-gradient(ellipse at 46% 100%, rgba(115, 84, 255, 0.88) 0 22%, transparent 23%),
    radial-gradient(ellipse at 66% 100%, rgba(255, 126, 198, 0.88) 0 18%, transparent 19%),
    radial-gradient(ellipse at 84% 100%, rgba(255, 82, 152, 0.92) 0 20%, transparent 21%);
}

.shop-theme-preview.store-theme--angel {
  background: linear-gradient(135deg, #4f3c99 0%, #8e77f4 55%, #cdbaff 100%);
}

.shop-theme-preview.store-theme--angel::before {
  right: 18px;
  top: 10px;
  width: 28px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,229,156,0.94);
  box-shadow: 0 0 10px rgba(255,229,156,0.24);
}

.shop-theme-preview.store-theme--angel::after {
  right: 8px;
  bottom: 12px;
  width: 82px;
  height: 28px;
  background:
    radial-gradient(ellipse at 22% 50%, rgba(255,255,255,0.96) 0 28%, transparent 29%),
    radial-gradient(ellipse at 42% 40%, rgba(255,246,221,0.92) 0 30%, transparent 31%),
    radial-gradient(ellipse at 62% 52%, rgba(255,255,255,0.96) 0 28%, transparent 29%),
    radial-gradient(ellipse at 80% 44%, rgba(255,246,221,0.92) 0 24%, transparent 25%);
}
/* =========================================================
   PSEUDO-3D SPACE / GALACTIC SHOP PREVIEWS
========================================================= */

.shop-theme-preview.store-theme--cosmic-odyssey {
  background: linear-gradient(135deg, #090b19 0%, #202953 55%, #10162e 100%);
}

.shop-theme-preview.store-theme--cosmic-odyssey::before {
  right: 20px;
  top: 12px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.88) 0 10%, rgba(180,220,255,0.72) 11% 22%, rgba(105,130,255,0.56) 23% 46%, rgba(54,41,112,0.96) 47% 100%);
  box-shadow: 0 0 18px rgba(120,104,255,0.22);
}

.shop-theme-preview.store-theme--cosmic-odyssey::after {
  left: 14px;
  bottom: 8px;
  width: 86px;
  height: 30px;
  background:
    radial-gradient(ellipse at 28% 48%, rgba(99,206,255,0.26), transparent 22%),
    radial-gradient(ellipse at 54% 50%, rgba(173,113,255,0.24), transparent 24%),
    radial-gradient(ellipse at 78% 44%, rgba(255,129,210,0.18), transparent 20%);
  filter: blur(8px);
}

.shop-theme-preview.store-theme--saturn-rings {
  background: linear-gradient(135deg, #0e1224 0%, #343655 55%, #181a30 100%);
}

.shop-theme-preview.store-theme--saturn-rings::before {
  right: 20px;
  top: 14px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,0.78) 0 10%, rgba(255,214,171,0.48) 11% 24%, rgba(201,146,95,0.64) 25% 50%, rgba(106,66,42,0.96) 51% 100%);
}

.shop-theme-preview.store-theme--saturn-rings::after {
  right: 6px;
  top: 36px;
  width: 100px;
  height: 22px;
  border-radius: 50%;
  border: 5px solid rgba(230,197,150,0.58);
  border-left-color: rgba(255,255,255,0.15);
  border-right-color: rgba(148,98,58,0.2);
  transform: rotate(-14deg);
}

.shop-theme-preview.store-theme--nebula-core {
  background: linear-gradient(135deg, #090913 0%, #2a1850 55%, #121326 100%);
}

.shop-theme-preview.store-theme--nebula-core::before {
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.82) 0 8%, rgba(255,162,240,0.54) 9% 18%, rgba(117,91,255,0.55) 19% 34%, rgba(49,24,98,0.94) 35% 100%);
  box-shadow: 0 0 22px rgba(196,95,255,0.22);
}

.shop-theme-preview.store-theme--nebula-core::after {
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,95,255,0.18), rgba(114,225,255,0.08), transparent 72%);
  filter: blur(10px);
}

.shop-theme-preview.store-theme--black-hole {
  background: linear-gradient(135deg, #050608 0%, #171923 55%, #0b0d12 100%);
}

.shop-theme-preview.store-theme--black-hole::before {
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(8,8,10,0.98) 0 46%, rgba(27,16,65,0.94) 47% 58%, rgba(255,141,80,0.58) 59% 66%, rgba(255,224,125,0.4) 67% 72%, transparent 73%);
}

.shop-theme-preview.store-theme--black-hole::after {
  left: 50%;
  top: 34px;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255,191,120,0.18), rgba(255,101,42,0.14), rgba(120,91,255,0.08), transparent 72%);
  filter: blur(4px);
}

.shop-theme-preview.store-theme--aurora-station {
  background: linear-gradient(135deg, #07111d 0%, #16334c 55%, #0c1a28 100%);
}

.shop-theme-preview.store-theme--aurora-station::before {
  right: 18px;
  top: 14px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, rgba(255,255,255,0.84) 0 10%, rgba(156,255,231,0.42) 11% 22%, rgba(81,159,255,0.5) 23% 48%, rgba(25,56,86,0.96) 49% 100%);
}

.shop-theme-preview.store-theme--aurora-station::after {
  left: 14px;
  top: 26px;
  width: 72px;
  height: 18px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(71,227,199,0.14), rgba(255,255,255,0.82), rgba(77,140,255,0.18));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.12);
  transform: rotate(-12deg);
}

.shop-theme-preview.store-theme--galactic-crown {
  background: linear-gradient(135deg, #12071f 0%, #47206c 55%, #1d0d30 100%);
}

.shop-theme-preview.store-theme--galactic-crown::before {
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  width: 82px;
  height: 40px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04)),
    linear-gradient(180deg, #f2c96d, #b46aff);
  clip-path: polygon(0 100%, 12% 50%, 24% 100%, 40% 24%, 52% 100%, 68% 10%, 80% 100%, 92% 42%, 100% 100%);
}

.shop-theme-preview.store-theme--galactic-crown::after {
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  width: 110px;
  height: 58px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(181,102,255,0.16), rgba(242,201,109,0.08), transparent 72%);
  filter: blur(8px);
}
/* =========================================================
   ULTRA DETAILED SAKURA PREVIEW
========================================================= */

.shop-theme-preview.store-theme--sakura-garden-ultra {
  background: linear-gradient(135deg, #fff0f6 0%, #ffd5e6 55%, #fff6fa 100%);
}

.shop-theme-preview.store-theme--sakura-garden-ultra::before {
  left: 0;
  top: 0;
  width: 100px;
  height: 100%;
  background:
    linear-gradient(72deg, transparent 0 28%, rgba(113,65,77,0.88) 28% 30%, transparent 30% 100%),
    linear-gradient(22deg, transparent 0 60%, rgba(132,82,92,0.72) 60% 62%, transparent 62% 100%);
  opacity: 0.8;
}

.shop-theme-preview.store-theme--sakura-garden-ultra::after {
  right: 12px;
  bottom: 6px;
  width: 92px;
  height: 52px;
  background:
    radial-gradient(circle at 16% 54%, #ffe07b 0 2.4%, transparent 2.6%),
    radial-gradient(circle at 12% 48%, #ffd2e5 0 8%, transparent 8.2%),
    radial-gradient(circle at 18% 40%, #ffd2e5 0 8%, transparent 8.2%),
    radial-gradient(circle at 26% 48%, #ffd2e5 0 8%, transparent 8.2%),
    radial-gradient(circle at 20% 58%, #ffd2e5 0 8%, transparent 8.2%),
    radial-gradient(circle at 10% 58%, #ffd2e5 0 8%, transparent 8.2%),

    radial-gradient(circle at 52% 28%, #ffe78f 0 2.2%, transparent 2.4%),
    radial-gradient(circle at 48% 22%, #ffc9e0 0 7%, transparent 7.2%),
    radial-gradient(circle at 54% 16%, #ffc9e0 0 7%, transparent 7.2%),
    radial-gradient(circle at 62% 22%, #ffc9e0 0 7%, transparent 7.2%),
    radial-gradient(circle at 56% 30%, #ffc9e0 0 7%, transparent 7.2%),
    radial-gradient(circle at 46% 30%, #ffc9e0 0 7%, transparent 7.2%),

    radial-gradient(circle at 82% 60%, #ffe07b 0 2.2%, transparent 2.4%),
    radial-gradient(circle at 78% 54%, #ffd0e4 0 7.4%, transparent 7.6%),
    radial-gradient(circle at 84% 46%, #ffd0e4 0 7.4%, transparent 7.6%),
    radial-gradient(circle at 92% 54%, #ffd0e4 0 7.4%, transparent 7.6%),
    radial-gradient(circle at 86% 64%, #ffd0e4 0 7.4%, transparent 7.6%),
    radial-gradient(circle at 76% 64%, #ffd0e4 0 7.4%, transparent 7.6%);
}

.shop-theme-preview.store-theme--sakura-garden-ultra .theme-ambient__item {
  opacity: 1;
  border-radius: 42% 58% 55% 45%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.96), rgba(255,221,235,0.98) 40%, rgba(255,180,213,0.96) 70%, transparent 74%);
  box-shadow: 0 0 6px rgba(255, 194, 220, 0.35);
}

.shop-theme-preview.store-theme--sakura-garden-ultra .theme-ambient__item--1 { left: 10%; top: -8%; width: 10px; height: 10px; animation: sakuraFallA 5.8s linear infinite; }
.shop-theme-preview.store-theme--sakura-garden-ultra .theme-ambient__item--2 { left: 26%; top: -10%; width: 9px; height: 9px; animation: sakuraFallB 6.4s linear infinite 0.7s; }
.shop-theme-preview.store-theme--sakura-garden-ultra .theme-ambient__item--3 { left: 42%; top: -9%; width: 10px; height: 10px; animation: sakuraFallA 5.9s linear infinite 1.2s; }
.shop-theme-preview.store-theme--sakura-garden-ultra .theme-ambient__item--4 { left: 60%; top: -11%; width: 9px; height: 9px; animation: sakuraFallB 6.7s linear infinite 1.6s; }
.shop-theme-preview.store-theme--sakura-garden-ultra .theme-ambient__item--5 { left: 76%; top: -8%; width: 8px; height: 8px; animation: sakuraFallA 5.7s linear infinite 0.8s; }
.shop-theme-preview.store-theme--sakura-garden-ultra .theme-ambient__item--6 { left: 90%; top: -12%; width: 10px; height: 10px; animation: sakuraFallB 6.9s linear infinite 2s; }
/* =========================================================
   ALIVE AMBIENT LOOP SYSTEM
   Works for dashboard theme previews
========================================================= */

.theme-ambient {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

.theme-ambient__item {
  position: absolute;
  display: block;
  opacity: 0;
}

@keyframes sakuraFallA {
  0% { transform: translate3d(0, -12px, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.95; }
  25% { transform: translate3d(10px, 18px, 0) rotate(60deg); }
  50% { transform: translate3d(-6px, 40px, 0) rotate(135deg); }
  75% { transform: translate3d(12px, 64px, 0) rotate(220deg); }
  100% { transform: translate3d(-4px, 92px, 0) rotate(300deg); opacity: 0; }
}

@keyframes sakuraFallB {
  0% { transform: translate3d(0, -12px, 0) rotate(0deg) scale(0.95); opacity: 0; }
  12% { opacity: 0.9; }
  30% { transform: translate3d(-10px, 18px, 0) rotate(75deg) scale(1); }
  58% { transform: translate3d(8px, 46px, 0) rotate(170deg) scale(0.96); }
  84% { transform: translate3d(-8px, 74px, 0) rotate(250deg) scale(1.02); }
  100% { transform: translate3d(6px, 96px, 0) rotate(320deg) scale(0.92); opacity: 0; }
}

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

@keyframes cosmicDrift {
  0% { transform: translate3d(0, 0, 0); opacity: 0.18; }
  50% { transform: translate3d(4px, -3px, 0); opacity: 0.82; }
  100% { transform: translate3d(0, 0, 0); opacity: 0.18; }
}

@keyframes orbitDust {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.18; }
  50% { transform: translate3d(5px, -2px, 0) rotate(10deg); opacity: 0.75; }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.18; }
}

@keyframes singularityDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0; }
  12% { opacity: 0.7; }
  55% { transform: translate3d(10px, 6px, 0) scale(0.78); opacity: 0.85; }
  100% { transform: translate3d(24px, 14px, 0) scale(0.28); opacity: 0; }
}

/* Sakura preview */
.shop-theme-preview.store-theme--cherry-blossoms .theme-ambient__item {
  opacity: 1;
  width: 10px;
  height: 10px;
  border-radius: 40% 60% 55% 45%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.96), rgba(255,221,235,0.96) 42%, rgba(255,174,210,0.94) 72%, transparent 74%);
  box-shadow: 0 0 6px rgba(255, 194, 220, 0.35);
}

.shop-theme-preview.store-theme--cherry-blossoms .theme-ambient__item--1 { left: 10%; top: -8%; animation: sakuraFallA 5.8s linear infinite; }
.shop-theme-preview.store-theme--cherry-blossoms .theme-ambient__item--2 { left: 24%; top: -12%; animation: sakuraFallB 6.1s linear infinite 0.7s; }
.shop-theme-preview.store-theme--cherry-blossoms .theme-ambient__item--3 { left: 40%; top: -10%; animation: sakuraFallA 5.6s linear infinite 1.1s; }
.shop-theme-preview.store-theme--cherry-blossoms .theme-ambient__item--4 { left: 58%; top: -14%; animation: sakuraFallB 6.4s linear infinite 1.6s; }
.shop-theme-preview.store-theme--cherry-blossoms .theme-ambient__item--5 { left: 76%; top: -10%; animation: sakuraFallA 5.9s linear infinite 0.9s; }
.shop-theme-preview.store-theme--cherry-blossoms .theme-ambient__item--6 { left: 90%; top: -15%; animation: sakuraFallB 6.6s linear infinite 2s; }

/* Cosmic preview */
.shop-theme-preview.store-theme--cosmic-odyssey .theme-ambient__item {
  opacity: 1;
  border-radius: 999px;
}

.shop-theme-preview.store-theme--cosmic-odyssey .theme-ambient__item--1,
.shop-theme-preview.store-theme--cosmic-odyssey .theme-ambient__item--2,
.shop-theme-preview.store-theme--cosmic-odyssey .theme-ambient__item--3 {
  width: 5px;
  height: 5px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 0 8px rgba(160, 205, 255, 0.65);
  animation: cosmicTwinkle 2.6s ease-in-out infinite;
}

.shop-theme-preview.store-theme--cosmic-odyssey .theme-ambient__item--1 { left: 14%; top: 24%; animation-delay: 0s; }
.shop-theme-preview.store-theme--cosmic-odyssey .theme-ambient__item--2 { left: 42%; top: 18%; animation-delay: 0.8s; }
.shop-theme-preview.store-theme--cosmic-odyssey .theme-ambient__item--3 { left: 74%; top: 26%; animation-delay: 1.2s; }

.shop-theme-preview.store-theme--cosmic-odyssey .theme-ambient__item--4,
.shop-theme-preview.store-theme--cosmic-odyssey .theme-ambient__item--5,
.shop-theme-preview.store-theme--cosmic-odyssey .theme-ambient__item--6 {
  width: 16px;
  height: 16px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.95), rgba(149,196,255,0.88) 42%, rgba(108,104,255,0.52) 70%, transparent 74%);
  animation: cosmicDrift 4.4s ease-in-out infinite;
}

.shop-theme-preview.store-theme--cosmic-odyssey .theme-ambient__item--4 { left: 18%; top: 58%; animation-delay: 0.2s; }
.shop-theme-preview.store-theme--cosmic-odyssey .theme-ambient__item--5 { left: 50%; top: 50%; animation-delay: 1.1s; }
.shop-theme-preview.store-theme--cosmic-odyssey .theme-ambient__item--6 { left: 80%; top: 60%; animation-delay: 1.8s; }

/* Saturn preview */
.shop-theme-preview.store-theme--saturn-rings .theme-ambient__item {
  opacity: 1;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 233, 192, 0.92);
  box-shadow: 0 0 6px rgba(255, 214, 150, 0.4);
  animation: orbitDust 3.6s ease-in-out infinite;
}

.shop-theme-preview.store-theme--saturn-rings .theme-ambient__item--1 { right: 62px; top: 30px; animation-delay: 0s; }
.shop-theme-preview.store-theme--saturn-rings .theme-ambient__item--2 { right: 40px; top: 38px; animation-delay: 0.8s; }
.shop-theme-preview.store-theme--saturn-rings .theme-ambient__item--3 { right: 84px; top: 44px; animation-delay: 1.2s; }
.shop-theme-preview.store-theme--saturn-rings .theme-ambient__item--4 { right: 18px; top: 48px; animation-delay: 1.8s; }
.shop-theme-preview.store-theme--saturn-rings .theme-ambient__item--5 { right: 66px; top: 56px; animation-delay: 2.3s; }
.shop-theme-preview.store-theme--saturn-rings .theme-ambient__item--6 { right: 48px; top: 62px; animation-delay: 2.9s; }

/* Black hole preview */
.shop-theme-preview.store-theme--black-hole .theme-ambient__item {
  opacity: 1;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 40% 40%, rgba(255,255,255,0.95), rgba(176,148,255,0.82) 55%, transparent 74%);
  box-shadow: 0 0 6px rgba(145, 118, 255, 0.35);
  animation: singularityDrift 3.2s linear infinite;
}

.shop-theme-preview.store-theme--black-hole .theme-ambient__item--1 { left: 18%; top: 24%; animation-delay: 0s; }
.shop-theme-preview.store-theme--black-hole .theme-ambient__item--2 { left: 30%; top: 44%; animation-delay: 0.4s; }
.shop-theme-preview.store-theme--black-hole .theme-ambient__item--3 { left: 18%; top: 66%; animation-delay: 0.8s; }
.shop-theme-preview.store-theme--black-hole .theme-ambient__item--4 { left: 66%; top: 20%; animation-delay: 1.2s; }
.shop-theme-preview.store-theme--black-hole .theme-ambient__item--5 { left: 74%; top: 42%; animation-delay: 1.6s; }
.shop-theme-preview.store-theme--black-hole .theme-ambient__item--6 { left: 64%; top: 68%; animation-delay: 2s; }
/* =========================================================
   ULTRA DETAILED SAKURA PREVIEW
========================================================= */

.shop-theme-preview.store-theme--sakura-garden-ultra {
  background: linear-gradient(135deg, #fff0f6 0%, #ffd5e6 55%, #fff6fa 100%);
}

.shop-theme-preview.store-theme--sakura-garden-ultra::before {
  left: 0;
  top: 0;
  width: 100px;
  height: 100%;
  background:
    linear-gradient(72deg, transparent 0 28%, rgba(113,65,77,0.88) 28% 30%, transparent 30% 100%),
    linear-gradient(22deg, transparent 0 60%, rgba(132,82,92,0.72) 60% 62%, transparent 62% 100%);
  opacity: 0.8;
}

.shop-theme-preview.store-theme--sakura-garden-ultra::after {
  right: 12px;
  bottom: 6px;
  width: 92px;
  height: 52px;
  background:
    radial-gradient(circle at 16% 54%, #ffe07b 0 2.4%, transparent 2.6%),
    radial-gradient(circle at 12% 48%, #ffd2e5 0 8%, transparent 8.2%),
    radial-gradient(circle at 18% 40%, #ffd2e5 0 8%, transparent 8.2%),
    radial-gradient(circle at 26% 48%, #ffd2e5 0 8%, transparent 8.2%),
    radial-gradient(circle at 20% 58%, #ffd2e5 0 8%, transparent 8.2%),
    radial-gradient(circle at 10% 58%, #ffd2e5 0 8%, transparent 8.2%),

    radial-gradient(circle at 52% 28%, #ffe78f 0 2.2%, transparent 2.4%),
    radial-gradient(circle at 48% 22%, #ffc9e0 0 7%, transparent 7.2%),
    radial-gradient(circle at 54% 16%, #ffc9e0 0 7%, transparent 7.2%),
    radial-gradient(circle at 62% 22%, #ffc9e0 0 7%, transparent 7.2%),
    radial-gradient(circle at 56% 30%, #ffc9e0 0 7%, transparent 7.2%),
    radial-gradient(circle at 46% 30%, #ffc9e0 0 7%, transparent 7.2%),

    radial-gradient(circle at 82% 60%, #ffe07b 0 2.2%, transparent 2.4%),
    radial-gradient(circle at 78% 54%, #ffd0e4 0 7.4%, transparent 7.6%),
    radial-gradient(circle at 84% 46%, #ffd0e4 0 7.4%, transparent 7.6%),
    radial-gradient(circle at 92% 54%, #ffd0e4 0 7.4%, transparent 7.6%),
    radial-gradient(circle at 86% 64%, #ffd0e4 0 7.4%, transparent 7.6%),
    radial-gradient(circle at 76% 64%, #ffd0e4 0 7.4%, transparent 7.6%);
}

.shop-theme-preview.store-theme--sakura-garden-ultra .theme-ambient__item {
  opacity: 1;
  border-radius: 42% 58% 55% 45%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,0.96), rgba(255,221,235,0.98) 40%, rgba(255,180,213,0.96) 70%, transparent 74%);
  box-shadow: 0 0 6px rgba(255, 194, 220, 0.35);
}

.shop-theme-preview.store-theme--sakura-garden-ultra .theme-ambient__item--1 { left: 10%; top: -8%; width: 10px; height: 10px; animation: sakuraFallA 5.8s linear infinite; }
.shop-theme-preview.store-theme--sakura-garden-ultra .theme-ambient__item--2 { left: 26%; top: -10%; width: 9px; height: 9px; animation: sakuraFallB 6.4s linear infinite 0.7s; }
.shop-theme-preview.store-theme--sakura-garden-ultra .theme-ambient__item--3 { left: 42%; top: -9%; width: 10px; height: 10px; animation: sakuraFallA 5.9s linear infinite 1.2s; }
.shop-theme-preview.store-theme--sakura-garden-ultra .theme-ambient__item--4 { left: 60%; top: -11%; width: 9px; height: 9px; animation: sakuraFallB 6.7s linear infinite 1.6s; }
.shop-theme-preview.store-theme--sakura-garden-ultra .theme-ambient__item--5 { left: 76%; top: -8%; width: 8px; height: 8px; animation: sakuraFallA 5.7s linear infinite 0.8s; }
.shop-theme-preview.store-theme--sakura-garden-ultra .theme-ambient__item--6 { left: 90%; top: -12%; width: 10px; height: 10px; animation: sakuraFallB 6.9s linear infinite 2s; }
/* =========================================================
   SVG FLORAL ART PREVIEWS
========================================================= */

.shop-theme-preview .store-theme-art {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.shop-theme-preview .store-theme-art svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* =========================================================
   DETAILED SVG FLORAL PREVIEWS
========================================================= */

.shop-theme-preview .store-theme-art {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.shop-theme-preview .store-theme-art svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* =========================================================
   PREVIEW THEME ART
========================================================= */

.shop-theme-preview .store-theme-art {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.shop-theme-preview .store-theme-art svg,
.shop-theme-preview .store-theme-art img {
  width: 100%;
  height: 100%;
  display: block;
}
/* Pending market orders */
.pending-order-list {
  display: grid;
  gap: 12px;
}

.pending-order-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.pending-order-card.is-late {
  border-color: rgba(255, 107, 107, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 107, 107, 0.1) inset;
}

.pending-order-card__image img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}

.pending-order-card__title {
  font-weight: 800;
  color: #fff;
}

.pending-order-card__meta {
  font-size: 0.88rem;
  color: #b8c6e6;
  margin-top: 3px;
}

.pending-order-card__timer {
  margin-top: 8px;
  font-weight: 800;
  color: #ffd54d;
}

.pending-order-card.is-late .pending-order-card__timer {
  color: #ff7d7d;
}

.pending-order-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pending-order-card__actions button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
}

/* =========================================================
   Dashboard V2 operating console theme
========================================================= */

:root {
  --bg: #07080c;
  --bg-soft: #10131b;
  --card: rgba(16, 19, 27, 0.92);
  --card-2: rgba(22, 27, 37, 0.94);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f7f9ff;
  --muted: #9da8ba;
  --primary: #f7c948;
  --primary-2: #f59e0b;
  --success: #7ddc64;
  --danger: #ff4d5f;
  --warning: #f7c948;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 10px;
  --radius-sm: 8px;
  --max: 1200px;
}

html,
body {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 28px),
    linear-gradient(180deg, #07080c 0%, #0d1117 48%, #090a0e 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.04), transparent 24%, transparent 76%, rgba(247, 201, 72, 0.04)),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(255, 255, 255, 0.025) 34px 35px);
}

.site-header {
  background: rgba(7, 8, 12, 0.86);
  backdrop-filter: blur(18px);
}

.brand-logo {
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 14px rgba(247, 201, 72, 0.26));
}

.brand-text strong {
  font-weight: 950;
}

.brand-text span,
.eyebrow {
  color: var(--primary);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(247, 201, 72, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    var(--card);
}

.hero-card h1 {
  max-width: 860px;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.02;
  font-weight: 950;
}

.hero-card p {
  max-width: 740px;
  line-height: 1.55;
  font-weight: 650;
}

.card,
.stat-card,
.table-card,
.status-card {
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    var(--card);
}

.stat-card {
  min-height: 132px;
}

.stat-card .label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-card .value {
  color: #fff;
  font-weight: 950;
}

.section-head h2 {
  font-weight: 950;
}

.btn {
  color: #121212;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.18);
}

.btn-secondary,
.ghost-btn,
.dashboard-tab-btn,
.admin-main-tab-btn {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.btn-secondary:hover,
.ghost-btn:hover,
.dashboard-tab-btn:hover,
.admin-main-tab-btn:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.08);
}

.dashboard-tab-btn.is-active,
.admin-main-tab-btn.is-active {
  color: #121212;
  border-color: rgba(247, 201, 72, 0.5);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.btn-success {
  color: #0d1b10;
  border-color: rgba(125, 220, 100, 0.5);
  background: linear-gradient(135deg, #9ef06d, #7ddc64);
}

.btn-danger {
  color: #fff1f3;
  border-color: rgba(255, 77, 95, 0.44);
  background: rgba(255, 77, 95, 0.16);
}

.badge.approved {
  color: #9ef06d;
  border-color: rgba(125, 220, 100, 0.35);
  background: rgba(125, 220, 100, 0.08);
}

.badge.pending {
  color: #ffd84d;
  border-color: rgba(247, 201, 72, 0.34);
  background: rgba(247, 201, 72, 0.08);
}

.badge.rejected {
  color: #ff9aa5;
  border-color: rgba(255, 77, 95, 0.34);
  background: rgba(255, 77, 95, 0.08);
}

input,
select,
textarea {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(247, 201, 72, 0.55);
  box-shadow: 0 0 0 4px rgba(247, 201, 72, 0.08);
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

thead th {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.035);
}

.pending-order-card {
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.025);
}

.pending-order-card__image img {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.pending-order-card__timer {
  color: var(--primary);
}

/* =========================================================
   Professional dashboard refinement
   Quiet, dense, marketplace-aligned operations UI
========================================================= */

:root {
  --bg: #07080c;
  --bg-soft: #0d1117;
  --card: #10131b;
  --card-2: #161b25;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f7f9ff;
  --muted: #9da8ba;
  --muted-2: #707b8d;
  --primary: #f7c948;
  --primary-2: #f59e0b;
  --cyan: #22d3ee;
  --success: #7ddc64;
  --danger: #ff4d5f;
  --warning: #f7c948;
  --shadow: none;
  --radius: 9px;
  --radius-sm: 8px;
}

html,
body {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 32px),
    linear-gradient(180deg, #07080c 0%, #0c1017 52%, #08090d 100%);
}

body::before {
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.025), transparent 28%, transparent 72%, rgba(247, 201, 72, 0.025)),
    repeating-linear-gradient(0deg, transparent 0 40px, rgba(255, 255, 255, 0.018) 40px 41px);
}

.main-wrap {
  padding: 22px 0 42px;
}

.site-header {
  background: rgba(7, 8, 12, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-row {
  min-height: 68px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 10px rgba(247, 201, 72, 0.18));
}

.brand-text {
  gap: 3px;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand-text span {
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-actions {
  gap: 8px;
}

.hero-card {
  margin-bottom: 14px;
  padding: 18px;
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    var(--card);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 3px solid rgba(247, 201, 72, 0.76);
  pointer-events: none;
}

.eyebrow {
  color: var(--primary);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
}

.hero-card h1 {
  max-width: 900px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.hero-card p {
  max-width: 760px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 600;
}

.status-card {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.88rem;
}

.grid-3 {
  gap: 12px;
  margin-bottom: 14px;
}

.sections {
  gap: 14px;
}

.card,
.table-card,
.stat-card {
  border-color: var(--line);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    var(--card);
  box-shadow: none;
}

.card,
.table-card {
  padding: 16px;
}

.stat-card {
  min-height: 104px;
  padding: 14px;
  gap: 7px;
}

.stat-card .label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.stat-card .value {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.05;
}

.stat-card .hint {
  color: var(--muted-2);
  font-size: 0.78rem;
}

.section-head {
  align-items: center;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.15;
}

.section-head p {
  margin-top: 4px;
  max-width: 660px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.btn,
.btn-secondary,
.btn-danger,
.btn-success,
.ghost-btn,
.dashboard-tab-btn,
.admin-main-tab-btn {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 850;
  box-shadow: none !important;
}

.btn:hover,
.btn-secondary:hover,
.btn-danger:hover,
.btn-success:hover,
.ghost-btn:hover,
.dashboard-tab-btn:hover,
.admin-main-tab-btn:hover {
  transform: none;
}

.btn {
  color: #121212;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.btn-secondary,
.ghost-btn,
.dashboard-tab-btn,
.admin-main-tab-btn {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover,
.ghost-btn:hover,
.dashboard-tab-btn:hover,
.admin-main-tab-btn:hover {
  border-color: rgba(34, 211, 238, 0.36);
  background: rgba(34, 211, 238, 0.07);
}

.dashboard-tabs,
.admin-main-tabs {
  margin: 14px 0;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  width: fit-content;
}

.dashboard-tab-btn.is-active,
.admin-main-tab-btn.is-active {
  color: #121212 !important;
  border-color: rgba(247, 201, 72, 0.42) !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)) !important;
}

.btn-success {
  color: #dcfce7;
  border-color: rgba(125, 220, 100, 0.34);
  background: rgba(125, 220, 100, 0.11);
}

.btn-success:hover {
  background: rgba(125, 220, 100, 0.16);
}

.btn-danger {
  color: #ffd7dc;
  border-color: rgba(255, 77, 95, 0.34);
  background: rgba(255, 77, 95, 0.1);
}

.btn-danger:hover {
  background: rgba(255, 77, 95, 0.15);
}

.user-chip {
  min-height: 38px;
  padding: 4px 10px 4px 6px;
  background: rgba(255, 255, 255, 0.04);
}

.user-avatar {
  width: 28px;
  height: 28px;
  color: #121212;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.table-wrap {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(7, 12, 20, 0.42);
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

th,
td {
  padding: 11px 12px;
  border-bottom-color: rgba(255, 255, 255, 0.075);
}

th {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.68rem;
}

td {
  color: #e7edf8;
  font-size: 0.88rem;
  line-height: 1.45;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.badge {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
}

.actions-row {
  gap: 7px;
}

.form-grid {
  gap: 12px;
}

.field {
  gap: 6px;
}

.field span {
  color: #b8cdf0;
  font-size: 0.78rem;
  font-weight: 850;
}

.field input,
.field textarea,
.field select,
input,
select,
textarea {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(61, 77, 98, 0.7) !important;
  color: var(--text) !important;
  background: #070c14 !important;
  font-weight: 700;
}

.field input,
.field select {
  padding: 0 12px;
}

.field textarea,
textarea {
  min-height: 98px;
  padding: 10px 12px;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(34, 211, 238, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

select option {
  color: #111827;
  background: #ffffff;
}

.info-list {
  gap: 8px;
}

.info-item {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.info-item .k {
  color: var(--muted);
  font-size: 0.75rem;
}

.info-item .v {
  color: #e7edf8;
  font-size: 0.88rem;
}

.pending-order-list {
  gap: 10px;
}

.pending-order-card {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.pending-order-card__image img {
  width: 58px;
  height: 58px;
  border-radius: 7px;
}

.pending-order-card__title {
  font-size: 0.92rem;
}

.pending-order-card__meta {
  color: var(--muted);
  font-size: 0.78rem;
}

.pending-order-card__timer {
  margin-top: 6px;
  font-size: 0.84rem;
}

.pending-order-card__actions {
  gap: 7px;
  margin-top: 8px;
}

.pending-order-card__actions button {
  min-height: 32px;
  border-radius: 8px;
}

.shop-grid {
  gap: 12px;
}

.shop-card {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 12px;
  gap: 8px;
}

.shop-card h3 {
  font-size: 0.95rem;
}

.shop-card p {
  font-size: 0.82rem;
}

.coin-chip {
  min-height: 24px;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(247, 201, 72, 0.12);
  color: var(--primary);
}

.footer-space {
  height: 22px;
}

@media (max-width: 680px) {
  .main-wrap {
    padding-top: 14px;
  }

  .hero-card,
  .card,
  .table-card,
  .stat-card {
    padding: 13px;
  }

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

  .dashboard-tabs,
  .admin-main-tabs {
    width: 100%;
  }

  .dashboard-tab-btn,
  .admin-main-tab-btn {
    flex: 1 1 auto;
  }

  th,
  td {
    padding: 10px;
  }
}

/* =========================================================
   DASHBOARD REFRESH
========================================================= */

:root {
  --bg: #0a1020;
  --bg-soft: #111a2e;
  --card: rgba(12, 18, 34, 0.82);
  --card-2: rgba(16, 26, 46, 0.9);
  --line: rgba(255, 255, 255, 0.13);
  --text: #f8fbff;
  --muted: #b8c2d8;
  --primary: #00d4ff;
  --primary-2: #7c3aed;
  --accent: #ff3d81;
  --accent-2: #facc15;
  --success: #22c55e;
  --danger: #fb7185;
  --warning: #f59e0b;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --radius-sm: 6px;
}

body.dashboard-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 9% 12%, rgba(0, 212, 255, 0.28), transparent 25%),
    radial-gradient(circle at 90% 8%, rgba(255, 61, 129, 0.24), transparent 24%),
    radial-gradient(circle at 58% 78%, rgba(250, 204, 21, 0.16), transparent 28%),
    linear-gradient(135deg, #07111f 0%, #101827 44%, #151028 100%);
}

.dashboard-page--seller {
  --primary: #20e3b2;
  --primary-2: #00a7ff;
  --accent: #ffb703;
}

.dashboard-page--admin {
  --primary: #ff477e;
  --primary-2: #8b5cf6;
  --accent: #22d3ee;
}

.dashboard-page--user {
  --primary: #38bdf8;
  --primary-2: #6366f1;
  --accent: #34d399;
}

.dashboard-shell {
  position: relative;
  isolation: isolate;
}

.dashboard-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
}

.site-header {
  background: rgba(6, 10, 20, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.brand-logo {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 24px rgba(0, 212, 255, 0.16);
}

.brand-text strong {
  letter-spacing: 0;
}

.brand-text span,
.stat-card .hint,
.section-head p,
.field span,
.field-help,
th,
.info-item .k,
.pending-order-card__meta {
  color: var(--muted);
}

.btn,
.btn-secondary,
.btn-danger,
.btn-success,
.ghost-btn,
.user-chip,
.dashboard-tab-btn,
.admin-main-tab-btn {
  border-radius: 8px;
  font-weight: 800;
}

.btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #06111f;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--primary) 26%, transparent);
}

.btn:hover,
.btn-secondary:hover,
.ghost-btn:hover,
.dashboard-tab-btn:hover,
.admin-main-tab-btn:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--primary) 52%, rgba(255, 255, 255, 0.18));
}

.btn-secondary,
.ghost-btn,
.user-chip,
.dashboard-tab-btn,
.admin-main-tab-btn {
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-success {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(20, 184, 166, 0.88));
  color: #04120d;
  border-color: rgba(187, 247, 208, 0.25);
}

.btn-danger {
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.96), rgba(239, 68, 68, 0.86));
  color: #fff;
  border-color: rgba(254, 202, 202, 0.22);
}

.user-avatar {
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #08111e;
}

.main-wrap {
  padding-top: 34px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--primary) 44%, transparent), transparent 25%),
    radial-gradient(circle at 94% 86%, color-mix(in srgb, var(--accent) 36%, transparent), transparent 28%),
    rgba(7, 13, 25, 0.82);
}

.hero-card::before {
  content: "";
  position: absolute;
  right: 28px;
  top: 28px;
  width: 138px;
  height: 138px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 76%, white), color-mix(in srgb, var(--accent) 68%, white));
  opacity: 0.16;
  transform: rotate(12deg);
}

.hero-card::after {
  content: "";
  position: absolute;
  right: 76px;
  bottom: -38px;
  width: 210px;
  height: 72px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--primary) 42%, transparent);
  opacity: 0.55;
}

.eyebrow {
  color: var(--accent-2);
  letter-spacing: 0.08em;
}

.hero-card h1 {
  max-width: 780px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.96;
}

.hero-card p {
  max-width: 680px;
  font-size: 1.03rem;
  color: #dbe7ff;
}

.status-card,
.card,
.table-card,
.stat-card,
.shop-card,
.pending-order-card,
.store-dashboard-shell {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035)),
    rgba(8, 14, 26, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 138px;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-2));
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -34px;
  width: 96px;
  height: 96px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--primary) 38%, transparent);
  transform: rotate(20deg);
}

.stat-card .label {
  color: #dbeafe;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}

.stat-card .value {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.section-head h2 {
  color: #fff;
}

table {
  border-collapse: separate;
  border-spacing: 0 8px;
}

th {
  border: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
}

td {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

td:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px 0 0 8px;
}

td:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 8px 8px 0;
}

.field input,
.field textarea,
.field select,
select {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(5, 11, 22, 0.72) !important;
  color: var(--text) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.field input:focus,
.field textarea:focus,
.field select:focus,
select:focus {
  border-color: color-mix(in srgb, var(--primary) 70%, white) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent) !important;
}

select option {
  background-color: #0d1628;
  color: #f8fbff;
}

.field-help {
  font-size: 0.78rem;
}

.qr-preview-panel {
  align-items: start;
}

.qr-preview-panel img {
  width: 180px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.cashout-note-lines {
  display: grid;
  gap: 5px;
  min-width: 220px;
  color: #dbe7ff;
}

.cashout-note-lines strong {
  color: #fff;
}

.cashout-review-shell {
  padding: 22px;
}

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

.cashout-subtabs {
  display: inline-flex;
  gap: 6px;
  margin: 0 0 16px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.cashout-subtab-btn {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.cashout-subtab-btn.is-active {
  background: rgba(124, 58, 237, 0.24);
  color: #fff;
}

.cashout-subtab-panel[hidden] {
  display: none !important;
}

.cashout-review-list {
  display: grid;
  gap: 16px;
}

.cashout-review-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(8, 13, 28, 0.62);
  overflow: hidden;
}

.cashout-review-card__header,
.cashout-review-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
}

.cashout-review-card__header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.cashout-review-card__footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cashout-review-card__seller {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
}

.cashout-review-card__sub,
.cashout-review-id {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.cashout-review-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.cashout-payout-id {
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.12);
  color: #ddd6fe;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.cashout-review-card__body {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) repeat(4, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.cashout-review-block {
  min-height: 138px;
  padding: 16px;
  background: rgba(13, 20, 39, 0.98);
}

.cashout-review-block--wide {
  min-width: 0;
}

.cashout-review-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cashout-review-value {
  display: block;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.2;
}

.cashout-review-meta {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.cashout-coin-math {
  display: grid;
  gap: 4px;
  min-width: 145px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.cashout-coin-math div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.cashout-coin-math strong {
  color: #eaf2ff;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .cashout-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .cashout-review-block--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .cashout-review-shell {
    padding: 16px;
  }

  .cashout-stats-grid {
    grid-template-columns: 1fr;
  }

  .cashout-review-card__header,
  .cashout-review-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .cashout-review-status {
    justify-content: flex-start;
  }

  .cashout-review-card__body {
    grid-template-columns: 1fr;
  }

  .cashout-review-block {
    min-height: auto;
  }
}

.table-link {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.badge {
  border-radius: 8px;
  font-weight: 800;
}

.dashboard-tab-btn.is-active,
.admin-main-tab-btn.is-active {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #07111f;
  border-color: transparent;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--primary) 22%, transparent);
}

.info-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.empty-state {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

@media (max-width: 680px) {
  .hero-card {
    min-height: auto;
    padding: 20px;
  }

  .hero-card h1 {
    font-size: 2rem;
    line-height: 1.02;
  }

  .hero-card::before,
  .hero-card::after {
    display: none;
  }

  table {
    border-spacing: 0 6px;
  }
}

/* Responsive dashboard hardening */
.section-head,
.nav-row,
.nav-actions,
.actions-row,
.info-item,
.user-chip,
.sections,
.sections > *,
.dashboard-tab-panel,
.admin-main-panel,
.card,
.table-card,
.stat-card,
.shop-grid,
.shop-card,
.pending-order-list,
.pending-order-card,
.seller-command-center,
.seller-panel,
.seller-tool-grid,
.seller-health-list {
  min-width: 0;
}

.table-wrap {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table {
  min-width: 680px;
}

.table-card .table-wrap {
  margin: 0 -4px;
  padding: 0 4px 4px;
}

.value,
.info-item .v,
td,
th {
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .nav-row {
    align-items: stretch;
    flex-direction: column;
    padding: 12px 0;
  }

  .brand {
    width: 100%;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .nav-actions > *,
  .nav-actions .ghost-btn,
  .nav-actions .user-chip {
    width: 100%;
  }

  .user-chip {
    justify-content: flex-start;
  }

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

  .section-head .actions-row,
  .actions-row {
    width: 100%;
  }

  .actions-row > button,
  .actions-row > a {
    flex: 1 1 150px;
  }
}

@media (max-width: 420px) {
  .nav-actions {
    grid-template-columns: 1fr;
  }

  .info-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .info-item .v {
    text-align: left;
  }

  .hero-card h1 {
    font-size: 1.72rem;
  }

  .table-wrap table {
    min-width: 620px;
  }
}

.field .avatar-design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
}

.field .avatar-design-option {
  min-height: 112px;
  padding: 10px;
  border: 1px solid var(--line) !important;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.field .avatar-design-option span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.15;
}

.field .avatar-design-option:hover,
.field .avatar-design-option.is-selected {
  border-color: rgba(34, 211, 238, 0.78) !important;
  background: rgba(34, 211, 238, 0.09);
}

.wallet-records-card {
  display: grid;
  gap: 14px;
}

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

.wallet-report-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.wallet-report-card span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wallet-report-card strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1.08rem, 2.4vw, 1.5rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.wallet-records-panel {
  display: grid;
  gap: 10px;
}

.wallet-records-panel[hidden] {
  display: none !important;
}

.wallet-record-type {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.wallet-record-type--received {
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.12);
}

.wallet-record-type--purchase {
  color: #fde68a;
  border-color: rgba(250, 204, 21, 0.28);
  background: rgba(250, 204, 21, 0.11);
}

.wallet-record-type--payout {
  color: #bfdbfe;
  border-color: rgba(96, 165, 250, 0.28);
  background: rgba(96, 165, 250, 0.12);
}

.seller-wallet-card {
  position: relative;
  display: grid;
  gap: 22px;
  overflow: hidden;
  margin-bottom: 18px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(122deg, rgba(2, 6, 15, 0.98) 0%, rgba(3, 8, 19, 0.95) 55%, rgba(11, 15, 26, 0.98) 100%);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.42);
  isolation: isolate;
}

.seller-wallet-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.2), transparent 12%),
    linear-gradient(120deg, transparent 0 58%, rgba(255, 255, 255, 0.06) 58% 76%, transparent 76% 100%);
}

.seller-wallet-card__shine {
  position: absolute;
  z-index: -1;
  right: clamp(18px, 5vw, 80px);
  top: 18px;
  width: clamp(78px, 18vw, 152px);
  aspect-ratio: 1.8;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.52), transparent 32%),
    linear-gradient(135deg, rgba(32, 227, 178, 0.36), rgba(255, 183, 3, 0.2));
  opacity: 0.72;
  filter: blur(0.5px);
  pointer-events: none;
}

.seller-wallet-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.seller-wallet-card__eyebrow {
  display: block;
  color: #e7c56d;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.seller-wallet-card__balance {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  color: #e6c878;
  font-size: clamp(1.9rem, 5vw, 3.55rem);
  font-weight: 900;
  line-height: 1;
}

.seller-wallet-card__convert {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  font-weight: 800;
}

.valen-coin-logo {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.05em;
  height: 1.05em;
  border: 2px solid rgba(230, 200, 120, 0.7);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.48), transparent 28%),
    linear-gradient(135deg, #f9dd86, #b88b2f);
  color: #1b1305;
  font-size: 0.72em;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(230, 200, 120, 0.18);
}

.valen-coin-logo--tiny {
  width: 18px;
  height: 18px;
  border-width: 1px;
  font-size: 0.68rem;
  vertical-align: -3px;
}

.seller-wallet-card__visibility {
  display: inline-grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
}

.seller-wallet-card__default {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.56);
}

.seller-wallet-card__default span:not(.valen-coin-logo) {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid rgba(230, 200, 120, 0.78);
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
}

.seller-wallet-card__default strong {
  min-width: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.92rem, 2vw, 1.18rem);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.seller-wallet-card__actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.seller-wallet-card__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 900;
}

.seller-wallet-card__action-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #06111f;
  font-size: 0.88rem;
  font-weight: 950;
}

.seller-wallet-card__action-icon--receive {
  background: #20e3b2;
}

.seller-wallet-card__action-icon--send {
  background: #fb6075;
}

.seller-wallet-card__action-icon--analytics {
  background: #23c8ff;
}

.seller-wallet-card--top {
  margin-bottom: 20px;
}

.seller-command-center {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
  grid-template-areas:
    "analytics health";
  gap: 16px;
  margin-bottom: 22px;
}

.seller-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    rgba(8, 14, 26, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.seller-panel--analytics {
  grid-area: analytics;
}

.seller-panel--health {
  grid-area: health;
}

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

.seller-metric {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.seller-metric span,
.seller-health-list span,
.seller-tool-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.25;
}

.seller-metric strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: clamp(1.18rem, 2.4vw, 1.7rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

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

.seller-tool-grid button,
.seller-tool-grid a {
  display: block;
  min-width: 0;
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  text-align: left;
  font: inherit;
  text-decoration: none;
}

.seller-tool-grid button:hover,
.seller-tool-grid a:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--primary) 52%, rgba(255, 255, 255, 0.18));
  background: color-mix(in srgb, var(--primary) 12%, rgba(255, 255, 255, 0.055));
}

.seller-tool-grid strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.15;
}

.seller-health-list {
  display: grid;
  gap: 8px;
}

.seller-health-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.seller-health-list strong {
  color: #fff;
  font-size: 0.95rem;
  text-align: right;
  overflow-wrap: anywhere;
}

.seller-secondary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.seller-secondary-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  text-decoration: none;
}

.seller-listing-workspace {
  border-color: color-mix(in srgb, var(--primary) 26%, rgba(255, 255, 255, 0.13));
}

.seller-listing-workspace .form-grid {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.seller-listings-manager .section-head {
  align-items: end;
}

.seller-listing-search {
  display: grid;
  gap: 6px;
  min-width: min(280px, 100%);
}

.seller-listing-search span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.seller-listing-search input {
  width: 100%;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 11, 22, 0.72);
  color: var(--text);
  padding: 10px 12px;
  outline: none;
}

.seller-listing-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.seller-listing-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(5, 11, 22, 0.68);
}

.seller-listing-card__image {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 30% 28%, color-mix(in srgb, var(--primary) 36%, transparent), transparent 28%),
    rgba(255, 255, 255, 0.04);
}

.seller-listing-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seller-listing-card__image span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #06111f;
  font-size: 1.5rem;
  font-weight: 950;
}

.seller-listing-card__body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.seller-listing-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.seller-listing-card__topline strong {
  color: #fff;
  font-size: 1.05rem;
}

.seller-listing-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.seller-listing-card__meta {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.85rem;
}

.seller-listing-card__meta strong {
  color: #e8f0ff;
}

.seller-listing-card__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.seller-listing-card__actions button {
  min-height: 38px;
  padding: 8px;
}

.seller-orders-page {
  display: grid;
  gap: 14px;
}

.seller-order-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.seller-order-filters label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.seller-order-filters span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.seller-order-filters input,
.seller-order-filters select {
  width: 100%;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 11, 22, 0.72);
  color: var(--text);
  padding: 10px 12px;
  outline: none;
}

.seller-orders-table-wrap {
  border-radius: 12px;
}

.seller-orders-table th,
.seller-orders-table td {
  white-space: nowrap;
}

.seller-focused-tool-page .seller-wallet-card--top,
.seller-focused-tool-page #statusCard,
.seller-focused-tool-page #sellerAnalyticsCard,
.seller-focused-tool-page .dashboard-tabs {
  display: none;
}

.seller-focused-tool-page .main-wrap {
  padding-top: 22px;
}

/* Mobile dashboard layout */
html,
body.dashboard-page {
  overflow-x: hidden;
}

.dashboard-page .container,
.dashboard-page .main-wrap,
.dashboard-page .dashboard-tab-panel,
.dashboard-page .admin-main-panel {
  min-width: 0;
}

@media (max-width: 860px) {
  .dashboard-page .container {
    width: min(100% - 24px, var(--max));
  }

  .dashboard-page .main-wrap {
    padding: 18px 0 34px;
  }

  .dashboard-page .grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dashboard-page .sections {
    gap: 12px;
  }

  .dashboard-page .hero-card,
  .dashboard-page .card,
  .dashboard-page .table-card,
  .dashboard-page .stat-card,
  .dashboard-page .status-card {
    border-radius: 8px;
  }

  .dashboard-page .hero-card {
    margin-bottom: 14px;
    min-height: 0;
    padding: 22px;
  }

  .dashboard-page .hero-card h1 {
    max-width: 100%;
    font-size: clamp(1.8rem, 8vw, 2.55rem);
    line-height: 1.04;
  }

  .dashboard-page .hero-card p {
    max-width: 100%;
    font-size: 0.94rem;
  }

  .dashboard-page .card,
  .dashboard-page .table-card {
    padding: 16px;
  }

  .dashboard-page .stat-card {
    min-height: 112px;
    padding: 16px;
  }

  .dashboard-page .section-head {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .dashboard-page .section-head h2 {
    font-size: 1.08rem;
  }

  .dashboard-page .section-head p {
    font-size: 0.84rem;
  }

  .dashboard-page .dashboard-tabs,
  .dashboard-page .admin-main-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    width: 100%;
  }

  .dashboard-page .dashboard-tab-btn,
  .dashboard-page .admin-main-tab-btn {
    width: 100%;
    min-height: 42px;
    padding-inline: 10px;
    white-space: normal;
  }

  .dashboard-page .form-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page .field-wide {
    grid-column: auto;
  }

  .dashboard-page .table-wrap {
    border-radius: 8px;
    margin-inline: -2px;
    padding-bottom: 6px;
  }

  .dashboard-page .table-wrap table {
    min-width: 600px;
  }

  .dashboard-page th,
  .dashboard-page td {
    padding: 10px 9px;
    font-size: 0.82rem;
  }

  .dashboard-page .pending-order-card {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .dashboard-page .pending-order-card__actions {
    grid-column: 1 / -1;
  }

  .dashboard-page .pending-order-card__actions button,
  .dashboard-page .actions-row > button,
  .dashboard-page .actions-row > a,
  .dashboard-page .section-head > .btn-secondary,
  .dashboard-page .section-head > .btn {
    width: 100%;
  }

  .dashboard-page .store-dashboard-shell,
  .dashboard-page .store-dashboard-frame {
    min-height: 760px !important;
  }
}

@media (max-width: 520px) {
  .dashboard-page .container {
    width: min(100% - 18px, var(--max));
  }

  .dashboard-page .site-header {
    position: static;
  }

  .dashboard-page .nav-row {
    gap: 10px;
    min-height: 0;
    padding: 10px 0;
  }

  .dashboard-page .brand {
    gap: 10px;
  }

  .dashboard-page .brand-logo {
    width: 38px;
    height: 38px;
  }

  .dashboard-page .brand-text strong {
    font-size: 0.95rem;
  }

  .dashboard-page .brand-text span {
    font-size: 0.76rem;
  }

  .dashboard-page .nav-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .dashboard-page .nav-actions > *,
  .dashboard-page .nav-actions .ghost-btn,
  .dashboard-page .nav-actions .user-chip {
    min-height: 40px;
    padding-inline: 10px;
  }

  .dashboard-page .user-chip {
    grid-column: 1 / -1;
  }

  .dashboard-page .user-name {
    max-width: none;
  }

  .dashboard-page .hero-card {
    padding: 18px;
  }

  .dashboard-page .hero-card h1 {
    font-size: 1.72rem;
    line-height: 1.08;
  }

  .dashboard-page .hero-card p,
  .dashboard-page .status-card,
  .dashboard-page .field input,
  .dashboard-page .field select,
  .dashboard-page .field textarea {
    font-size: 0.9rem;
  }

  .dashboard-page .card,
  .dashboard-page .table-card,
  .dashboard-page .stat-card {
    padding: 14px;
  }

  .dashboard-page .stat-card .value {
    font-size: 1.45rem;
    line-height: 1.1;
  }

  .dashboard-page .dashboard-tabs,
  .dashboard-page .admin-main-tabs {
    grid-template-columns: 1fr;
  }

  .dashboard-page .actions-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-page .info-item {
    padding: 10px;
  }

  .dashboard-page .table-wrap table {
    min-width: 540px;
  }

  .dashboard-page .shop-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page .wallet-report-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page .seller-command-center {
    grid-template-columns: 1fr;
    grid-template-areas:
      "analytics"
      "health";
  }

  .dashboard-page .seller-metrics-grid,
  .dashboard-page .seller-tool-grid,
  .dashboard-page .seller-secondary-actions,
  .dashboard-page .seller-listing-card__actions,
  .dashboard-page .seller-order-filters {
    grid-template-columns: 1fr;
  }

  .dashboard-page .seller-wallet-card {
    border-radius: 18px;
  }

  .dashboard-page .seller-wallet-card__top,
  .dashboard-page .seller-wallet-card__default {
    align-items: flex-start;
  }

  .dashboard-page .seller-wallet-card__actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dashboard-page .seller-wallet-card__actions button {
    justify-content: flex-start;
  }

  .dashboard-page .pending-order-card {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 9px;
  }

  .dashboard-page .pending-order-card__image img {
    width: 46px;
    height: 46px;
  }

  .dashboard-page .pending-order-card__title {
    font-size: 0.92rem;
  }

  .dashboard-page .store-dashboard-shell,
  .dashboard-page .store-dashboard-frame {
    min-height: 680px !important;
  }
}

@media (max-width: 360px) {
  .dashboard-page .container {
    width: min(100% - 14px, var(--max));
  }

  .dashboard-page .nav-actions {
    grid-template-columns: 1fr;
  }

  .dashboard-page .table-wrap table {
    min-width: 500px;
  }

  .dashboard-page .hero-card h1 {
    font-size: 1.55rem;
  }
}

/* =========================================================
   GAME MARKET DASHBOARD REDESIGN
========================================================= */

.dashboard-page {
  --bg: #050914;
  --bg-soft: #08101f;
  --card: rgba(10, 18, 33, 0.88);
  --card-2: rgba(15, 25, 44, 0.92);
  --line: rgba(160, 178, 214, 0.18);
  --text: #f4f7ff;
  --muted: #9aa8c2;
  --primary: #9556ff;
  --primary-2: #19c5d1;
  --accent: #29d3e0;
  --accent-2: #b996ff;
  --success: #31d677;
  --danger: #ff5e78;
  --warning: #f4bb4f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --radius-sm: 8px;
  --sidebar-width: 264px;
  background:
    linear-gradient(135deg, rgba(6, 13, 29, 0.98), rgba(7, 9, 20, 1) 44%, rgba(16, 12, 36, 1));
}

.dashboard-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(26, 197, 209, 0.08), transparent 28%),
    linear-gradient(300deg, rgba(149, 86, 255, 0.16), transparent 34%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 92px);
}

.dashboard-page .dashboard-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
}

.dashboard-page .site-header {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  border-right: 1px solid rgba(25, 197, 209, 0.35);
  border-bottom: 0;
  background:
    linear-gradient(180deg, rgba(6, 13, 27, 0.98), rgba(5, 10, 22, 0.96)),
    rgba(5, 9, 20, 0.98);
  backdrop-filter: blur(18px);
}

.dashboard-page .site-header .container {
  width: 100%;
  height: 100%;
  margin: 0;
}

.dashboard-page .nav-row {
  min-height: 100%;
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 22px;
}

.dashboard-page .brand {
  min-height: 48px;
  gap: 12px;
}

.dashboard-page .brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(149, 86, 255, 0.28);
}

.dashboard-page .brand-text strong {
  color: #fff;
  font-size: 1.02rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dashboard-page .brand-text span {
  color: #b9c5d8;
  font-size: 0.76rem;
}

.dashboard-page .sidebar-nav {
  display: grid;
  gap: 6px;
}

.dashboard-page .nav-section-title {
  margin: 18px 2px 4px;
  color: #7f8da8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-page .sidebar-link {
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #c7d2e8;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  position: relative;
  text-align: left;
  cursor: pointer;
}

.dashboard-page .sidebar-link span[aria-hidden="true"] {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f7fbff;
  font-size: 0.76rem;
  font-weight: 900;
}

.dashboard-page .sidebar-link .nav-icon {
  font-size: 0;
  line-height: 0;
}

.dashboard-page .sidebar-link .nav-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  color: currentColor;
}

.dashboard-page .sidebar-link span.nav-icon--plain[aria-hidden="true"] {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.dashboard-page .sidebar-link span.nav-icon--plain[aria-hidden="true"] svg {
  width: 24px;
  height: 24px;
}

.dashboard-page .sidebar-link:hover,
.dashboard-page .sidebar-link.is-active,
.dashboard-page .sidebar-link.dashboard-tab-btn.is-active,
.dashboard-page .sidebar-link.admin-main-tab-btn.is-active {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(149, 86, 255, 0.34);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--primary);
}

.dashboard-page .sidebar-link.dashboard-tab-btn,
.dashboard-page .sidebar-link.admin-main-tab-btn {
  justify-content: flex-start;
  border-radius: 8px;
  min-height: 42px;
  padding: 0 10px;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.dashboard-page .sidebar-nav .sidebar-link.dashboard-tab-btn:not(.is-active),
.dashboard-page .sidebar-nav .sidebar-link.admin-main-tab-btn:not(.is-active) {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.dashboard-page .sidebar-nav .sidebar-link:not(.is-active):hover,
.dashboard-page .sidebar-nav .sidebar-link.dashboard-tab-btn:not(.is-active):hover,
.dashboard-page .sidebar-nav .sidebar-link.admin-main-tab-btn:not(.is-active):hover {
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.dashboard-page .sidebar-nav .sidebar-link.is-active,
.dashboard-page .sidebar-nav .sidebar-link.dashboard-tab-btn.is-active,
.dashboard-page .sidebar-nav .sidebar-link.admin-main-tab-btn.is-active {
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}

.dashboard-page .sidebar-nav .sidebar-link.is-active span[aria-hidden="true"],
.dashboard-page .sidebar-nav .sidebar-link.dashboard-tab-btn.is-active span[aria-hidden="true"],
.dashboard-page .sidebar-nav .sidebar-link.admin-main-tab-btn.is-active span[aria-hidden="true"] {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.22);
}

.dashboard-page .sidebar-nav .sidebar-link.is-active span.nav-icon--plain[aria-hidden="true"],
.dashboard-page .sidebar-nav .sidebar-link.dashboard-tab-btn.is-active span.nav-icon--plain[aria-hidden="true"],
.dashboard-page .sidebar-nav .sidebar-link.admin-main-tab-btn.is-active span.nav-icon--plain[aria-hidden="true"] {
  background: transparent;
  border: 0;
}

.dashboard-page .nav-actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.dashboard-page .nav-actions .user-chip,
.dashboard-page .nav-actions .ghost-btn {
  width: 100%;
  justify-content: flex-start;
}

.dashboard-page .user-chip {
  min-height: 48px;
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.065);
}

.dashboard-page .user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, var(--primary), #4f7bff);
  color: #fff;
}

.dashboard-page .main-wrap {
  min-width: 0;
  padding: 0;
}

.dashboard-page .main-wrap > .container {
  width: 100%;
  max-width: none;
  padding: 26px 26px 56px;
}

.dashboard-page .dashboard-topbar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.dashboard-page .dashboard-breadcrumb {
  color: #dbe4f3;
  font-weight: 800;
  font-size: 0.92rem;
}

.dashboard-page .dashboard-breadcrumb span {
  margin: 0 10px;
  color: #738199;
}

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

.dashboard-page .topbar-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.055);
  display: inline-grid;
  place-items: center;
  color: #dce6f7;
  font-weight: 900;
  position: relative;
}

.dashboard-page .topbar-icon-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

.dashboard-page .message-unread-badge {
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff2f3f;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(255, 47, 63, 0.35);
  z-index: 2;
}

.dashboard-page .message-unread-badge[hidden] {
  display: none;
}

.dashboard-page .sidebar-link .message-unread-badge {
  position: absolute;
  left: 28px;
  top: 4px;
}

.dashboard-page .topbar-icon-btn .message-unread-badge {
  position: absolute;
  right: -5px;
  top: -5px;
}

.dashboard-page .hero-card {
  min-height: 116px;
  margin-bottom: 18px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 17, 32, 0.96) 0%, rgba(12, 20, 39, 0.88) 54%, rgba(31, 21, 68, 0.58) 100%),
    url("./images/homebanner.webp") right center / auto 145% no-repeat;
}

.dashboard-page .hero-card::before,
.dashboard-page .hero-card::after {
  display: none;
}

.dashboard-page .hero-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
    linear-gradient(135deg, rgba(149, 86, 255, 0.98), rgba(77, 39, 173, 0.95));
  border: 1px solid rgba(210, 188, 255, 0.34);
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
  box-shadow: 0 18px 45px rgba(149, 86, 255, 0.28);
}

.dashboard-page .hero-copy {
  min-width: 0;
}

.dashboard-page .hero-card h1 {
  max-width: 780px;
  margin: 4px 0 6px;
  font-size: clamp(1.8rem, 2.7vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.dashboard-page .hero-card p {
  max-width: 760px;
  color: #b9c5d8;
}

.dashboard-page .eyebrow {
  color: #c4b5fd;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
}

.dashboard-page .status-card,
.dashboard-page .card,
.dashboard-page .table-card,
.dashboard-page .stat-card,
.dashboard-page .seller-panel,
.dashboard-page .seller-wallet-card,
.dashboard-page .shop-card,
.dashboard-page .pending-order-card,
.dashboard-page .store-dashboard-shell {
  border-radius: 8px;
  border: 1px solid rgba(160, 178, 214, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(8, 15, 29, 0.9);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.dashboard-page .status-card {
  color: #cbd6e8;
}

.dashboard-page .grid-3 {
  gap: 14px;
}

.dashboard-page .stat-card {
  min-height: 120px;
  padding: 18px;
}

.dashboard-page .stat-card::before {
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.dashboard-page .stat-card::after {
  display: none;
}

.dashboard-page .stat-card .label {
  color: #aebad0;
}

.dashboard-page .stat-card .value {
  color: #fff;
  font-size: 1.72rem;
}

.dashboard-page .section-head {
  align-items: center;
  margin-bottom: 18px;
}

.dashboard-page .section-head h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.dashboard-page .section-head p {
  color: #95a4bb;
  font-size: 0.92rem;
}

.dashboard-page .btn,
.dashboard-page .btn-secondary,
.dashboard-page .btn-danger,
.dashboard-page .btn-success,
.dashboard-page .ghost-btn,
.dashboard-page .dashboard-tab-btn,
.dashboard-page .admin-main-tab-btn {
  border-radius: 8px;
  min-height: 42px;
  font-weight: 850;
}

.dashboard-page .btn {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 14px 28px rgba(25, 197, 209, 0.18);
}

.dashboard-page .btn-secondary,
.dashboard-page .ghost-btn,
.dashboard-page .dashboard-tab-btn,
.dashboard-page .admin-main-tab-btn {
  background: rgba(255, 255, 255, 0.045);
  color: #edf3ff;
  border-color: rgba(255, 255, 255, 0.16);
}

.dashboard-page .btn-secondary:hover,
.dashboard-page .ghost-btn:hover,
.dashboard-page .dashboard-tab-btn:hover,
.dashboard-page .admin-main-tab-btn:hover,
.dashboard-page .topbar-icon-btn:hover {
  border-color: rgba(149, 86, 255, 0.55);
  background: rgba(149, 86, 255, 0.1);
}

.dashboard-page .content-tabs {
  margin: 0 0 18px;
  padding: 8px;
  border: 1px solid rgba(160, 178, 214, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  display: none;
}

.dashboard-page .content-tabs .dashboard-tab-btn.is-active,
.dashboard-page .content-tabs .admin-main-tab-btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(149, 86, 255, 0.9), rgba(25, 197, 209, 0.82));
  border-color: transparent;
}

.dashboard-page .field {
  gap: 7px;
}

.dashboard-page .field span,
.dashboard-page .seller-order-filters span {
  color: #b6c2d7;
  font-size: 0.83rem;
  font-weight: 800;
}

.dashboard-page .field input,
.dashboard-page .field textarea,
.dashboard-page .field select,
.dashboard-page .seller-order-filters input,
.dashboard-page .seller-order-filters select,
.dashboard-page select {
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(160, 178, 214, 0.22) !important;
  background: rgba(6, 13, 25, 0.76) !important;
  color: #eef4ff !important;
}

.dashboard-page .field textarea {
  min-height: 132px;
}

.dashboard-page .table-wrap {
  border-radius: 8px;
}

.dashboard-page table {
  border-spacing: 0 8px;
}

.dashboard-page th {
  color: #8795ad;
}

.dashboard-page td {
  background: rgba(255, 255, 255, 0.035);
  border-top-color: rgba(160, 178, 214, 0.11);
  border-bottom-color: rgba(160, 178, 214, 0.11);
}

.dashboard-page td:first-child {
  border-left-color: rgba(160, 178, 214, 0.11);
}

.dashboard-page td:last-child {
  border-right-color: rgba(160, 178, 214, 0.11);
}

.dashboard-page .badge {
  border-radius: 7px;
}

.dashboard-page .seller-focused-tool-page .seller-dashboard-hero,
.seller-focused-tool-page .seller-dashboard-hero {
  display: none;
}

.dashboard-page .listing-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.dashboard-page .seller-listing-workspace {
  border-color: rgba(160, 178, 214, 0.18);
}

.dashboard-page .seller-listing-workspace .form-grid {
  padding: 0;
  border: 0;
  background: transparent;
}

.dashboard-page #imagePreview {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(160, 178, 214, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-page .listing-form-actions {
  margin-top: 16px;
}

.dashboard-page .form-status-line {
  margin-top: 10px;
  color: var(--muted);
}

.dashboard-page .listing-preview-card {
  position: sticky;
  top: 24px;
}

.dashboard-page .listing-preview-box {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(160, 178, 214, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(149, 86, 255, 0.08)),
    rgba(8, 15, 29, 0.9);
}

.dashboard-page .listing-preview-media {
  width: 104px;
  height: 104px;
  border-radius: 8px;
  border: 1px solid rgba(160, 178, 214, 0.22);
  background: rgba(255, 255, 255, 0.035);
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 1.5rem;
  font-weight: 900;
  overflow: hidden;
}

.dashboard-page .listing-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-page .listing-preview-summary {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.dashboard-page .listing-preview-summary > span {
  color: #aab7cb;
  font-size: 0.86rem;
}

.dashboard-page .listing-preview-summary strong {
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.dashboard-page .listing-preview-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-page .listing-preview-badges span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  padding: 0 9px;
  color: #c9a8ff;
  background: rgba(149, 86, 255, 0.14);
  border: 1px solid rgba(149, 86, 255, 0.26);
  font-size: 0.78rem;
  font-weight: 850;
}

.dashboard-page .listing-preview-badges span:last-child {
  color: #70e79c;
  background: rgba(49, 214, 119, 0.12);
  border-color: rgba(49, 214, 119, 0.25);
}

.dashboard-page .listing-preview-list {
  margin: 18px 0 0;
  display: grid;
}

.dashboard-page .listing-preview-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(160, 178, 214, 0.13);
}

.dashboard-page .listing-preview-list dt,
.dashboard-page .listing-preview-list dd {
  margin: 0;
}

.dashboard-page .listing-preview-list dt {
  color: #9ba8bf;
}

.dashboard-page .listing-preview-list dd {
  color: #fff;
  font-weight: 850;
  text-align: right;
  overflow-wrap: anywhere;
}

.dashboard-page .listing-preview-note {
  margin-top: 18px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(160, 178, 214, 0.14);
  background: rgba(255, 255, 255, 0.035);
  color: #aeb9cd;
  font-size: 0.9rem;
  line-height: 1.5;
}

.dashboard-page .seller-listing-card-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.dashboard-page .seller-wallet-card {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(149, 86, 255, 0.24), rgba(25, 197, 209, 0.12)),
    rgba(8, 15, 29, 0.94);
}

.dashboard-page .seller-command-center {
  gap: 18px;
}

.dashboard-page .seller-order-filters {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

@media (max-width: 1100px) {
  .dashboard-page .dashboard-shell {
    grid-template-columns: 228px minmax(0, 1fr);
  }

  .dashboard-page .listing-builder-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page .listing-preview-card {
    position: static;
  }
}

@media (max-width: 860px) {
  .dashboard-page .dashboard-shell {
    display: block;
  }

  .dashboard-page .site-header {
    position: sticky;
    top: 0;
    height: auto;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid rgba(25, 197, 209, 0.26);
  }

  .dashboard-page .site-header .container {
    height: auto;
  }

  .dashboard-page .nav-row {
    min-height: 0;
    padding: 12px;
    gap: 12px;
  }

  .dashboard-page .sidebar-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .dashboard-page .nav-section-title {
    display: none;
  }

  .dashboard-page .sidebar-link {
    width: auto;
    min-width: max-content;
  }

  .dashboard-page .nav-actions {
    margin-top: 0;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .dashboard-page .main-wrap > .container {
    padding: 16px 12px 34px;
  }

  .dashboard-page .dashboard-topbar {
    align-items: flex-start;
  }

  .dashboard-page .hero-card {
    padding: 18px;
    min-height: 0;
    background:
      linear-gradient(90deg, rgba(10, 17, 32, 0.96), rgba(12, 20, 39, 0.9)),
      url("./images/homebanner.webp") right center / auto 130% no-repeat;
  }

  .dashboard-page .hero-icon {
    width: 58px;
    height: 58px;
    font-size: 1.05rem;
  }

  .dashboard-page .hero-card h1 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .dashboard-page .section-head {
    align-items: stretch;
  }

  .dashboard-page .listing-preview-box {
    grid-template-columns: 84px minmax(0, 1fr);
    padding: 14px;
  }

  .dashboard-page .listing-preview-media {
    width: 84px;
    height: 84px;
  }
}

@media (max-width: 560px) {
  .dashboard-page .dashboard-topbar {
    display: none;
  }

  .dashboard-page .hero-card {
    align-items: flex-start;
    gap: 14px;
  }

  .dashboard-page .hero-icon {
    width: 50px;
    height: 50px;
  }

  .dashboard-page .listing-preview-box {
    grid-template-columns: 1fr;
  }

  .dashboard-page .listing-preview-media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* Customize store containment */
.dashboard-page #tab-customize,
.dashboard-page #tab-customize .sections,
.dashboard-page #tab-customize .card,
.dashboard-page #tab-customize form,
.dashboard-page #tab-customize .form-grid,
.dashboard-page #tab-customize .field,
.dashboard-page #tab-customize .info-list,
.dashboard-page #tab-customize .info-item,
.dashboard-page #tab-customize .shop-grid {
  min-width: 0;
  max-width: 100%;
}

.dashboard-page #tab-customize .field input,
.dashboard-page #tab-customize .field select,
.dashboard-page #tab-customize .field textarea,
.dashboard-page #tab-customize .actions-row,
.dashboard-page #tab-customize .actions-row > * {
  min-width: 0;
  max-width: 100%;
}

.dashboard-page #tab-customize .avatar-design-grid {
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 112px), 1fr));
}

.dashboard-page #tab-customize .avatar-design-option,
.dashboard-page #tab-customize .shop-card,
.dashboard-page #tab-customize .shop-nameplate-preview,
.dashboard-page #tab-customize .nameplate {
  min-width: 0;
  max-width: 100%;
}

.dashboard-page #tab-customize .info-item {
  flex-wrap: wrap;
}

.dashboard-page #tab-customize .info-item .v {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Cashout tab redesign */
.dashboard-page #tab-cashout {
  --cashout-bg: #061028;
  --cashout-panel: rgba(8, 17, 43, 0.82);
  --cashout-line: rgba(114, 111, 255, 0.42);
  --cashout-text: #f6f8ff;
  --cashout-muted: #a9b5d1;
  --cashout-cyan: #1bd7ff;
  --cashout-violet: #a241ff;
  --cashout-blue: #3e7bff;
}

.dashboard-page #tab-cashout,
.dashboard-page #tab-cashout * {
  min-width: 0;
}

.dashboard-page #tab-cashout [hidden] {
  display: none !important;
}

.cashout-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  gap: 26px;
}

.cashout-hero,
.cashout-request-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--cashout-line);
  border-radius: 30px;
  background: var(--cashout-panel);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cashout-hero {
  min-height: 252px;
  padding: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(245px, auto);
  align-items: center;
  gap: 34px;
  background:
    linear-gradient(90deg, rgba(7, 12, 33, 0.96) 0%, rgba(7, 14, 37, 0.9) 42%, rgba(7, 14, 37, 0.54) 100%),
    linear-gradient(135deg, rgba(162, 65, 255, 0.28), rgba(27, 215, 255, 0.13)),
    url("./images/homebanner.webp") center right / cover no-repeat;
}

.cashout-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(27, 215, 255, 0.18),
    inset 0 -70px 120px rgba(0, 0, 0, 0.22);
}

.cashout-hero-icon {
  position: relative;
  width: 118px;
  height: 118px;
  clip-path: polygon(25% 7%, 75% 7%, 100% 50%, 75% 93%, 25% 93%, 0 50%);
  background: linear-gradient(145deg, rgba(178, 68, 255, 0.98), rgba(54, 124, 255, 0.92));
  display: grid;
  place-items: center;
  box-shadow:
    0 0 28px rgba(162, 65, 255, 0.7),
    0 0 34px rgba(27, 215, 255, 0.26);
}

.cashout-hero-icon span {
  color: #fff;
  font-size: 4.5rem;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.44);
}

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

.cashout-hero-copy span {
  color: #9d63ff;
  display: block;
  font-size: 1.08rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.cashout-hero-copy h1 {
  margin: 14px 0 12px;
  color: var(--cashout-text);
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.cashout-hero-copy p {
  max-width: 560px;
  margin: 0;
  color: #d7def0;
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  line-height: 1.45;
}

.cashout-balance-card {
  position: relative;
  z-index: 1;
  min-height: 86px;
  padding: 18px 22px;
  border: 1px solid rgba(27, 215, 255, 0.42);
  border-radius: 26px;
  background: rgba(8, 20, 48, 0.78);
  box-shadow: 0 0 30px rgba(27, 141, 255, 0.18);
  display: flex;
  align-items: center;
  gap: 14px;
}

.cashout-balance-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  font-size: 1.3rem;
}

.cashout-balance-card span:not(.cashout-balance-icon) {
  color: #c5cce1;
  display: block;
  font-size: 0.88rem;
  white-space: nowrap;
}

.cashout-balance-card strong {
  color: #1bd7ff;
  display: block;
  margin-top: 3px;
  font-size: 1.65rem;
  line-height: 1;
  text-shadow: 0 0 18px rgba(27, 215, 255, 0.34);
  white-space: nowrap;
}

.cashout-balance-card small {
  display: block;
  margin-top: 5px;
  color: #8fa0c8;
  font-weight: 800;
}

.cashout-request-card {
  padding: 46px 42px;
  background:
    radial-gradient(circle at 0 0, rgba(162, 65, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(15, 24, 58, 0.9), rgba(7, 14, 34, 0.88));
}

.cashout-request-head {
  max-width: 900px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.cashout-request-icon {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(114, 111, 255, 0.34);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(162, 65, 255, 0.28), rgba(62, 123, 255, 0.16));
  display: grid;
  place-items: center;
}

.cashout-request-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: #a78bff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cashout-request-head h2 {
  margin: 0 0 8px;
  color: var(--cashout-text);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.cashout-request-head p {
  max-width: 740px;
  margin: 0;
  color: #c1c9df;
  font-size: 1.05rem;
  line-height: 1.5;
}

.cashout-form {
  max-width: 900px;
  margin: 0 auto;
}

.cashout-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.cashout-field {
  display: grid;
  gap: 9px;
}

.cashout-label {
  color: #f4f6ff;
  font-size: 1rem;
  font-weight: 950;
}

.cashout-input {
  min-height: 70px;
  border: 1px solid rgba(114, 111, 255, 0.58);
  border-radius: 18px;
  background: rgba(4, 12, 31, 0.64);
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.cashout-input:focus-within {
  border-color: rgba(27, 215, 255, 0.78);
  box-shadow: 0 0 0 4px rgba(27, 215, 255, 0.12);
}

.cashout-input-icon {
  border-right: 1px solid rgba(114, 111, 255, 0.28);
  background: rgba(122, 82, 255, 0.13);
  display: grid;
  place-items: center;
  color: #9d7cff;
}

.cashout-input-icon svg,
.cashout-submit-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-page #tab-cashout .cashout-input input,
.dashboard-page #tab-cashout textarea {
  width: 100%;
  min-height: 68px;
  border: 0 !important;
  border-radius: 0;
  outline: 0;
  background: transparent !important;
  color: var(--cashout-text) !important;
  box-shadow: none !important;
  font-size: 1.12rem;
}

.dashboard-page #tab-cashout .cashout-input input {
  padding: 0 22px;
}

.dashboard-page #tab-cashout textarea {
  min-height: 118px;
  padding: 20px 24px;
  border: 1px solid rgba(114, 111, 255, 0.45) !important;
  border-radius: 18px;
  background: rgba(4, 12, 31, 0.64) !important;
  resize: vertical;
}

.dashboard-page #tab-cashout input::placeholder,
.dashboard-page #tab-cashout textarea::placeholder {
  color: #8c95b2;
}

.cashout-help {
  color: #8397ff;
  font-size: 0.95rem;
  font-weight: 800;
}

.cashout-file-box {
  min-height: 72px;
  padding: 10px;
  border: 1px dashed rgba(114, 111, 255, 0.72);
  border-radius: 18px;
  background: rgba(4, 12, 31, 0.42);
  display: flex;
  align-items: center;
}

.dashboard-page #tab-cashout input[type="file"] {
  width: 100%;
  color: #dbe4ff;
  font-size: 1rem;
  font-weight: 800;
}

.dashboard-page #tab-cashout input[type="file"]::file-selector-button {
  min-height: 52px;
  margin-right: 18px;
  padding: 0 24px;
  border: 1px solid rgba(178, 122, 255, 0.7);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(162, 65, 255, 0.96), rgba(62, 123, 255, 0.94));
  color: #fff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(77, 88, 255, 0.24);
}

.dashboard-page #tab-cashout .qr-preview-panel {
  align-items: start;
}

.dashboard-page #tab-cashout .qr-preview-panel img {
  width: 190px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  border: 1px solid rgba(114, 111, 255, 0.48);
  background: rgba(255, 255, 255, 0.06);
  object-fit: cover;
}

.cashout-submit-btn {
  width: 100%;
  min-height: 76px;
  margin-top: 28px;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(100deg, #a72fff 0%, #4c73ff 45%, #13d8ee 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 1.2rem;
  font-weight: 950;
  cursor: pointer;
  box-shadow:
    0 22px 46px rgba(40, 181, 255, 0.22),
    0 18px 38px rgba(162, 65, 255, 0.22);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.cashout-submit-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.cashout-submit-btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

.cashout-submit-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.cashout-submit-icon svg {
  width: 24px;
  height: 24px;
}

.cashout-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--cashout-muted);
  font-weight: 800;
}

@media (max-width: 1180px) {
  .cashout-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .cashout-balance-card {
    grid-column: 1 / -1;
    width: fit-content;
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  .dashboard-page #tab-cashout {
    margin: 0;
  }

  .cashout-shell {
    gap: 22px;
  }

  .cashout-hero,
  .cashout-request-card {
    border-radius: 26px;
  }

  .cashout-hero {
    min-height: 0;
    padding: 32px;
    grid-template-columns: 1fr;
    gap: 24px;
    background-position: 58% center;
  }

  .cashout-hero-icon {
    width: 96px;
    height: 96px;
  }

  .cashout-hero-icon span {
    font-size: 3.7rem;
  }

  .cashout-balance-card {
    width: 100%;
  }

  .cashout-request-card {
    padding: 34px 30px;
  }

  .cashout-request-head {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
  }

  .cashout-request-icon {
    width: 62px;
    height: 62px;
  }
}

@media (max-width: 560px) {
  .dashboard-page .main-wrap > .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .cashout-shell {
    gap: 18px;
  }

  .cashout-hero,
  .cashout-request-card {
    border-radius: 22px;
  }

  .cashout-hero {
    padding: 26px 22px;
  }

  .cashout-hero-copy span {
    font-size: 0.86rem;
  }

  .cashout-hero-copy h1 {
    margin-top: 10px;
    font-size: 3.35rem;
  }

  .cashout-hero-copy p {
    font-size: 1rem;
  }

  .cashout-balance-card {
    min-height: 78px;
    padding: 14px 16px;
    border-radius: 20px;
  }

  .cashout-balance-card strong {
    font-size: 1.35rem;
  }

  .cashout-request-card {
    padding: 28px 20px;
  }

  .cashout-request-head {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }

  .cashout-request-head p {
    font-size: 0.96rem;
  }

  .cashout-form-grid {
    gap: 18px;
  }

  .cashout-input {
    min-height: 60px;
    grid-template-columns: 62px minmax(0, 1fr);
    border-radius: 16px;
  }

  .cashout-input-icon svg {
    width: 25px;
    height: 25px;
  }

  .dashboard-page #tab-cashout .cashout-input input {
    min-height: 58px;
    padding: 0 16px;
    font-size: 1rem;
  }

  .dashboard-page #tab-cashout textarea {
    min-height: 104px;
    padding: 16px;
    font-size: 1rem;
  }

  .cashout-file-box {
    min-height: 68px;
  }

  .dashboard-page #tab-cashout input[type="file"]::file-selector-button {
    width: 100%;
    margin: 0 0 10px;
  }

  .dashboard-page #tab-cashout input[type="file"] {
    display: grid;
  }

  .cashout-submit-btn {
    min-height: 68px;
    border-radius: 20px;
    font-size: 1.05rem;
  }
}
