:root {
  --auth-bg: #071A33;
  --auth-panel: #0D2748;
  --auth-soft: #12365F;
  --auth-line: rgba(255, 255, 255, 0.12);
  --auth-ink: #F5F8FC;
  --auth-muted: #B6C6DD;
  --auth-green: #126BFF;
  --auth-danger: #f17b68;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--auth-ink);
  background:
    linear-gradient(135deg, rgba(18, 107, 255, 0.14), transparent 34%),
    var(--auth-bg);
  font-family: "Inter", system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.05fr);
}

.auth-scene,
.auth-main {
  padding: 42px clamp(24px, 5vw, 76px);
}

.auth-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-right: 1px solid var(--auth-line);
  background:
    linear-gradient(rgba(13, 21, 19, 0.5), rgba(13, 21, 19, 0.9)),
    url("assets/trading-hero.png") center / cover;
}

.auth-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 107, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 107, 255, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.auth-brand,
.auth-copy,
.auth-proof { position: relative; z-index: 1; }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; }
.auth-logo-image { display: block; width: 210px; height: auto; border-radius: 8px; background: #ffffff; }
.auth-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; color: #FFFFFF; background: var(--auth-green); }
.auth-copy h1 { max-width: 620px; margin: 0; font-size: clamp(42px, 6vw, 78px); line-height: 1.02; }
.auth-copy p { max-width: 590px; color: var(--auth-muted); line-height: 1.7; }
.auth-proof { display: flex; flex-wrap: wrap; gap: 12px; }
.auth-proof span { padding: 10px 12px; border: 1px solid var(--auth-line); border-radius: 8px; background: rgba(255, 255, 255, 0.07); backdrop-filter: blur(10px); }

.auth-main { display: grid; align-content: center; }
.auth-card { width: min(560px, 100%); margin: 0 auto; }
.auth-card h2 { margin: 0; font-size: clamp(32px, 4vw, 46px); }
.auth-card > p { color: var(--auth-muted); line-height: 1.6; }
.auth-form { display: grid; gap: 14px; margin-top: 26px; }
.auth-form label { display: grid; gap: 7px; color: var(--auth-muted); font-weight: 700; }
.auth-form input,
.auth-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  color: var(--auth-ink);
  background: var(--auth-panel);
  outline: none;
}
.auth-form input:focus,
.auth-form select:focus { border-color: var(--auth-green); box-shadow: 0 0 0 4px rgba(18, 107, 255, 0.14); }
.auth-check { grid-template-columns: auto 1fr; align-items: center; }
.auth-check input { width: 18px; min-height: 18px; accent-color: var(--auth-green); }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.auth-row label { display: flex; grid-template-columns: auto 1fr; align-items: center; gap: 8px; font-weight: 500; }
.auth-row input { width: 17px; min-height: auto; height: 17px; accent-color: var(--auth-green); }
.auth-button { min-height: 52px; border: 0; border-radius: 8px; color: #FFFFFF; background: var(--auth-green); font-weight: 800; cursor: pointer; }
.auth-button:hover { filter: brightness(1.08); transform: translateY(-2px); }
.otp-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--auth-muted); font-weight: 800; }
.auth-link-button { border: 0; padding: 0; color: var(--auth-green); background: transparent; font-weight: 800; cursor: pointer; }
.auth-link-button:hover { text-decoration: underline; }
.auth-center-link { justify-self: center; }
.auth-message { min-height: 22px; margin: 0; color: var(--auth-danger); font-weight: 700; }
.auth-message.success { color: var(--auth-green); }
.auth-switch { color: var(--auth-muted); text-align: center; }
.auth-switch a, .auth-link { color: var(--auth-green); font-weight: 800; }

