/* Account tabs on Home page */
.account-tabs-container {
  margin-top: 16px;
}

.account-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.account-tab-btn {
  border: none;
  background: transparent;
  padding: 10px 14px;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 14px;
  color: #444;
  white-space: nowrap;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.account-tab-btn.active {
  background: transparent;
  color: #1a73e8;
  border-bottom-color: #1a73e8;
  font-weight: 600;
}

.account-tab-btn:hover {
  background: rgba(26, 115, 232, 0.08);
}

.account-tab-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.35);
  border-radius: 8px;
}

/* nicer scrollbar for many accounts */
.account-tabs::-webkit-scrollbar {
  height: 6px;
}

.account-tabs::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}

.account-tabs::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

.account-panels .account-panel {
  display: none;
}

.account-panels .account-panel.active {
  display: block;
}

/* Keep tables readable inside panels */
.account-panel .table-scroll-container {
  margin-bottom: 12px;
}
