        #chat-widget {
            position: fixed;
            bottom: 5%;
            right: 10px;
            z-index: 9999;
        }

        #chat-toggle-btn {
            /* width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: #2563eb;
            color: white;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 26px; */
        }

        /* #chat-container {
            display: none;
            position: fixed;
            bottom: 90px;
            right: 35px;
            width: 380px;
            height: 580px;
            z-index: 9998;
        } */

        #chat-container {
            display: none;
            position: fixed;
            bottom: 0px;
            right: 0px;
            width: 30%;
            height: 100%;
            z-index: 9998;
        }

        #chat-iframe {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        #chat-close-btn {
            position: absolute;
            top: 0px;
            right: 0px;
            background-color: burlywood;
            color: white;
            border: none;
            border-radius: 50%;
            width: 28px;
            height: 28px;
            /* font-size: 16px; */
            cursor: pointer;
            z-index: 10000;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #chat-fullscreen-btn {
            position: absolute;
            top: 0px;
            right: 40px;
            background-color: burlywood;
            color: white;
            border: none;
            border-radius: 50%;
            width: 28px;
            height: 28px;
            /* font-size: 16px; */
            cursor: pointer;
            z-index: 10000;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
            display: flex;
            justify-content: center;
            align-items: center;
        }

        @media (max-width: 480px) {
            #chat-container {
                width: 90%;
                height: 80%;
                bottom: 80px;
                right: 5%;
                z-index: 9999;
            }

            #chat-widget {
                right: 15px;
            }
        }

        @media (max-width: 992px) {
            #chat-fullscreen-btn {
                display: none;
            }
        }

        /* Lá»›p che footer */
        /* Lớp che footer + chứa nội dung custom */
        #chat-footer-overlay {
            position: absolute;
            bottom: 68px;
            left: 0;
            height: 45px;
            width: 100%;
            background: white;
            z-index: 15;
            pointer-events: auto;
            /* Cho phép click vào overlay */
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: #444;
            border-top: 1px solid #eee;
        }

    /* Link trong overlay */
    #chat-footer-overlay a {
        color: #007bff;
        text-decoration: none;
    }

    #chat-footer-overlay a:hover {
        text-decoration: underline;
    }
    /* ================================
   CTA XSEO – Animate Full Effect
   Pulse + Blink + Shine
================================ */

.btn_xseo-animate {
    position: relative;
    overflow: hidden;
    animation: 
        xseoPulse 1.6s infinite,
        xseoBlink 2.8s infinite;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(229,30,30,0.45);
}

/* Hover mạnh – dừng blink, tập trung click */
.btn_xseo-animate:hover {
    animation-play-state: paused;
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(229,30,30,0.85);
}

/* ===== Hiệu ứng đập nhẹ ===== */
@keyframes xseoPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== Hiệu ứng nhấp nháy (blink) ===== */
@keyframes xseoBlink {
    0%, 100% {
        filter: brightness(1);
    }
    40% {
        filter: brightness(1.15);
    }
    60% {
        filter: brightness(0.95);
    }
}

/* ===== Hiệu ứng ánh sáng quét ===== */
.btn_xseo-animate::after {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 130%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.45),
        transparent
    );
    animation: xseoShine 3.2s infinite;
}

@keyframes xseoShine {
    0% {
        left: -130%;
    }
    60% {
        left: 130%;
    }
    100% {
        left: 130%;
    }
}