.dashboard-shell { min-height: 100vh; padding: 24px; }
.dashboard-wrap { width: min(1180px, 100%); margin: 0 auto; }
.dashboard-nav, .dashboard-head, .dashboard-grid, .admin-list { display: grid; gap: 16px; }
.dashboard-nav { grid-template-columns: 1fr auto; align-items: center; padding: 16px 0 26px; }
.dashboard-nav div { display: flex; gap: 10px; }
.dashboard-nav button, .dashboard-nav a { min-height: 42px; display: inline-flex; align-items: center; border: 1px solid var(--auth-line); border-radius: 8px; padding: 0 14px; color: var(--auth-ink); background: var(--auth-panel); cursor: pointer; }
.dashboard-head { grid-template-columns: 1fr auto; align-items: end; padding: 30px 0; }
.dashboard-head h1 { margin: 0; font-size: clamp(36px, 6vw, 68px); }
.dashboard-head p { color: var(--auth-muted); }
.role-badge { display: inline-flex; padding: 8px 11px; border-radius: 999px; color: #FFFFFF; background: var(--auth-green); font-weight: 800; text-transform: uppercase; }
.dashboard-grid { grid-template-columns: repeat(3, 1fr); }
.dash-card { padding: 20px; border: 1px solid var(--auth-line); border-radius: 8px; background: var(--auth-panel); }
.dash-card span { color: var(--auth-muted); }
.dash-card strong { display: block; margin-top: 10px; font-size: 30px; }
.admin-panel { margin-top: 26px; padding: 20px; border: 1px solid var(--auth-line); border-radius: 8px; background: var(--auth-panel); }
.admin-panel[hidden] { display: none; }
.admin-list { margin-top: 14px; }
.admin-user { display: grid; grid-template-columns: 1.2fr 1.4fr auto; gap: 12px; padding: 14px; border: 1px solid var(--auth-line); border-radius: 8px; background: var(--auth-soft); }

.metric-grid { margin-bottom: 18px; }
.dashboard-tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  margin: 8px 0 16px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  background: rgba(13, 21, 19, 0.82);
  backdrop-filter: blur(18px);
}
.dash-tab {
  min-height: 42px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--auth-muted);
  background: var(--auth-panel);
  font-weight: 800;
}
.dash-tab.active {
  color: #FFFFFF;
  border-color: var(--auth-green);
  background: var(--auth-green);
}
.dashboard-message {
  min-height: 24px;
  margin: 0 0 16px;
  color: var(--auth-danger);
  font-weight: 800;
}
.dashboard-message.success { color: var(--auth-green); }
.dashboard-view { display: none; }
.dashboard-view.active { display: grid; gap: 18px; }
.dash-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}
.dash-panel {
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  padding: 20px;
  background:
    radial-gradient(circle at 88% 8%, rgba(18, 107, 255, 0.14), transparent 34%),
    var(--auth-panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}
.panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.panel-head span,
.dash-card span,
.profile-list span,
.account-bars span {
  color: var(--auth-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.panel-head h2 {
  margin: 5px 0 0;
  font-size: clamp(24px, 3vw, 36px);
}
.profile-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.profile-list div,
.account-bars div {
  padding: 15px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  background: var(--auth-soft);
}
.profile-list strong {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.account-bars {
  display: grid;
  gap: 12px;
}
.account-bars strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 22px;
}
.account-bars i {
  display: block;
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--auth-green), #22D3EE);
}
.dash-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.compact-form {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--auth-line);
}
.compact-form:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}
.dash-form label {
  display: grid;
  gap: 7px;
  color: var(--auth-muted);
  font-weight: 800;
}
.dash-form input,
.dash-form select,
.inline-form input,
.inline-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--auth-ink);
  background: var(--auth-soft);
  outline: none;
}
.dash-form input:focus,
.dash-form select:focus,
.inline-form input:focus,
.inline-form select:focus {
  border-color: var(--auth-green);
  box-shadow: 0 0 0 4px rgba(18, 107, 255, 0.13);
}
.dash-form button {
  align-self: end;
}
.create-account-box {
  border: 1px solid var(--auth-line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 18px;
  margin: 16px 0;
}
.create-account-box h3 {
  color: var(--auth-ink);
  margin: 0 0 8px;
}
.create-account-box p {
  color: var(--auth-muted);
  margin: 0 0 14px;
  line-height: 1.6;
}
.outline-button,
.danger-button {
  min-height: 46px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--auth-ink);
  background: var(--auth-soft);
  font-weight: 800;
}
.outline-button:hover,
.danger-button:hover,
.auth-button:hover {
  transform: translateY(-2px);
}
.danger-button {
  border-color: rgba(241, 123, 104, 0.45);
  color: #fff;
  background: rgba(241, 123, 104, 0.18);
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
}
table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}
th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--auth-line);
  color: var(--auth-muted);
  text-align: left;
  white-space: nowrap;
}
th {
  color: var(--auth-ink);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  text-transform: uppercase;
}
td:first-child,
td:nth-child(2) {
  color: var(--auth-ink);
  font-weight: 800;
}
tr:last-child td { border-bottom: 0; }
.copy-id {
  border: 0;
  color: var(--auth-green);
  background: transparent;
  font-weight: 800;
}
.subheading {
  margin: 22px 0 12px;
}
.inline-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 150px auto;
  gap: 10px;
}
.symbol-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.symbol-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  background: var(--auth-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.symbol-card:hover {
  transform: translateY(-4px);
  border-color: var(--auth-green);
}
.symbol-card header,
.symbol-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.symbol-card header span,
.symbol-card p,
.symbol-card div span {
  color: var(--auth-muted);
}
.symbol-card p {
  min-height: 44px;
  margin: 0;
  line-height: 1.45;
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.watch-chip {
  display: inline-grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--auth-ink);
  background: var(--auth-soft);
}
.watch-chip span {
  color: var(--auth-muted);
}
.watch-chip em {
  color: var(--auth-danger);
  font-style: normal;
  font-weight: 800;
}
.json-preview {
  max-height: 360px;
  overflow: auto;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  color: var(--auth-green);
  background: #0D2748;
}
.empty-panel {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px dashed var(--auth-line);
  border-radius: 8px;
  color: var(--auth-muted);
}

.portal-shell {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 28px;
  padding: 20px;
}

.portal-sidebar,
.portal-topbar,
.portal-card,
.portal-bank-card {
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  background: var(--auth-panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.portal-sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 18px 14px;
}

.portal-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 10px 16px;
  border-bottom: 1px solid var(--auth-line);
  font-size: 18px;
  font-weight: 800;
}

.portal-logo-image { display: block; width: 190px; max-width: 100%; height: auto; border-radius: 7px; background: #ffffff; }

.portal-menu {
  display: grid;
  gap: 4px;
  padding: 16px 0;
}

.portal-menu .dash-tab,
.portal-menu a,
.portal-dropdown-toggle {
  width: 100%;
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--auth-muted);
  background: transparent;
  font-weight: 700;
  text-align: left;
}

.portal-menu .dash-tab.active,
.portal-menu .dash-tab:hover,
.portal-menu a:hover,
.portal-dropdown-toggle:hover,
.portal-dropdown-toggle.open {
  color: #FFFFFF;
  background: var(--auth-green);
}

.portal-dropdown-toggle b {
  margin-left: auto;
}

.portal-menu a {
  min-height: 34px;
  padding-left: 40px;
  font-size: 13px;
}

.portal-submenu {
  display: grid;
  gap: 2px;
  padding: 4px 0 8px;
}

.portal-submenu .dash-tab {
  min-height: 34px;
  padding-left: 42px;
  font-size: 13px;
}

.portal-menu-label {
  padding: 18px 12px 8px;
  border-top: 1px solid var(--auth-line);
  color: var(--auth-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.partner-box {
  display: grid;
  gap: 7px;
  padding: 16px;
  border-radius: 8px;
  color: #FFFFFF;
  background: var(--auth-green);
}

.partner-box a {
  min-height: 36px;
  display: grid;
  place-items: center;
  margin-top: 6px;
  border-radius: 8px;
  color: var(--auth-ink);
  background: var(--auth-panel);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.portal-topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 24px;
}

.portal-topbar > div:first-child {
  display: grid;
  gap: 4px;
}

.portal-crumb {
  color: var(--auth-muted);
  font-size: 13px;
}

.portal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--auth-muted);
  font-weight: 700;
}

.portal-actions button,
.portal-table-footer button {
  min-width: 42px;
  min-height: 36px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  color: var(--auth-ink);
  background: var(--auth-soft);
}

.portal-balance {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--auth-muted);
  background: var(--auth-soft);
  text-transform: uppercase;
}

