.premium-dashboard {
  --app-sidebar-width: 280px;
  --app-header-height: 72px;
  --premium-bg: #050b1e;
  --premium-bg-soft: #08122b;
  --premium-panel: rgba(13, 24, 52, 0.78);
  --premium-panel-strong: rgba(14, 25, 54, 0.94);
  --premium-border: rgba(148, 163, 184, 0.18);
  --premium-border-strong: rgba(125, 156, 255, 0.28);
  --premium-text: #edf4ff;
  --premium-muted: #94a3bd;
  --premium-subtle: #667391;
  --premium-blue: #3b82f6;
  --premium-cyan: #22d3ee;
  --premium-violet: #8b5cf6;
  --premium-emerald: #22c55e;
  --premium-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  font-family: "Inter", "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.16), transparent 28%),
    linear-gradient(315deg, rgba(139, 92, 246, 0.14), transparent 32%),
    linear-gradient(180deg, #050b1e 0%, #07142d 48%, #050b1e 100%);
  color: var(--premium-text);
  min-height: 100vh;
  overflow-x: hidden;
}

html[data-app-sidebar="mini"] body.premium-dashboard {
  --app-sidebar-width: 84px;
}

html[data-app-sidebar="mini-hover"] body.premium-dashboard {
  --app-sidebar-width: 280px;
}

.premium-dashboard a {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.premium-dashboard .page-layout {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

.premium-dashboard .dashboard-wrapper {
  background: transparent;
  padding: 24px 22px 28px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.premium-dashboard .dashboard-container {
  max-width: 1500px;
  padding-left: 0;
  padding-right: 0;
  min-width: 0;
}

.premium-dashboard .dashboard-container > .row,
.premium-dashboard .dashboard-summary-grid,
.premium-dashboard .dashboard-widget-grid,
.premium-dashboard .dashboard-account-grid {
  margin-left: 0;
  margin-right: 0;
}

.premium-dashboard .dashboard-summary-grid {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

.premium-dashboard .dashboard-summary-grid > * {
  min-width: 0;
}

@media (min-width: 1200px) {
  .premium-dashboard .dashboard-wrapper {
    width: calc(100vw - var(--app-sidebar-width));
    max-width: calc(100vw - var(--app-sidebar-width));
  }

  .premium-dashboard .dashboard-container {
    max-width: 100%;
  }
}

.premium-dashboard .app-header {
  z-index: 1040;
  background: rgba(5, 11, 30, 0.84);
  border-bottom: 1px solid var(--premium-border);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.premium-dashboard .app-header-inner {
  min-width: 0;
  padding-right: 22px;
}

.premium-dashboard .app-header-end .vr {
  border-color: var(--premium-border);
  opacity: 1;
}

.premium-dashboard .app-header .dropdown > a {
  min-height: 48px;
  padding: 6px 8px 6px 14px !important;
  color: var(--premium-text);
  border: 1px solid transparent;
  border-radius: 999px;
}

.premium-dashboard .app-header .dropdown > a:hover,
.premium-dashboard .app-header .dropdown > a:focus {
  background: rgba(148, 163, 184, 0.1);
  border-color: var(--premium-border);
}

.premium-dashboard .app-header .text-dark {
  color: var(--premium-text) !important;
}

.premium-dashboard .app-header .text-body,
.premium-dashboard .dropdown-menu .text-body {
  color: var(--premium-muted) !important;
}

.premium-dashboard .app-header .avatar {
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.premium-dashboard .dropdown-menu {
  color: var(--premium-text);
  background: rgba(8, 18, 43, 0.98);
  border: 1px solid var(--premium-border);
  border-radius: 18px;
  box-shadow: var(--premium-shadow);
  backdrop-filter: blur(18px);
}

.premium-dashboard .dropdown-divider {
  border-top-color: var(--premium-border);
}

.premium-dashboard .dropdown-item {
  color: var(--premium-text);
  border-radius: 12px;
  margin: 2px 8px;
  width: auto;
}

.premium-dashboard .dropdown-item:hover,
.premium-dashboard .dropdown-item:focus {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.16);
}

.premium-dashboard .app-toggler {
  width: 44px;
  height: 44px;
  margin: 14px 16px;
  border: 1px solid var(--premium-border);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.premium-dashboard .app-toggler span {
  width: 18px;
  background-color: var(--premium-text);
}

.premium-dashboard .app-toggler:hover {
  border-color: var(--premium-border-strong);
  background: rgba(30, 41, 84, 0.86);
}

.premium-dashboard .app-toggler.active::after {
  z-index: 1042;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(5px);
}

.premium-dashboard .app-menubar {
  z-index: 1045;
  background:
    linear-gradient(180deg, rgba(7, 16, 39, 0.98), rgba(5, 11, 30, 0.98)),
    linear-gradient(90deg, rgba(59, 130, 246, 0.18), transparent);
  border-right: 1px solid var(--premium-border);
  box-shadow: 24px 0 60px rgba(0, 0, 0, 0.36);
}

.premium-dashboard .app-navbar-brand {
  background: transparent;
  border-right: 0;
  border-bottom: 1px solid var(--premium-border);
  padding: 16px 22px;
}

.premium-dashboard .navbar-brand-logo img {
  max-height: 42px;
  object-fit: contain;
}

.premium-dashboard .app-navbar {
  padding: 16px 14px;
}

.premium-dashboard .app-navbar .menubar {
  margin-bottom: 0;
}

.premium-dashboard .app-navbar .menubar .menu-heading {
  color: var(--premium-subtle);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 18px 12px 9px;
}

.premium-dashboard .app-navbar .menu-item .menu-link,
.premium-dashboard .app-navbar .menubar .menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 11px 13px;
  color: #cbd5e1;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 650;
}

.premium-dashboard .app-navbar .menu-item .menu-link > i {
  width: 22px;
  margin-right: 0;
  color: #7c8aa6;
  font-size: 18px;
  text-align: center;
}

.premium-dashboard .app-navbar .menubar > li.menu-item > .menu-link:hover,
.premium-dashboard .app-navbar .menubar > li.menu-item > .menu-link.active,
.premium-dashboard .app-navbar .menubar > li.menu-item > .menu-link.open {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.92), rgba(139, 92, 246, 0.86));
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 32px rgba(59, 130, 246, 0.24);
  transform: translateX(2px);
}

.premium-dashboard .app-navbar .menubar > li.menu-item > .menu-link:hover > i,
.premium-dashboard .app-navbar .menubar > li.menu-item > .menu-link.active > i,
.premium-dashboard .app-navbar .menubar > li.menu-item > .menu-link.open > i {
  color: #ffffff;
}

.premium-dashboard .app-footer {
  padding: 12px 14px 16px;
}

.premium-dashboard .btn-app-nav {
  min-height: 44px;
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 14px;
}

.premium-dashboard .dashboard-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  padding: 24px;
  color: var(--premium-text);
  background:
    linear-gradient(135deg, rgba(17, 34, 72, 0.92), rgba(8, 16, 38, 0.86)),
    linear-gradient(90deg, rgba(59, 130, 246, 0.18), rgba(139, 92, 246, 0.16));
  border: 1px solid var(--premium-border);
  border-radius: 28px;
  box-shadow: var(--premium-shadow);
}

.premium-dashboard .dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 100%);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.4), transparent 72%);
}

