/* TEACHPLUS GLOBAL CSS V1.0
 * Refactor from Code Snippets export 2026-12-03.
 * Original declarations and patch order retained. UTF-8.
 * Do not reorder sections without regression testing.
 */

/* ======================================================================
   01 | HEADER MENU - SPEAKING & GAME HUB | Source snippet ID 12
   ====================================================================== */
/* =====================================
   01. THIẾT LẬP CHUNG
===================================== */

.tp-menu-speaking,
.tp-menu-game {
    position: relative;
}

li.tp-menu-speaking > a,
li.tp-menu-game > a {

    --tp-icon-left: 15px;
    --tp-icon-size: 19px;
    --tp-icon-gap: 9px;

    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;

    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: calc(
        var(--tp-icon-left) +
        var(--tp-icon-size) +
        var(--tp-icon-gap)
    ) !important;
    padding-right: 17px !important;

    min-height: 38px !important;
    height: auto !important;

    border: 0 !important;
    border-radius: 50px !important;

    color: #ffffff !important;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-decoration: none !important;
    white-space: nowrap !important;

    opacity: 1 !important;
    overflow: visible !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

/* =====================================
   02. CỐ ĐỊNH VỊ TRÍ ICON
===================================== */

li.tp-menu-speaking > a::before,
li.tp-menu-game > a::before {

    content: "" !important;
    display: block !important;

    position: absolute !important;
    left: var(--tp-icon-left) !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;

    transform: translateY(-50%) !important;

    width: var(--tp-icon-size) !important;
    height: var(--tp-icon-size) !important;

    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;

    visibility: visible !important;
    opacity: 1 !important;

    pointer-events: none !important;
    z-index: 2 !important;
}

/* =====================================
   03. ONLINE SPEAKING 1:1
===================================== */

li.tp-menu-speaking > a {

    background: linear-gradient(
        180deg,
        #368bff 0%,
        #0868ef 50%,
        #004bdc 100%
    ) !important;

    box-shadow:
        0 4px 10px rgba(0,91,230,.26),
        inset 0 1px 0 rgba(255,255,255,.35);
}

/* Icon tai nghe */

li.tp-menu-speaking > a::before {

    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14v-3a9 9 0 0 1 18 0v3'/%3E%3Crect x='3' y='12' width='4' height='8' rx='2'/%3E%3Crect x='17' y='12' width='4' height='8' rx='2'/%3E%3C/svg%3E")
    center / contain no-repeat !important;
}

/* =====================================
   04. GAME HUB
===================================== */

li.tp-menu-game > a {

    --tp-icon-size: 21px;

    background: linear-gradient(
        180deg,
        #a06aff 0%,
        #783bf5 50%,
        #6022db 100%
    ) !important;

    box-shadow:
        0 4px 10px rgba(111,44,230,.28),
        inset 0 1px 0 rgba(255,255,255,.35);
}

/* Icon tay cầm chơi game */

li.tp-menu-game > a::before {

    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12c2 0 3 2 4 6l1 4c.5 3-2 4-4 2l-4-4H9l-4 4c-2 2-4.5 1-4-2l1-4c1-4 2-6 4-6z'/%3E%3Cpath d='M7 9v5M4.5 11.5h5'/%3E%3Ccircle cx='16' cy='10' r='.8'/%3E%3Ccircle cx='19' cy='13' r='.8'/%3E%3C/svg%3E")
    center / contain no-repeat !important;
}

/* Tia sáng vàng */

li.tp-menu-game > a::after {

    content: "" !important;
    position: absolute !important;
    display: block !important;

    top: -12px !important;
    right: -9px !important;
    left: auto !important;
    bottom: auto !important;

    width: 23px !important;
    height: 23px !important;

    margin: 0 !important;
    border: 0 !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;

    pointer-events: none !important;

    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='none' stroke='%23FFC400' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M5 13L7 3M14 16L22 7M18 24L28 20'/%3E%3C/svg%3E")
    center / contain no-repeat !important;
}

/* =====================================
   05. HIỆU ỨNG HOVER
===================================== */

@media (hover: hover) and (pointer: fine) {

    li.tp-menu-speaking > a:hover {

        transform: translateY(-2px);

        background: linear-gradient(
            180deg,
            #56a2ff,
            #0054e8
        ) !important;

        box-shadow:
            0 6px 16px rgba(0,91,230,.38);
    }

    li.tp-menu-game > a:hover {

        transform: translateY(-2px);

        background: linear-gradient(
            180deg,
            #b281ff,
            #6725e8
        ) !important;

        box-shadow:
            0 6px 16px rgba(111,44,230,.38);
    }
}

li.tp-menu-speaking > a:active,
li.tp-menu-game > a:active {
    transform: scale(.97);
}

/* =====================================
   06. LOẠI BỎ GẠCH CHÂN FLATSOME
===================================== */

li.tp-menu-speaking::before,
li.tp-menu-speaking::after,
li.tp-menu-game::before,
li.tp-menu-game::after,
li.tp-menu-speaking > a::after {

    display: none !important;
}

/* =====================================
   07. DESKTOP
===================================== */

@media (min-width: 1200px) {

    .header-nav > li.tp-menu-speaking,
    .header-nav > li.tp-menu-game {

        margin-left: 5px !important;
        margin-right: 5px !important;
    }
}

/* =====================================
   08. TABLET - LAPTOP NHỎ
===================================== */

@media (min-width: 850px) and (max-width: 1199px) {

    li.tp-menu-speaking > a,
    li.tp-menu-game > a {

        --tp-icon-left: 13px;
        --tp-icon-size: 16px;
        --tp-icon-gap: 7px;

        padding-top: 9px !important;
        padding-bottom: 9px !important;
        padding-right: 14px !important;

        font-size: 11px !important;
        min-height: 34px !important;
    }

    .header-nav > li.tp-menu-speaking,
    .header-nav > li.tp-menu-game {

        margin-left: 3px !important;
        margin-right: 3px !important;
    }
}

/* =====================================
   09. MOBILE - MENU SIDEBAR
===================================== */

@media (max-width: 849px) {

    .mobile-sidebar li.tp-menu-speaking,
    .mobile-sidebar li.tp-menu-game,
    .off-canvas li.tp-menu-speaking,
    .off-canvas li.tp-menu-game,
    .nav-sidebar li.tp-menu-speaking,
    .nav-sidebar li.tp-menu-game {

        padding: 6px 16px !important;
        margin: 3px 0 !important;
        border: 0 !important;
    }

    .mobile-sidebar li.tp-menu-speaking > a,
    .mobile-sidebar li.tp-menu-game > a,
    .off-canvas li.tp-menu-speaking > a,
    .off-canvas li.tp-menu-game > a,
    .nav-sidebar li.tp-menu-speaking > a,
    .nav-sidebar li.tp-menu-game > a {

        --tp-icon-left: 17px;
        --tp-icon-size: 20px;
        --tp-icon-gap: 11px;

        display: flex !important;
        justify-content: flex-start !important;

        width: 100% !important;
        min-height: 44px !important;

        padding-top: 12px !important;
        padding-bottom: 12px !important;
        padding-right: 17px !important;

        border-radius: 12px !important;
        font-size: 13px !important;
        white-space: normal !important;
    }

    li.tp-menu-game > a::after {

        width: 19px !important;
        height: 19px !important;
        top: -8px !important;
        right: -5px !important;
    }
}

/* =====================================
   10. ACCESSIBILITY
===================================== */

li.tp-menu-speaking > a:focus-visible,
li.tp-menu-game > a:focus-visible {

    outline: 3px solid #ffb52e !important;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

    li.tp-menu-speaking > a,
    li.tp-menu-game > a {

        transition: none !important;
        transform: none !important;
    }
}

/* ======================================================================
   02 | GLOBAL SECTION HEADING | Source snippet ID 13
   ====================================================================== */
/* =====================================
   01. THÔNG SỐ THIẾT KẾ CHUNG
===================================== */

.tp-section-title {

    --tp-title-color: #092e68;
    --tp-title-size: clamp(24px, 2.5vw, 34px);
    --tp-title-weight: 800;
    --tp-title-spacing: -0.7px;
    --tp-spark-size: 29px;
    --tp-line-width: 115px;
    --tp-line-height: 15px;

    position: relative !important;
    overflow: visible !important;

    font-family: Montserrat, Arial, sans-serif !important;
    font-size: var(--tp-title-size) !important;
    font-weight: var(--tp-title-weight) !important;
    color: var(--tp-title-color) !important;
    line-height: 1.35 !important;
    letter-spacing: var(--tp-title-spacing) !important;

    padding-top: 8px !important;
    padding-left: 12px !important;
    padding-bottom: 17px !important;

    margin-bottom: 12px !important;
}

/* =====================================
   02. ĐỒNG BỘ MỌI ĐỊNH DẠNG TEXT
===================================== */

.tp-section-title :is(
    p, h1, h2, h3, h4, h5, h6,
    span, strong, b
) {

    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* =====================================
   03. TIA SÁNG VÀNG CAM
===================================== */

.tp-section-title::before {

    content: "" !important;
    display: block !important;
    position: absolute !important;

    top: -9px;
    left: -7px;

    width: var(--tp-spark-size);
    height: var(--tp-spark-size);

    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23FFB000' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M4 24L11 26M9 10L15 17M23 3L22 13'/%3E%3C/svg%3E")
    center / contain no-repeat;

    pointer-events: none;
    z-index: 1;
}

/* =====================================
   04. NÉT CONG GRADIENT
===================================== */

.tp-section-title::after {

    content: "" !important;
    display: block !important;
    position: absolute !important;

    left: 12px;
    bottom: 0;

    width: var(--tp-line-width);
    height: var(--tp-line-height);

    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 18'%3E%3Cdefs%3E%3ClinearGradient id='g'%3E%3Cstop offset='0' stop-color='%23FF7900'/%3E%3Cstop offset='.55' stop-color='%23FFA500'/%3E%3Cstop offset='1' stop-color='%23FFB900' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M4 12 Q66 -7 138 10 Q68 1 5 17 Q-2 17 4 12Z' fill='url(%23g)'/%3E%3C/svg%3E")
    left center / contain no-repeat;

    pointer-events: none;
}

/* =====================================
   05. PHIÊN BẢN CĂN GIỮA
===================================== */

.tp-section-title.tp-title-center {

    display: table !important;
    width: fit-content !important;
    max-width: 100% !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 12px !important;
    padding-right: 12px !important;

    text-align: center !important;
}

.tp-section-title.tp-title-center::after {

    left: 50% !important;
    transform: translateX(-50%);
}

/* =====================================
   06. TABLET
===================================== */

@media (min-width: 768px) and (max-width: 1023px) {

    .tp-section-title {

        --tp-title-size: 28px;
        --tp-spark-size: 25px;
        --tp-line-width: 100px;
        --tp-line-height: 13px;
    }
}

/* =====================================
   07. MOBILE
===================================== */

@media (max-width: 767px) {

    .tp-section-title {

        --tp-title-size: 23px;
        --tp-title-spacing: -0.4px;
        --tp-spark-size: 21px;
        --tp-line-width: 85px;
        --tp-line-height: 11px;

        line-height: 1.4 !important;

        padding-top: 6px !important;
        padding-left: 9px !important;
        padding-bottom: 13px !important;

        margin-bottom: 8px !important;
    }

    .tp-section-title::before {

        top: -7px;
        left: -4px;
    }

    .tp-section-title::after {

        left: 9px;
    }
}

/* =====================================
   08. MOBILE MÀN HÌNH NHỎ
===================================== */

@media (max-width: 374px) {

    .tp-section-title {

        --tp-title-size: 21px;
        --tp-spark-size: 19px;
        --tp-line-width: 75px;
    }
}

/* ======================================================================
   03 | FLOATING CONTACT - DESKTOP / TABLET | Source snippet ID 10
   ====================================================================== */
/* Ẩn mặc định */
    #teachplus-contact-float {
        display: none;
    }

    /* Chỉ Desktop và Tablet */
    @media (min-width: 768px) {

        #teachplus-contact-float {
            position: fixed;
            right: 22px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 99999;

            display: flex;
            flex-direction: column;
            gap: 18px;

            background: transparent;
        }

        .tp-contact-wrap {
            position: relative;
            width: 60px;
            height: 60px;
        }

        .tp-contact-btn {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;

            width: 60px;
            height: 60px;

            border-radius: 50%;
            text-decoration: none;

            box-shadow: 0 3px 8px rgba(0,0,0,.22);

            /* Rung như code cũ */
            animation: tp-shake-v6 2s infinite;
        }

        .tp-zalo {
            background: #0068ff;
        }

        .tp-phone {
            background: #00c95f;
        }

        .tp-messenger {
            background: linear-gradient(
                135deg,
                #ff4a8a,
                #913aff,
                #168bff
            );
        }

        .tp-contact-btn img {
            width: 43px;
            height: 43px;
            object-fit: contain;
        }

        .tp-contact-btn svg {
            width: 33px;
            height: 33px;
        }

        /* Hiệu ứng rung giống code cũ */
        @keyframes tp-shake-v6 {
            0%, 100% {
                transform: rotate(0deg);
            }

            10% {
                transform: rotate(5deg);
            }

            20% {
                transform: rotate(-5deg);
            }

            30% {
                transform: rotate(5deg);
            }

            40% {
                transform: rotate(-5deg);
            }

            50% {
                transform: rotate(0deg);
            }
        }

        /* Vòng sáng lan tỏa phía sau */
        .tp-contact-wrap::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 50%;
            pointer-events: none;

            animation: tp-pulse-v6 2.4s infinite;
        }

        .tp-zalo-wrap::before {
            background: rgba(0,104,255,.35);
        }

        .tp-phone-wrap::before {
            background: rgba(0,201,95,.35);
        }

        .tp-messenger-wrap::before {
            background: rgba(145,58,255,.35);
        }

        @keyframes tp-pulse-v6 {
            0% {
                transform: scale(1);
                opacity: .8;
            }

            100% {
                transform: scale(1.75);
                opacity: 0;
            }
        }

        /* Rung lệch nhịp */
        .tp-phone {
            animation-delay: .5s;
        }

        .tp-messenger {
            animation-delay: 1s;
        }

        /* Tablet */
        @media (max-width: 1024px) {
            #teachplus-contact-float {
                right: 12px;
                gap: 15px;
            }

            .tp-contact-wrap,
            .tp-contact-btn {
                width: 54px;
                height: 54px;
            }
        }
    }

