*,
*:before,
*:after {
    box-sizing: border-box;
}

/*
    Color tokens are defined in :root below. To keep colors in sync with Figma,
    copy the hex/rgba values from your Figma styles and replace the variables.

    Example override (for theming or staging):
    :root[data-theme="dark"] {
        --color-bg: #0b1020;
        --color-text: #e6eef8;
    }

    Or override in a component-specific stylesheet:
    .my-component { --color-primary: #FF7A59; }
*/

* {
    margin: 0;
    padding: 0;
    /* font: inherit; */
}

:root {
    /* ===== Color palette (centralized tokens).
       Replace these values with the exact color tokens from your Figma file.
       Example: --color-primary: #0a84ff; or use rgba()/hsla() for transparency-aware tokens.
    */

    /* Neutrals */
    --color-bg: #ffffff; /* page background (was: white) */
    --color-surface: #ffffff; /* cards, surfaces */
    --color-text-black: #000000; /* body text (was: black) */
    --color-muted: #6b6b6b; /* secondary text / placeholders */

    /* Primary / Brand */
    --color-primary: #6519ff; /* main brand color (example) */
    --color-primary-variant: #4b10d9;

    /* Accent gradient colors (used in custom scrollbar) */
    --color-accent-1: #f7083a; /* start gradient */
    --color-accent-2: #6519ff; /* end gradient */

    /* Semantic colors */
    --color-success: #16a34a;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;

    /* Opacity tokens (optional) */
    --glass-10: rgba(255, 255, 255, 0.1);
    --overlay-50: rgba(0, 0, 0, 0.5);

    --color-0aef: #00aeef;
    --color-0d3: #0d307a;
    --color-007: #007eff;
    --color-c1e: #c1eeff;
    --color-faf: #fafeff;
    --color-4: #00aeef;
    --color-2d: #2d2d2d;
    --color-text: rgba(50, 50, 50, 0.95);
    --color-text-36: rgba(36, 36, 36, 0.95);

    /* Design tokens from Figma node */
    --color-primary: #dd2021; /* Red from design */
    --color-text-default: #323232; /* primary text color */
    --color-bg-hero: #edf7fd; /* hero background */
    --color-accent-1: #f7083a;
    --color-accent-2: #6519ff;
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
    user-select: none;
}
input,
select,
textarea {
    background-color: transparent;
    outline: none;
    border: none;
}
button {
    cursor: pointer;
    background-color: transparent;
    outline: none;
    border: 0;
}

button,
img {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
}

a {
    text-decoration: none;
    /* color: inherit; */
}

html {
    /* fixed 14.4px = 1vw @ 1440 (figma design width), so rem values stay correct
       across the whole tablet/laptop range instead of shrinking with raw vw */
    font-size: 14.4px;
    scroll-behavior: smooth;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior: none;
    -webkit-user-drag: none;
    -ms-content-zooming: none;
    vertical-align: baseline;
    position: relative;
    background: var(--color-bg, #ffffff);
    color: var(--color-text, #000000);
    line-height: 1.6;
}

@media (max-width: 639px) {
    html {
        font-size: 3.84vw; /* fluid, anchored to 14.4px at a 375px phone viewport */
    }
}

/* Custom thanh cuộn */
html::-webkit-scrollbar,
.custom-scroll::-webkit-scrollbar {
    width: 0.45rem;
}

html::-webkit-scrollbar-track,
.custom-scroll::-webkit-scrollbar-track {
    background: var(--color-bg, #ffffff);
}

html::-webkit-scrollbar-thumb,
.custom-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        var(--color-accent-1, #f7083a) 0%,
        var(--color-accent-2, #6519ff) 100%
    );
    border-radius: 1.5rem;
}

/* Ẩn thanh cuộn */
.scrollbar-hidden {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hidden::-webkit-scrollbar {
    display: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: currentColor !important;
}

/* Ẩn nút tăng/giảm trên tất cả trình duyệt */
input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
}

/* Ẩn trên WebKit (Chrome, Safari, Edge) */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
@media screen and (max-width: 639px) {
}
/*  */
[data-kirki-setting-link="home_programs_list"] .button-secondary.repeater-add {
    display: none !important;
}
/*  */
.customize-partial-edit-shortcut {
    z-index: 999;
    top: -2rem;
    right: -2rem;
    position: absolute;
}
.customize-partial-edit-shortcut-button {
    width: 2rem;
    height: 2rem;
    background: #28b4e9;
    border-radius: 100%;
    border: 2px solid white;
}
.customize-partial-edit-shortcut-button svg {
    fill: white;
}
.main-section > .customize-partial-edit-shortcut {
    z-index: 999;
    top: 0;
    left: 0;
    right: unset;
    position: absolute;
}
.hidden-edit-shortcut > .customize-partial-edit-shortcut {
    display: none;
}
.customize_bottom_left > .customize-partial-edit-shortcut {
    bottom: 0;
    left: 0;
    right: unset;
    top: unset;
}
.customize_bottom_right > .customize-partial-edit-shortcut {
    bottom: 0;
    left: unset;
    right: 0;
    top: unset;
}
.customize_top_left > .customize-partial-edit-shortcut {
    bottom: unset;
    left: 0;
    right: unset;
    top: 0;
}
.relative {
    position: relative;
}
/*  */
.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}
.page-numbers {
    border: 1px solid #929292;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: #000;
    transition: all 0.3s;
}
.page-numbers:hover,
.page-numbers.current {
    background: #e7e7e7;
}

/*  */
.hidden-fields-container {
    display: none;
}
/*  */
.container {
    max-width: 1290px;
    margin: 0 auto;
}