.premium-dashboard .dashboard-hero > * {
  position: relative;
  z-index: 1;
}

.premium-dashboard .dashboard-kicker {
  display: block;
  margin-bottom: 6px;
  color: #93c5fd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.premium-dashboard .app-page-title {
  margin-bottom: 6px;
  color: var(--premium-text);
  font-size: clamp(1.7rem, 2.8vw, 2.65rem);
  font-weight: 800;
  line-height: 1.08;
}

.premium-dashboard .dashboard-subtitle {
  color: var(--premium-muted);
  font-size: 0.96rem;
}

.premium-dashboard .dashboard-quick-actions .btn,
.premium-dashboard .section-heading .btn,
.premium-dashboard .investment-card .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 750;
}

.premium-dashboard .btn-primary {
  border-color: rgba(96, 165, 250, 0.62);
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.26);
}

.premium-dashboard .btn-primary:hover,
.premium-dashboard .btn-primary:focus {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.34);
}

.premium-dashboard .btn-outline-light {
  color: #dbeafe;
  border-color: var(--premium-border);
  background: rgba(255, 255, 255, 0.04);
}

.premium-dashboard .btn-outline-light:hover,
.premium-dashboard .btn-outline-light:focus {
  color: #ffffff;
  border-color: var(--premium-border-strong);
  background: rgba(59, 130, 246, 0.14);
  transform: translateY(-1px);
}

.premium-dashboard .summary-card,
.premium-dashboard .investment-card {
  overflow: hidden;
  color: var(--premium-text);
  background:
    linear-gradient(145deg, rgba(15, 28, 61, 0.86), rgba(8, 15, 36, 0.78)),
    rgba(15, 23, 42, 0.76);
  border: 1px solid var(--premium-border);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.premium-dashboard .summary-card:hover,
.premium-dashboard .investment-card:hover {
  border-color: var(--premium-border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  transform: translateY(-3px);
}

.premium-dashboard .summary-card::before,
.premium-dashboard .investment-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 38%);
}

.premium-dashboard .summary-card .card-body,
.premium-dashboard .investment-card .card-body {
  position: relative;
  z-index: 1;
  padding: 22px;
}

.premium-dashboard .summary-card .card-body {
  gap: 12px !important;
  padding-top: 18px;
  padding-bottom: 18px;
}

.premium-dashboard .summary-card {
  min-height: 112px;
}

.premium-dashboard .summary-icon,
.premium-dashboard .investment-icon,
.premium-dashboard .empty-icon {
  width: 52px;
  min-width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.92), rgba(139, 92, 246, 0.86));
  box-shadow: 0 16px 36px rgba(59, 130, 246, 0.2);
}

.premium-dashboard .summary-icon i,
.premium-dashboard .investment-icon i,
.premium-dashboard .empty-icon i {
  font-size: 20px;
}

.premium-dashboard .summary-card-violet .summary-icon {
  background: linear-gradient(135deg, #7c3aed, #c084fc);
}

.premium-dashboard .summary-card-cyan .summary-icon {
  background: linear-gradient(135deg, #0891b2, #22d3ee);
}

.premium-dashboard .summary-card-emerald .summary-icon {
  background: linear-gradient(135deg, #059669, #22c55e);
}

.premium-dashboard .summary-card-gold .summary-icon {
  background: linear-gradient(135deg, #d97706, #facc15);
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.2);
}

.premium-dashboard .summary-label {
  margin-bottom: 3px;
  color: var(--premium-muted);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.18;
}

.premium-dashboard .summary-value {
  margin: 0;
  overflow: hidden;
  color: var(--premium-text);
  font-size: clamp(1.2rem, 1.65vw, 1.55rem);
  font-weight: 800;
  line-height: 1.02;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-dashboard .section-heading {
  margin-top: 10px;
  margin-bottom: 2px;
}

.premium-dashboard .section-heading .card-title {
  color: var(--premium-text);
  font-size: 1.2rem;
  font-weight: 800;
}

.premium-dashboard .investment-card .card-body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.premium-dashboard .investment-title {
  margin-bottom: 4px;
  overflow: hidden;
  color: var(--premium-text);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-dashboard .investment-meta {
  color: var(--premium-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.premium-dashboard .investment-status-dot {
  width: 11px;
  min-width: 11px;
  height: 11px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--premium-emerald);
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.14);
}

.premium-dashboard .investment-amount-box {
  margin-bottom: 16px;
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.26);
}

.premium-dashboard .investment-amount-box span,
.premium-dashboard .investment-stats span {
  display: block;
  color: var(--premium-muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.premium-dashboard .investment-amount-box h4 {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: clamp(1.6rem, 4vw, 2.15rem);
  font-weight: 850;
  line-height: 1.08;
}

.premium-dashboard .investment-stats {
  margin-bottom: 16px;
  padding-top: 2px;
}

.premium-dashboard .investment-stats strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--premium-text);
  font-size: 0.95rem;
  font-weight: 800;
}

.premium-dashboard .btn-dashboard-state {
  margin-top: auto;
}

.premium-dashboard .investment-card .btn-success {
  border-color: rgba(34, 197, 94, 0.5);
  background: linear-gradient(135deg, #059669, #22c55e);
}

.premium-dashboard .investment-card .btn-secondary {
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(148, 163, 184, 0.14);
}

.premium-dashboard .investment-card .btn:hover,
.premium-dashboard .investment-card .btn:focus {
  transform: translateY(-1px);
}

.premium-deposit .deposit-workspace-grid {
  margin-bottom: 24px;
}

.premium-deposit .deposit-form {
  display: grid;
  gap: 16px;
}

.premium-deposit .deposit-field {
  display: grid;
  gap: 8px;
}

.premium-deposit .deposit-field label,
.premium-deposit .deposit-payment-details label {
  margin: 0;
  color: #a9b6d3;
  font-size: 0.78rem;
  font-weight: 800;
}

.premium-deposit .deposit-field small {
  color: var(--premium-muted);
  font-size: 0.74rem;
  font-weight: 650;
}

.premium-deposit .deposit-help-strong {
  color: #bfdbfe;
  font-weight: 900;
}

.premium-deposit .form-control,
.premium-deposit .form-select {
  min-height: 48px;
  color: #eef5ff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background-color: rgba(2, 6, 23, 0.35);
  font-weight: 750;
}

.premium-deposit .form-control:focus,
.premium-deposit .form-select:focus {
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.54);
  background-color: rgba(2, 6, 23, 0.46);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
}

.premium-deposit .form-control::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.premium-deposit .form-select option {
  color: #0f172a;
}

.premium-deposit .deposit-input-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.35);
}

.premium-deposit .deposit-input-shell .form-control {
  padding-right: 0;
  padding-left: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.premium-deposit input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.premium-deposit input[type="number"]::-webkit-inner-spin-button,
.premium-deposit input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.premium-deposit .deposit-payment-details {
  display: grid;
  gap: 12px;
}

.premium-deposit .deposit-payment-details:empty {
  display: none;
}

.premium-deposit .deposit-payment-details .mb-3 {
  margin: 0 !important;
}

.premium-deposit .deposit-method-loading,
.premium-deposit .deposit-payment-details .mb-3 {
  padding: 14px;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(124, 58, 237, 0.08)),
    rgba(2, 6, 23, 0.24);
}

.premium-deposit .deposit-payment-details .form-control {
  margin-top: 8px;
  min-height: 44px;
}

.premium-deposit .deposit-copy-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.premium-deposit .deposit-copy-field .form-control {
  margin-top: 0;
}

.premium-deposit .deposit-copy-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  color: #dbeafe;
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.12);
  font-size: 0.75rem;
  font-weight: 900;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.premium-deposit .deposit-copy-btn:hover,
.premium-deposit .deposit-copy-btn:focus {
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.52);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.86), rgba(124, 58, 237, 0.86));
  transform: translateY(-1px);
}