/* ======================================================================
   04 | REGISTRATION POPUP | Source snippet ID 8
   ====================================================================== */
/* ===== TEACHPLUS POPUP V3 ===== */
#tp-modal,
#tp-modal * {
    box-sizing: border-box;
}

#tp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,18,50,.75);
    padding: 16px;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

#tp-modal.tp-open {
    display: flex;
}

#tp-modal .tp-panel {
    position: relative;
    width: 100%;
    max-width: 850px;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 25px 80px rgba(0,0,0,.3);
    font-family: Montserrat, Arial, sans-serif;
}

#tp-modal .tp-layout {
    display: grid;
    grid-template-columns: 44% 56%;
    min-height: 480px;
}

/* BRAND COLUMN */
#tp-modal .tp-brand {
    background: #07377d;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

#tp-modal .tp-brand-image {
    height: 245px;
    background: linear-gradient(135deg,#07377d,#0870d7);
    overflow: hidden;
}

#tp-modal .tp-brand-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

#tp-modal .tp-brand-content {
    padding: 26px 25px;
    flex: 1;
    background: linear-gradient(150deg,#064b9c,#072d69);
}

#tp-modal .tp-eyebrow {
    display: inline-block;
    color: #ffb547;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
    margin-bottom: 12px;
}

#tp-modal .tp-brand h3 {
    color: #fff;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 12px;
}

