.account-page-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.account-page-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.account-page-kicker {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
}

.account-tabs {
  display: flex;
  gap: 0.25rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  margin: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-tabs::-webkit-scrollbar {
  display: none;
}

.account-tab {
  flex-shrink: 0;
  border: 1px solid transparent;
  border-bottom: none;
  background: transparent;
  color: #9ca3af;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.6rem 0.9rem;
  border-radius: 10px 10px 0 0;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.account-tab:hover {
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.04);
}

.account-tab:focus-visible {
  outline: 2px solid rgba(52, 211, 153, 0.55);
  outline-offset: 2px;
}

.account-tab--active {
  color: #ecfdf5;
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(16, 185, 129, 0.14);
  box-shadow: inset 0 -2px 0 #34d399;
}

.account-page-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.account-card {
  border: 1px solid #1e2028;
  background: #16181d;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  border-radius: 0.75rem;
  padding: 1rem;
}

@media (min-width: 768px) {
  .account-card {
    padding: 1.25rem;
  }
}

.account-card-kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

.account-field-label {
  color: #94a3b8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.account-field-input {
  width: 100%;
  border: 1px solid #2a2d39;
  background: #0f1118;
  color: #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
}

.account-field-input:focus {
  border-color: rgba(16, 185, 129, 0.52);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}

.account-field-input[disabled] {
  opacity: 0.72;
  cursor: not-allowed;
}

.account-action-btn {
  border: 1px solid rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.28), rgba(5, 150, 105, 0.32));
  color: #dcfce7;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.account-muted-btn {
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.44);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.account-status-msg {
  font-size: 12px;
  color: #86efac;
  min-height: 1.125rem;
}

.account-stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

@media (min-width: 768px) {
  .account-stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.account-stat-tile {
  border: 1px solid #2a2d39;
  background: #0f1118;
  color: #e2e8f0;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font-size: 0.875rem;
}

.account-stat-tile .text-txt-2 {
  display: block;
  margin-bottom: 0.15rem;
}

.account-topup-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.account-topup-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.account-topup-preset {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.44);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.account-topup-preset--active {
  border-color: rgba(16, 185, 129, 0.55);
  background: rgba(16, 185, 129, 0.16);
  color: #a7f3d0;
}

.account-topup-method {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.44);
  color: #cbd5e1;
  border-radius: 0.65rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.account-topup-method--active {
  border-color: rgba(16, 185, 129, 0.55);
  background: rgba(16, 185, 129, 0.16);
  color: #a7f3d0;
}

.account-topup-input {
  width: 7rem;
  min-width: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.account-topup-input::-webkit-outer-spin-button,
.account-topup-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wallet-ledger-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: min(320px, 42vh);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.25rem;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(52, 211, 153, 0.42) rgba(4, 11, 8, 0.55);
}

.wallet-ledger-list::-webkit-scrollbar {
  width: 8px;
}

.wallet-ledger-list::-webkit-scrollbar-track {
  background: rgba(4, 11, 8, 0.55);
  border-radius: 999px;
}

.wallet-ledger-list::-webkit-scrollbar-thumb {
  background: rgba(52, 211, 153, 0.42);
  border-radius: 999px;
}

.wallet-ledger-list::-webkit-scrollbar-thumb:hover {
  background: rgba(52, 211, 153, 0.58);
}

.wallet-ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid #2a2d39;
  background: #0f1118;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
}

.wallet-ledger-reason {
  margin: 0;
  font-size: 0.8125rem;
  color: #e2e8f0;
  overflow-wrap: anywhere;
}

.wallet-ledger-date {
  margin: 0.15rem 0 0;
  font-size: 0.6875rem;
  color: #94a3b8;
}

.wallet-ledger-amt {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.wallet-ledger-amt--credit {
  color: #6ee7b7;
}

.wallet-ledger-amt--debit {
  color: #fca5a5;
}
