/* ================= DASHBOARD PAGE ================= */

/* ================= FIXED LAYOUT (только контент скроллится) ================= */

html, body {
  height: 100%;
  overflow: hidden;
}

.app {
  height: 100vh;
  overflow: hidden;
}

.main {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sidebar {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb {
  background: #2a3140;
  border-radius: 3px;
}

.content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px 26px;
  scrollbar-width: thin;
  scrollbar-color: #2a3140 transparent;
}
.content::-webkit-scrollbar { width: 8px; }
.content::-webkit-scrollbar-track { background: transparent; }
.content::-webkit-scrollbar-thumb {
  background: #2a3140;
  border-radius: 4px;
}
.content::-webkit-scrollbar-thumb:hover { background: #3a4152; }

.topbar-title h1 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}
.breadcrumb {
  font-size: 11.5px;
  color: var(--muted);
}
.breadcrumb b { color: var(--text); }
.breadcrumb span { color: #7c5cff; }

.welcome-card {
  background: linear-gradient(135deg, #131826 0%, #161b2c 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 18px;
}
.welcome-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.welcome-card > .muted {
  font-size: 13px;
  margin-bottom: 18px;
}

.welcome-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ws-item {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}
.ws-label {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 6px;
}
.ws-value {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 3px;
}
.ws-hint { font-size: 11.5px; }
.ws-hint.green  { color: var(--green); }
.ws-hint.yellow { color: var(--yellow); }
.ws-hint.muted  { color: var(--muted); }

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 16px;
  align-items: start;
}
.dash-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.dash-right { min-width: 0; }

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.panel-head h3 {
  font-size: 15px;
  font-weight: 600;
}

.range-tabs {
  display: flex;
  gap: 4px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
}
.range-tabs button {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.15s;
  font-family: inherit;
}
.range-tabs button:hover { color: var(--text); }
.range-tabs button.active {
  background: #2563eb;
  color: #fff;
}

.portfolio-total {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}
.portfolio-pct {
  font-size: 13px;
  color: var(--green);
  margin-bottom: 12px;
}

.big-chart {
  width: 100%;
  height: 260px;
  margin-top: 8px;
}
.big-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}
.big-chart .grid-line {
  stroke: rgba(255,255,255,0.06);
  stroke-width: 1;
}
.big-chart .grid-line.dashed {
  stroke-dasharray: 3 5;
}

.asset-row {
  display: grid;
  grid-template-columns: 42px 1fr auto 60px 120px;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.asset-row:last-child { border-bottom: none; }

.asset-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.asset-name {
  font-size: 13.5px;
  font-weight: 600;
}
.asset-sub {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}
.asset-balance { text-align: right; }
.asset-amount {
  font-size: 13px;
  font-weight: 500;
}
.asset-usd {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}
.asset-pct {
  font-size: 12.5px;
  color: var(--muted);
  text-align: right;
}
.asset-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.asset-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #a44bff, #2ea8ff);
  border-radius: 3px;
  transition: width 0.4s;
}

.dash-right .panel {
  padding: 0;
  overflow: hidden;
}

.deposit-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--panel-2);
}
.dep-tab {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.15s;
  font-family: inherit;
  border-bottom: 2px solid transparent;
}
.dep-tab:hover { color: var(--text); }
.dep-tab.active {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
  background: var(--panel);
}

.dep-body { padding: 20px; }
.dep-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.muted.small {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}

.amount-input {
  display: flex;
  align-items: center;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px 6px 4px 14px;
  margin-bottom: 14px;
}
.amount-input input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  padding: 12px 0;
  font-family: inherit;
  min-width: 0;
}
.amount-input input::placeholder { color: #4a5165; }

.max-btn {
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.4);
  color: #3b82f6;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  margin-right: 8px;
  transition: 0.15s;
  font-family: inherit;
}
.max-btn:hover {
  background: rgba(59,130,246,0.25);
  color: #60a5fa;
}
.max-btn:active { transform: scale(0.96); }

.currency-select {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
}
.currency-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #627eea;
  color: #fff;
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.currency-select select {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  font-family: inherit;
}

.info-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.info-row b { color: var(--text); font-weight: 600; }
.info-row.total { border-bottom: none; padding-bottom: 4px; }

.dep-body label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.dep-body input[type="text"],
.dep-body input[type="number"],
.dep-body select {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--text);
  font-size: 13px;
  outline: none;
  font-family: inherit;
  width: 100%;
}
.dep-body input[type="text"]:focus,
.dep-body select:focus { border-color: #3b82f6; }

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-convert {
  width: 100%;
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  border: none;
  color: #fff;
  padding: 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: 0.15s;
  font-family: inherit;
}

.btn-convert.btn-convert-mode {
  background: linear-gradient(180deg, #a44bff, #7c5cff);
  box-shadow: 0 6px 20px rgba(164, 75, 255, 0.25);
}
.btn-convert.btn-convert-mode:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 24px rgba(164, 75, 255, 0.35);
}

.btn-convert.btn-verify-mode {
  background: linear-gradient(180deg, #14b8a6, #0d9488);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.25);
}
.btn-convert.btn-verify-mode:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.35);
}

