/* 流量包状态列（环图）与基础服务配额说明（quota.css 拆分的 flow 部分） */
/* 流量包状态列（按服务组）：环图 + 剩余次数，剩余比例 ≤20% 标橙、扣完标红 */
.quota-table .flow-state { min-width: 200px; text-align: left; }

.flow-state-empty {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border: 1px dashed #cbd3de;
  border-radius: 999px;
  color: #9aa4b2;
  background: #fafbfd;
  font-size: 12px;
  white-space: nowrap;
}

.fp-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid #e7ebf1;
  border-radius: 8px;
  background: #fff;
}

.fp-card + .fp-card {
  margin-top: 8px;
}

.fp-name {
  color: #5f6b80;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.fp-main {
  display: flex;
  align-items: center;
  gap: 9px;
}

.fp-ring {
  width: 34px;
  height: 34px;
  flex: none;
  transform: rotate(-90deg);
}

.fp-ring-track {
  fill: none;
  stroke: #e8ecf2;
  stroke-width: 4.5;
}

.fp-ring-fill {
  fill: none;
  stroke: #29be7e;
  stroke-width: 4.5;
  stroke-linecap: round;
}

.fp-card.low .fp-ring-fill { stroke: #f5a623; }
.fp-card.empty .fp-ring-fill { stroke: #e5484d; }

.fp-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.fp-left {
  color: #1a7f37;
  font-size: 12px;
  white-space: nowrap;
}

.fp-card.low .fp-left { color: #b25e09; }
.fp-card.empty .fp-left { color: #e5484d; }

.fp-sub {
  color: #98a2b3;
  font-size: 11px;
  white-space: nowrap;
}

.global-tooltip {
  position: fixed;
  z-index: 50;
  width: max-content;
  max-width: min(340px, calc(100vw - 32px));
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  background: rgba(31, 35, 41, .94);
  box-shadow: 0 6px 20px rgba(15, 20, 30, .25);
  font-size: 12px;
  line-height: 1.6;
  pointer-events: none;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity .12s ease;
}

.global-tooltip.show { opacity: 1; }

/* ---------- 基础服务配额说明 ---------- */
.quota-price {
  width: min(1240px, 100%);
  margin: 22px auto 0;
  padding: 26px 28px 28px;
  border: 1px solid #e4e7ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 20, 30, .05);
}

.quota-price h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #1f2329;
  line-height: 1.3;
}

.quota-price-note {
  margin: 0 0 16px;
  color: #8a919f;
  font-size: 12px;
  line-height: 1.7;
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
}

.price-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
}

.price-table th,
.price-table td {
  padding: 12px 16px;
  border: 1px solid #e4e7ec;
  text-align: center;
  vertical-align: middle;
  line-height: 1.6;
}

.price-table thead th {
  color: #303746;
  background: #f7f8fb;
  font-weight: 700;
  white-space: nowrap;
}

.price-table tbody td:first-child {
  min-width: 230px;
  text-align: left;
}

.price-table tbody td:not(:first-child) {
  color: #1f2329;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.price-table tbody tr.hasbg td { background: #fafbfd; }

.price-item-title {
  color: #303746;
  font-weight: 600;
}

.price-item-title .service_list {
  display: flex;
  gap: 4px 8px;
  flex-wrap: wrap;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 400;
  color: #8a919f;
}

.price-item-title .service_list span {
  padding: 1px 8px;
  border-radius: 10px;
  background: #f1f4f8;
}

.quota-price-notes {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #8a919f;
  font-size: 12px;
  line-height: 1.9;
}