#tp-modal .tp-brand p {
    color: #eaf3ff;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}

#tp-modal .tp-offer {
    margin-top: 20px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 9px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

/* FORM COLUMN */
#tp-modal .tp-form-column {
    min-width: 0;
    background: #fff;
}

#tp-modal .tp-head {
    position: relative;
    padding: 30px 30px 12px;
}

#tp-modal .tp-head h2 {
    color: #07377d;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
    margin: 0 30px 8px 0;
}

#tp-modal .tp-head p {
    color: #60718a;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

#tp-modal .tp-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    margin: 0;
    padding: 0;
    background: #eef4fb;
    color: #07377d;
    border: 1px solid #dce6f3;
    border-radius: 8px;
    box-shadow: none;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transform: none;
}

#tp-modal .tp-close:hover {
    background: #dfeafb;
    color: #07377d;
}

#tp-modal .tp-close::before,
#tp-modal .tp-close::after {
    content: none;
}

#tp-modal .tp-body {
    padding: 12px 30px 28px;
}

#tp-modal label:not(.tp-consent) {
    display: block;
    color: #082c67;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
}

#tp-modal input:not([type=checkbox]),
#tp-modal select {
    display: block;
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0 12px;
    margin: 0 0 13px;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    background: #fff;
    color: #243c60;
    font-size: 14px;
    font-family: inherit;
    box-shadow: none;
    outline: none;
}

