@font-face {
    font-family: "Be Vietnam Pro";
    src: url("../fonts/be-vietnam-pro/BeVietnamPro-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Be Vietnam Pro";
    src: url("../fonts/be-vietnam-pro/BeVietnamPro-Medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Be Vietnam Pro";
    src: url("../fonts/be-vietnam-pro/BeVietnamPro-SemiBold.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Be Vietnam Pro";
    src: url("../fonts/be-vietnam-pro/BeVietnamPro-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Urbanist";
    src: url("../fonts/urbanist/Urbanist.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --font-chu: "Be Vietnam Pro", "Segoe UI", sans-serif;
    --font-so: "Urbanist", "Be Vietnam Pro", sans-serif;
    --chu-nho: .75rem;
    --chu-phu: .875rem;
    --chu-noi-dung: 1rem;
    --chu-tieu-de-the: 1.125rem;
    --chu-tieu-de-muc: 1.5rem;
    --chu-tieu-de-trang: clamp(2rem, 3.6vw, 3rem);
    --cach-1: 4px;
    --cach-2: 8px;
    --cach-3: 12px;
    --cach-4: 16px;
    --cach-5: 20px;
    --cach-6: 24px;
    --cach-8: 32px;
    --cach-10: 40px;
    --cach-12: 48px;
    --bo-truong: 12px;
    --bo-bieu-tuong: 18px;
    --bo-hang: 24px;
    --bo-the: 32px;
    --bo-tron: 999px;
    --vien-the: 8px;
    --thoi-gian: 180ms;
    --chuyen-dong: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--cach-6); scrollbar-color: var(--mau-vien-truong) var(--mau-nen); }
body { margin: 0; background: var(--mau-nen); color: var(--mau-chu); font: 400 var(--chu-noi-dung)/1.6 var(--font-chu); }
::selection { color: var(--mau-navy); background: var(--mau-boi-den); }
button, input, select { font: inherit; color: inherit; }
input { caret-color: var(--mau-xanh); }
button, select { cursor: pointer; }
a { color: var(--mau-xanh-dam); text-underline-offset: .22em; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--mau-xanh); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.35; text-wrap: balance; }
h1 { font-size: var(--chu-tieu-de-trang); letter-spacing: -.035em; }
h2 { font-size: var(--chu-tieu-de-muc); letter-spacing: -.025em; }
h3 { font-size: var(--chu-tieu-de-the); letter-spacing: -.02em; }
svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.chu-phu { color: var(--mau-chu-phu); font-size: var(--chu-phu); }
.so-lieu { font-family: var(--font-so); font-variant-numeric: tabular-nums; font-weight: 600; line-height: 1.1; }
.chi-doc { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bo-qua { position: fixed; top: var(--cach-3); left: var(--cach-3); z-index: 5; padding: var(--cach-3) var(--cach-4); background: var(--mau-trang); transform: translateY(-160%); }
.bo-qua:focus { transform: translateY(0); }

.nut { min-height: 46px; display: inline-flex; gap: var(--cach-2); align-items: center; justify-content: center; border: 1px solid transparent; border-radius: var(--bo-tron); padding: 10px 22px; font-size: var(--chu-phu); font-weight: 500; text-decoration: none; transition: background-color var(--thoi-gian) var(--chuyen-dong), box-shadow var(--thoi-gian) var(--chuyen-dong); }
.nut svg { width: 18px; height: 18px; }
.nut-chinh { color: var(--mau-trang); background: var(--mau-xanh); }
.nut-chinh:hover { background: var(--mau-xanh-dam); }
.nut-chinh:active { background: var(--mau-navy); }
.nut-phu { color: var(--mau-navy); background: var(--mau-trang); border-color: var(--mau-vien); }
.nut-phu:hover { background: var(--mau-xanh-nhat); }
.nut:disabled { background: var(--mau-o-bieu-tuong); color: var(--mau-chu-phu); cursor: not-allowed; }
.truong { display: grid; gap: var(--cach-2); font-size: var(--chu-phu); font-weight: 500; }
.o-nhap, .chon { min-width: 0; min-height: 46px; border: 1px solid var(--mau-vien-truong); border-radius: var(--bo-truong); background: var(--mau-trang); padding: 10px 14px; }
.o-nhap::placeholder { color: var(--mau-chu-phu); opacity: 1; }
.o-nhap:focus, .chon:focus { border-color: var(--mau-xanh); outline: 2px solid var(--mau-xanh); outline-offset: -2px; }
.o-nhap[aria-invalid="true"] { border-color: var(--mau-loi); }
.o-nhap[aria-invalid="true"]:focus { outline-color: var(--mau-loi); }
.loi-truong { color: var(--mau-loi); font-size: var(--chu-nho); font-weight: 400; }
.chon { font-size: var(--chu-phu); font-weight: 500; padding-right: 12px; }

.nhan { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: var(--bo-tron); font-size: var(--chu-nho); font-weight: 500; line-height: 1.5; white-space: nowrap; }
.nhan::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.nhan-thong-tin { color: var(--mau-xanh-dam); background: var(--mau-xanh-nhat); }
.nhan-thanh-cong { color: var(--mau-thanh-cong); background: var(--mau-nen-thanh-cong); }
.nhan-canh-bao { color: var(--mau-canh-bao); background: var(--mau-nen-canh-bao); }
.nhan-loi { color: var(--mau-loi); background: var(--mau-nen-loi); }
.nhan-trung-tinh { color: var(--mau-chu-phu); background: var(--mau-o-bieu-tuong); }

.the { border: var(--vien-the) solid var(--mau-trang); border-radius: var(--bo-the); background: var(--mau-nen-the); padding: var(--cach-6); min-width: 0; }
.dau-the { display: flex; align-items: center; gap: var(--cach-4); }
.dau-the > div { min-width: 0; }
.dau-the p { margin-top: var(--cach-1); }
.bieu-tuong { width: 56px; height: 56px; display: grid; place-items: center; border-radius: var(--bo-bieu-tuong); background: var(--mau-o-bieu-tuong); color: var(--mau-navy); flex-shrink: 0; }
.bieu-tuong-xanh { color: var(--mau-xanh); background: var(--mau-xanh-nhat); }
.the-tien-do { background: var(--mau-trang); outline: 1px solid var(--mau-nen-the); outline-offset: -9px; }
.hang-tien-do { display: flex; align-items: center; gap: var(--cach-5); margin-top: var(--cach-8); }
.thanh-tien-do { position: relative; height: 42px; flex: 1; min-width: 0; border-radius: var(--bo-tron); background: repeating-linear-gradient(55deg, transparent, transparent 3px, var(--mau-vien) 3px, var(--mau-vien) 4px); }
.thanh-tien-do progress { display: block; width: 100%; height: 100%; appearance: none; border: 0; background: transparent; border-radius: inherit; overflow: hidden; }
.thanh-tien-do progress::-webkit-progress-bar { background: transparent; }
.thanh-tien-do progress::-webkit-progress-value { border-radius: var(--bo-tron); background: linear-gradient(90deg, var(--mau-xanh-nhat), var(--mau-xanh)); }
.thanh-tien-do progress::-moz-progress-bar { border-radius: var(--bo-tron); background: linear-gradient(90deg, var(--mau-xanh-nhat), var(--mau-xanh)); }
.moc-tien-do { position: absolute; top: 0; left: clamp(0px, calc(var(--tien-do, 72) * 1% - 42px), calc(100% - 42px)); width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid var(--mau-xanh); border-radius: 15px; background: var(--mau-trang); color: var(--mau-navy); pointer-events: none; }
.moc-tien-do svg { width: 21px; height: 21px; }
.gia-tri-tien-do { font-size: 2.75rem; letter-spacing: -.035em; white-space: nowrap; }
.hang-chi-so { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: var(--cach-3); align-items: center; padding: 12px; border-radius: var(--bo-hang); background: var(--mau-trang); }
.hang-chi-so .bieu-tuong { width: 52px; height: 52px; }
.ten-chi-so { font-size: var(--chu-phu); font-weight: 500; }
.hang-chi-so .chu-phu { margin-top: 3px; font-size: var(--chu-nho); }
.gia-tri-chi-so { border-left: 1px solid var(--mau-vien); padding: var(--cach-2) var(--cach-1) var(--cach-2) var(--cach-4); font-size: 1.75rem; white-space: nowrap; }

@media (max-width: 600px) {
    :root { --vien-the: 6px; }
    .the { padding: var(--cach-5); border-radius: 28px; }
    .hang-chi-so { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; }
    .hang-chi-so .bieu-tuong { width: 46px; height: 46px; border-radius: 16px; }
    .gia-tri-chi-so { font-size: 1.5rem; padding-left: var(--cach-3); }
    .gia-tri-tien-do { font-size: 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media (forced-colors: active) {
    .the, .hang-chi-so, .nhan, .bieu-tuong { border: 1px solid CanvasText; }
    .thanh-tien-do { border: 1px solid CanvasText; }
}