.premium-deposit .deposit-copy-btn.is-copied {
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.42);
  background: rgba(34, 197, 94, 0.14);
}

.premium-deposit .deposit-upload-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(124, 58, 237, 0.08)),
    rgba(2, 6, 23, 0.34);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.premium-deposit .deposit-upload-card:hover,
.premium-deposit .deposit-upload-card:focus-within,
.premium-deposit .deposit-upload-card.is-dragging {
  border-color: rgba(96, 165, 250, 0.58);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12), 0 18px 32px rgba(15, 23, 42, 0.28);
  transform: translateY(-1px);
}

.premium-deposit .deposit-upload-card.is-filled {
  border-color: rgba(34, 197, 94, 0.45);
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(59, 130, 246, 0.1)),
    rgba(2, 6, 23, 0.34);
}

.premium-deposit .deposit-upload-input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.premium-deposit .deposit-upload-label {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px 15px;
}

.premium-deposit .deposit-upload-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
}

.premium-deposit .deposit-upload-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.premium-deposit .deposit-upload-copy strong,
.premium-deposit .deposit-upload-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-deposit .deposit-upload-copy strong {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 850;
}

.premium-deposit .deposit-upload-copy span {
  color: var(--premium-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.premium-deposit .deposit-upload-card.is-filled .deposit-upload-copy span {
  color: #bbf7d0;
}

.premium-deposit .deposit-upload-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 900;
}

.premium-deposit .deposit-submit-btn {
  min-height: 50px;
  margin-top: 4px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  font-weight: 850;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.24);
}

.premium-deposit .deposit-count-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: #dbeafe;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.11);
  font-size: 0.74rem;
  font-weight: 850;
}

.premium-deposit .deposit-history-list {
  display: grid;
  gap: 10px;
}

.premium-deposit .deposit-history-row {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 15px;
  background: rgba(2, 6, 23, 0.26);
}

.premium-deposit .deposit-history-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 18px;
}

.premium-deposit .deposit-history-index {
  width: 40px;
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, #0891b2, #3b82f6);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.premium-deposit .deposit-history-main > div > strong,
.premium-deposit .deposit-history-main > div > span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-deposit .deposit-history-main > div > strong {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 850;
}

.premium-deposit .deposit-history-main > div > span {
  margin-top: 3px;
  color: var(--premium-muted);
  font-size: 0.76rem;
  font-weight: 400;
}

.premium-deposit .deposit-history-method {
  min-width: 0;
  align-self: stretch;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  padding: 0 18px;
  border-left: 1px solid rgba(148, 163, 184, 0.14);
  border-right: 1px solid rgba(148, 163, 184, 0.14);
  text-align: center;
}

.premium-deposit .deposit-history-method-name,
.premium-deposit .deposit-history-method-label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-deposit .deposit-history-method-label {
  color: #7dd3fc;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.premium-deposit .deposit-history-method-name {
  color: #dbeafe;
  font-size: 0.82rem;
  font-weight: 850;
}

.premium-withdraw .withdraw-account-detail {
  display: block;
  overflow: hidden;
  color: var(--premium-muted);
  font-size: 0.72rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-withdraw .withdraw-schedule-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: #bfdbfe;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.1);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.35;
}

.premium-withdraw .withdraw-schedule-note i {
  color: #7dd3fc;
}

.premium-deposit .deposit-history-side {
  min-width: 120px;
  align-self: stretch;
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 6px;
  padding-left: 18px;
}

.premium-deposit .deposit-history-side strong {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 850;
}

.premium-deposit .deposit-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
}

.premium-deposit .deposit-status.is-pending {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.15);
}

.premium-deposit .deposit-status.is-completed {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.15);
}

.premium-deposit .deposit-status.is-rejected {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.15);
}

.premium-deposit .deposit-empty-state {
  min-height: 150px;
}

@media (max-width: 767.98px) {
  .premium-deposit .deposit-copy-field {
    grid-template-columns: 1fr;
  }

  .premium-deposit .deposit-copy-btn {
    width: 100%;
  }

  .premium-deposit .deposit-upload-label {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .premium-deposit .deposit-upload-action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .premium-deposit .deposit-history-row {
    align-items: flex-start;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .premium-deposit .deposit-history-main {
    width: 100%;
    padding-right: 0;
  }

  .premium-deposit .deposit-history-method {
    width: 100%;
    padding: 12px 0 0;
    border-right: 0;
    border-left: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
  }

  .premium-deposit .deposit-history-side {
    min-width: 0;
    width: 100%;
    justify-items: start;
    padding: 12px 0 0;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
  }

  .premium-deposit .deposit-count-pill {
    width: 100%;
    justify-content: center;
  }
}

.premium-dashboard .dashboard-widget-grid {
  align-items: stretch;
}

.premium-dashboard .dashboard-transactions-column {
  align-self: flex-start;
}

.premium-dashboard .dashboard-accounts-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.premium-dashboard .dashboard-accounts-column .section-heading {
  margin: 0;
}

.premium-dashboard .dashboard-accounts-column .dashboard-account-grid {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
  margin-right: calc(var(--bs-gutter-x) * -0.5);
  margin-left: calc(var(--bs-gutter-x) * -0.5);
}

@media (min-width: 1200px) {
  .premium-dashboard .dashboard-accounts-column .investment-card .card-body {
    padding: 20px;
  }

  .premium-dashboard .dashboard-accounts-column .investment-title {
    font-size: 0.92rem;
  }

  .premium-dashboard .dashboard-accounts-column .investment-amount-box {
    margin-bottom: 14px;
    padding: 16px;
  }

  .premium-dashboard .dashboard-accounts-column .investment-amount-box h4 {
    font-size: clamp(1.45rem, 2vw, 1.9rem);
  }
}

.premium-dashboard .dashboard-panel {
  overflow: hidden;
  color: var(--premium-text);
  background:
    linear-gradient(145deg, rgba(15, 28, 61, 0.86), rgba(8, 15, 36, 0.78)),
    rgba(15, 23, 42, 0.76);
  border: 1px solid var(--premium-border);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.premium-dashboard .dashboard-panel:not(.h-100) {
  --bs-card-height: auto;
  height: auto;
}

.premium-dashboard .dashboard-panel:hover {
  border-color: var(--premium-border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  transform: translateY(-2px);
}

.premium-dashboard .dashboard-panel .card-body {
  position: relative;
  z-index: 1;
  padding: 22px;
}

.premium-dashboard .dashboard-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%);
}

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

.premium-dashboard .panel-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.2;
}

.premium-dashboard .panel-heading .btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 800;
}