#tp-modal input:focus,
#tp-modal select:focus {
    border-color: #0871d9;
    box-shadow: 0 0 0 2px rgba(8,113,217,.12);
}

#tp-modal .tp-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 4px 0 16px;
    color: #53657d;
    font-size: 11px;
    line-height: 1.55;
    font-weight: 400;
}

#tp-modal .tp-consent input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    accent-color: #0871d9;
}

#tp-modal .tp-submit {
    display: block;
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 10px 15px;
    background: linear-gradient(90deg,#ff6900,#ff9700);
    color: #fff;
    border: 0;
    border-radius: 9px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: filter .2s ease;
}

#tp-modal .tp-submit:hover {
    filter: brightness(1.07);
}

#tp-modal .tp-submit:disabled {
    opacity: .65;
    cursor: wait;
}

#tp-modal .tp-message {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

#tp-modal .tp-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#tp-modal .tp-close:focus-visible,
#tp-modal .tp-submit:focus-visible {
    outline: 2px solid #ff8200;
    outline-offset: 2px;
}

/* MOBILE */
@media(max-width:700px) {
    #tp-modal {
        padding: 10px;
    }

    #tp-modal .tp-panel {
        max-width: 460px;
        max-height: calc(100dvh - 20px);
        border-radius: 14px;
    }

    #tp-modal .tp-layout {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    #tp-modal .tp-brand {
        flex-direction: row;
        min-height: 126px;
    }

    #tp-modal .tp-brand-image {
        width: 32%;
        height: auto;
        min-height: 126px;
        flex-shrink: 0;
    }

    #tp-modal .tp-brand-content {
        padding: 14px 12px;
    }

    #tp-modal .tp-eyebrow {
        font-size: 9px;
        margin-bottom: 6px;
    }

    #tp-modal .tp-brand h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    #tp-modal .tp-brand p {
        font-size: 10px;
        line-height: 1.45;
    }

    #tp-modal .tp-offer {
        margin-top: 8px;
        padding: 6px;
        font-size: 10px;
    }

    #tp-modal .tp-head {
        padding: 18px 18px 8px;
    }

    #tp-modal .tp-head h2 {
        font-size: 20px;
    }

    #tp-modal .tp-head p {
        font-size: 12px;
    }

    #tp-modal .tp-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }

    #tp-modal .tp-body {
        padding: 10px 18px 20px;
    }

    #tp-modal input:not([type=checkbox]),
    #tp-modal select {
        font-size: 16px;
        height: 43px;
        min-height: 43px;
        margin-bottom: 10px;
    }
}

