.ctcbct-admin {
  max-width: 980px;
}

.ctcbct-admin-intro {
  color: #475569;
  font-size: 15px;
  max-width: 780px;
}

.ctcbct-settings-form {
  display: grid;
  gap: 16px;
}

.ctcbct-premium-version-link {
  color: #b91c1c;
  font-weight: 600;
}

.ctcbct-premium-action-link {
  color: #b91c1c;
  font-weight: 700;
}

.ctcbct-card {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  padding: 18px 20px;
}

.ctcbct-card h2 {
  margin: 0 0 14px;
}

.ctcbct-dashboard-card {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 1fr) minmax(360px, 480px);
  margin: 18px 0;
}

.ctcbct-dashboard-copy p {
  margin-bottom: 0;
}

.ctcbct-eyebrow {
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.ctcbct-stat-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.ctcbct-stat {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 86px;
  padding: 14px;
}

.ctcbct-stat span {
  color: #64748b;
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  min-height: 32px;
  text-transform: uppercase;
}

.ctcbct-stat strong {
  color: #0f172a;
  display: block;
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  line-height: 1;
  margin-top: 8px;
}

.ctcbct-trend {
  margin-top: 8px;
}

.ctcbct-trend-label {
  color: #64748b;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
}

.ctcbct-trend-up .ctcbct-trend-label {
  color: #15803d;
}

.ctcbct-trend-down .ctcbct-trend-label {
  color: #b91c1c;
}

.ctcbct-range-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ctcbct-range-filter-button {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 11px;
  text-decoration: none;
}

.ctcbct-range-filter-button:hover,
.ctcbct-range-filter-button:focus {
  border-color: #1d4ed8;
  color: #1d4ed8;
}

.ctcbct-range-filter-button.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.ctcbct-card label {
  display: block;
  font-weight: 600;
  margin: 0 0 12px;
}

.ctcbct-card label span {
  display: block;
  margin-bottom: 6px;
}

.ctcbct-card input[type="text"],
.ctcbct-card input[type="number"],
.ctcbct-card select,
.ctcbct-card textarea {
  max-width: 100%;
  width: 100%;
}

.ctcbct-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.ctcbct-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ctcbct-checks label {
  margin-bottom: 0;
}

.ctcbct-muted {
  color: #64748b;
}

.ctcbct-help-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  margin-top: 12px;
  padding: 14px 16px;
}

.ctcbct-help-box p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .ctcbct-dashboard-card,
  .ctcbct-stat-grid {
    grid-template-columns: 1fr;
  }
}
