:root {
    --bg: #f3f7fc;
    --sidebar: #ffffff;
    --panel: #ffffff;
    --line: #dce6f0;
    --ink: #263752;
    --muted: #5a6e86;
    --teal: #0877bf;
}
body { font-size: 14px; background: linear-gradient(180deg, #eaf4fd 0, #f8fbfe 430px, #fff 100%); }
h1 { font-size: 25px; } h2 { font-size: 18px; } h3 { font-size: 15px; }
.topbar, .guest-layout .topbar { background: #fffffff5; box-shadow: 0 2px 14px #294c7410; }
.sidebar { box-shadow: 3px 0 20px #294c740b; }
.brand-mark, .auth-card-icon, .panel-icon { background: #eaf4ff; border-color: #cde3f7; color: #147bb7; }
.nav-link { color: #52677f; font-size: 13px; }
.nav-link:hover, .nav-link.active { color: #086397; background: #e7f4fd; }
.nav-link.active::before { background: #0877bf; }
.nav-new { color: #075d8e; background: #d6efff; }
.nav-section-label { color: #586d82; }
.sidebar-guide { background: #f3f8fd; border-color: #dce9f3; }
.sidebar-guide > svg, .sidebar-guide a { color: #086397; }
.sidebar-guide > span { color: #596f85; }
.sidebar-bottom, .sidebar-identity small, .breadcrumb, .top-login { color: #596f85; }
.user-avatar { background: #e8edff; color: #6340b4; border-color: #d5c9f5; }
.balance-pill { background: #e8f8f2; border-color: #bce8d5; color: #087b54; }
.balance-pill:hover { background: #d5f4e5; }
.page-heading p, .section-heading p, .panel-heading p, .helper-text { font-size: 13px; }
.eyebrow, .form-kicker { color: #6946a6; font-size: 10px; }
.field > label { color: #344d63; font-size: 13px; }
.icon-button { color: #34536b; background: #f0f6fc; border-color: #d3e3ee; }
.tag { color: #087b54; background: #ecfaf3; border-color: #bce9d2; }
.tag.subtle { color: #5a6e86; background: #f4f8fc; }
.button { font-size: 13px; border-radius: 8px; }
.primary-button { background: #086b9f; border-color: #086b9f; color: #fff; }
.primary-button:hover { background: #06699e; border-color: #06699e; color: #fff; }
.secondary-button { color: #31506b; background: #f5f9fd; border-color: #cadce9; }
.secondary-button:hover { color: #0877bf; background: #e9f4fc; }
.danger-button { background: #fff0f0; color: #a13136; border-color: #e9babb; }
.panel, .price-card, .stat-card { box-shadow: 0 3px 14px #315b8010; border-radius: 11px; }
.text-input { background: #fbfdff; border-color: #cbdbe9; color: #263752; font-size: 13px; }
.text-input::placeholder { color: #75889b; }
.text-input:focus { border-color: #1583c2; box-shadow: 0 0 0 3px #0984d01a; }
.amount-options button { background: #f4f9fd; color: #31506b; border-color: #cbdde9; font-size: 12px; }
.info-box { background: #eef8ff; border-color: #cbe8f8; color: #31576f; font-size: 12px; }
.info-box > svg { color: #0b81be; }
.balance-card { background: linear-gradient(120deg, #3b58b1, #8059bf); border-color: #675eb7; color: white; }
.balance-card > span, .balance-card a { color: #e4ecff; }
.total-row dd, .credit-amount, .product-discount > span { color: #087d59; }
.debit-amount { color: #a9333c; }
table { font-size: 12px; } th { background: #f1f6fb; color: #536a80; font-size: 11px; } td { color: #30445b; }
.reference { color: #0877bf; font-size: 11px; }.table-subtitle { font-size: 11px; }
.badge { background: #f1f5fa; color: #52667e; border-color: #dbe4ee; font-size: 10px; }
.badge.pending { color: #895806; background: #fff7e5; border-color: #f5dfac; }
.badge.approved, .badge.completed { color: #087b54; background: #e9f9ef; border-color: #bce9cb; }
.badge.rejected { color: #ad3941; background: #fff0f0; border-color: #f0c2c4; }
.badge.cancelled { color: #ad3941; background: #fff0f0; border-color: #f0c2c4; }
.badge.processing { color: #176aa2; background: #eaf5ff; border-color: #c5e1f5; }
.empty-state > p { color: #52667e; }.empty-state > svg { color: #8299ad; }
.package-icon, .price-card:first-child .package-icon, .price-card:last-child .package-icon { background: #f2edff; border-color: #e0d3fa; color: #7850bf; }
.product-card-price > .unpriced-label { color: #4e6278; }.unavailable-button { color: #495f74; background: #edf2f7; border-color: #dce4ed; }
.product-discount s { color: #687d91; }
.steps-grid > div { background: #fff; }.steps-grid > div > span { color: #075c8e; background: #e7f4fd; border-color: #c5e5f8; }
.steps-grid p { font-size: 12px; }.mini-banner { background: #f2f0ff; border-color: #e1dafa; }
.notice.success { color: #176b4a; background: #eafaf1; border-color: #bce4cb; }.notice.error { color: #9b3039; background: #fff1f1; border-color: #f0c3c4; }
.auth-tabs { background: #f2f6fb; }.auth-tabs a.active { color: #0877bf; background: #e0f2ff; }.auth-tabs a:hover { background: #e8f2fb; }
.google-button { background: #fff; color: #344c64; border-color: #cadbe8; }
.reference-hero-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(230px, 1fr); gap: 16px; }
.reference-hero { min-height: 320px; display: flex; align-items: center; overflow: hidden; border-radius: 13px; background: linear-gradient(90deg, #29215fdb 0%, #30206b9c 37%, transparent 80%), url('../images/chung-suc-hero.png') center / cover no-repeat; box-shadow: 0 10px 30px #6355a933; }
.reference-hero-content { padding: 35px; max-width: 530px; color: #fff; }.hero-kicker { display: inline-flex; gap: 8px; align-items: center; color: #eee5ff; font-size: 11px; letter-spacing: 1.2px; }
.reference-hero h1 { font-size: clamp(27px, 3.3vw, 42px); line-height: 1.25; letter-spacing: -.8px; margin-top: 12px; }.reference-hero h1 span { color: #e2caff; }.reference-hero p { max-width: 310px; margin: 13px 0 22px; color: #f1eafa; font-size: 13px; }
.hero-button { background: #fff; color: #5a35a1; border: 0; width: auto; }.hero-button:hover { background: #f1e9ff; }
.hero-side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; border: 1px solid #e4d6f8; border-radius: 13px; padding: 25px 20px; background: radial-gradient(circle at 50% 5%, #f0d6ff, transparent 55%), linear-gradient(160deg, #faf1ff, #eff8ff); }
.hero-side-icon { color: #8c57c8; background: #fff; border-radius: 50%; padding: 12px; box-shadow: 0 5px 20px #a577d42e; }.hero-side-label { color: #8d62bb; font-size: 10px; letter-spacing: 1px; }.hero-side h2 { color: #50377c; font-size: 18px; }.hero-side p { color: #6e6580; font-size: 12px; }.hero-side .button { margin-top: 7px; }
.intro-card { margin-top: 22px; padding: 30px; text-align: center; }.intro-eyebrow { color: #8b54c7; font-size: 11px; letter-spacing: 1.6px; }.intro-card h2 { color: #27669e; margin-top: 8px; font-size: 22px; }.intro-card h2 span { color: #8b54c7; }.intro-subtitle { color: #657890; font-size: 12px; margin: 8px 0 22px; }
.intro-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; }.intro-columns > div { padding: 17px; background: #f7faff; border: 1px solid #e3ecf5; border-radius: 9px; }.intro-columns h3 { color: #086a9d; font-size: 14px; display: flex; align-items: center; gap: 8px; }.intro-columns > div:last-child h3 { color: #7542b1; }.intro-columns p { color: #596f85; font-size: 12px; margin-top: 8px; }
.quick-products { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin: 10px 0 12px; }.quick-product { text-align: left; min-height: 68px; background: #f7faff; border: 1px solid #dbe7f2; color: #425a71; border-radius: 8px; padding: 10px; }.quick-product span, .quick-product strong { display: block; font-size: 12px; }.quick-product strong { color: #7860bd; margin-top: 4px; }.quick-product.selected { border-color: #298bd0; background: #eaf6ff; box-shadow: 0 0 0 1px #298bd0; }
.admin-list-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 22px; }.admin-list-filter .field { margin: 0; min-width: 190px; flex: 1; }.admin-list-filter > .button { width: auto; }.admin-row-actions { display: flex; align-items: center; gap: 7px; }.admin-row-actions .text-input { min-width: 140px; }.admin-row-actions form { margin: 0; }
.referral-stats { grid-template-columns: repeat(3, minmax(0,1fr)); }.referral-link { display: flex; align-items: center; gap: 10px; }.referral-link button { min-height: 44px; white-space: nowrap; }
.batch-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 18px; }.batch-summary strong { color: #087b54; }.batch-summary .button { width: auto; }
.overview-actions { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }.overview-actions a { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #f4f9fd; border: 1px solid #dce9f3; border-radius: 9px; padding: 16px; color: #344d63; }.overview-actions a strong { color: #086b9f; font-size: 19px; }.guide-article { max-width: 900px; }.guide-article h2 { margin: 25px 0 8px; }.guide-article h2:first-child { margin-top: 0; }.guide-article p { color: var(--muted); line-height: 1.9; }.guide-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }.guide-links .button { width: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media(max-width: 760px) { .reference-hero-grid { grid-template-columns: 1fr; }.reference-hero { min-height: 280px; }.hero-side { flex-direction: row; text-align: left; justify-content: flex-start; }.hero-side-icon, .hero-side-label, .hero-side p { display: none; }.hero-side .button { width: auto; margin: 0 0 0 auto; }.referral-stats, .overview-actions { grid-template-columns: 1fr 1fr; } }
@media(max-width: 560px) { .reference-hero-content { padding: 26px 22px; }.reference-hero { min-height: 280px; background-position: 60% center; }.reference-hero h1 { font-size: 29px; }.intro-card { padding: 24px 18px; }.intro-columns { grid-template-columns: 1fr; }.quick-products { grid-template-columns: repeat(2, minmax(0,1fr)); }.referral-stats { grid-template-columns: 1fr; }.referral-link { flex-wrap: wrap; }.referral-link button { width: 100%; }.hero-side h2 { font-size: 14px; }.hero-side .button { font-size: 11px; } }