.portal-small-button {
  min-height: 42px;
  padding-inline: 22px;
  font-size: 12px;
  text-transform: uppercase;
}

.portal-table-tools {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 34px 0 16px;
}

.portal-table-tools select,
.portal-table-tools input {
  min-height: 36px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--auth-ink);
  background: var(--auth-soft);
}

.portal-table-footer,
.portal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--auth-muted);
}

.portal-table-footer {
  margin-top: 16px;
}

.portal-table-footer span:last-child {
  display: flex;
  gap: 8px;
}

.request-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.request-status.pending {
  color: #332200;
  background: #ffd36a;
}

.request-status.approved {
  color: #FFFFFF;
  background: var(--auth-green);
}

.request-status.rejected {
  color: #fff7f5;
  background: var(--auth-danger);
}

.portal-bank-card {
  width: min(690px, 100%);
  justify-self: center;
}

.bank-page-head {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 4px 0 24px;
  text-align: center;
}

.bank-page-head h2 {
  margin: 0;
  color: var(--auth-ink);
  font-size: clamp(28px, 4vw, 34px);
  font-weight: 700;
}

.bank-page-head p {
  margin: 0;
  color: var(--auth-muted);
  font-size: 20px;
}

.compact-page-head {
  margin-bottom: 46px;
}

.bank-stepper {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 42px;
}

.bank-stepper div {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  color: color-mix(in srgb, var(--auth-muted) 45%, transparent);
  font-weight: 700;
}

.bank-stepper div::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--auth-line);
}

.bank-stepper div:first-child::before {
  display: none;
}

.bank-stepper span {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  border: 2px solid var(--auth-line);
  border-radius: 50%;
  background: var(--auth-bg);
}

.bank-stepper .active {
  color: var(--auth-muted);
}

.bank-stepper .active span {
  border-color: var(--auth-green);
  background: var(--auth-green);
}

.two-stepper {
  width: min(410px, 100%);
  grid-template-columns: repeat(2, 1fr);
}

.upi-stepper {
  width: min(650px, 100%);
  grid-template-columns: repeat(4, 1fr);
}

.panel-head.centered {
  justify-content: center;
  text-align: center;
}

.panel-head p {
  max-width: 620px;
  margin: 8px auto 0;
  color: var(--auth-muted);
  line-height: 1.6;
}

.bank-form {
  grid-template-columns: 1fr;
  margin: 28px 0;
}

.bank-details {
  display: grid;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  overflow: hidden;
}

.bank-details div {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 44px;
}

.bank-details strong,
.bank-details span {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--auth-line);
}

.bank-details div:last-child strong,
.bank-details div:last-child span {
  border-bottom: 0;
}

.bank-details strong {
  color: var(--auth-muted);
  background: rgba(255, 255, 255, 0.03);
}

