/* Dashboard tab (admin) */

.dash-series {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}

.dash-series-btn {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(96, 100, 108, 0.22);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  color: var(--admin-text);
}

.dash-series-btn.is-on[data-ads-legend="ad_spend"] {
  border-color: rgba(11, 99, 255, 0.55);
  background: rgba(11, 99, 255, 0.10);
}

.dash-series-btn:not(.is-on) {
  opacity: 0.55;
}

.dash-tooltip .t-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: none;
}

.dash-tooltip .t-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex: 0 0 auto;
}

.dash-tooltip .t-val {
  font-weight: 500;
}

.dash-empty,
.dash-loading {
  margin-top: 10px;
  color: var(--admin-muted);
  font-size: 13px;
}

#dashDayDetailModal .modal-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#dashDayDetailModal .modal-body {
  min-height: 0;
  overflow-y: auto;
}

.dash-day-lv {
  min-height: 0;
  overflow-x: auto;
}

.dash-day-lv .lv-row > div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-day-lv .lv-head > div {
  color: var(--admin-muted);
  font-weight: 500;
  font-size: 13px;
}

.dash-day-lv .dash-day-row {
  cursor: default;
}

.dash-day-lv .dash-day-row-muted {
  background: #f7f7f8;
  color: var(--admin-muted);
}

.dash-day-lv .dash-day-row-muted .tag {
  opacity: 0.55;
  filter: saturate(0.6);
}

.dash-day-cell-right {
  text-align: right;
}
