/* Minification failed. Returning unminified contents.
(2,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(3,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(6,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(7,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(8,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(11,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(12,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(13,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(14,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(15,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(16,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(17,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(27,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-body'
(28,17): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(53,35): run-time error CSS1039: Token not allowed after unary operator: '-border'
(67,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(75,21): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(79,26): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(87,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(92,17): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(120,39): run-time error CSS1039: Token not allowed after unary operator: '-border'
(208,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(220,21): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(225,30): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(241,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(243,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(264,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(271,17): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(286,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(303,22): run-time error CSS1039: Token not allowed after unary operator: '-accent'
(310,34): run-time error CSS1039: Token not allowed after unary operator: '-border'
(318,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(332,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(339,21): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(354,21): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(364,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-card'
(366,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(408,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(421,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(426,21): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(443,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(464,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(513,33): run-time error CSS1039: Token not allowed after unary operator: '-accent-soft'
(524,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(533,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(547,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(559,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(572,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(581,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(618,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(632,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(635,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(640,26): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(642,28): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(658,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(688,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(706,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(713,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(723,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(749,28): run-time error CSS1039: Token not allowed after unary operator: '-border'
(756,26): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(758,28): run-time error CSS1039: Token not allowed after unary operator: '-ink'
(765,32): run-time error CSS1039: Token not allowed after unary operator: '-border'
(767,17): run-time error CSS1039: Token not allowed after unary operator: '-muted'
(782,37): run-time error CSS1039: Token not allowed after unary operator: '-border'
 */
:root {
    --bg-body: #f7f3ea;
    --bg-card: #ffffff;
    --accent: #c0392b;
    --accent-soft: #e67e22;
    --ink: #2c2c34;
    --muted: #7a756b;
    --border: #e0d6c7;
    --color-bg: #0f1115;
    --color-panel: #181b22;
    --color-border: #3b2a16;
    --color-accent: #c89b3c;
    --color-accent-soft: #f1d8a8;
    --color-text: #f5f5f5;
    --color-text-muted: #b3b3b3;
    --radius-lg: 14px;
    --radius-md: 10px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui,-apple-system,Segoe UI,Roboto;
    background: var(--bg-body);
    color: var(--ink);
}

a {
    color: inherit;
    text-decoration: none;
}
img{
    width:100%
}
.page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px 40px;
}
.message-validate{
    color:red!important
}
/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(8px);
    background: rgba(247,243,234,.92);
    border-bottom: 1px solid var(--border);
}
/* ===== NAV DÙNG CHUNG ===== */
.site-nav {
    display: flex;
    gap: 14px;
    font-size: 14px;
    align-items: center;
}

/* Link style chung */
.nav-link {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--muted);
    white-space: nowrap;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

    .nav-link:hover {
        background: rgba(0,0,0,.05);
        color: var(--ink);
    }

    .nav-link.is-active {
        background: var(--ink);
        color: #fff;
    }

/* Nút toggle mobile */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 20px;
    padding: 4px 10px;
    cursor: pointer;
    color: var(--ink);
}

/* ===== RESPONSIVE ===== */
@media(max-width:900px) {

    .header-inner {
        gap: 10px;
    }

    /* show nút toggle, ẩn nav mặc định */
    .nav-toggle {
        display: block;
    }
    .article-shell {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* nav chuyển thành menu dọc, phủ dưới header */
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background: #ffffff;
        border-bottom: 1px solid var(--border);
        padding: 8px 16px 10px;
        gap: 4px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height .25s ease, opacity .18s ease;
        z-index: 15;
    }

        /* khi mở */
        .site-nav.is-open {
            max-height: 300px; /* tuỳ số lượng menu */
            opacity: 1;
            pointer-events: auto;
        }

    /* link mobile full width, dễ bấm */
    .nav-link {
        padding: 8px 10px;
        border-radius: 8px;
        font-size: 14px;
    }

        .nav-link.is-active {
            background: #111;
            color: #fff;
        }

    /* search thu gọn tí */
    .nav-actions {
        margin-left: auto;
    }

    .nav-search input {
        width: 90px;
    }
}

@media(max-width:520px) {
    .header-inner {
        padding-inline: 10px;
    }
}
.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fdf5e6, #e67e22 55%, #a8322b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    font-weight: 700;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.brand-sub {
    font-size: 11px;
    color: var(--muted);
}

.main-nav {
    display: flex;
    gap: 14px;
    font-size: 14px;
}

    .main-nav a {
        padding: 6px 10px;
        border-radius: 999px;
        color: var(--muted);
        white-space: nowrap;
    }

        .main-nav a.is-active {
            background: var(--ink);
            color: #fff;
        }

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted);
    background: #fff;
}

    .nav-search input {
        border: none;
        outline: none;
        background: transparent;
        font-size: 13px;
        width: 130px;
    }

