/* Add-on setup one time + tabel biaya pemakaian */
.addon-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 26px;
  align-items: start;
}

.setup-card {
  --accent: #1b5cff;
  --accent-2: #7ba4ff;
  --accent-soft: #eaf1ff;
  --accent-ink: #123a99;
  padding: 22px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 26px 55px -46px rgba(10, 34, 76, .55);
}
.setup-head { display: flex; gap: 12px; align-items: flex-start; }
.setup-head h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ink);
}
.setup-head h3 span {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: middle;
}
.setup-head p { margin-top: 3px; font-size: 11.5px; line-height: 1.5; color: var(--muted); }

.setup-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.setup-tier {
  display: grid;
  gap: 3px;
  padding: 10px 9px;
  border: 1.5px solid #e2e9f4;
  border-radius: 11px;
  background: #f8fafe;
  text-align: left;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.setup-tier strong { font-size: 11.5px; font-weight: 800; color: #16283f; letter-spacing: -.01em; }
.setup-tier span { font-size: 10.5px; font-weight: 700; color: #61738c; }
.setup-tier:hover { border-color: #b8cdf5; background: #f2f7ff; }
.setup-tier.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(27, 92, 255, .1);
}
.setup-tier.is-active span { color: var(--accent-ink); }

.setup-days {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 14px;
}
.setup-days-field { display: grid; gap: 5px; }
.setup-days-field > span {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #6c7d94;
}
.setup-days-field input {
  width: 92px;
  padding: 8px 10px;
  border: 1px solid #dbe4f0;
  border-radius: 9px;
  background: #fff;
  color: #11223b;
  font-size: 13px;
  font-weight: 700;
}
.setup-days-field input:focus { outline: 2px solid #d3e2ff; border-color: #a8c4f5; }
.setup-quick { display: flex; flex-wrap: wrap; gap: 5px; padding-bottom: 1px; }
.setup-chip {
  padding: 6px 9px;
  border: 1px solid #e0e8f5;
  border-radius: 999px;
  background: #f4f8fe;
  color: #4a5d78;
  font-size: 10.5px;
  font-weight: 700;
}
.setup-chip:hover { border-color: #b8cdf5; background: #eaf1ff; color: var(--accent-ink); }

.setup-calc {
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #f8fafe;
}
.setup-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  font-size: 11px;
  font-weight: 600;
  color: #53667f;
}
.setup-row span:last-child { font-weight: 800; color: #14243c; white-space: nowrap; }
.setup-row.is-empty { color: #8494aa; font-weight: 500; }
.setup-row.is-empty span:last-child { color: #8494aa; }
.setup-tier-desc { margin-top: 4px; font-size: 10px; line-height: 1.5; color: #7b8ba1; }

.setup-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}
.setup-total { display: grid; gap: 2px; }
.setup-total span { font-size: 9.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #74849b; }
.setup-total strong { font-size: 20px; font-weight: 800; letter-spacing: -.035em; color: #11223b; }
.setup-foot .btn-select { width: auto; flex: 1; padding: 10px 14px; }
.setup-note {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.5;
  color: #7b8ba1;
}
.setup-note .ico { width: 13px; height: 13px; margin-top: 1px; flex: none; color: #93a4ba; }

.addon-table-block {
  padding: 22px;
  border: 1px solid #dbe5f2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 26px 55px -46px rgba(10, 34, 76, .35);
}
.addon-head h3 { font-size: 15.5px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.addon-head p { margin-top: 3px; font-size: 11px; color: var(--muted); }
.addon-table-wrap { margin-top: 12px; overflow-x: auto; }
.addon-table { width: 100%; min-width: 440px; border-collapse: collapse; }
.addon-table th {
  padding: 7px 8px;
  border-bottom: 1.5px solid #e2e9f4;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #74849b;
  text-align: left;
}
.addon-table th:nth-child(2),
.addon-table td:nth-child(2) { text-align: right; white-space: nowrap; }
.addon-table td {
  padding: 9px 8px;
  border-bottom: 1px solid #eef3fa;
  font-size: 11px;
  line-height: 1.45;
  color: #53667f;
  vertical-align: top;
}
.addon-table td strong { display: block; font-size: 11.5px; font-weight: 700; color: #16283f; }
.addon-table td strong + span { display: block; font-size: 9.5px; color: #8494aa; }
.addon-table .addon-price { font-weight: 800; color: #14243c; white-space: nowrap; }
.addon-table td:last-child { color: #6d7d94; }
.addon-note {
  margin-top: 10px;
  font-size: 10px;
  line-height: 1.55;
  color: #8494aa;
}

@media (max-width: 960px) {
  .addon-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .setup-card,
  .addon-table-block { padding: 16px; }
  .setup-tiers { grid-template-columns: 1fr; }
  .setup-foot { flex-direction: column; align-items: stretch; }
  .setup-foot .btn-select { width: 100%; }
}