.payment-details-card {
  width: min(640px, 100%);
  display: grid;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto 24px;
}

.payment-details-card div {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 42px;
}

.payment-details-card strong,
.payment-details-card span {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--auth-line);
}

.payment-details-card div:last-child strong,
.payment-details-card div:last-child span {
  border-bottom: 0;
}

.payment-details-card strong {
  color: var(--auth-muted);
  background: rgba(255, 255, 255, 0.03);
}

.deposit-method-shell {
  width: 100%;
  display: grid;
  gap: 24px;
  justify-self: stretch;
  align-self: start;
  padding: clamp(8px, 2vw, 24px) 0 28px;
}

.deposit-method-head {
  display: grid;
  gap: 8px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.deposit-method-head span {
  color: var(--auth-green);
  font-size: 12px;
  font-weight: 800;
}

.deposit-method-head h2 {
  margin: 0;
  color: var(--auth-ink);
  font-size: 24px;
}

.deposit-method-grid {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 18px;
  margin: 0 auto;
}

.deposit-method-card {
  position: relative;
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  color: var(--auth-muted);
  background: var(--auth-panel);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.deposit-method-card:hover {
  transform: translateY(-2px);
  border-color: var(--auth-green);
  background: rgba(18, 107, 255, 0.1);
}

.deposit-method-card.locked {
  cursor: not-allowed;
  opacity: 0.78;
}

.deposit-method-card.locked:hover {
  transform: none;
  border-color: var(--auth-line);
  background: var(--auth-panel);
}

.method-lock {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 16px;
  height: 16px;
  overflow: hidden;
  color: transparent;
}

.method-lock::before,
.method-lock::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1.8px solid var(--auth-muted);
}

.method-lock::before {
  top: 1px;
  width: 8px;
  height: 7px;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}

.method-lock::after {
  bottom: 2px;
  width: 11px;
  height: 8px;
  border-radius: 2px;
}

.method-icon,
.method-logo {
  width: 52px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  color: var(--auth-green);
  background: var(--auth-soft);
  font-weight: 900;
}

.method-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
}

.crypto-icon {
  color: #fff;
  background: #111;
}

.usdt-icon {
  color: #fff;
  background: var(--auth-green);
}

.bank-icon {
  color: var(--auth-ink);
}

.deposit-method-card b {
  color: var(--auth-muted);
  font-size: 15px;
}

.upi-scanner-card {
  width: min(760px, 100%);
  justify-self: center;
  display: grid;
  gap: 22px;
}

.deposit-back-button {
  justify-self: start;
}

.upi-scanner-layout {
  display: grid;
  justify-items: center;
  align-items: center;
}

.upi-qr-box {
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  background: var(--auth-soft);
}

.upi-scanner-img {
  width: min(320px, 70vw);
  aspect-ratio: 1;
  display: block;
  border-radius: 8px;
  background: #fff;
}

.upi-qr-box span {
  color: var(--auth-green);
  font-weight: 900;
}

.bank-transfer-details {
  display: grid;
  grid-template-columns: minmax(112px, 0.9fr) minmax(0, 1.4fr);
  gap: 10px 16px;
  align-content: center;
  padding: 26px;
  border: 1px solid rgba(63, 155, 255, 0.35);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(9, 29, 55, 0.98), rgba(6, 17, 34, 0.98));
}

.bank-transfer-details span {
  color: var(--muted);
  font-size: 0.86rem;
}

.bank-transfer-details strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.online-deposit-card {
  width: min(690px, 100%);
  justify-self: center;
  padding: 38px clamp(24px, 7vw, 92px);
}

.online-deposit-head {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 36px;
  text-align: center;
}

.online-deposit-head h2 {
  margin: 0;
  color: var(--auth-ink);
  font-size: 22px;
  font-weight: 700;
}

.online-deposit-head p {
  max-width: 480px;
  margin: 0;
  color: var(--auth-muted);
  line-height: 1.55;
  font-size: 17px;
}

.online-deposit-form {
  width: min(310px, 100%);
  display: grid;
  gap: 22px;
  margin: 0 auto;
}

.online-deposit-form label {
  display: grid;
  gap: 9px;
  color: var(--auth-ink);
  font-size: 12px;
  font-weight: 800;
}

.online-deposit-form input,
.online-deposit-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--auth-ink);
  background: var(--auth-soft);
  outline: none;
}

.online-deposit-form input[readonly] {
  color: var(--auth-muted);
  background: color-mix(in srgb, var(--auth-soft) 70%, white 8%);
}

.online-submit {
  width: min(200px, 100%);
  justify-self: center;
  margin-top: 18px;
  text-transform: uppercase;
}

.myfatoorah-card {
  min-height: 250px;
}

.monumpay-card {
  padding-bottom: 44px;
}

.monumpay-form {
  width: min(440px, 100%);
}

.monumpay-submit {
  min-height: 50px;
  line-height: 1.15;
  white-space: normal;
}

.withdraw-warning-card {
  width: min(690px, 100%);
  justify-self: center;
  padding: 16px;
}