.premium-dashboard .rank-progress-copy span,
.premium-dashboard .transaction-main span {
  color: var(--premium-muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.premium-dashboard .rank-progress-copy strong {
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 850;
  line-height: 1.16;
}

.premium-dashboard .profit-pool-panel {
  border-color: rgba(245, 158, 11, 0.24);
}

.premium-dashboard .pool-total {
  margin-bottom: 12px;
  padding: 18px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(217, 119, 6, 0.18), rgba(37, 99, 235, 0.08)),
    rgba(2, 6, 23, 0.28);
}

.premium-dashboard .pool-total span,
.premium-dashboard .pool-total small,
.premium-dashboard .pool-metric-grid span {
  display: block;
  color: var(--premium-muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.premium-dashboard .pool-total strong {
  display: block;
  margin-top: 8px;
  color: #fff7ed;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1;
  overflow-wrap: anywhere;
}

.premium-dashboard .pool-total small {
  margin-top: 8px;
  color: #c8b58b;
}

.premium-dashboard .pool-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.premium-dashboard .pool-metric-grid > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.36);
}

.premium-dashboard .pool-metric-grid strong {
  display: block;
  margin-top: 7px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.premium-dashboard .qualification-pill {
  padding: 8px 11px;
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  font-size: 0.76rem;
  font-weight: 850;
  white-space: nowrap;
}

.premium-dashboard .qualification-pill.is-qualified {
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.32);
  background: rgba(34, 197, 94, 0.12);
}

.premium-dashboard .premium-progress {
  height: 9px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.14);
  border-radius: 999px;
}

.premium-dashboard .premium-progress .progress-bar {
  background: linear-gradient(90deg, #22d3ee, #3b82f6, #8b5cf6);
  border-radius: inherit;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.4);
}

.premium-dashboard .analytics-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.28);
}

.premium-dashboard .earnings-tab {
  min-height: 34px;
  padding: 7px 13px;
  color: var(--premium-muted);
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 850;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.premium-dashboard .earnings-tab.active,
.premium-dashboard .earnings-tab:hover,
.premium-dashboard .earnings-tab:focus {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(124, 58, 237, 0.82));
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.premium-dashboard .analytics-panel .card-body {
  display: flex;
  flex-direction: column;
}

.premium-dashboard .dashboard-chart {
  flex: 1 1 auto;
  min-height: 370px;
}

.premium-dashboard .apexcharts-tooltip,
.premium-dashboard .apexcharts-tooltip-title {
  color: #e5edff !important;
  background: rgba(8, 18, 43, 0.98) !important;
  border-color: var(--premium-border) !important;
}

.premium-dashboard .transaction-list {
  display: grid;
  gap: 12px;
}

.premium-dashboard .transaction-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.22);
}