/* HERO */
.hero {
    display: grid;
    grid-template-columns: minmax(0,2fr) minmax(0,1.3fr);
    gap: 24px;
    margin-top: 24px;
    padding: 22px 20px;
    border-radius: 18px;
    background: #fffdf8;
    border: 1px solid var(--border);
}

.hero-kicker {
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.hero h1 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.25;
}

.hero-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 12px;
}

.hero-summary {
    font-size: 14px;
    color: #514a3f;
    max-width: 480px;
    margin-bottom: 16px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.hero-right {
    border-left: 1px dashed var(--border);
    padding-left: 18px;
}

.hero-right-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    margin-bottom: 8px;
}

.topic-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.topic-item {
    padding: 7px 10px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

    .topic-item span:last-child {
        color: var(--muted);
        font-size: 12px;
    }

/* GRID BÀI VIẾT */
.section-title {
    margin: 26px 0 10px;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

    .section-title small {
        font-size: 12px;
        color: var(--muted);
    }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
}

.news-card {
    background: var(--bg-card);
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-thumb {
    position: relative;
    padding-top: 60%;
    background: #ddd;
}

    .news-thumb img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.news-body {
    padding: 12px 13px 14px;
}

.news-tag {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fff5ea;
    color: #b45b1c;
    margin-bottom: 6px;
}

.news-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.news-meta {
    font-size: 11px;
    color: var(--muted);
}
/* =========== ARTICLE DETAIL LAYOUT =========== */
.article-shell {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0,2.1fr) minmax(0,1fr);
    gap: 32px;
}

/* breadcrumb */
.breadcrumb {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
}

    .breadcrumb a {
        color: var(--muted);
    }

/* tiêu đề bài viết */
.article-hero h1 {
    font-size: 30px;
    line-height: 1.25;
    margin: 4px 0 10px;
}

/* meta trên đầu: tác giả – ngày – thời lượng đọc */
.article-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
}

/* tag chuyên mục */
.badge-cat {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    background: #fff5ea;
    color: #b45b1c;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}
/* ảnh cover */
.article-cover {
    margin: 14px 0 18px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #ddd;
}

    .article-cover img {
        width: 100%;
        height: auto;
        display: block;
    }

/* đoạn lead (mở bài) */
.article-lead {
    font-size: 15px;
    color: #4b4337;
    margin-bottom: 18px;
}

/* thân bài */
.article-body {
    font-size: 15px;
    color: #3a342b;
}

    .article-body h2 {
        font-size: 20px;
        margin: 18px 0 8px;
    }

    .article-body h3 {
        font-size: 17px;
        margin: 16px 0 6px;
    }

    .article-body p {
        margin: 8px 0;
    }

    .article-body ul {
        padding-left: 20px;
        margin: 6px 0 10px;
    }

    .article-body li {
        margin-bottom: 4px;
    }
/* trích dẫn */
.article-quote {
    margin: 18px 0;
    padding: 12px 16px;
    border-left: 3px solid var(--accent-soft);
    background: #fffef9;
    font-style: italic;
    color: #5b5145;
    border-radius: 8px;
}

/* chia sẻ bài viết */
.article-share {
    margin-top: 22px;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-btn {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 12px;
    background: #fff;
    cursor: pointer;
}
/* cột phải */
.article-aside {
    font-size: 14px;
}

/* box tác giả */
.author-box {
    background: #fffdf8;
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 14px 14px 16px;
    margin-bottom: 18px;
}

.author-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.author-role {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
}

.author-desc {
    font-size: 13px;
    color: #4b4337;
}

/* các block phụ bên phải */
.aside-block {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 12px 14px 14px;
    margin-bottom: 16px;
}

.aside-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    margin-bottom: 8px;
}

.aside-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

    .aside-list li {
        margin-bottom: 6px;
    }

    .aside-list a {
        color: #333;
    }
/* ============= LIST TIN MỚI ============= */

.news-list-header {
    margin-top: 24px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.news-list-title {
    font-size: 24px;
    font-weight: 700;
}

.news-list-sub {
    font-size: 13px;
    color: var(--muted);
}

/* filter chips */
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.filter-chip {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 12px;
    background: #fff;
    color: var(--muted);
    cursor: pointer;
}

    .filter-chip.is-active {
        background: var(--ink);
        color: #fff;
        border-color: var(--ink);
    }

/* layout list: main + aside */
.news-list-shell {
    display: grid;
    grid-template-columns: minmax(0,2.2fr) minmax(0,1fr);
    gap: 26px;
}

/* card dạng hàng */
.news-row {
    display: flex;
    gap: 14px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 14px;
}

.news-row-thumb {
    flex: 0 0 180px;
    position: relative;
    background: #ddd;
}

    .news-row-thumb img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.news-row-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-row-cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    margin-bottom: 4px;
}

.news-row-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.news-row-excerpt {
    font-size: 13px;
    color: #554d43;
    margin-bottom: 6px;
}

.news-row-meta {
    font-size: 11px;
    color: var(--muted);
}

/* Tin nổi bật bên phải */
.aside-block {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 12px 14px 14px;
    margin-bottom: 16px;
    font-size: 13px;
}

.aside-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    margin-bottom: 8px;
}