.withdraw-method-shell {
  width: min(560px, 100%);
  display: grid;
  gap: 16px;
  justify-self: start;
}

.withdraw-method-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.withdraw-method-top h2 {
  margin: 0;
  color: var(--auth-ink);
  font-size: 24px;
}

.withdraw-method-top p,
.withdraw-disabled-head p {
  margin: 5px 0 0;
  color: var(--auth-muted);
}

.withdraw-account-card {
  display: grid;
  gap: 5px;
  min-height: 72px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--auth-muted);
  background: var(--auth-panel);
}

.withdraw-account-card strong {
  color: var(--auth-ink);
  font-size: 18px;
}

.withdraw-account-card b {
  margin-left: 6px;
  border-radius: 5px;
  padding: 2px 7px;
  color: #FFFFFF;
  background: var(--auth-green);
  font-size: 10px;
}

.withdraw-disabled-head {
  display: grid;
  gap: 4px;
  color: var(--auth-muted);
  font-size: 12px;
}

.withdraw-disabled-head span {
  font-weight: 900;
  text-transform: uppercase;
}

.withdraw-disabled-head b {
  color: var(--auth-green);
}

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

.withdraw-method-card {
  position: relative;
  min-height: 132px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  color: var(--auth-muted);
  background: var(--auth-panel);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.withdraw-method-card:hover {
  transform: translateY(-2px);
  border-color: var(--auth-green);
  background: rgba(18, 107, 255, 0.1);
}

.withdraw-method-card.locked {
  cursor: not-allowed;
  opacity: 0.78;
}

.withdraw-method-card.locked:hover {
  transform: none;
  border-color: var(--auth-line);
  background: var(--auth-panel);
}

.withdraw-method-card b {
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.binance-logo {
  width: 76px;
  color: #caa94c;
  font-size: 9px;
}

.online-bank-withdraw-card {
  width: min(860px, 100%);
  justify-self: center;
  display: grid;
  gap: 22px;
}

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

.online-bank-withdraw-form label {
  display: grid;
  gap: 9px;
  color: var(--auth-ink);
  font-size: 12px;
  font-weight: 800;
}

.online-bank-withdraw-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--auth-ink);
  background: var(--auth-soft);
  outline: none;
}

.online-bank-withdraw-form button {
  grid-column: 1 / -1;
}

.withdraw-warning {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 14px 20px;
  color: #FFFFFF;
  background: linear-gradient(90deg, #7DD3FC 0%, var(--auth-green) 46%, #0C4FCC 100%);
  font-size: 16px;
  text-align: center;
}

.withdraw-warning strong {
  margin-right: 4px;
  font-weight: 800;
}

.withdraw-request-form {
  display: grid;
  justify-items: center;
  margin-top: 18px;
}

.spayz-withdraw-card {
  width: min(690px, 100%);
  justify-self: center;
  padding: 16px 32px 48px;
}

.spayz-withdraw-card .online-deposit-head {
  margin-bottom: 32px;
}

.spayz-withdraw-card .online-deposit-head p {
  max-width: 560px;
}

.spayz-withdraw-main {
  display: grid;
  grid-template-columns: minmax(120px, 220px) minmax(240px, 315px);
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 8vw, 84px);
  margin-bottom: 40px;
}

.spayz-logo-chip {
  width: 112px;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 7px;
  justify-self: center;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  padding: 6px 8px;
  background: var(--auth-soft);
  color: var(--auth-ink);
}

.spayz-logo-chip span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #ff2626;
  font-size: 13px;
  font-weight: 900;
  font-style: italic;
}

.spayz-logo-chip strong {
  font-size: 15px;
  letter-spacing: 0;
}

.spayz-kyc-warning {
  min-height: 58px;
  justify-self: stretch;
}

.spayz-fields-info {
  width: min(220px, 100%);
  color: var(--auth-muted);
}

.spayz-fields-info h3 {
  margin: 0 0 18px;
  color: var(--auth-ink);
  font-size: 22px;
  font-weight: 700;
}

.spayz-fields-info p {
  margin: 0;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--auth-line);
  line-height: 1.55;
}

.spayz-fields-info p + p {
  padding-top: 10px;
}

.spayz-fields-info p:last-child {
  border-bottom: 0;
}

.spayz-fields-info strong {
  color: var(--auth-ink);
}

.cash-deposit-card {
  width: min(690px, 100%);
  justify-self: center;
  padding: 16px clamp(24px, 6vw, 72px) 32px;
}

.cash-deposit-form {
  display: grid;
  grid-template-columns: 160px minmax(240px, 316px);
  justify-content: center;
  align-items: start;
  gap: clamp(32px, 7vw, 84px);
  margin-top: 8px;
}

.cash-fields {
  display: grid;
  gap: 22px;
}

.cash-fields label {
  display: grid;
  gap: 9px;
  color: var(--auth-ink);
  font-size: 12px;
  font-weight: 800;
}

.cash-fields input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--auth-ink);
  background: var(--auth-soft);
  outline: none;
}