.premium-dashboard .transaction-icon {
  width: 42px;
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.premium-dashboard .transaction-icon-success { background: linear-gradient(135deg, #059669, #22c55e); }
.premium-dashboard .transaction-icon-violet { background: linear-gradient(135deg, #7c3aed, #c084fc); }
.premium-dashboard .transaction-icon-cyan { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.premium-dashboard .transaction-icon-warning { background: linear-gradient(135deg, #d97706, #fbbf24); }
.premium-dashboard .transaction-icon-pool { background: linear-gradient(135deg, #d97706, #facc15); }

.premium-dashboard .transaction-main {
  min-width: 0;
  flex: 1 1 auto;
}

.premium-dashboard .transaction-main strong {
  display: block;
  overflow: hidden;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-dashboard .transaction-main span {
  display: block;
  margin-top: 3px;
}

.premium-dashboard .transaction-side {
  min-width: 96px;
  text-align: right;
}

.premium-dashboard .transaction-side > strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 850;
}

.premium-dashboard .status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 850;
}

.premium-dashboard .status-completed {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.15);
}

.premium-dashboard .status-pending {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.15);
}

.premium-dashboard .status-failed {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.15);
}

.premium-dashboard .dashboard-mini-empty {
  min-height: 100px;
  display: grid;
  place-items: center;
  gap: 8px;
  color: var(--premium-muted);
  border: 1px dashed rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  text-align: center;
}

.premium-dashboard .dashboard-mini-empty i {
  color: #93c5fd;
  font-size: 22px;
}

.premium-dashboard .rank-progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.premium-dashboard .rank-progress-copy strong {
  text-align: right;
  font-size: 0.88rem;
}

.premium-dashboard .account-progress {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.premium-dashboard .account-progress span {
  color: var(--premium-muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.premium-dashboard .account-progress strong {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
}

.premium-dashboard .dashboard-empty-state {
  padding: 20px;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.2) !important;
  border-radius: 22px;
}

.premium-dashboard .dashboard-empty-state h6 {
  color: #fef3c7;
}

body.premium-dashboard .swal2-container {
  background: rgba(2, 6, 23, 0.72) !important;
  backdrop-filter: blur(10px);
}

body.premium-dashboard .swal2-popup.premium-swal-popup {
  width: min(92vw, 520px);
  padding: 30px;
  color: var(--premium-text);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(37, 99, 235, 0.14), rgba(124, 58, 237, 0.1)),
    rgba(8, 18, 43, 0.98);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52);
}

body.premium-dashboard .premium-swal-icon.swal2-icon {
  width: 72px;
  height: 72px;
  margin: 4px auto 18px;
  border-color: rgba(251, 191, 36, 0.62);
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  box-shadow: 0 0 0 8px rgba(251, 191, 36, 0.08);
}

body.premium-dashboard .premium-swal-icon.swal2-warning {
  border-color: rgba(251, 191, 36, 0.62);
  color: #fbbf24;
}

body.premium-dashboard .premium-swal-title {
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: 0;
}

body.premium-dashboard .premium-swal-html {
  margin: 12px 0 0 !important;
  padding: 0 !important;
}

body.premium-dashboard .premium-swal-message {
  margin: 0;
  color: #b8c5dd;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.55;
}

body.premium-dashboard .premium-swal-actions {
  gap: 10px;
  margin-top: 24px;
}

body.premium-dashboard .premium-swal-confirm,
body.premium-dashboard .premium-swal-cancel {
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 0.84rem;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

body.premium-dashboard .premium-swal-confirm {
  color: #ffffff;
  border: 1px solid rgba(34, 197, 94, 0.52);
  background: linear-gradient(135deg, #059669, #22c55e);
  box-shadow: 0 14px 32px rgba(34, 197, 94, 0.2);
}

body.premium-dashboard .premium-swal-cancel {
  color: #dbeafe;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.78);
}

body.premium-dashboard .premium-swal-confirm:hover,
body.premium-dashboard .premium-swal-confirm:focus,
body.premium-dashboard .premium-swal-cancel:hover,
body.premium-dashboard .premium-swal-cancel:focus {
  transform: translateY(-1px);
}

body.premium-dashboard .premium-swal-confirm:hover,
body.premium-dashboard .premium-swal-confirm:focus {
  box-shadow: 0 18px 38px rgba(34, 197, 94, 0.28);
}

body.premium-dashboard .premium-swal-cancel:hover,
body.premium-dashboard .premium-swal-cancel:focus {
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.34);
  background: rgba(59, 130, 246, 0.18);
}

.premium-dashboard .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.premium-dashboard .table {
  min-width: 720px;
}

.premium-dashboard .footer-wrapper {
  color: var(--premium-muted);
  background: rgba(5, 11, 30, 0.86) !important;
  border-top: 1px solid var(--premium-border);
}

.premium-dashboard .footer-wrapper .text-body {
  color: var(--premium-muted) !important;
}

.premium-dashboard .footer-wrapper a:hover {
  color: #ffffff !important;
}

.premium-dashboard .mobile-bottom-nav {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 1030;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 8px;
  background: rgba(6, 13, 31, 0.92);
  border: 1px solid var(--premium-border);
  border-radius: 22px;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
}

.premium-dashboard .mobile-bottom-nav a {
  min-width: 0;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--premium-muted);
  border-radius: 16px;
  font-size: 0.68rem;
  font-weight: 750;
}

.premium-dashboard .mobile-bottom-nav i {
  font-size: 16px;
}

.premium-dashboard .mobile-bottom-nav a.active,
.premium-dashboard .mobile-bottom-nav a:hover,
.premium-dashboard .mobile-bottom-nav a:focus {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(124, 58, 237, 0.82));
}

@media (max-width: 1199.98px) {
  .premium-dashboard {
    --app-sidebar-width: 280px;
  }

  .premium-dashboard .dashboard-wrapper {
    padding: 20px 16px 110px;
  }

  .premium-dashboard .app-menubar {
    top: 12px;
    left: -320px;
    width: min(280px, calc(100vw - 24px));
    height: calc(100vh - 24px);
    border: 1px solid var(--premium-border);
    border-radius: 24px;
    overflow: hidden;
  }

  .premium-dashboard .app-menubar.open {
    left: 12px;
  }

  body.premium-dashboard #appMenubar.open {
    left: 12px !important;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .premium-dashboard .app-navbar-brand,
  .premium-dashboard .app-navbar {
    width: 100%;
    min-width: 0;
  }

  .premium-dashboard .app-header-inner {
    padding-right: 14px;
  }

  .premium-dashboard .app-header-end .vr {
    display: none;
  }

  .premium-dashboard .footer-wrapper {
    padding-bottom: 92px;
  }

  .premium-dashboard .dashboard-chart {
    min-height: 320px;
  }

}

@media (max-width: 767.98px) {
  .premium-dashboard {
    --app-header-height: 66px;
  }

  .premium-dashboard .dashboard-wrapper {
    padding: 16px 12px 108px;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .premium-dashboard .dashboard-container,
  .premium-dashboard .dashboard-hero,
  .premium-dashboard .summary-card,
  .premium-dashboard .dashboard-panel,
  .premium-dashboard .investment-card {
    max-width: 100%;
  }

  .premium-dashboard .dashboard-hero {
    padding: 20px;
    border-radius: 22px;
  }

  .premium-dashboard .dashboard-quick-actions {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-dashboard .dashboard-quick-actions .btn {
    min-width: 0;
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
    white-space: nowrap;
  }

  .premium-dashboard .summary-card .card-body,
  .premium-dashboard .investment-card .card-body {
    padding: 18px;
  }

  .premium-dashboard .section-heading .btn {
    width: 100%;
  }

  .premium-dashboard .investment-title {
    white-space: normal;
  }

  .premium-dashboard .dashboard-panel .card-body {
    padding: 18px;
  }

  .premium-dashboard .panel-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .premium-dashboard .panel-heading .btn {
    width: 100%;
  }

  .premium-dashboard .pool-metric-grid {
    grid-template-columns: 1fr;
  }

  .premium-dashboard .analytics-tabs {
    width: 100%;
    justify-content: space-between;
    border-radius: 16px;
  }

  .premium-dashboard .earnings-tab {
    flex: 1 1 0;
  }

  .premium-dashboard .dashboard-chart {
    min-height: 260px;
  }

  .premium-dashboard .transaction-row {
    align-items: flex-start;
  }

  .premium-dashboard .transaction-side {
    min-width: 86px;
  }

  .premium-dashboard .rank-progress-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .premium-dashboard .rank-progress-copy strong {
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .premium-dashboard .app-toggler {
    width: 42px;
    height: 42px;
    margin: 12px;
  }

  .premium-dashboard .app-header .dropdown > a {
    padding: 5px !important;
  }

  .premium-dashboard .app-page-title {
    font-size: 1.55rem;
  }

  .premium-dashboard .summary-card {
    min-height: 108px;
  }

  .premium-dashboard .summary-icon,
  .premium-dashboard .investment-icon,
  .premium-dashboard .empty-icon {
    width: 46px;
    min-width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .premium-dashboard .mobile-bottom-nav {
    right: 10px;
    bottom: 10px;
    left: 10px;
    border-radius: 20px;
  }

  .premium-dashboard .mobile-bottom-nav a {
    min-height: 50px;
    font-size: 0.62rem;
  }

  .premium-dashboard .dashboard-quick-actions {
    grid-template-columns: 1fr;
  }

  .premium-dashboard .dashboard-container {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin-right: auto;
    margin-left: auto;
  }

  .premium-dashboard .panel-title {
    font-size: 1rem;
  }

  .premium-dashboard .dashboard-chart {
    min-height: 238px;
  }

  .premium-dashboard .transaction-row {
    border-radius: 14px;
  }

  .premium-dashboard .transaction-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .premium-dashboard .transaction-side {
    grid-column: 2;
    min-width: 0;
    text-align: left;
  }

}

.premium-history .history-overview-grid {
  margin-bottom: 18px;
}

.premium-history .history-panel {
  margin-bottom: 24px;
}

.premium-history .history-filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(220px, 0.9fr) minmax(180px, 240px);
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.09), rgba(139, 92, 246, 0.08)),
    rgba(2, 6, 23, 0.24);
}

.premium-history .history-date-control {
  position: relative;
  display: flex;
  align-items: center;
}

.premium-history .history-search-control {
  position: relative;
  display: flex;
  align-items: center;
}

.premium-history .history-search-control > i {
  position: absolute;
  left: 16px;
  z-index: 2;
  color: #93c5fd;
  font-size: 14px;
  pointer-events: none;
}

.premium-history .history-search-control .form-control {
  padding-left: 44px;
}

.premium-history .history-date-control > i {
  position: absolute;
  left: 16px;
  z-index: 2;
  color: #93c5fd;
  font-size: 15px;
  pointer-events: none;
}

.premium-history .history-date-control .form-control {
  padding-right: 86px;
  padding-left: 44px;
  color-scheme: dark;
}

.premium-history .history-date-control .form-control::-webkit-calendar-picker-indicator {
  width: 18px;
  height: 18px;
  opacity: 0;
  cursor: pointer;
}

.premium-history .history-date-clear,
.premium-history .history-date-picker {
  position: absolute;
  z-index: 3;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--premium-muted);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  opacity: 0.86;
}

.premium-history .history-date-clear {
  right: 46px;
}

.premium-history .history-date-picker {
  right: 12px;
  color: #bfdbfe;
}

.premium-history .history-date-clear:hover,
.premium-history .history-date-clear:focus,
.premium-history .history-date-picker:hover,
.premium-history .history-date-picker:focus {
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(59, 130, 246, 0.22);
}

.premium-history-calendar.flatpickr-calendar {
  overflow: hidden;
  width: 318px;
  color: var(--premium-text);
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(15, 28, 61, 0.98), rgba(8, 15, 36, 0.96)),
    rgba(15, 23, 42, 0.96);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.premium-history-calendar.flatpickr-calendar::before,
.premium-history-calendar.flatpickr-calendar::after {
  display: none;
}

.premium-history-calendar .flatpickr-months {
  padding: 10px 10px 2px;
}

.premium-history-calendar .flatpickr-month,
.premium-history-calendar .flatpickr-current-month .flatpickr-monthDropdown-months,
.premium-history-calendar .numInputWrapper input {
  color: #ffffff;
  fill: #ffffff;
}

.premium-history-calendar .flatpickr-current-month .flatpickr-monthDropdown-months,
.premium-history-calendar .numInputWrapper input {
  font-weight: 850;
}

.premium-history-calendar .flatpickr-prev-month,
.premium-history-calendar .flatpickr-next-month {
  top: 12px;
  width: 34px;
  height: 34px;
  color: #bfdbfe;
  border: 1px solid rgba(96, 165, 250, 0.16);
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.12);
}

.premium-history-calendar .flatpickr-prev-month:hover,
.premium-history-calendar .flatpickr-next-month:hover {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.24);
}

.premium-history-calendar .flatpickr-weekdays {
  padding: 8px 10px 0;
}

.premium-history-calendar span.flatpickr-weekday {
  color: #93c5fd;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.premium-history-calendar .flatpickr-days {
  width: 318px;
  padding: 8px 10px 12px;
}

.premium-history-calendar .dayContainer {
  width: 298px;
  min-width: 298px;
  max-width: 298px;
}

.premium-history-calendar .flatpickr-day {
  max-width: 40px;
  height: 38px;
  color: #dbeafe;
  border: 0;
  border-radius: 12px;
  line-height: 38px;
}

.premium-history-calendar .flatpickr-day:hover,
.premium-history-calendar .flatpickr-day:focus {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.2);
}

.premium-history-calendar .flatpickr-day.today {
  color: #ffffff;
  border: 1px solid rgba(147, 197, 253, 0.5);
  background: rgba(59, 130, 246, 0.12);
}

.premium-history-calendar .flatpickr-day.selected,
.premium-history-calendar .flatpickr-day.startRange,
.premium-history-calendar .flatpickr-day.endRange {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.32);
}

.premium-history-calendar .flatpickr-day.flatpickr-disabled,
.premium-history-calendar .flatpickr-day.prevMonthDay,
.premium-history-calendar .flatpickr-day.nextMonthDay {
  color: rgba(148, 163, 184, 0.42);
}

.premium-history .history-table-shell {
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.2);
  -webkit-overflow-scrolling: touch;
}