@media(max-width:360px) {
    #tp-modal .tp-brand-image {
        width: 27%;
    }
    #tp-modal .tp-brand h3 {
        font-size: 13px;
    }
    #tp-modal .tp-brand p {
        display: none;
    }
}

@media(prefers-reduced-motion:reduce) {
    #tp-modal .tp-submit {
        transition: none;
    }
}

/* ======================================================================
   05 | MOBILE BOTTOM BAR | Source snippet ID 9
   ====================================================================== */
#tp-mobile-bottom {
        display: none;
    }

    @media (max-width: 767px) {

        #tp-mobile-bottom {
            display: flex;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 99990;
            gap: 10px;
            padding: 11px 12px;
            padding-bottom: calc(
                11px + env(safe-area-inset-bottom, 0px)
            );
            background: rgba(255,255,255,.98);
            border-top: 1px solid #e4ecf6;
            box-shadow: 0 -5px 24px rgba(6,47,105,.12);
            font-family: Montserrat, Arial, sans-serif;
            box-sizing: border-box;
        }

        #tp-mobile-bottom *,
        #tp-mobile-bottom *::before,
        #tp-mobile-bottom *::after {
            box-sizing: border-box;
        }

        #tp-mobile-bottom .tp-bottom-btn {
            flex: 1;
            min-width: 0;
            min-height: 51px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            padding: 10px 6px;
            border: 0;
            border-radius: 12px;
            color: #fff;
            font-size: 12.5px;
            font-weight: 800;
            line-height: 1.25;
            text-align: center;
            text-decoration: none;
            white-space: nowrap;
            cursor: pointer;
            transition: transform .2s, filter .2s;
        }

        #tp-mobile-bottom .tp-bottom-btn:hover {
            color: #fff;
            filter: brightness(1.05);
        }

        #tp-mobile-bottom .tp-bottom-btn:active {
            transform: scale(.97);
        }

        #tp-mobile-bottom .tp-bottom-zalo {
            background: linear-gradient(
                135deg, #0878ff, #0753c7
            );
            box-shadow: 0 4px 12px rgba(8,104,232,.23);
        }

        #tp-mobile-bottom .tp-bottom-book {
            background: linear-gradient(
                135deg, #ff9c26, #ff6900
            );
            box-shadow: 0 4px 12px rgba(255,117,0,.23);
        }

        #tp-mobile-bottom .tp-bottom-icon {
            width: 19px;
            height: 19px;
            flex-shrink: 0;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        body {
            padding-bottom: calc(
                77px + env(safe-area-inset-bottom, 0px)
            );
        }

        body:has(#tp-modal.tp-open) #tp-mobile-bottom {
            display: none;
        }

        @media (max-width: 360px) {
            #tp-mobile-bottom {
                gap: 7px;
                padding-left: 8px;
                padding-right: 8px;
            }

            #tp-mobile-bottom .tp-bottom-btn {
                font-size: 11px;
                gap: 4px;
            }

            #tp-mobile-bottom .tp-bottom-icon {
                width: 16px;
                height: 16px;
            }
        }
    }
