/* Trang Beauty Center — bổ sung 11/2026 */
:root {
  --tbc-primary: #7b2b8f;
  --tbc-primary-dark: #5e1f6e;
  --tbc-primary-soft: #f5edf8;
  --tbc-text: #1f1f24;
  --tbc-muted: #6b6b76;
  --tbc-line: #ece7ef;
}

/* ---------- shared ---------- */
.tbc-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--tbc-muted); margin: 16px 0 12px; }
.tbc-breadcrumb a { color: var(--tbc-primary); font-weight: 600; }
.tbc-breadcrumb--light, .tbc-breadcrumb--light a { color: rgba(255, 255, 255, 0.85); }
.tbc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--tbc-primary); color: #fff !important; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 8px; text-decoration: none !important; }
.tbc-btn:hover { background: var(--tbc-primary-dark); }
.tbc-empty { color: var(--tbc-muted); padding: 24px 0; text-align: center; }

.tbc-toc { border: 1px solid var(--tbc-line); background: #fbf8fc; border-radius: 10px; padding: 12px 16px; margin: 16px 0 20px; }
.tbc-toc summary { cursor: pointer; font-weight: 700; color: var(--tbc-text); }
.tbc-toc ol { list-style: none; padding-left: 0; margin: 10px 0 0; }
.tbc-toc li { margin: 6px 0; font-size: 14px; }
.tbc-toc a { color: var(--tbc-primary); }

/* prose for legal pages & articles */
.tbc-prose { font-size: 15px; line-height: 1.7; color: var(--tbc-text); }
.tbc-prose h2 { font-size: 18px; font-weight: 700; color: var(--tbc-primary); margin: 28px 0 10px; scroll-margin-top: 80px; }
.tbc-prose h3 { font-size: 16px; font-weight: 700; margin: 20px 0 8px; }
.tbc-prose p { margin: 0 0 12px; }
.tbc-prose ul { list-style: none; padding-left: 0; margin: 0 0 14px; }
.tbc-prose ul li { position: relative; padding-left: 18px; margin: 6px 0; }
.tbc-prose ul li::before { content: ""; position: absolute; left: 4px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--tbc-primary); }
.tbc-prose ol { list-style: decimal; padding-left: 22px; margin: 0 0 14px; }
.tbc-prose ol li { margin: 6px 0; }
.tbc-prose a { color: var(--tbc-primary); text-decoration: underline; word-break: break-word; }
.tbc-prose strong { font-weight: 700; }
.tbc-prose table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; }
.tbc-prose th, .tbc-prose td { border: 1px solid var(--tbc-line); padding: 8px; text-align: left; }
.tbc-prose ul.tbc-checklist li { padding-left: 26px; }
.tbc-prose ul.tbc-checklist li::before { width: 14px; height: 14px; border-radius: 3px; background: #fff; border: 1.5px solid var(--tbc-primary); top: 0.35em; left: 0; }

/* ---------- legal pages ---------- */
.tbc-legal { padding-bottom: 32px; }
.tbc-legal-title { font-size: 22px; font-weight: 800; color: var(--tbc-text); line-height: 1.3; margin: 4px 0 4px; }
.tbc-legal-updated { font-size: 13px; color: var(--tbc-muted); margin-bottom: 14px; }
.tbc-legal-company { background: var(--tbc-primary-soft); border-left: 4px solid var(--tbc-primary); border-radius: 8px; padding: 12px 14px; font-size: 14px; line-height: 1.6; }
.tbc-legal-company-name { font-weight: 800; color: var(--tbc-primary); margin-bottom: 4px; }
.tbc-legal-company span { color: var(--tbc-muted); }
.tbc-legal-company a { color: var(--tbc-text); }
.tbc-legal-intro { background: #fff8e6; border: 1px solid #f3dfa8; border-radius: 8px; padding: 12px 14px; margin: 0 0 16px; font-size: 14px; }
.tbc-legal-meta { font-size: 13px; color: var(--tbc-muted); font-style: italic; }
.tbc-legal-download { margin: 20px 0 8px; }

/* ---------- consent checkbox ---------- */
.tbc-consent { margin: 12px 0 4px; padding: 10px 12px; border: 1px solid var(--tbc-line); border-radius: 8px; background: #fbf8fc; text-align: left; }
.tbc-consent-label { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--tbc-text); cursor: pointer; font-weight: 400; }
.tbc-consent-input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--tbc-primary); cursor: pointer; appearance: auto; -webkit-appearance: checkbox; }
.tbc-consent-label a { color: var(--tbc-primary); text-decoration: underline; }
.tbc-consent-error { font-size: 12px; color: #ef4444; font-style: italic; margin-top: 4px; }
.tbc-consent-error:empty { display: none; }
.tbc-consent--error { border-color: #ef4444; background: #fff5f5; }

/* ---------- team ---------- */
.tbc-team { background: #f4f2f6; min-height: 100vh; padding-bottom: 96px; }
.tbc-team-head { text-align: center; margin: 4px 0 16px; }
.tbc-team-head h1 { font-size: 22px; font-weight: 800; color: var(--tbc-primary); }
.tbc-team-head p { font-size: 13px; color: var(--tbc-muted); max-width: 520px; margin: 4px auto 0; }
.tbc-team-group { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; color: var(--tbc-text); margin: 20px 0 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.tbc-team-group span { font-size: 12px; background: var(--tbc-primary); color: #fff; border-radius: 999px; padding: 1px 8px; letter-spacing: 0; }
.tbc-doctor-title { color: var(--tbc-primary); }
.tbc-doctor-sub { font-size: 12px; color: var(--tbc-muted); margin-top: 4px; max-width: calc(100% - 150px); line-height: 1.45; }
.tbc-doctor-license { color: var(--tbc-primary); font-weight: 600; }
.tbc-doctor-cta { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--tbc-primary); }

.tbc-home-team .tbc-team-card { flex: 0 0 160px; width: 160px; border-radius: 10px; overflow: hidden; background: #f6f1f8; display: flex; flex-direction: column; }
.tbc-team-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; display: block; }
.tbc-team-card-body { padding: 8px 10px 12px; }
.tbc-team-card-role { display: inline-block; font-size: 10px; font-weight: 700; color: var(--tbc-primary); background: #fff; border-radius: 4px; padding: 1px 6px; margin-bottom: 4px; }
.tbc-team-card h4 { font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--tbc-text); }
.tbc-team-card p { font-size: 11.5px; color: var(--tbc-muted); line-height: 1.4; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.tbc-check-list { list-style: none; padding: 0; margin: 0; text-align: left; }
.tbc-check-list li { position: relative; padding: 8px 0 8px 26px; border-bottom: 1px dashed var(--tbc-line); font-size: 14px; line-height: 1.5; }
.tbc-check-list li:last-child { border-bottom: 0; }
.tbc-check-list li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 14px; height: 14px; border-radius: 50%; background: var(--tbc-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' d='M4 8.5l2.6 2.5L12 5.5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.tbc-license-card { background: var(--tbc-primary-soft); border-radius: 10px; padding: 12px 14px; }
.tbc-license-row { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; font-size: 14px; }
.tbc-license-row + .tbc-license-row { border-top: 1px solid #e6d6ec; }
.tbc-license-row span { font-size: 12px; color: var(--tbc-muted); }
.tbc-license-row strong { color: var(--tbc-text); font-weight: 700; }
.tbc-license-sub { font-size: 15px; font-weight: 700; margin: 18px 0 8px; text-align: left; }
.tbc-license-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tbc-license-grid a { display: block; border: 1px solid var(--tbc-line); border-radius: 8px; overflow: hidden; background: #fafafa; aspect-ratio: 3 / 4; }
.tbc-license-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tbc-license-note { font-size: 12px; color: var(--tbc-muted); font-style: italic; margin-top: 8px; text-align: left; }

/* ---------- knowledge ---------- */
.tbc-kb-hero { background: linear-gradient(135deg, #8d3aa3, #5e1f6e); color: #fff; padding: 8px 0 22px; }
.tbc-kb-hero h1 { font-size: 24px; font-weight: 800; margin: 4px 0 6px; }
.tbc-kb-hero p { font-size: 14px; opacity: 0.9; max-width: 640px; }
.tbc-chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 6px; scrollbar-width: none; }
.tbc-chips::-webkit-scrollbar { display: none; }
.tbc-chip { flex: 0 0 auto; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--tbc-line); color: var(--tbc-text); background: #fff; }
.tbc-chip.is-active { background: var(--tbc-primary); border-color: var(--tbc-primary); color: #fff; }
.tbc-kb-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 12px 0 8px; }
@media (min-width: 640px) { .tbc-kb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tbc-kb .tbc-kb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tbc-kb-card { display: flex; flex-direction: column; border: 1px solid var(--tbc-line); border-radius: 12px; overflow: hidden; background: #fff; color: var(--tbc-text); transition: box-shadow 0.2s; }
.tbc-kb-card:hover { box-shadow: 0 6px 18px rgba(94, 31, 110, 0.12); text-decoration: none; }
.tbc-kb-card-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.tbc-kb-card-placeholder { aspect-ratio: 16 / 7; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f3e6f7, #e3cdea); }
.tbc-kb-card-placeholder span { font-size: 18px; font-weight: 800; color: var(--tbc-primary); letter-spacing: 1px; text-transform: uppercase; }
.tbc-kb-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.tbc-kb-card-tag { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--tbc-primary); background: var(--tbc-primary-soft); border-radius: 4px; padding: 2px 8px; }
.tbc-kb-card h3 { font-size: 16px; font-weight: 700; line-height: 1.4; margin: 0; }
.tbc-kb-card p { font-size: 13px; color: var(--tbc-muted); line-height: 1.55; margin: 0; }
.tbc-kb-card-more { font-size: 13px; font-weight: 600; color: var(--tbc-primary); }
.tbc-pagination { display: flex; justify-content: center; gap: 6px; margin: 16px 0; }
.tbc-pagination a { min-width: 34px; text-align: center; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--tbc-line); color: var(--tbc-text); }
.tbc-pagination a.is-active { background: var(--tbc-primary); color: #fff; border-color: var(--tbc-primary); }
.tbc-kb-note { font-size: 12.5px; color: var(--tbc-muted); font-style: italic; margin: 18px 0 32px; }
.tbc-kb-note a { color: var(--tbc-primary); }

/* ---------- article ---------- */
.tbc-article { padding-bottom: 32px; }
.tbc-article-title { font-size: 24px; font-weight: 800; line-height: 1.3; color: var(--tbc-text); margin: 4px 0 8px; }
.tbc-article-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--tbc-muted); margin-bottom: 14px; }
.tbc-article-reviewer { color: var(--tbc-primary); font-weight: 600; }
.tbc-article-reviewer a { color: var(--tbc-primary); text-decoration: underline; }
.tbc-article-cover { width: 100%; border-radius: 12px; margin-bottom: 8px; }
.tbc-disclaimer { margin: 22px 0 16px; padding: 12px 14px; border-radius: 10px; background: #fff8e6; border: 1px solid #f3dfa8; font-size: 13.5px; line-height: 1.6; }
.tbc-disclaimer a { color: var(--tbc-primary); text-decoration: underline; }
.tbc-article-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--tbc-primary-soft); margin-bottom: 24px; }
.tbc-article-cta div { display: flex; flex-direction: column; font-size: 13px; color: var(--tbc-muted); }
.tbc-article-cta strong { font-size: 15px; color: var(--tbc-text); }
.tbc-related h2 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }

/* ---------- footer explore ---------- */
.tbc-footer-explore { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.tbc-footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.tbc-footer-links a { color: #fff; font-size: 12px; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px; }
.tbc-footer-links a:hover { background: rgba(255, 255, 255, 0.12); }