.cash-visual {
  width: 112px;
  height: 110px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  background: var(--auth-soft);
}

.cash-machine {
  position: relative;
  width: 72px;
  height: 72px;
  border: 4px solid var(--auth-ink);
  border-radius: 4px;
  background: color-mix(in srgb, var(--auth-green) 70%, white 18%);
}

.cash-machine::before {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: -13px;
  height: 26px;
  border: 4px solid var(--auth-ink);
  border-radius: 4px;
  background: color-mix(in srgb, var(--auth-ink) 24%, white 8%);
}

.cash-machine span {
  position: absolute;
  inset: 9px;
  border: 3px solid var(--auth-ink);
  background: color-mix(in srgb, var(--auth-soft) 65%, white 18%);
}

.cash-machine b {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 22px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 3px solid var(--auth-ink);
  border-radius: 50%;
  background: var(--auth-soft);
  color: var(--auth-ink);
  font-size: 16px;
}

.cash-machine em {
  position: absolute;
  z-index: 2;
  right: -12px;
  bottom: -20px;
  width: 22px;
  height: 48px;
  border: 4px solid var(--auth-ink);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: color-mix(in srgb, var(--auth-green) 55%, white 18%);
  transform: rotate(-32deg);
}

.monumpay-withdraw-visual {
  width: 112px;
  height: 116px;
  align-self: start;
}

.monumpay-withdraw-visual .cash-machine b {
  background: #ffd05a;
  color: transparent;
}

.transfer-card {
  width: min(690px, 100%);
  justify-self: center;
  padding: 16px clamp(24px, 6vw, 72px) 32px;
}

.transfer-request-form {
  display: grid;
  grid-template-columns: 180px minmax(260px, 316px);
  justify-content: center;
  align-items: start;
  gap: clamp(34px, 8vw, 80px);
  margin-top: 12px;
}

.transfer-fields {
  display: grid;
  gap: 22px;
}

.transfer-fields label {
  display: grid;
  gap: 9px;
  color: var(--auth-ink);
  font-size: 12px;
  font-weight: 800;
}

.transfer-fields input,
.transfer-fields select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--auth-ink);
  background: var(--auth-soft);
  outline: none;
}

.mt5-visual {
  position: relative;
  width: 112px;
  height: 112px;
  justify-self: center;
  display: grid;
  place-items: center;
}

.mt5-visual::before,
.mt5-visual::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 36px 18px 36px 18px;
  opacity: 0.9;
}

.mt5-visual::before {
  background: linear-gradient(135deg, #7bd82c, #d7d71d 48%, #31a34b);
  transform: rotate(-35deg);
}

.mt5-visual::after {
  background: linear-gradient(135deg, #1f7de6, #5bd064 48%, #0f57b8);
  transform: rotate(35deg);
}

.mt5-visual span {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid var(--auth-line);
  border-radius: 50%;
  color: #f28a2e;
  background: var(--auth-soft);
  font-size: 34px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.account-wallet-card {
  width: min(690px, 100%);
  justify-self: center;
  padding: 16px 28px 32px;
}

.account-wallet-layout {
  display: grid;
  grid-template-columns: 230px minmax(300px, 370px);
  justify-content: center;
  align-items: start;
  gap: 16px;
  margin-top: 36px;
}

.account-wallet-left {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.account-summary-box {
  width: 100%;
  border: 1px solid var(--auth-line);
  border-radius: 10px;
  padding: 16px 18px;
  background: var(--auth-soft);
}

.account-summary-box div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  min-height: 36px;
  align-items: center;
  border-bottom: 1px solid var(--auth-line);
  color: var(--auth-muted);
}

.account-summary-box div:last-child {
  border-bottom: 0;
}

.account-summary-box span {
  font-size: 16px;
}

.account-summary-box strong {
  color: var(--auth-muted);
  font-weight: 700;
}

.account-wallet-form {
  display: grid;
  gap: 8px;
  min-height: 265px;
  border: 1px solid var(--auth-line);
  border-radius: 10px;
  padding: 22px 16px 24px;
  background: var(--auth-soft);
}

.account-wallet-form label {
  display: grid;
  gap: 9px;
  color: var(--auth-ink);
  font-size: 12px;
  font-weight: 800;
}

.account-wallet-form input,
.account-wallet-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--auth-ink);
  background: var(--auth-bg);
  outline: none;
}

.account-wallet-form .online-submit {
  margin-top: 40px;
  justify-self: end;
}

.trader-transfer-card {
  width: min(690px, 100%);
  justify-self: center;
  padding: 16px clamp(24px, 6vw, 62px) 32px;
}

.trader-transfer-form {
  display: grid;
  grid-template-columns: 150px minmax(300px, 316px);
  justify-content: center;
  align-items: start;
  gap: clamp(36px, 7vw, 68px);
  margin-top: 28px;
}

.trader-avatar-card {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  background: var(--auth-soft);
}

.trader-avatar {
  position: relative;
  width: 74px;
  height: 74px;
}

.trader-avatar::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 46% 46%;
  background: #f4c48b;
  box-shadow: 0 -8px 0 #060b10;
}

