/* ============================================================
   SHORTCODE STYLES
   ============================================================ */

/* Shared */
.billora-sc-empty {
  color: #9ca3af;
  font-style: italic;
  padding: 1rem 0;
}
.billora-sc-source {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 0.75rem;
  text-align: right;
}
.billora-sc-calc-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}
.billora-sc-calc-link:hover { text-decoration: underline; }

/* ── billora_table ── */
.billora-sc-table-wrap {
  margin: 2rem 0;
  overflow-x: auto;
}
.billora-sc-table-meta {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 0.75rem;
}
.billora-sc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.billora-sc-table thead tr {
  background: #2563eb;
  color: #fff;
}
.billora-sc-table th {
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}
.billora-sc-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #f1f5f9;
  color: #374151;
}
.billora-sc-table tbody tr:nth-child(even) { background: #f8fafc; }
.billora-sc-table tbody tr:hover { background: #eff6ff; }
.billora-sc-highlight td { background: #fefce8 !important; font-weight: 600; }
.billora-sc-rank { color: #9ca3af; font-size: 12px; width: 32px; }
.billora-sc-code {
  display: inline-block;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 500;
}
.billora-sc-bill strong { color: #1e3a5f; font-size: 15px; }
.billora-sc-table tfoot tr.billora-sc-us-avg {
  background: #eff6ff;
  border-top: 2px solid #2563eb;
}
.billora-sc-table tfoot td { font-size: 13px; color: #1e3a5f; padding: 10px 14px; }

/* ── billora_compare ── */
.billora-sc-compare {
  margin: 2rem 0;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.billora-sc-compare-meta {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 1rem;
  text-align: center;
}
.billora-sc-compare-cards {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.billora-sc-ccard {
  flex: 1;
  min-width: 160px;
  max-width: 220px;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  border: 2px solid #e2e8f0;
  background: #fff;
}
.billora-sc-ccard.cheaper {
  border-color: #22c55e;
  background: #f0fdf4;
}
.billora-sc-ccard.pricier {
  border-color: #f87171;
  background: #fff5f5;
}
.billora-sc-ccard-state { font-weight: 700; font-size: 15px; color: #1e3a5f; }
.billora-sc-ccard-code {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}
.billora-sc-ccard-bill {
  font-size: 28px;
  font-weight: 800;
  color: #1e3a5f;
  line-height: 1.1;
}
.billora-sc-ccard-bill span { font-size: 14px; font-weight: 500; color: #64748b; }
.billora-sc-ccard-rate { font-size: 13px; color: #64748b; margin-top: 4px; }
.billora-sc-compare-vs {
  text-align: center;
  min-width: 120px;
  padding: 0 0.5rem;
}
.billora-sc-compare-vs > span {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}
.billora-sc-compare-diff {
  font-size: 13px;
  color: #374151;
  line-height: 1.5;
}
.billora-sc-compare-diff strong { color: #16a34a; }
.billora-sc-compare-diff small { color: #9ca3af; }
.billora-sc-compare-cta {
  text-align: center;
  margin-top: 1.25rem;
}
.billora-sc-cta-btn {
  display: inline-block;
  background: #2563eb;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 8px;
}
.billora-sc-cta-btn:hover { background: #1d4ed8; }

@media (max-width: 480px) {
  .billora-sc-compare-cards { flex-direction: column; align-items: stretch; }
  .billora-sc-ccard { max-width: 100%; }
  .billora-sc-compare-vs { order: 2; }
}