/* ==========================================================
   ByteVerse Blog — Shared Content Component Styles
   Include this stylesheet globally in the blog template.
   Author content_html should use these classes directly.
   Cleaned up: removed duplicate blocks, fixed table overflow,
   added missing .bg highlight-pill class.
   ========================================================== */

/* Callout Boxes: .tip (green), .warn (orange), .info (blue-ish, uses --brb) */
.tip, .warn, .info {
  border-radius: 14px;
  padding: 18px 22px;
  margin: 28px 0;
  border-left: 3px solid;
}

.tip {
  background: rgba(0,196,122,0.07);
  border-color: var(--em);
}

.warn {
  background: rgba(245,158,11,0.07);
  border-color: #F59E0B;
}

.info {
  background: rgba(0,102,255,0.07);
  border-color: var(--bl);
}

.tip .ch, .warn .ch, .info .ch {
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tip .ch { color: var(--em); }
.warn .ch { color: #F59E0B; }
.info .ch { color: var(--bl); }

.tip p, .warn p, .info p { margin: 0; font-size: 0.9rem; }

/* Table */
.tbl {
  background: var(--card);
  border: 1px solid var(--br);
  border-radius: 14px;
  margin: 28px 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.tbl table {
  width: 100%;
  border-collapse: collapse;
  min-width: min(400px, 100%);
  box-sizing: border-box;
}

.tbl th {
  background: var(--panel);
  padding: 11px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--em);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.tbl td {
  padding: 11px 16px;
  font-size: 0.87rem;
  color: var(--mu);
  border-top: 1px solid var(--br);
}

.tbl td:first-child { color: var(--t); font-weight: 600; }

/* Highlight pill — use inside table cells or paragraphs for emphasis, e.g. amounts */
.bg {
  background: rgba(0,196,122,0.1);
  color: var(--em);
  border-radius: 100px;
  padding: 2px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Check List */
.cklist {
  list-style: none;
  padding: 0;
}

.cklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--br);
  color: var(--mu);
  font-size: 0.9rem;
}

.cklist li:last-child { border-bottom: none; }

.cklist li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--em);
  flex-shrink: 0;
  margin-top: 7px;
}

.cklist.green li::before { content: "✓"; color: var(--em); font-weight: 800; flex-shrink: 0; font-size: 0.85rem; margin-top: 1px; background: none; width: auto; height: auto; border-radius: 0; }

.cklist.red li::before { content: "✗"; color: #F87171; font-weight: 800; flex-shrink: 0; font-size: 0.85rem; margin-top: 1px; background: none; width: auto; height: auto; border-radius: 0; }

/* Snippet Box — for Google featured snippets */
.snippet {
  background: var(--panel);
  border: 1px solid var(--brb);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 28px 0;
}

.snippet .snippet-label { font-size: 0.72rem; font-weight: 800; color: var(--em); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }

.snippet p { margin: 0; color: var(--t); font-size: 0.95rem; line-height: 1.7; }

/* Steps */
.steps { margin: 28px 0; }

.step { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--br); }

.step:last-child { border-bottom: none; }

.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--g); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; color: #fff; flex-shrink: 0; margin-top: 2px; }

.step-body h4 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1rem; color: var(--t); margin-bottom: 6px; }

.step-body p { color: var(--mu); font-size: 0.9rem; margin: 0; }

/* Verdict Box */
.verdict {
  background: linear-gradient(135deg, rgba(0,196,122,0.08), rgba(0,102,255,0.05));
  border: 1px solid var(--brb);
  border-radius: 20px;
  padding: 28px 32px;
  margin: 32px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.verdict-item { text-align: center; }

.verdict-score { font-family: "Bricolage Grotesque", sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--em); display: block; }

.verdict-label { font-size: 0.75rem; color: var(--mu); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

@media(max-width:600px) {
  .verdict { grid-template-columns: 1fr; gap: 16px; }
}

/* Review card */
.rview { background: var(--card); border: 1px solid var(--br); border-radius: 14px; padding: 20px; }

.rview-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }

.rview-av { width: 36px; height: 36px; border-radius: 50%; background: var(--g); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.82rem; flex-shrink: 0; }

.rview-name { font-weight: 700; font-size: 0.88rem; color: var(--t); }

.rview-stars { color: #FBBF24; font-size: 0.75rem; }

.rview-body { color: var(--mu); font-size: 0.88rem; line-height: 1.6; font-style: italic; }

.rview-src { font-size: 0.72rem; color: var(--em); font-weight: 700; margin-top: 8px; }

/* ========== Custom BY₵ visuals ========== */
.byc-visual {
  background: linear-gradient(135deg, #00A86B, #007BFF);
  border-radius: 20px; padding: 28px 24px; margin: 28px 0;
  position: relative; overflow: hidden;
}

.byc-visual::before { content: ''; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; background: rgba(255,255,255,0.1); border-radius: 50%; }

.byc-visual::after { content: ''; position: absolute; bottom: -50px; left: -20px; width: 140px; height: 140px; background: rgba(255,255,255,0.06); border-radius: 50%; }

.byc-visual-label { font-size: 13px; color: rgba(255,255,255,0.8); font-weight: 500; margin-bottom: 8px; position: relative; z-index: 2; }

.byc-visual-amount { font-size: 48px; font-weight: 800; color: white; line-height: 1; position: relative; z-index: 2; margin-bottom: 6px; }

.byc-visual-sub { font-size: 13px; color: rgba(255,255,255,0.7); position: relative; z-index: 2; }

.byc-visual-chips { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; position: relative; z-index: 2; }

.byc-chip { background: rgba(255,255,255,0.15); border-radius: 100px; padding: 6px 14px; font-size: 12px; font-weight: 700; color: white; display: flex; align-items: center; gap: 6px; }

.streak-visual { background: linear-gradient(135deg, #00A86B, #007BFF); border-radius: 20px; padding: 24px; margin: 28px 0; display: flex; align-items: center; gap: 20px; }

.streak-flame { font-size: 52px; }

.streak-info h4 { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.4rem; font-weight: 800; color: white; margin-bottom: 4px; }

.streak-info p { font-size: 0.88rem; color: rgba(255,255,255,0.75); margin: 0; }

.milestone-visual { display: flex; flex-direction: column; gap: 10px; margin: 28px 0; }

.mv-row { background: var(--card); border: 1px solid var(--br); border-radius: 14px; padding: 14px 18px; display: flex; align-items: center; gap: 14px; transition: all 0.2s; }

.mv-row:hover { border-color: var(--brb); }

.mv-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--eg); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }

.mv-info { flex: 1; }

.mv-day { font-size: 0.78rem; font-weight: 700; color: var(--em); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }

.mv-reward { font-size: 1rem; font-weight: 700; color: var(--t); }

.mv-sub { font-size: 0.78rem; color: var(--mu); }

.mv-badge { background: var(--g); color: white; border-radius: 100px; padding: 4px 12px; font-size: 0.72rem; font-weight: 800; flex-shrink: 0; }

.mv-unlock { background: var(--card); border: 1px solid var(--br); color: var(--mu); border-radius: 100px; padding: 4px 12px; font-size: 0.72rem; font-weight: 600; flex-shrink: 0; }