.premium-history .history-table {
  width: 100%;
  min-width: 860px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.premium-history .history-table th {
  padding: 14px 16px;
  color: #93c5fd;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.52);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.premium-history .history-table td {
  padding: 15px 16px;
  color: var(--premium-text);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  vertical-align: middle;
}

.premium-history .history-table tbody tr {
  transition: background-color 0.18s ease;
}

.premium-history .history-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.08);
}

.premium-history .history-table tbody tr:last-child td {
  border-bottom: 0;
}

.premium-history .history-row.is-hidden {
  display: none;
}

.premium-history .history-type-cell {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.premium-history .history-type-cell .transaction-icon {
  width: 38px;
  min-width: 38px;
  height: 38px;
  border-radius: 13px;
}

.premium-history .history-type-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.premium-history .history-type-copy strong,
.premium-history .history-type-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-history .history-type-copy strong {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 850;
}

.premium-history .history-type-copy span,
.premium-history .history-date,
.premium-history .history-tx {
  color: var(--premium-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.premium-history .history-wallet-tag {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  color: #dbeafe;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.11);
  font-size: 0.7rem;
  font-weight: 850;
  white-space: nowrap;
}

.premium-history .history-amount-cell {
  text-align: right;
}

.premium-history .history-amount-cell strong {
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
}

.premium-history .history-filter-empty {
  margin-top: 12px;
}

@media (max-width: 991.98px) {
  .premium-history .history-filter-bar {
    grid-template-columns: 1fr 1fr;
  }

  .premium-history .history-filter-bar .deposit-field:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .premium-history .history-filter-bar {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .premium-history .history-filter-bar .deposit-field:first-child {
    grid-column: auto;
  }

  .premium-history .history-table {
    min-width: 760px;
  }

  .premium-history .history-table th,
  .premium-history .history-table td {
    padding: 12px;
  }
}

.premium-accounts .accounts-panel {
  margin-bottom: 24px;
}

.premium-accounts .accounts-filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, auto) minmax(280px, 1fr);
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.09), rgba(139, 92, 246, 0.08)),
    rgba(2, 6, 23, 0.24);
}

.premium-accounts .accounts-status-tabs {
  min-height: 48px;
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.24);
}

.premium-accounts .accounts-status-tabs a {
  min-width: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: var(--premium-muted);
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.premium-accounts .accounts-status-tabs a:hover,
.premium-accounts .accounts-status-tabs a:focus,
.premium-accounts .accounts-status-tabs a.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(124, 58, 237, 0.82));
}

.premium-accounts .accounts-search-control {
  position: relative;
  display: flex;
  align-items: center;
}

.premium-accounts .accounts-search-control > i {
  position: absolute;
  left: 16px;
  z-index: 2;
  color: #93c5fd;
  font-size: 14px;
  pointer-events: none;
}

.premium-accounts .accounts-search-control .form-control {
  padding-left: 44px;
}

.premium-accounts .accounts-table-shell {
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.2);
  -webkit-overflow-scrolling: touch;
}

.premium-accounts .accounts-table {
  width: 100%;
  min-width: 1040px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.premium-accounts .accounts-table th {
  padding: 14px 16px;
  color: #93c5fd;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.52);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.premium-accounts .accounts-table td {
  padding: 15px 16px;
  color: var(--premium-text);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  vertical-align: middle;
}

.premium-accounts .accounts-table tbody tr {
  transition: background-color 0.18s ease;
}

.premium-accounts .accounts-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.08);
}

.premium-accounts .accounts-table tbody tr:last-child td {
  border-bottom: 0;
}

.premium-accounts [data-account-row].is-hidden {
  display: none;
}