.aside-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .aside-list li {
        margin-bottom: 6px;
    }
/* pagination */
.pagination {
    display: flex;
    justify-content: flex-start;
    gap: 6px;
    margin-top: 18px;
    font-size: 13px;
}

.page-btn {
    min-width: 30px;
    padding: 6px 8px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    text-align: center;
    cursor: pointer;
}

    .page-btn.is-current, .page-btn.active {
        background: var(--ink);
        color: #fff;
        border-color: var(--ink);
    }

/* FOOTER MINI */
.mini-footer {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

/* RESPONSIVE */
@media(max-width:900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-right {
        border-left: none;
        border-top: 1px dashed var(--border);
        padding-left: 0;
        padding-top: 14px;
    }

    .main-nav {
        display: none; /* thu gọn – nếu cần có thể làm menu mobile riêng */
    }
}

@media(max-width:720px) {
    .news-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .article-hero h1 {
        font-size: 24px;
    }
}

@media(max-width:520px) {
    .header-inner {
        padding-inline: 10px;
    }

    .hero {
        padding: 18px 14px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .nav-search input {
        width: 90px;
    }
}
/* ==========================
   BÓI SIM – BLOCK RIÊNG
   ========================== */

/* Wrapper */
.boi-sim-page {
    padding: 40px 0 60px;
}

    /* Container riêng, tránh đụng .container chung */
   .boi-container {
        max-width: 1080px;
        margin: 0 auto;
        padding: 0 15px;
    }

    /* Header */
    .boi-header {
        text-align: center;
        margin-bottom: 30px;
    }

     .boi-header h1 {
            font-size: 26px;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

       .boi-header .subtitle {
            font-size: 14px;
        }

    /* Form */
 .boi-form {
        border-radius: 14px;
        padding: 18px 18px 12px;
        margin-bottom: 25px;
    }

    .boi-label {
        display: block;
        font-size: 13px;
        margin-bottom: 8px;
    }

   .boi-form form {
        margin: 0;
    }

    /* Hàng chính: sim + nút */
.boi-form-row {
        display: flex;
        gap: 10px;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 10px;
    }

    .boi-input {
        flex: 1 1 260px;
        border-radius: 999px;
        padding: 10px 14px;
        font-size: 14px;
        outline: none;
    }

    .boi-btn {
        padding: 10px 20px;
        border-radius: 999px;
        border: none;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        white-space: nowrap;
    }

    /* Lưới thông tin cá nhân */
     .boi-form-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        margin-top: 5px;
    }

 .boi-form-group label {
        display: block;
        font-size: 12px;
        margin-bottom: 4px;
    }

     .boi-input-small {
        width: 100%;
        border-radius: 999px;
        padding: 8px 12px;
        font-size: 13px;
        outline: none;
    }

    /* Note */
    .boi-note {
        margin-top: 6px;
        font-size: 12px;
    }

    /* Panel chung */
   .panel {
        border-radius: 14px;
        padding: 18px 18px 16px;
        margin-bottom: 20px;
    }

   .panel-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 14px;
    }

    .panel-step {
        width: 26px;
        height: 26px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 25px;
    }

     .panel-header h2 {
        font-size: 17px;
        margin: 0;
    }

     .panel-subtitle {
        font-size: 12px;
    }

    /* Tổng quan */
   .summary-grid {
        display: grid;
        grid-template-columns: minmax(0, 230px) minmax(0, 1fr);
        gap: 18px;
    }

    .summary-score {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .score-circle {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
    }

   .score-main {
        font-size: 30px;
        font-weight: 700;
    }

    .score-label {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.15em;
    }

   .score-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
    }
 .tag {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 4px 10px;
        border-radius: 999px;
        font-size: 11px;
    }

   .summary-text p {
        font-size: 13px;
        margin-bottom: 8px;
    }

   .summary-list {
        list-style: none;
        padding: 0;
        margin: 0;
        font-size: 13px;
    }

      .summary-list li {
            margin-bottom: 4px;
        }

    /* 2 cột dưới */
  .boi-two-columns {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    /* Kinh Dịch */
  .kd-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 12px;
    }

  .kd-item {
        border-radius: 10px;
        padding: 10px;
    }

   .kd-label {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.12em;
    }

  .kd-value {
        margin-top: 4px;
        font-size: 14px;
        font-weight: 600;
    }

   .kd-brief {
        margin-top: 4px;
        font-size: 12px;
    }

    /* Năng lượng số */
    .energy-grid {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 10px;
    }

    .energy-row {
        border-radius: 10px;
        padding: 8px 10px;
    }

    .energy-label {
        display: flex;
        justify-content: space-between;
        font-size: 12px;
        margin-bottom: 4px;
    }

    .energy-percent {
        font-weight: 600;
    }

    .energy-bar {
        position: relative;
        height: 7px;
        border-radius: 999px;
        overflow: hidden;
        margin-bottom: 5px;
    }

    .energy-fill {
        height: 100%;
        border-radius: inherit;
    }

    /* Ngũ Hành – Du Niên – CCCD grids */
    .boi-extra-panels {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .nguhanh-grid,
    .dunien-grid,
    .cccd-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 12px;
    }

    .nguhanh-item,
    .dunien-item,
    .cccd-item {
        border-radius: 10px;
        padding: 10px;
    }

    .nh-label,
    .dn-label,
    .cc-label {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.12em;
    }

    .nh-value,
    .dn-value,
    .cc-value {
        margin-top: 4px;
        font-size: 13px;
        font-weight: 600;
    }

    .nh-note,
    .energy-note {
        margin-top: 4px;
        font-size: 12px;
    }

/* RESPONSIVE cho block bói sim */
@media (max-width: 992px) {
    .boi-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nguhanh-grid,
    .dunien-grid,
    .cccd-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }

    .score-circle {
        margin: 0 auto 10px;
    }

    .boi-two-columns {
        grid-template-columns: 1fr;
    }

    .kd-grid {
        grid-template-columns: 1fr;
    }

    .boi-form-grid {
        grid-template-columns: 1fr;
    }

    .nguhanh-grid,
    .dunien-grid,
    .cccd-grid {
        grid-template-columns: 1fr;
    }
}
/* THEME SÁNG ĐỎ CHO BÓI SIM */

    .boi-sim-page.light .boi-header h1 {
        color: #b80000;
    }

    .boi-sim-page.light .boi-header .subtitle {
        color: #555;
    }

    .boi-sim-page.light .boi-form {
        background: #ffffff;
        border: 1px solid #ffb3b3;
        box-shadow: 0 8px 18px rgba(0,0,0,0.05);
    }

    .boi-sim-page.light .boi-label,
    .boi-sim-page.light .boi-note {
        color: #777;
    }

    .boi-sim-page.light .boi-input,
    .boi-sim-page.light .boi-input-small {
        background: #ffffff;
        border: 1px solid #d2d2d9;
        color: #222;
    }

        .boi-sim-page.light .boi-input::placeholder,
        .boi-sim-page.light .boi-input-small::placeholder {
            color: #9898a3;
        }

    .boi-sim-page.light .boi-btn {
        background: linear-gradient(135deg, #d10000, #ff6a6a);
        color: #fff;
    }

    /* Panel + tag + energy màu sáng */
    .boi-sim-page.light .panel {
        background: #ffffff;
        border: 1px solid #ffb5b5;
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }

    .boi-sim-page.light .panel-step {
        border-color: #d10000;
        color: #d10000;
    }

    .boi-sim-page.light .tag {
        color: #b80000;
        border-color: #ffbaba;
        background: #fff2f2;
    }

    .boi-sim-page.light .tag-good {
        background: #eafaf2;
        border-color: #7dd7a9;
        color: #1c6b40;
    }

    .boi-sim-page.light .energy-bar {
        background: #f0e6e6;
    }

    .boi-sim-page.light .energy-fill {
        background: linear-gradient(90deg,#d10000,#ff7575);
    }

    .boi-sim-page.light .kd-item,
    .boi-sim-page.light .energy-row,
    .boi-sim-page.light .nguhanh-item,
    .boi-sim-page.light .dunien-item,
    .boi-sim-page.light .cccd-item {
        background: #fff8f8;
        border: 1px solid #ffd6d6;
    }

    .boi-sim-page.light .kd-label,
    .boi-sim-page.light .nh-label,
    .boi-sim-page.light .dn-label,
    .boi-sim-page.light .cc-label {
        color: #777;
    }

    .boi-sim-page.light .kd-value,
    .boi-sim-page.light .nh-value,
    .boi-sim-page.light .dn-value,
    .boi-sim-page.light .cc-value {
        color: #b80000;
    }

    .boi-sim-page.light .nh-good,
    .boi-sim-page.light .dn-good {
        color: #1c6b40;
    }
    .boi-sim-page.light .score-circle {
        background: radial-gradient(circle, #fffafa 0, #ffe3e3 75%);
        border-color: #ff8a8a;
    }