.trader-avatar::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 42px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, #07101d 0 42%, #ffffff 42% 58%, #07101d 58%);
}

.trader-avatar span {
  position: absolute;
  z-index: 1;
  left: 32px;
  bottom: 2px;
  width: 10px;
  height: 34px;
  background: #d82431;
  clip-path: polygon(50% 0, 100% 18%, 72% 100%, 28% 100%, 0 18%);
}

.trader-transfer-form .online-submit {
  margin-top: 40px;
}

.portal-footer {
  flex-wrap: wrap;
  padding: 0 24px 10px;
}

.portal-chat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 8px;
  color: #FFFFFF;
  background: var(--auth-green);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
  font-size: 22px;
  font-weight: 800;
}

.profile-hero {
  display: grid;
  margin-bottom: 34px;
}

.profile-cover {
  min-height: 300px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 22% 36%, rgba(18, 107, 255, 0.32), transparent 26%),
    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.28), transparent 30%),
    linear-gradient(135deg, var(--auth-soft), var(--auth-panel));
}

.profile-strip {
  width: calc(100% - 48px);
  min-height: 112px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  margin: -64px auto 0;
  padding: 20px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--auth-panel) 86%, white 14%);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.profile-avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #FFFFFF;
  background: var(--auth-green);
  font-size: 22px;
  font-weight: 800;
}

.profile-strip h2 {
  margin: 0;
}

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

.profile-actions {
  display: flex;
  gap: 12px;
}

.profile-actions button {
  min-height: 42px;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--auth-ink);
  background: var(--auth-soft);
  font-weight: 800;
}

.profile-actions button.active {
  color: #FFFFFF;
  background: var(--auth-green);
}

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

.stacked-profile {
  grid-template-columns: 1fr;
}

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

.social-list a {
  min-height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid var(--auth-line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--auth-muted);
  background: var(--auth-soft);
  font-weight: 800;
}

.profile-info-card {
  min-height: 360px;
  padding: 0;
  overflow: hidden;
}

.profile-card-title {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 3px solid var(--auth-green);
  padding: 0 16px;
  color: var(--auth-ink);
  font-size: 17px;
  font-weight: 700;
}

.profile-card-title span {
  color: var(--auth-muted);
  font-size: 13px;
}

.trading-empty-card {
  display: grid;
  align-content: start;
  gap: 18px;
}

.trading-empty-card p {
  margin: 0;
  padding: 0 24px;
  color: var(--auth-muted);
  text-align: center;
  font-size: 16px;
}

.mini-pager {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 18px;
}

.mini-pager button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--auth-line);
  border-radius: 50%;
  color: var(--auth-muted);
  background: var(--auth-soft);
}

.sr-only-account,
.hidden-profile-data {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.profile-detail-list {
  display: grid;
  gap: 16px;
  padding: 22px 16px;
}

.profile-detail-list div {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px;
  color: var(--auth-muted);
}

.profile-detail-list strong {
  color: var(--auth-ink);
}

.profile-detail-list span {
  overflow-wrap: anywhere;
}

.social-link-list {
  display: grid;
  gap: 10px;
  padding: 12px 16px 22px;
}

.social-link-list button {
  min-height: 54px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  border: 0;
  color: var(--auth-muted);
  background: transparent;
  text-align: left;
}

.social-link-list button:hover {
  color: var(--auth-green);
}

.social-link-list span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #FFFFFF;
  background: var(--auth-green);
  font-size: 10px;
  font-weight: 800;
}

.social-link-list b {
  font-weight: 700;
}

.social-link-list em {
  color: var(--auth-green);
  font-style: normal;
  font-size: 18px;
}