.premium-accounts .accounts-main-cell {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.premium-accounts .accounts-icon {
  width: 38px;
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 13px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.premium-accounts .accounts-main-cell span:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.premium-accounts .accounts-main-cell strong,
.premium-accounts .accounts-main-cell small,
.premium-accounts .accounts-package,
.premium-accounts .accounts-date {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-accounts .accounts-main-cell strong,
.premium-accounts .accounts-amount-cell strong {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 900;
}

.premium-accounts .accounts-main-cell small,
.premium-accounts .accounts-date {
  color: var(--premium-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.premium-accounts .accounts-package {
  color: #dbeafe;
  font-size: 0.82rem;
  font-weight: 850;
}

.premium-accounts .accounts-amount-cell {
  text-align: right;
}

.premium-accounts .accounts-amount-cell strong {
  white-space: nowrap;
}

.premium-accounts .accounts-progress {
  min-width: 112px;
  display: grid;
  gap: 7px;
}

.premium-accounts .accounts-progress .progress {
  height: 8px;
  margin: 0;
}

.premium-accounts .accounts-progress span {
  color: var(--premium-muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.premium-accounts .accounts-filter-empty {
  margin-top: 12px;
}

@media (max-width: 991.98px) {
  .premium-accounts .accounts-filter-bar {
    grid-template-columns: 1fr;
  }

  .premium-accounts .accounts-status-tabs {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .premium-accounts .accounts-filter-bar {
    padding: 12px;
  }

  .premium-accounts .accounts-status-tabs a {
    min-width: 0;
    padding-right: 8px;
    padding-left: 8px;
  }

  .premium-accounts .accounts-table {
    min-width: 920px;
  }

  .premium-accounts .accounts-table th,
  .premium-accounts .accounts-table td {
    padding: 12px;
  }
}

.premium-referrals .referral-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 16px;
  margin-bottom: 24px;
}

.premium-referrals .referral-link-panel,
.premium-referrals .referral-recent-panel {
  min-width: 0;
}

.premium-referrals .referral-recent-panel {
  grid-column: 1 / -1;
}

.premium-referrals .referral-link-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.09), rgba(139, 92, 246, 0.08)),
    rgba(2, 6, 23, 0.24);
}

.premium-referrals .referral-mark {
  width: 58px;
  min-width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 20px;
  background: linear-gradient(135deg, #059669, #22c55e);
  box-shadow: 0 16px 36px rgba(34, 197, 94, 0.18);
}

.premium-referrals .referral-mark i {
  font-size: 22px;
}

.premium-referrals .referral-copy-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.premium-referrals .referral-copy-control .form-control {
  min-width: 0;
}

.premium-referrals .referral-copy-btn {
  min-width: 102px;
}

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

.premium-referrals .referral-action-grid .btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 850;
}

.premium-referrals .referral-stat-list {
  display: grid;
  gap: 10px;
}

.premium-referrals .referral-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.22);
}

.premium-referrals .referral-stat-row span {
  color: var(--premium-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.premium-referrals .referral-stat-row strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.premium-referrals .referral-stat-row.is-total {
  border-color: rgba(34, 197, 94, 0.22);
  background: rgba(34, 197, 94, 0.12);
}

.premium-referrals .referral-stat-row.is-total strong {
  color: #bbf7d0;
}

.premium-referrals .referral-recent-list {
  display: grid;
  gap: 10px;
}

.premium-referrals .referral-recent-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.22);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.premium-referrals .referral-recent-row:hover {
  border-color: rgba(96, 165, 250, 0.28);
  background: rgba(59, 130, 246, 0.08);
}

.premium-referrals .referral-avatar {
  width: 40px;
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  font-size: 0.88rem;
  font-weight: 900;
}

.premium-referrals .referral-recent-main {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.premium-referrals .referral-recent-main strong,
.premium-referrals .referral-recent-main span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-referrals .referral-recent-main strong {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 900;
}

.premium-referrals .referral-recent-main span {
  color: var(--premium-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

@media (max-width: 1199.98px) {
  .premium-referrals .referral-workspace-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .premium-referrals .referral-link-box {
    grid-template-columns: 1fr;
  }

  .premium-referrals .referral-mark {
    width: 52px;
    min-width: 52px;
    height: 52px;
  }

  .premium-referrals .referral-copy-control,
  .premium-referrals .referral-action-grid {
    grid-template-columns: 1fr;
  }

  .premium-referrals .referral-copy-btn {
    width: 100%;
  }

  .premium-referrals .referral-recent-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .premium-referrals .referral-recent-row .status-badge {
    grid-column: 2;
    justify-self: start;
  }
}

.premium-referral-list .referrals-panel {
  margin-bottom: 24px;
}

.premium-referral-list .referrals-heading-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.premium-referral-list .referrals-filter-bar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(180px, 240px);
  align-items: end;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.36);
}

.premium-referral-list .referrals-search-control {
  position: relative;
  display: flex;
  align-items: center;
}

.premium-referral-list .referrals-search-control > i {
  position: absolute;
  left: 16px;
  z-index: 2;
  color: #93c5fd;
  font-size: 0.88rem;
  pointer-events: none;
}

.premium-referral-list .referrals-search-control .form-control {
  padding-left: 44px;
}

.premium-referral-list .referrals-table-shell {
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.18);
}

.premium-referral-list .referrals-table {
  width: 100%;
  min-width: 760px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.premium-referral-list .referrals-table th {
  padding: 14px 16px;
  color: #93c5fd;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.28);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.premium-referral-list .referrals-table td {
  padding: 15px 16px;
  color: var(--premium-text);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  vertical-align: middle;
}

.premium-referral-list .referrals-table tbody tr {
  transition: background-color 0.18s ease;
}

.premium-referral-list .referrals-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.08);
}

.premium-referral-list .referrals-table tbody tr:last-child td {
  border-bottom: 0;
}

.premium-referral-list [data-referral-row].is-hidden {
  display: none;
}

.premium-referral-list .referrals-number-cell {
  width: 64px;
  color: var(--premium-muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.premium-referral-list .referrals-main-cell {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.premium-referral-list .referrals-main-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.premium-referral-list .referrals-main-copy strong,
.premium-referral-list .referrals-main-copy span,
.premium-referral-list .referrals-username,
.premium-referral-list .referrals-date,
.premium-referral-list .referrals-time {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-referral-list .referrals-main-copy strong,
.premium-referral-list .referrals-username {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 900;
}

.premium-referral-list .referrals-main-copy span,
.premium-referral-list .referrals-date,
.premium-referral-list .referrals-time {
  color: var(--premium-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.premium-referral-list .referrals-date {
  color: #dbeafe;
  font-weight: 850;
}

.premium-referral-list .referrals-filter-empty {
  margin-top: 12px;
}

@media (max-width: 991.98px) {
  .premium-referral-list .referrals-filter-bar {
    grid-template-columns: 1fr;
  }

  .premium-referral-list .referrals-heading-actions {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .premium-referral-list .referrals-heading-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .premium-referral-list .referrals-filter-bar {
    padding: 12px;
  }

  .premium-referral-list .referrals-table {
    min-width: 680px;
  }

  .premium-referral-list .referrals-table th,
  .premium-referral-list .referrals-table td {
    padding: 12px;
  }
}

.premium-auth .auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 18px;
}

.premium-auth .auth-layout {
  width: min(100%, 1040px);
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1fr);
  align-items: stretch;
  gap: 16px;
}

.premium-auth .auth-brand-panel {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
  color: var(--premium-text);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(37, 99, 235, 0.16), rgba(124, 58, 237, 0.1)),
    rgba(13, 24, 52, 0.62);
  box-shadow: var(--premium-shadow);
}

.premium-auth .auth-logo {
  width: min(240px, 72%);
  display: inline-flex;
  align-items: center;
}

.premium-auth .auth-logo img,
.premium-auth .auth-mobile-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.premium-auth .auth-brand-copy {
  display: grid;
  gap: 10px;
}

.premium-auth .auth-brand-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.98;
}

.premium-auth .auth-brand-copy p {
  max-width: 340px;
  margin: 0;
  color: var(--premium-muted);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.6;
}

.premium-auth .auth-form-panel {
  min-width: 0;
}

.premium-auth .auth-form-panel .card-body {
  padding: 28px;
}

.premium-auth .auth-card-layout,
.premium-auth .auth-register-layout {
  width: min(100%, 620px);
  grid-template-columns: 1fr;
}

.premium-auth .auth-card-brand {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
  padding: 26px;
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(37, 99, 235, 0.16), rgba(124, 58, 237, 0.12)),
    rgba(13, 24, 52, 0.72);
}

.premium-auth .auth-card-brand .auth-logo {
  width: min(250px, 72%);
}

.premium-auth .auth-card-brand .auth-brand-copy h1 {
  max-width: 360px;
  font-size: clamp(2rem, 5vw, 2.8rem);
  white-space: nowrap;
}

.premium-auth .auth-mobile-logo {
  width: 210px;
  max-width: 70%;
  display: none;
  margin-bottom: 18px;
}

.premium-auth .auth-form-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 20px;
}

.premium-auth .auth-form-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: 0;
}

.premium-auth .auth-form {
  display: grid;
  gap: 14px;
}

.premium-auth .auth-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.premium-auth .auth-field-grid .deposit-field.is-full {
  grid-column: 1 / -1;
}

.premium-auth .auth-input-control {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
}

.premium-auth .auth-input-control > i {
  position: absolute;
  left: 16px;
  z-index: 2;
  color: #93c5fd;
  font-size: 0.88rem;
  pointer-events: none;
}

.premium-auth .auth-input-control .form-control {
  min-height: 48px;
  padding-left: 44px;
  background-image: none !important;
}

.premium-auth .auth-password-control .form-control {
  padding-right: 54px;
}

.premium-auth .auth-password-toggle {
  position: absolute;
  right: 12px;
  z-index: 3;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #bfdbfe;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.5);
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.premium-auth .auth-password-toggle:hover,
.premium-auth .auth-password-toggle:focus {
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(59, 130, 246, 0.22);
}

.premium-auth .auth-input-control.is-valid .form-control {
  border-color: rgba(34, 197, 94, 0.58);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.premium-auth .auth-input-control.is-invalid .form-control {
  border-color: rgba(248, 113, 113, 0.7);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

.premium-auth .auth-input-control.is-checking .form-control {
  border-color: rgba(96, 165, 250, 0.46);
}

.premium-auth .auth-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.premium-auth .auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--premium-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.premium-auth .auth-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--premium-blue);
}

.premium-auth .auth-submit-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 900;
}

.premium-auth .auth-switch-copy {
  margin: 2px 0 0;
  color: var(--premium-muted);
  font-size: 0.84rem;
  font-weight: 750;
  text-align: center;
}

.premium-auth .auth-switch-copy a {
  color: #93c5fd;
  font-weight: 900;
}

.premium-auth .auth-divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.14);
}