.btn-convert.btn-limit-mode {
  background: linear-gradient(180deg, #f59e0b, #d97706);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
}
.btn-convert.btn-limit-mode:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.btn-convert:hover { filter: brightness(1.1); }
.btn-convert.green {
  background: linear-gradient(180deg, #10b981, #059669);
}

.dep-note {
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 8px;
  line-height: 1.5;
}

/* ================= ADMIN PANEL ================= */
.admin-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 90;
}
.admin-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.admin-panel {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: 380px;
  max-width: 92vw;
  background: #f5f5f5;
  color: #1a1a1a;
  box-shadow: -8px 0 40px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  font-family: 'Inter', sans-serif;
}
.admin-panel.show { transform: translateX(0); }

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}
.admin-head h2 {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 0 0 2px;
}
.admin-sub { font-size: 12px; color: #888; }
.admin-head .icon-btn {
  border-color: #ddd;
  color: #888;
  background: #fafafa;
}
.admin-head .icon-btn:hover { color: #333; border-color: #bbb; }

.admin-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-block {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 14px;
}

.admin-label {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}

.admin-crypto {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 9px;
  padding: 10px 12px;
}
.crypto-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #627eea;
  color: #fff;
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.admin-crypto select {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 13.5px;
  color: #222;
  font-family: inherit;
  cursor: pointer;
}

.admin-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.admin-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.admin-more { color: #999; font-size: 14px; cursor: pointer; }

.admin-field { display: block; margin-bottom: 12px; }
.admin-field > span {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}
.admin-field input,
.admin-field textarea {
  width: 100%;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13.5px;
  color: #222;
  outline: none;
  font-family: inherit;
  resize: vertical;
  transition: 0.15s;
}
.admin-field input:focus,
.admin-field textarea:focus {
  border-color: #3b82f6;
  background: #fff;
}
.admin-field textarea::placeholder {
  color: #aaa;
  font-style: italic;
}
.admin-field .hint {
  display: block;
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 5px;
  line-height: 1.4;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #444;
  cursor: pointer;
}
.admin-check input {
  width: 16px; height: 16px;
  accent-color: #3b82f6;
  cursor: pointer;
}

.admin-select {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 6px 10px;
}
.admin-select select {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 13.5px;
  color: #222;
  font-family: inherit;
  cursor: pointer;
}
.bank-mini {
  width: 22px; height: 22px;
  border-radius: 5px;
  background: #e63946;
  color: #fff;
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
}

.tariff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.tariff {
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  transition: 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 1.5px dashed;
  background: #fff;
}
.tariff:hover { filter: brightness(0.97); }

.tariff-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.tariff-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #333;
}
.tariff-1 { border-color: #10b981; background: #ecfdf5; }
.tariff-1 .tariff-num { background: #10b981; }
.tariff-2 { border-color: #f97316; background: #fff7ed; }
.tariff-2 .tariff-num { background: #f97316; }
.tariff-3 { border-color: #3b82f6; background: #eff6ff; }
.tariff-3 .tariff-num { background: #3b82f6; }
.tariff-4 { border-color: #a855f7; background: #faf5ff; }
.tariff-4 .tariff-num { background: #a855f7; }

.tariff.active {
  border-style: solid;
  box-shadow: 0 0 0 2px rgba(59,130,246,0.15);
}

.admin-footer {
  padding: 14px 16px;
  border-top: 1px solid #e0e0e0;
  background: #fff;
}
.btn-apply {
  width: 100%;
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  border: none;
  color: #fff;
  padding: 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: 0.15s;
}
.btn-apply:hover { filter: brightness(1.1); }

.user.hidden-name #userName { display: none; }

/* ================= ADMIN CHECKBOX: УСПЕХ ================= */
.admin-check-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-top: 4px;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.admin-check-success:hover { background: #f0f4ff; border-color: #3b82f6; }
.admin-check-success input { position: absolute; opacity: 0; pointer-events: none; }

.admin-check-box {
  width: 22px; height: 22px;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  position: relative;
}
.admin-check-box::after {
  content: '';
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
  margin-top: -2px;
}
.admin-check-success input:checked ~ .admin-check-box {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.15);
}
.admin-check-success input:checked ~ .admin-check-box::after {
  transform: rotate(45deg) scale(1);
}
.admin-check-label {
  font-size: 14px; font-weight: 600;
  color: #334155;
  transition: color 0.2s;
}
.admin-check-success input:checked ~ .admin-check-label { color: #059669; }

/* ================= ADMIN CHECKBOX: КОНВЕРТ КРИПТА ================= */
.admin-check-convert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-top: 4px;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.admin-check-convert:hover { background: #f5f3ff; border-color: #a44bff; }
.admin-check-convert input { position: absolute; opacity: 0; pointer-events: none; }

.admin-check-box-convert {
  width: 22px; height: 22px;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  position: relative;
  font-size: 13px;
  line-height: 1;
  color: #64748b;
}
.admin-check-box-convert::before {
  content: '↑↓';
  font-weight: 700;
  font-size: 12px;
  transform: scale(0.9);
  transition: 0.2s;
}
.admin-check-convert input:checked ~ .admin-check-box-convert::after {
  display: none;
}
.admin-check-convert input:checked ~ .admin-check-box-convert {
  background: linear-gradient(135deg, #a44bff, #7c5cff);
  border-color: #a44bff;
  box-shadow: 0 0 0 4px rgba(164, 75, 255, 0.15);
  color: #fff;
}
.admin-check-convert input:checked ~ .admin-check-box-convert::before {
  color: #fff;
}
.admin-check-label-convert {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  transition: color 0.2s;
}
.admin-check-convert input:checked ~ .admin-check-label-convert {
  color: #7c5cff;
}

/* ================= ADMIN CHECKBOX: ВЕРИФИКАЦИЯ ================= */
.admin-check-verify {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-top: 4px;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.admin-check-verify:hover { background: #eff6ff; border-color: #3b82f6; }
.admin-check-verify input { position: absolute; opacity: 0; pointer-events: none; }

.admin-check-box-verify {
  width: 22px; height: 22px;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  position: relative;
}
.admin-check-box-verify::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2 L20 5 L20 12 C20 17 16 20 12 22 C8 20 4 17 4 12 L4 5 Z'/><path d='M9 12 L11.2 14.2 L15 10.2'/></svg>");
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-position: center;
  transition: 0.2s;
}
.admin-check-verify input:checked ~ .admin-check-box-verify::after {
  display: none;
}
.admin-check-verify input:checked ~ .admin-check-box-verify {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}
.admin-check-verify input:checked ~ .admin-check-box-verify::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2 L20 5 L20 12 C20 17 16 20 12 22 C8 20 4 17 4 12 L4 5 Z'/><path d='M9 12 L11.2 14.2 L15 10.2'/></svg>");
  background-size: 14px 14px;
}
.admin-check-label-verify {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  transition: color 0.2s;
}
.admin-check-verify input:checked ~ .admin-check-label-verify {
  color: #2563eb;
}

/* ================= ADMIN CHECKBOX: ЛИМИТ ================= */
.admin-check-limit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-top: 4px;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.admin-check-limit:hover { background: #fffbeb; border-color: #f59e0b; }
.admin-check-limit input { position: absolute; opacity: 0; pointer-events: none; }

.admin-check-box-limit {
  width: 22px; height: 22px;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  position: relative;
}
.admin-check-box-limit::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'><path d='M13 2 L4.5 13 H11 L10 22 L19.5 11 H12 Z'/></svg>");
  background-size: 13px 13px;
  background-repeat: no-repeat;
  background-position: center;
  transition: 0.2s;
}
.admin-check-limit input:checked ~ .admin-check-box-limit::after {
  display: none;
}
.admin-check-limit input:checked ~ .admin-check-box-limit {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}
.admin-check-limit input:checked ~ .admin-check-box-limit::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M13 2 L4.5 13 H11 L10 22 L19.5 11 H12 Z'/></svg>");
}
.admin-check-label-limit {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  transition: color 0.2s;
}
.admin-check-limit input:checked ~ .admin-check-label-limit {
  color: #d97706;
}

/* ================= TOAST ================= */
.wd-toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #131b2e;
  border: 1px solid rgba(239,76,90,0.4);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 340px;
  max-width: 420px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  transform: translateX(calc(100% + 40px));
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 300;
  font-family: 'Inter', sans-serif;
}
.wd-toast.show { transform: translateX(0); }

.wd-toast-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(239,76,90,0.15);
  color: #ef4c5a;
  display: grid; place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.wd-toast-body { flex: 1; }
.wd-toast-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.wd-toast-text {
  color: #8b93a7;
  font-size: 12.5px;
  line-height: 1.5;
}
.wd-toast-close {
  background: transparent;
  border: none;
  color: #4a5165;
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  font-family: inherit;
}
.wd-toast-close:hover { color: #fff; }
.wd-toast.wd-toast-success { border-color: rgba(41,194,107,0.4); }
.wd-toast.wd-toast-success .wd-toast-icon {
  background: rgba(41,194,107,0.15);
  color: #29c26b;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
  .dash-grid { grid-template-columns: 1fr; }
  .welcome-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .welcome-stats { grid-template-columns: 1fr; }
  .asset-row { grid-template-columns: 42px 1fr auto; }
  .asset-pct, .asset-bar { display: none; }
  .two-cols { grid-template-columns: 1fr; }
  .wd-toast { right: 12px; left: 12px; min-width: auto; }
}

/* ============================================================
   AXIS — UNIFIED MODAL DESIGN v3
   ============================================================ */

.wd-modal-backdrop,
.cv-modal-backdrop,
.vf-modal-backdrop,
.lm-modal-backdrop {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(164,75,255,0.18), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(46,168,255,0.12), transparent 60%),
    rgba(5, 8, 15, 0.9);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  z-index: 220;
  overflow-y: auto;
  animation: axisBackdropIn 0.3s ease;
}
.wd-modal-backdrop.show,
.cv-modal-backdrop.show,
.vf-modal-backdrop.show,
.lm-modal-backdrop.show {
  display: flex;
}

@keyframes axisBackdropIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.wd-modal,
.cv-modal,
.vf-modal,
.lm-modal {
  position: relative;
  width: 100%;
  max-width: 620px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><defs><linearGradient id='g1' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%23ff8a2b'/><stop offset='35%25' stop-color='%23ff3d8a'/><stop offset='65%25' stop-color='%23a44bff'/><stop offset='100%25' stop-color='%232ea8ff'/></linearGradient><linearGradient id='g2' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%23ff8a2b' stop-opacity='0.55'/><stop offset='100%25' stop-color='%232ea8ff' stop-opacity='0.55'/></linearGradient></defs><path d='M18 10 L46 10 L58 22 L58 48 L30 48 L18 36 Z' fill='none' stroke='url(%23g2)' stroke-width='3' stroke-linejoin='round'/><path d='M14 14 L42 14 L54 26 L54 52 L26 52 L14 40 Z' fill='none' stroke='url(%23g2)' stroke-width='3' stroke-linejoin='round'/><path d='M10 18 L38 18 L50 30 L50 56 L22 56 L10 44 Z' fill='%230e1118' stroke='url(%23g1)' stroke-width='3.5' stroke-linejoin='round'/><text x='30' y='42' text-anchor='middle' font-family='Inter, sans-serif' font-weight='700' font-size='13' fill='url(%23g1)'>Axis</text></svg>") no-repeat top 30px center / 68px 68px,
    radial-gradient(ellipse at 50% -10%, rgba(164,75,255,0.22), transparent 55%),
    linear-gradient(180deg, #131826 0%, #0b0e16 100%);
  border-radius: 26px;
  padding: 118px 42px 38px;
  color: #e7eaf3;
  font-family: 'Inter', sans-serif;
  text-align: center;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.75),
    0 0 80px rgba(164, 75, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: axisModalIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes axisModalIn {
  from { opacity: 0; transform: translateY(-24px) scale(0.95); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.wd-modal::before,
.cv-modal::before,
.vf-modal::before,
.lm-modal::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(90deg,
    #ff8a2b 0%, #ff3d8a 15%, #a44bff 30%, #2ea8ff 45%,
    #a44bff 60%, #ff3d8a 75%, #ff8a2b 90%, #ff3d8a 100%);
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 20;
  animation: axisBorderFlow 8s linear infinite;
}
@keyframes axisBorderFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.wd-modal::after,
.cv-modal::after,
.vf-modal::after,
.lm-modal::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
  filter: blur(1.5px);
  pointer-events: none;
  z-index: 21;
  animation: axisTopShine 3.5s ease-in-out infinite;
}
@keyframes axisTopShine {
  0%, 100% { opacity: 0.3; width: 40%; }
  50%      { opacity: 1;   width: 70%; }
}

.wd-close,
.cv-close,
.vf-close,
.lm-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a2a9bd;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 25;
  backdrop-filter: blur(6px);
}
.wd-close:hover,
.cv-close:hover,
.vf-close:hover,
.lm-close:hover {
  background: rgba(239, 76, 90, 0.18);
  border-color: rgba(239, 76, 90, 0.55);
  color: #ef4c5a;
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 0 24px rgba(239, 76, 90, 0.4);
}

.wd-modal-head h2,
.cv-title,
.vf-title,
.lm-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1.2px;
  background: linear-gradient(135deg, #ffffff 0%, #c8b5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.cv-subtitle,
.vf-subtitle,
.lm-subtitle {
  font-size: 14.5px;
  color: #a2a9bd;
  margin-bottom: 28px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  line-height: 1.55;
  font-weight: 600;
}
.cv-subtitle b,
.vf-subtitle b,
.lm-subtitle b {
  color: #ffffff;
  font-weight: 900;
  font-family: 'SF Mono', 'Consolas', monospace;
  padding: 3px 10px;
  background: rgba(124, 92, 255, 0.18);
  border-radius: 8px;
  border: 1px solid rgba(124, 92, 255, 0.35);
  display: inline-block;
  margin-top: 5px;
  font-size: 15px;
}

.wd-modal-head {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(124, 92, 255, 0.15);
}

.wd-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.wd-tab {
  padding: 11px 36px;
  font-size: 13px;
  font-weight: 800;
  color: #c8b5ff;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.wd-alert,
.wd-alert-success {
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 24px;
  text-align: left;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid;
}
.wd-alert {
  background: linear-gradient(135deg, rgba(239,76,90,0.16), rgba(239,76,90,0.04));
  border-color: rgba(239,76,90,0.4);
  border-left-width: 3px;
}
.wd-alert::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(239,76,90,0.28), transparent 70%);
  pointer-events: none;
}
.wd-alert-title {
  color: #ef4c5a;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.wd-alert-title span {
  color: #ff8090;
  font-weight: 900;
}
.wd-alert-text {
  color: #ff9aa4;
  font-size: 14px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  font-weight: 500;
}
.wd-alert-text b {
  color: #ff6b78;
  font-weight: 900;
  font-family: 'SF Mono', 'Consolas', monospace;
  background: rgba(239,76,90,0.2);
  padding: 3px 9px;
  border-radius: 6px;
}

.wd-alert-success {
  background: linear-gradient(135deg, rgba(41,194,107,0.16), rgba(41,194,107,0.04));
  border-color: rgba(41,194,107,0.4);
  border-left-width: 3px;
}
.wd-alert-success::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(41,194,107,0.28), transparent 70%);
  pointer-events: none;
}
.wd-alert-success .wd-alert-title { color: #29c26b; }
.wd-alert-success .wd-alert-title::before {
  content: '✓';
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(41,194,107,0.25);
  font-size: 13px;
}
.wd-alert-success .wd-alert-text { color: #7ceeb0; }
.wd-alert-success .wd-alert-text b {
  color: #29c26b;
  background: rgba(41,194,107,0.2);
}

.wd-label {
  font-size: 12.5px;
  color: #a2a9bd;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 800;
  margin-bottom: 12px;
  text-align: left;
  position: relative;
  z-index: 2;
}

.wd-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.wd-currency {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(124, 92, 255, 0.25);
  border-radius: 12px;
  padding: 0 16px;
  min-width: 118px;
  transition: 0.2s;
}
.wd-currency:hover { border-color: rgba(124, 92, 255, 0.5); }
.wd-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}
.wd-flag svg { display: block; width: 100%; height: 100%; }
.wd-currency select {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  padding: 15px 0;
}
.wd-input-row input {
  flex: 1;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(124, 92, 255, 0.25);
  border-radius: 12px;
  padding: 15px 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  outline: none;
  font-family: 'SF Mono', 'Consolas', monospace;
  transition: 0.2s;
  min-width: 0;
}
.wd-input-row input:focus {
  border-color: #7c5cff;
  background: rgba(124, 92, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.14);
}

.wd-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 18px;
  font-size: 14px;
  color: #a2a9bd;
  background: rgba(255, 255, 255, 0.028);
  border-radius: 12px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.15s;
  font-weight: 500;
}
.wd-info-row:hover {
  background: rgba(124, 92, 255, 0.08);
  border-color: rgba(124, 92, 255, 0.22);
}
.wd-info-row b {
  color: #ffffff;
  font-weight: 800;
  font-size: 14.5px;
  font-family: 'SF Mono', 'Consolas', monospace;
}
.wd-info-row b.wd-no {
  color: #ef4c5a;
  padding: 4px 12px;
  background: rgba(239,76,90,0.14);
  border-radius: 8px;
  border: 1px solid rgba(239,76,90,0.3);
}
.wd-info-row b.wd-yes {
  color: #29c26b;
  padding: 4px 12px;
  background: rgba(41,194,107,0.14);
  border-radius: 8px;
  border: 1px solid rgba(41,194,107,0.3);
}

.wd-pay-btn,
.cv-action-btn,
.vf-action-btn,
.lm-action-btn {
  width: 100%;
  margin-top: 22px;
  padding: 17px 26px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.wd-pay-btn::before,
.cv-action-btn::before,
.vf-action-btn::before,
.lm-action-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}
.wd-pay-btn:hover::before,
.cv-action-btn:hover::before,
.vf-action-btn:hover::before,
.lm-action-btn:hover::before {
  left: 100%;
}
.wd-pay-btn:hover,
.cv-action-btn:hover,
.vf-action-btn:hover,
.lm-action-btn:hover {
  transform: translateY(-2px);
}
.wd-pay-btn:active,
.cv-action-btn:active,
.vf-action-btn:active,
.lm-action-btn:active {
  transform: translateY(0) scale(0.99);
}

.wd-pay-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}
.wd-pay-btn:hover {
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.55);
}
.cv-action-btn {
  background: linear-gradient(135deg, #a44bff, #7c5cff);
  box-shadow: 0 12px 32px rgba(164, 75, 255, 0.4);
}
.cv-action-btn:hover {
  box-shadow: 0 16px 40px rgba(164, 75, 255, 0.55);
}
.vf-action-btn {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  box-shadow: 0 12px 32px rgba(20, 184, 166, 0.4);
}
.vf-action-btn:hover {
  box-shadow: 0 16px 40px rgba(20, 184, 166, 0.55);
}
.lm-action-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.4);
}
.lm-action-btn:hover {
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.55);
}

.wd-pay-btn.wd-pay-success {
  background: linear-gradient(135deg, #29c26b, #059669) !important;
  box-shadow: 0 12px 32px rgba(41, 194, 107, 0.45) !important;
}
.wd-pay-btn.wd-pay-success:hover {
  box-shadow: 0 16px 40px rgba(41, 194, 107, 0.6) !important;
  color: #fff !important;
}

.cv-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}
.cv-coin {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #e8eaf0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), inset 0 -4px 8px rgba(0,0,0,0.08);
  border: 3px solid rgba(255,255,255,0.95);
  position: relative;
}
.cv-coin::after {
  content: '';
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid rgba(164, 75, 255, 0.28);
  animation: coinRing 2.5s ease-in-out infinite;
}
@keyframes coinRing {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50%      { transform: scale(1.09); opacity: 0.75; }
}
.cv-coin-inner {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.5px;
}
.cv-coin-from .cv-coin-inner { background: #627eea; line-height: 0; }
.cv-coin-to .cv-coin-inner {
  background: #0a0d14;
  border: 3px solid #ffffff;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
}
.cv-swap-arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: swapPulse 2s ease-in-out infinite;
}
@keyframes swapPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}

.cv-address-row,
.vf-address-row,
.lm-address-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  position: relative;
  z-index: 2;
}
.cv-address,
.vf-address,
.lm-address {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 999px;
  padding: 12px 14px;
  min-width: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.cv-address-icon,
.vf-address-icon,
.lm-address-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  background: #627eea;
}
.vf-address-icon,
.lm-address-icon {
  background: #ffffff;
  border: 1px solid #e0e0e0;
}
.cv-address-text,
.vf-address-text,
.lm-address-text {
  flex: 1;
  color: #0f172a;
  font-size: 15px;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-weight: 900;
  letter-spacing: 0.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  text-align: center;
}
.cv-copy,
.vf-copy,
.lm-copy {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: 0.2s;
}
.cv-copy:hover,
.vf-copy:hover,
.lm-copy:hover {
  transform: scale(1.18);
}
.cv-qr-btn,
.vf-wallet-btn,
.lm-wallet-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: 0.2s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.cv-qr-btn:hover,
.vf-wallet-btn:hover,
.lm-wallet-btn:hover {
  transform: scale(1.09);
  box-shadow: 0 12px 32px rgba(164, 75, 255, 0.5);
}

.cv-bottom,
.vf-bottom,
.lm-bottom {
  font-size: 14px;
  color: #a2a9bd;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 22px;
  line-height: 1.8;
  font-weight: 700;
  position: relative;
  z-index: 2;
}
.cv-bottom b,
.vf-bottom b,
.lm-bottom b {
  color: #ffffff;
  font-weight: 900;
  font-family: 'SF Mono', 'Consolas', monospace;
  display: inline-block;
  padding: 3px 10px;
  background: rgba(124, 92, 255, 0.18);
  border-radius: 8px;
  border: 1px solid rgba(124, 92, 255, 0.35);
  font-size: 14.5px;
}

.vf-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}
.vf-logo {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #e8eaf0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), inset 0 -4px 8px rgba(0,0,0,0.08);
  border: 3px solid rgba(255,255,255,0.95);
  overflow: hidden;
  position: relative;
}
.vf-logo::after {
  content: '';
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid rgba(20, 184, 166, 0.3);
  animation: verifyRing 3s ease-in-out infinite;
}
@keyframes verifyRing {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50%      { transform: scale(1.12); opacity: 0.75; }
}
.vf-logo svg { display: block; }
.vf-arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: swapPulse 2s ease-in-out infinite;
}

.vf-icon-center,
.lm-icon-center {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #e8eaf0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), inset 0 -6px 12px rgba(0,0,0,0.08);
  border: 3px solid rgba(255,255,255,0.95);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.vf-icon-center svg,
.lm-icon-center svg {
  display: block;
  width: 110px;
  height: 110px;
}
.vf-icon-center::after,
.lm-icon-center::after {
  content: '';
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  border: 1px solid rgba(20, 184, 166, 0.25);
  animation: verifyRing 3s ease-in-out infinite;
}

.wd-modal::-webkit-scrollbar,
.cv-modal::-webkit-scrollbar,
.vf-modal::-webkit-scrollbar,
.lm-modal::-webkit-scrollbar { width: 6px; }
.wd-modal::-webkit-scrollbar-thumb,
.cv-modal::-webkit-scrollbar-thumb,
.vf-modal::-webkit-scrollbar-thumb,
.lm-modal::-webkit-scrollbar-thumb {
  background: rgba(124, 92, 255, 0.35);
  border-radius: 3px;
}

@media (max-width: 700px) {
  .wd-modal,
  .cv-modal,
  .vf-modal,
  .lm-modal {
    max-width: 100%;
    padding: 96px 22px 26px;
    border-radius: 22px;
    background:
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><defs><linearGradient id='g1' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%23ff8a2b'/><stop offset='35%25' stop-color='%23ff3d8a'/><stop offset='65%25' stop-color='%23a44bff'/><stop offset='100%25' stop-color='%232ea8ff'/></linearGradient><linearGradient id='g2' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%23ff8a2b' stop-opacity='0.55'/><stop offset='100%25' stop-color='%232ea8ff' stop-opacity='0.55'/></linearGradient></defs><path d='M18 10 L46 10 L58 22 L58 48 L30 48 L18 36 Z' fill='none' stroke='url(%23g2)' stroke-width='3' stroke-linejoin='round'/><path d='M14 14 L42 14 L54 26 L54 52 L26 52 L14 40 Z' fill='none' stroke='url(%23g2)' stroke-width='3' stroke-linejoin='round'/><path d='M10 18 L38 18 L50 30 L50 56 L22 56 L10 44 Z' fill='%230e1118' stroke='url(%23g1)' stroke-width='3.5' stroke-linejoin='round'/><text x='30' y='42' text-anchor='middle' font-family='Inter, sans-serif' font-weight='700' font-size='13' fill='url(%23g1)'>Axis</text></svg>") no-repeat top 22px center / 56px 56px,
      radial-gradient(ellipse at 50% -10%, rgba(164,75,255,0.22), transparent 55%),
      linear-gradient(180deg, #131826 0%, #0b0e16 100%);
  }
  .cv-coin { width: 80px; height: 80px; }
  .cv-coin-inner { width: 58px; height: 58px; font-size: 18px; }
  .cv-coin-to .cv-coin-inner { font-size: 13px; }
  .cv-top { gap: 18px; }
  .vf-logo { width: 88px; height: 88px; }
  .vf-logo svg { width: 48px; height: 48px; }
  .vf-top { gap: 18px; }
  .vf-icon-center,
  .lm-icon-center { width: 128px; height: 128px; }
  .vf-icon-center svg,
  .lm-icon-center svg { width: 80px; height: 80px; }
  .wd-modal-head h2,
  .cv-title,
  .vf-title,
  .lm-title { font-size: 16px; letter-spacing: 0.8px; }
  .cv-subtitle,
  .vf-subtitle,
  .lm-subtitle { font-size: 12px; }
  .wd-close,
  .cv-close,
  .vf-close,
  .lm-close { width: 36px; height: 36px; top: 14px; right: 14px; }
  .wd-info-row { font-size: 13px; padding: 13px 14px; }
  .wd-info-row b { font-size: 13.5px; }
}

.modal-icon-badge {
  display: none !important;
}

.wd-modal,
.cv-modal,
.vf-modal,
.lm-modal {
  padding-top: 132px;
  padding-left: 44px;
  padding-right: 44px;
  padding-bottom: 42px;
}

.wd-modal-head h2,
.cv-title,
.vf-title,
.lm-title {
  max-width: calc(100% - 60px);
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.45;
  letter-spacing: 1px;
}

.cv-subtitle,
.vf-subtitle,
.lm-subtitle {
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.6;
}

.cv-subtitle b,
.vf-subtitle b,
.lm-subtitle b,
.cv-bottom b,
.vf-bottom b,
.lm-bottom b,
.wd-alert-text b,
.wd-alert-title span {
  white-space: nowrap;
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

.wd-alert {
  padding: 22px 24px;
}
.wd-alert-title {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.6px;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  display: block;
}
.wd-alert-title span { color: #ff8090; }
.wd-alert-text {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 4px;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.wd-alert-text b {
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 900;
  margin: 0 2px;
}

.wd-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 14px 18px;
}
.wd-info-row > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}
.wd-info-row > b {
  flex: 0 0 auto;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  font-size: 14.5px;
  font-weight: 800;
}

.wd-input-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.wd-input-row input {
  min-width: 0;
  width: 100%;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}
.wd-currency { flex-shrink: 0; }
.wd-currency select {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

.wd-pay-btn,
.cv-action-btn,
.vf-action-btn,
.lm-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 26px;
  white-space: nowrap;
  text-align: center;
  line-height: 1;
}

.cv-address,
.vf-address,
.lm-address {
  min-width: 0;
  overflow: hidden;
}
.cv-address-text,
.vf-address-text,
.lm-address-text {
  direction: ltr;
  unicode-bidi: plaintext;
  min-width: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.wd-modal-head {
  position: relative;
  min-height: 44px;
  padding-right: 50px;
  padding-left: 50px;
}
.wd-modal-head h2 { max-width: 100%; }

.wd-tabs {
  display: flex;
  justify-content: center;
  width: 100%;
}
.wd-tab { white-space: nowrap; }

.wd-modal,
.cv-modal,
.vf-modal,
.lm-modal {
  font-feature-settings: 'kern' 1, 'liga' 1;
  text-rendering: optimizeLegibility;
}
.wd-modal *,
.cv-modal *,
.vf-modal *,
.lm-modal * {
  box-sizing: border-box;
}

@media (max-width: 700px) {
  .wd-modal,
  .cv-modal,
  .vf-modal,
  .lm-modal { padding: 108px 22px 26px; }
  .wd-info-row { gap: 12px; min-height: 48px; padding: 12px 14px; }
  .wd-info-row > span:first-child { font-size: 12.5px; }
  .wd-info-row > b { font-size: 13px; }
  .wd-alert { padding: 18px 16px; }
  .wd-alert-title { font-size: 13px; }
  .wd-alert-text { font-size: 12.5px; }
  .wd-modal-head { padding-right: 44px; padding-left: 44px; }
  .wd-pay-btn,
  .cv-action-btn,
  .vf-action-btn,
  .lm-action-btn { min-height: 52px; font-size: 13.5px; padding: 14px 20px; }
}

.wd-modal-head {
  position: static;
  padding-left: 0;
  padding-right: 0;
  min-height: auto;
  justify-content: center;
}

.wd-close,
.cv-close,
.vf-close,
.lm-close {
  position: absolute;
  top: 22px;
  right: 22px;
  left: auto;
  bottom: auto;
  transform: none;
  margin: 0;
}

.wd-close:hover,
.cv-close:hover,
.vf-close:hover,
.lm-close:hover {
  transform: rotate(90deg) scale(1.08);
}

.wd-modal-head h2,
.cv-title,
.vf-title,
.lm-title {
  max-width: calc(100% - 80px);
  margin-left: auto;
  margin-right: auto;
}

.welcome-card h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.welcome-card h2 #welcomeName {
  background: linear-gradient(135deg,
    #ff8a2b 0%, #ff3d8a 35%, #a44bff 65%, #2ea8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  position: relative;
  padding-right: 2px;
}

.welcome-card > .muted {
  font-size: 13.5px;
  color: #8b93a7;
  letter-spacing: 0.2px;
  font-weight: 500;
}

.ws-label {
  font-size: 11px;
  color: #8b93a7;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ws-value {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  font-family: 'SF Mono', 'Consolas', monospace;
  letter-spacing: -0.3px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  line-height: 1.15;
  margin-bottom: 4px;
}

.ws-hint {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-variant-numeric: tabular-nums;
}
.ws-hint.green { color: #29c26b; text-shadow: 0 0 12px rgba(41,194,107,0.35); }
.ws-hint.yellow { color: var(--yellow); }
.ws-hint.muted  { color: #8b93a7; font-weight: 500; }

.ws-item {
  position: relative;
  overflow: hidden;
}
.ws-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg,
    #ff8a2b 0%, #ff3d8a 35%, #a44bff 65%, #2ea8ff 100%);
  border-radius: 3px;
  opacity: 0.75;
  transition: opacity 0.25s;
}
.ws-item:hover::before { opacity: 1; }
.ws-item { transition: border-color 0.25s, background 0.25s; }
.ws-item:hover {
  border-color: rgba(124, 92, 255, 0.35);
  background: rgba(124, 92, 255, 0.04);
}

.panel-head h3,
.panel-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.panel-head h3::before,
.panel-title::before {
  content: '';
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg,
    #ff8a2b 0%, #ff3d8a 35%, #a44bff 65%, #2ea8ff 100%);
  box-shadow: 0 0 10px rgba(164, 75, 255, 0.45);
  flex-shrink: 0;
}

.portfolio-total {
  font-size: 34px;
  font-weight: 900;
  font-family: 'SF Mono', 'Consolas', monospace;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 55%, #c8b5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 20px rgba(164, 75, 255, 0.15));
}

.portfolio-pct {
  font-size: 13.5px;
  font-weight: 700;
  font-family: 'SF Mono', 'Consolas', monospace;
  letter-spacing: 0.2px;
  color: #29c26b;
  text-shadow: 0 0 14px rgba(41,194,107,0.3);
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}

.range-tabs button.active {
  background: linear-gradient(135deg, #a44bff, #7c5cff);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(164, 75, 255, 0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}
.range-tabs button { font-weight: 600; letter-spacing: 0.3px; }

.asset-name { font-size: 14px; font-weight: 700; color: #ffffff; letter-spacing: 0.1px; }
.asset-sub {
  font-size: 11px; color: #8b93a7; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-top: 3px;
}
.asset-amount {
  font-size: 14px; font-weight: 800; color: #ffffff;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums; letter-spacing: -0.2px;
}
.asset-usd {
  font-size: 11.5px; color: #8b93a7; margin-top: 3px;
  font-variant-numeric: tabular-nums;
}
.asset-pct {
  font-size: 13px; color: #ffffff; text-align: right;
  font-weight: 700; font-family: 'SF Mono', 'Consolas', monospace;
}
.asset-bar span {
  background: linear-gradient(90deg,
    #ff8a2b 0%, #ff3d8a 35%, #a44bff 65%, #2ea8ff 100%) !important;
  box-shadow: 0 0 12px rgba(164, 75, 255, 0.5);
}

.dep-tab {
  font-weight: 600; letter-spacing: 0.4px; position: relative;
}
.dep-tab.active {
  color: #ffffff; background: var(--panel); border-bottom-color: transparent;
}
.dep-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 15%; right: 15%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    #ff8a2b 0%, #ff3d8a 35%, #a44bff 65%, #2ea8ff 100%);
  box-shadow: 0 0 14px rgba(164, 75, 255, 0.6);
}

.dep-title {
  font-size: 14.5px; font-weight: 800; color: #ffffff;
  letter-spacing: 0.2px; margin-bottom: 4px;
  display: inline-flex; align-items: center; gap: 8px;
}
.dep-title::before {
  content: '';
  width: 3px; height: 14px; border-radius: 2px;
  background: linear-gradient(180deg, #a44bff, #2ea8ff);
  box-shadow: 0 0 8px rgba(164, 75, 255, 0.5);
}
.muted.small {
  font-size: 12px; color: #8b93a7; font-weight: 500;
  line-height: 1.5; margin-bottom: 16px;
}

.info-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; font-size: 13px; color: #8b93a7;
  padding: 11px 0; border-bottom: 1px solid var(--border);
  font-weight: 500; letter-spacing: 0.2px;
}
.info-row b {
  color: #ffffff; font-weight: 800;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
  font-size: 13.5px; letter-spacing: -0.1px;
}
.info-row.total { border-bottom: none; padding-bottom: 4px; }
.info-row.total b {
  color: #b9a8ff;
  text-shadow: 0 0 12px rgba(164, 75, 255, 0.35);
  font-size: 14.5px;
}

.dep-body label {
  font-size: 11.5px; color: #8b93a7; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
}
.dep-body input[type="text"],
.dep-body input[type="number"],
.dep-body select {
  font-weight: 600; font-variant-numeric: tabular-nums; color: #ffffff;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.dep-body input[type="text"]:focus,
.dep-body input[type="number"]:focus,
.dep-body select:focus {
  border-color: #a44bff;
  background: rgba(164, 75, 255, 0.04);
  box-shadow: 0 0 0 4px rgba(164, 75, 255, 0.12);
}

.amount-input input {
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
  font-weight: 800; letter-spacing: -0.3px; color: #ffffff;
}
.amount-input input::placeholder { color: #4a5165; font-weight: 600; }

.stat-more {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.3px;
  background: linear-gradient(135deg, #b9a8ff, #2ea8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: filter 0.2s;
}
.stat-more:hover { filter: brightness(1.2); text-decoration: none; }

.ws-value,
.portfolio-total,
.portfolio-pct,
.asset-amount,
.asset-usd,
.asset-pct,
.info-row b,
.amount-input input,
#availBalance,
#totalAmount,
#wdRate,
#depBalance {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

.dep-body input::placeholder { color: #4a5165; font-weight: 500; }

.btn-convert,
.btn-convert.btn-convert-mode,
.btn-convert.btn-verify-mode,
.btn-convert.btn-limit-mode,
.btn-convert.green {
  background: linear-gradient(135deg,
    #ff8a2b 0%, #ff3d8a 35%, #a44bff 65%, #2ea8ff 100%) !important;
  background-size: 200% 200% !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 26px rgba(164, 75, 255, 0.45),
              0 0 0 1px rgba(255, 255, 255, 0.08) inset !important;
  position: relative; overflow: hidden;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase;
  transition: transform 0.25s, box-shadow 0.25s, background-position 0.6s;
  animation: axisBtnFlow 6s ease infinite;
}
@keyframes axisBtnFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.btn-convert::before,
.btn-convert.btn-convert-mode::before,
.btn-convert.btn-verify-mode::before,
.btn-convert.btn-limit-mode::before,
.btn-convert.green::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.7s;
}
.btn-convert:hover,
.btn-convert.btn-convert-mode:hover,
.btn-convert.btn-verify-mode:hover,
.btn-convert.btn-limit-mode:hover,
.btn-convert.green:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(164, 75, 255, 0.6),
              0 0 0 1px rgba(255, 255, 255, 0.12) inset !important;
  filter: none;
}
.btn-convert:hover::before,
.btn-convert.btn-convert-mode:hover::before,
.btn-convert.btn-verify-mode:hover::before,
.btn-convert.btn-limit-mode:hover::before,
.btn-convert.green:hover::before { left: 100%; }
.btn-convert:active { transform: translateY(0) scale(0.99); }

.wd-pay-btn,
.cv-action-btn,
.vf-action-btn,
.lm-action-btn,
.wd-pay-btn.wd-pay-success {
  background: linear-gradient(135deg,
    #ff8a2b 0%, #ff3d8a 35%, #a44bff 65%, #2ea8ff 100%) !important;
  background-size: 200% 200% !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 12px 34px rgba(164, 75, 255, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.08) inset !important;
  position: relative; overflow: hidden;
  font-weight: 900 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase;
  transition: transform 0.25s, box-shadow 0.25s, background-position 0.6s;
  animation: axisBtnFlow 6s ease infinite;
}
.wd-pay-btn::before,
.cv-action-btn::before,
.vf-action-btn::before,
.lm-action-btn::before,
.wd-pay-btn.wd-pay-success::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.7s;
}
.wd-pay-btn:hover,
.cv-action-btn:hover,
.vf-action-btn:hover,
.lm-action-btn:hover,
.wd-pay-btn.wd-pay-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(164, 75, 255, 0.65),
              0 0 0 1px rgba(255, 255, 255, 0.12) inset !important;
  filter: none; color: #fff !important;
}
.wd-pay-btn:hover::before,
.cv-action-btn:hover::before,
.vf-action-btn:hover::before,
.lm-action-btn:hover::before,
.wd-pay-btn.wd-pay-success:hover::before { left: 100%; }
.wd-pay-btn:active,
.cv-action-btn:active,
.vf-action-btn:active,
.lm-action-btn:active { transform: translateY(0) scale(0.99); }

.max-btn {
  background: linear-gradient(135deg,
    rgba(164, 75, 255, 0.2), rgba(46, 168, 255, 0.2)) !important;
  border: 1px solid rgba(164, 75, 255, 0.45) !important;
  color: #c8b5ff !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px;
  transition: 0.2s;
}
.max-btn:hover {
  background: linear-gradient(135deg,
    rgba(164, 75, 255, 0.35), rgba(46, 168, 255, 0.35)) !important;
  color: #ffffff !important;
  border-color: rgba(164, 75, 255, 0.7) !important;
  box-shadow: 0 0 16px rgba(164, 75, 255, 0.35);
  filter: none !important;
}

.btn-apply {
  background: linear-gradient(135deg,
    #ff8a2b 0%, #ff3d8a 35%, #a44bff 65%, #2ea8ff 100%) !important;
  background-size: 200% 200% !important;
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px;
  box-shadow: 0 8px 24px rgba(164, 75, 255, 0.45) !important;
  transition: transform 0.2s, box-shadow 0.25s;
  animation: axisBtnFlow 6s ease infinite;
}
.btn-apply:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(164, 75, 255, 0.6) !important;
  filter: none !important;
}

.big-chart { position: relative; }
#axisDot {
  filter: drop-shadow(0 0 10px rgba(164, 75, 255, 0.9));
  transition: opacity 0.15s;
}
#axisVLine { transition: opacity 0.15s; }

.axis-chart-tooltip {
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 22px));
  padding: 11px 16px;
  background: linear-gradient(135deg, #1a1f33 0%, #131826 100%);
  border: 1px solid rgba(164, 75, 255, 0.55);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7),
              0 0 24px rgba(164, 75, 255, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  transition: opacity 0.18s ease;
  z-index: 15;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  backdrop-filter: blur(6px);
}
.axis-chart-tooltip::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -6px;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: linear-gradient(135deg, #1a1f33, #131826);
  border-right: 1px solid rgba(164, 75, 255, 0.55);
  border-bottom: 1px solid rgba(164, 75, 255, 0.55);
}
.axis-chart-tooltip.show { opacity: 1; }
.axis-chart-tooltip .act-val {
  font-size: 14.5px; font-weight: 900;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.2px; margin-bottom: 3px;
  background: linear-gradient(135deg, #ffffff 0%, #c8b5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.axis-chart-tooltip .act-time {
  font-size: 10.5px; color: #8b93a7; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase;
}

.content {
  overflow: hidden !important;
  padding: 18px 22px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}
.welcome-card {
  padding: 16px 22px !important;
  margin-bottom: 0 !important;
  flex-shrink: 0;
  border-radius: 14px;
}
.welcome-card h2 { font-size: 22px !important; margin-bottom: 3px; }
.welcome-card > .muted { font-size: 12.5px !important; margin-bottom: 12px !important; }
.welcome-stats { gap: 10px !important; }
.ws-item { padding: 11px 14px !important; border-radius: 10px; }
.ws-label { font-size: 10.5px !important; letter-spacing: 1px; margin-bottom: 5px; }
.ws-value { font-size: 18px !important; margin-bottom: 2px; }
.ws-hint { font-size: 10.5px !important; }

.dash-grid {
  flex: 1;
  min-height: 0;
  align-items: stretch !important;
  gap: 14px !important;
}
.dash-left,
.dash-right {
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 14px !important;
}
.panel { padding: 16px 20px !important; border-radius: 14px; }
.dash-left > .panel:first-child {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.dash-left > .panel:first-child .big-chart {
  flex: 1 1 auto;
  min-height: 140px;
  height: auto !important;
  margin-top: 4px;
}
.dash-left > .panel:last-child { flex: 0 0 auto; }
.dash-right .panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.panel-head { margin-bottom: 10px !important; flex-shrink: 0; }
.portfolio-total { font-size: 28px !important; margin-bottom: 3px; }
.portfolio-pct { font-size: 12.5px !important; margin-bottom: 6px; }
.range-tabs button { padding: 5px 11px !important; font-size: 11.5px !important; }
.big-chart { width: 100%; min-height: 140px; }
.big-chart svg { width: 100%; height: 100%; display: block; }
.asset-row { padding: 10px 0 !important; gap: 12px !important; }
.asset-icon { width: 34px !important; height: 34px !important; font-size: 14px !important; }
.asset-name { font-size: 13px !important; }
.asset-amount { font-size: 12.5px !important; }

.deposit-tabs { flex-shrink: 0; }
.dep-tab { padding: 11px !important; font-size: 12.5px !important; }
.dep-body {
  padding: 16px 18px !important;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #2a3140 transparent;
}
.dep-body::-webkit-scrollbar { width: 6px; }
.dep-body::-webkit-scrollbar-thumb { background: #2a3140; border-radius: 3px; }
.dep-title { font-size: 13px !important; margin-bottom: 3px; }
.muted.small { font-size: 11.5px !important; margin-bottom: 12px !important; }
.amount-input { margin-bottom: 12px !important; }
.amount-input input { padding: 10px 0 !important; font-size: 16px !important; }
.info-row { padding: 8px 0 !important; font-size: 12.5px !important; }
.two-cols { gap: 8px !important; }
.dep-body label { margin-bottom: 9px !important; font-size: 11.5px !important; }
.dep-body input[type="text"],
.dep-body input[type="number"],
.dep-body select { padding: 9px 12px !important; font-size: 12.5px !important; }
.btn-convert { padding: 12px !important; font-size: 13px !important; margin-top: 6px !important; }

@media (max-height: 900px) {
  .content { padding: 14px 18px !important; gap: 12px !important; }
  .welcome-card { padding: 14px 18px !important; }
  .welcome-card h2 { font-size: 19px !important; }
  .welcome-card > .muted { margin-bottom: 10px !important; font-size: 12px !important; }
  .ws-item { padding: 10px 12px !important; }
  .ws-value { font-size: 16px !important; }
  .portfolio-total { font-size: 24px !important; }
  .panel { padding: 14px 16px !important; }
  .dep-body { padding: 14px 16px !important; }
  .dash-grid { gap: 12px !important; }
  .dash-left,
  .dash-right { gap: 12px !important; }
  .big-chart { min-height: 120px; }
}
@media (max-height: 780px) {
  .content { padding: 12px 16px !important; gap: 10px !important; }
  .welcome-card { padding: 12px 16px !important; }
  .welcome-card h2 { font-size: 17px !important; margin-bottom: 2px; }
  .welcome-card > .muted { margin-bottom: 8px !important; font-size: 11.5px !important; }
  .welcome-stats { gap: 8px !important; }
  .ws-item { padding: 8px 10px !important; }
  .ws-value { font-size: 15px !important; }
  .ws-label { font-size: 10px !important; }
  .portfolio-total { font-size: 22px !important; }
  .panel { padding: 12px 14px !important; }
  .dep-body { padding: 12px 14px !important; }
  .dash-grid { gap: 10px !important; }
  .dash-left,
  .dash-right { gap: 10px !important; }
  .big-chart { min-height: 100px; }
  .asset-row { padding: 8px 0 !important; }
}
@media (max-width: 1200px) {
  .content { overflow-y: auto !important; }
  .dash-grid { flex: 0 0 auto; }
  .dash-left,
  .dash-right { display: flex; flex-direction: column; }
  .dash-left > .panel:first-child,
  .dash-right .panel { flex: 0 0 auto; }
  .big-chart { height: 260px !important; }
}

/* ============================================================
   FIX: Account Number и Bank / Digital Wallet на одном уровне
   ============================================================ */

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}

.two-cols label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
  height: 100%;
}

.two-cols label > *:first-child,
.two-cols label > span:first-child,
.two-cols label {
  font-size: 11.5px;
  color: #8b93a7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.3;
  min-height: 2.6em;
  display: flex;
  align-items: flex-start;
}

.two-cols input,
.two-cols select,
.two-cols .admin-select {
  height: 42px;
  padding: 0 13px;
  display: flex;
  align-items: center;
}

.two-cols input[type="text"],
.two-cols input[type="number"] {
  padding: 11px 13px;
  height: 42px;
}
/* Скрыть демо-заметку в Deposit */
.dep-note {
  display: none !important;
}