@media (max-width: 820px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-scene { min-height: 330px; border-right: 0; border-bottom: 1px solid var(--auth-line); }
  .auth-main { padding-block: 54px; }
  .portal-shell {
    display: block;
    padding: 12px;
  }
  .portal-sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
    max-height: 42dvh;
    overflow: auto;
    margin-bottom: 14px;
    padding: 12px;
    overscroll-behavior: contain;
  }
  .portal-logo {
    min-height: 48px;
    padding: 0 6px 12px;
  }
  .portal-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 12px 0 0;
  }
  .portal-menu .dash-tab,
  .portal-menu a,
  .portal-dropdown-toggle {
    min-height: 40px;
    padding: 0 10px;
    gap: 8px;
    font-size: 12px;
  }
  .portal-submenu {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--auth-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
  }
  .portal-submenu .dash-tab {
    min-height: 34px;
    padding-left: 10px;
  }
  .portal-menu-label {
    grid-column: 1 / -1;
    padding: 10px 8px 4px;
  }
  .partner-box {
    display: none;
  }
  .portal-topbar,
  .portal-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .portal-main {
    gap: 14px;
  }
  .portal-topbar {
    padding: 14px;
  }
  .portal-profile-grid {
    grid-template-columns: 1fr;
  }
  .profile-strip {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .profile-actions {
    flex-wrap: wrap;
  }
  .portal-actions {
    width: 100%;
  }
  .portal-actions button,
  .portal-balance {
    width: 100%;
    justify-content: center;
  }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dash-two-col,
  .symbol-grid,
  .profile-list {
    grid-template-columns: 1fr;
  }
  .cash-deposit-form {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .transfer-request-form {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .account-wallet-layout {
    grid-template-columns: 1fr;
  }
  .deposit-method-shell {
    justify-self: center;
  }
  .deposit-method-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
  .deposit-method-card {
    min-height: 150px;
  }
  .withdraw-method-shell {
    justify-self: center;
  }
  .online-bank-withdraw-form {
    grid-template-columns: 1fr;
  }
  .upi-scanner-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .trader-transfer-form {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .account-wallet-form {
    width: min(370px, 100%);
    justify-self: center;
  }
  .account-wallet-left {
    width: min(230px, 100%);
    justify-self: center;
  }
  .transfer-fields {
    width: min(316px, 100%);
  }
  .spayz-withdraw-main {
    grid-template-columns: 1fr;
  }
  .spayz-fields-info {
    width: min(360px, 100%);
    margin: 0 auto;
  }
  .cash-fields {
    width: min(316px, 100%);
  }
  .inline-form {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .panel-head {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .auth-scene, .auth-main { padding: 24px 18px; }
  .auth-copy h1 { font-size: 42px; }
  .auth-row, .dashboard-head { align-items: flex-start; grid-template-columns: 1fr; flex-direction: column; }
  .dashboard-shell { padding: 0; }
  .portal-shell { padding: 10px; }
  .portal-sidebar {
    max-height: 36dvh;
  }
  .portal-menu {
    grid-template-columns: 1fr;
  }
  .portal-submenu {
    grid-template-columns: 1fr;
  }
  .portal-topbar {
    gap: 12px;
  }
  .portal-balance {
    min-height: 38px;
    white-space: normal;
    text-align: center;
  }
  .dash-panel {
    padding: 14px;
  }
  .panel-head h2 {
    font-size: 24px;
  }
  .portal-table-tools {
    margin: 18px 0 12px;
  }
  .bank-details div {
    grid-template-columns: 1fr;
  }
  .payment-details-card div {
    grid-template-columns: 1fr;
  }
  .deposit-method-grid {
    grid-template-columns: 1fr;
  }
  .deposit-method-card {
    min-height: 120px;
  }
  .withdraw-method-grid {
    grid-template-columns: 1fr;
  }
  .withdraw-method-card {
    min-height: 116px;
  }
  .upi-scanner-img {
    width: 150px;
  }
  .portal-table-tools,
  .portal-table-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-user { grid-template-columns: 1fr; }
  .dashboard-nav {
    grid-template-columns: 1fr;
  }
  .dashboard-nav div {
    flex-wrap: wrap;
  }
  .dash-form {
    grid-template-columns: 1fr;
  }
  .dash-card strong {
    font-size: 24px;
  }
  .dashboard-tabs {
    position: static;
  }
  .dash-tab {
    flex: 1 1 120px;
  }
  .watch-chip {
    width: 100%;
  }
}

/* Downloads (trading apps) - same look as the home page download cards */
.app-download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.app-download-card { display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: 28px; border: 1px solid var(--auth-line); border-radius: 10px; background: var(--auth-panel); color: var(--auth-ink); position: relative; overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.app-download-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 40%, color-mix(in srgb, var(--auth-green) 18%, transparent), transparent 45%); opacity: 0; pointer-events: none; transition: opacity .22s ease; }
.app-download-card:hover { border-color: color-mix(in srgb, var(--auth-green) 55%, transparent); }
.app-download-card:hover::after { opacity: 1; }
.app-download-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--auth-green) 20%, transparent); color: var(--auth-green); font-size: 22px; font-weight: 900; }
.app-download-icon.desktop { background: rgba(64, 120, 216, 0.18); color: #4f8ef0; }
.app-download-label { display: inline-flex; margin-bottom: 12px; color: var(--auth-green); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.app-download-card h3 { margin: 0 0 10px; font-size: 28px; color: var(--auth-ink); }
.app-download-card p, .app-download-card li { margin: 0; color: var(--auth-muted); line-height: 1.7; }
.app-download-card ul { margin: 18px 0 0; padding-left: 20px; }
.app-download-btn { position: relative; z-index: 1; min-height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 800; text-decoration: none; border: 1px solid transparent; transition: transform .2s ease, filter .2s ease; }
.app-download-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.app-download-btn.primary { background: var(--auth-green); color: #051310; box-shadow: 0 14px 32px color-mix(in srgb, var(--auth-green) 25%, transparent); }
.app-download-btn.secondary { background: transparent; border-color: var(--auth-line); color: var(--auth-ink); }
@media (max-width: 860px) { .app-download-grid { grid-template-columns: 1fr; } .app-download-card h3 { font-size: 24px; } }
.app-download-btn.primary { color: #ffffff; }

/* Trade4WorldFX logo: transparent, white lettering on the navy portal */
.auth-logo-image, .portal-logo-image { background: transparent !important; border-radius: 0 !important; }