.premium-auth .settings-validation-message {
  min-height: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--premium-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.premium-auth .settings-validation-message.is-valid {
  color: #22e184 !important;
}

.premium-auth .settings-validation-message.is-invalid {
  color: #ff3838 !important;
}

.premium-auth .settings-validation-message.is-checking {
  color: #93c5fd !important;
}

.premium-auth .alert {
  color: var(--premium-text);
  border: 1px solid rgba(248, 113, 113, 0.22) !important;
  border-radius: 16px;
  background: rgba(127, 29, 29, 0.28);
}

.premium-auth .alert.alert-success {
  border-color: rgba(34, 197, 94, 0.24) !important;
  background: rgba(20, 83, 45, 0.24);
}

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

  .premium-auth .auth-brand-panel {
    display: none;
  }

  .premium-auth .auth-mobile-logo {
    display: block;
  }

  .premium-auth .auth-card-layout,
  .premium-auth .auth-register-layout {
    max-width: 620px;
  }
}

@media (max-width: 575.98px) {
  .premium-auth .auth-shell {
    padding: 14px;
  }

  .premium-auth .auth-form-panel .card-body {
    padding: 20px;
  }

  .premium-auth .auth-card-brand {
    min-height: 250px;
    padding: 22px;
  }

  .premium-auth .auth-card-brand .auth-brand-copy h1 {
    font-size: clamp(1.2rem, 6vw, 2.25rem);
  }

  .premium-auth .auth-field-grid {
    grid-template-columns: 1fr;
  }
}

.premium-settings .settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  align-items: start;
  gap: 16px;
  margin-bottom: 24px;
}

.premium-settings .settings-form {
  display: grid;
  gap: 14px;
  max-width: 680px;
}

.premium-settings .settings-secure-badge {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.13);
  font-size: 0.76rem;
  font-weight: 900;
}

.premium-settings .settings-password-control {
  position: relative;
  display: flex;
  align-items: center;
}

.premium-settings .settings-password-control .form-control {
  padding-right: 54px;
  background-image: none !important;
}

.premium-settings .settings-password-control.is-valid .form-control {
  border-color: rgba(34, 197, 94, 0.58);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
  background-image: none !important;
}

.premium-settings .settings-password-control.is-invalid .form-control {
  border-color: rgba(248, 113, 113, 0.7);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
  background-image: none !important;
}

.premium-settings .settings-password-control.is-checking .form-control {
  border-color: rgba(96, 165, 250, 0.46);
}

.premium-settings .settings-password-toggle {
  position: absolute;
  right: 12px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #bfdbfe;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.5);
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.premium-settings .settings-password-toggle:hover,
.premium-settings .settings-password-toggle:focus {
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(59, 130, 246, 0.22);
}

.premium-settings .settings-validation-message {
  min-height: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--premium-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.premium-settings .settings-validation-message i,
.premium-settings .settings-validation-message span {
  color: inherit !important;
}

.premium-settings .settings-validation-message i {
  font-size: 0.88rem;
}

.premium-settings .settings-validation-message.is-valid {
  color: #22e184 !important;
}

.premium-settings .settings-validation-message.is-invalid {
  color: #ff3838 !important;
}

.premium-settings .settings-validation-message.is-checking {
  color: #93c5fd !important;
}

.premium-settings .settings-submit-btn {
  min-height: 48px;
  justify-self: start;
  padding-right: 20px;
  padding-left: 20px;
  border-radius: 14px;
  font-weight: 900;
}

@media (max-width: 991.98px) {
  .premium-settings .settings-grid {
    grid-template-columns: 1fr;
  }

  .premium-settings .settings-submit-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-dashboard *,
  .premium-dashboard *::before,
  .premium-dashboard *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
