.chat-header-wa-btn {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        background: #25D366;
        color: #ffffff !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        text-decoration: none;
        transition: transform 0.2s ease, background 0.2s ease;
    }
    .chat-header-wa-btn:hover {
        transform: scale(1.1);
        background: #1eb853;
        color: #ffffff !important;
    }
    .chat-auth-wa-banner {
        padding: 0 4px;
    }
    .chat-auth-wa-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 12px;
        background: rgba(37, 211, 102, 0.12);
        border: 1px solid rgba(37, 211, 102, 0.3);
        border-radius: 10px;
        color: inherit;
        text-decoration: none !important;
        transition: all 0.2s ease;
    }
    .chat-auth-wa-link:hover {
        background: rgba(37, 211, 102, 0.22);
        border-color: #25D366;
        color: inherit !important;
    }


    /* Widget Orbit Position */

    .chat-widget-wrapper {

        position: fixed;

        bottom: 30px;

        right: 30px;

        z-index: 2147483640 !important;

        width: 100px;

        height: 100px;

        display: flex;

        align-items: center;

        justify-content: center;

        pointer-events: none;

    }

    .chat-widget-orbit-container {

        position: relative;

        width: 100%;

        height: 100%;

        display: flex;

        align-items: center;

        justify-content: center;

        pointer-events: none;

    }

    .chat-widget-orbit-container .chat-widget-bubble {

        pointer-events: auto;

    }

    /* Main Chat Bubble */

    .chat-widget-bubble {

        position: absolute;

        width: 54px;

        height: 54px;

        border-radius: 50%;

        background: #15b48b;

        border: none;

        color: #ffffff;

        font-size: 1.45rem;

        display: flex;

        align-items: center;

        justify-content: center;

        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);

        cursor: pointer;

        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

        z-index: 10;

        outline: none;

    }

    .chat-widget-bubble:hover {

        transform: scale(1.06);

        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);

        background: #12a07a;

    }

    .chat-widget-bubble i {

        transition: transform 0.3s ease;

    }

    .chat-widget-bubble:hover i {

        transform: rotate(5deg) scale(1.05);

    }

    /* Concentric Ring orbits */

    .chat-widget-ring {

        position: absolute;

        border-radius: 50%;

        pointer-events: none;

    }

    .chat-widget-ring.ring-1 {

        width: 72px;

        height: 72px;

        border: 1px dashed rgba(21, 180, 139, 0.22);

    }

    .chat-widget-ring.ring-2 {

        width: 88px;

        height: 88px;

        border: 1px solid rgba(21, 180, 139, 0.12);

    }

    /* Satellites orbiting around the rings */

    .chat-widget-satellite {

        position: absolute;

        border-radius: 50%;

        background: #15b48b;

        box-shadow: none;

        pointer-events: none;

    }

    .chat-widget-satellite.satellite-1 {

        width: 6px;

        height: 6px;

        animation: chatWidgetOrbit1 8s linear infinite;

    }

    .chat-widget-satellite.satellite-2 {

        width: 8px;

        height: 8px;

        animation: chatWidgetOrbit2 12s linear infinite reverse;

    }

    .chat-widget-satellite.satellite-3 {

        width: 5px;

        height: 5px;

        animation: chatWidgetOrbit3 6s linear infinite;

    }



    @keyframes chatWidgetOrbit1 {

        from { transform: rotate(0deg) translateX(36px) rotate(0deg); }

        to { transform: rotate(360deg) translateX(36px) rotate(-360deg); }

    }

    @keyframes chatWidgetOrbit2 {

        from { transform: rotate(0deg) translateX(44px) rotate(0deg); }

        to { transform: rotate(360deg) translateX(44px) rotate(-360deg); }

    }

    @keyframes chatWidgetOrbit3 {

        from { transform: rotate(180deg) translateX(36px) rotate(-180deg); }

        to { transform: rotate(540deg) translateX(36px) rotate(-540deg); }

    }



    /* Unread Badge */

    .chat-widget-badge {

        position: absolute;

        top: -2px;

        right: -2px;

        background: #ef4444;

        color: #ffffff;

        font-size: 0.72rem;

        font-weight: 700;

        width: 20px;

        height: 20px;

        border-radius: 50%;

        display: flex;

        align-items: center;

        justify-content: center;

        border: 2px solid var(--bg-color, #121212);

        animation: badgePulse 2s infinite;

    }

    @keyframes badgePulse {

        0% { transform: scale(1); }

        50% { transform: scale(1.15); }

        100% { transform: scale(1); }

    }



    /* Chat Window Container */

    .chat-widget-box {

        position: fixed;

        bottom: 100px;

        right: 30px;

        width: 360px;

        height: 480px;

        max-height: calc(100vh - 140px);

        background: var(--box-color, #181c26);

        border: 1px solid var(--border-color, rgba(255, 255, 255, 0.12));

        border-radius: 16px;

        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);

        display: flex;

        flex-direction: column;

        z-index: 2147483647 !important;

        overflow: hidden;

        transform: scale(0.9) translateY(20px);

        opacity: 0;

        pointer-events: none;

        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

    }

    .chat-widget-box.active {

        transform: scale(1) translateY(0);

        opacity: 1;

        pointer-events: auto;

    }



    /* Header Section */

    .chat-widget-header {

        background: rgba(21, 180, 139, 0.08);

        border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));

        padding: 12px 16px;

        display: flex;

        align-items: center;

        justify-content: space-between;

    }

    .chat-widget-profile {

        display: flex;

        align-items: center;

        gap: 10px;

    }

    .chat-widget-avatar {

        width: 36px;

        height: 36px;

        border-radius: 50%;

        border: 1.5px solid #15b48b;

        overflow: hidden;

        background: var(--bg-color, #121212);

    }

    .chat-widget-avatar img {

        width: 100%;

        height: 100%;

        object-fit: cover;

    }

    .chat-widget-info {

        display: flex;

        flex-direction: column;

    }

    .chat-widget-name {

        font-weight: 700;

        font-size: 0.88rem;

        color: var(--font-color, #ffffff);

        display: flex;

        align-items: center;

        gap: 6px;

        line-height: 1.2;

    }

    .chat-widget-status {

        width: 7px;

        height: 7px;

        background: #10b981;

        border-radius: 50%;

        display: inline-block;

        box-shadow: none;

    }

    .chat-widget-subtitle {

        font-size: 0.72rem;

        color: var(--font-secondary-color, #94a3b8);

        margin-top: 1px;

    }

    .chat-widget-close {

        background: transparent;

        border: none;

        color: var(--font-secondary-color, #94a3b8);

        font-size: 1.1rem;

        cursor: pointer;

        transition: color 0.2s, transform 0.2s;

        padding: 4px;

        display: flex;

        align-items: center;

        justify-content: center;

    }

    .chat-widget-close:hover {

        color: var(--font-color, #ffffff);

        transform: rotate(90deg);

    }



    /* Guest Chat Box Spec */

    .guest-chat-box {

        height: auto !important;

        min-height: auto !important;

        max-width: 360px;

        padding-bottom: 6px;

        background: #181c26 !important;

        border: 1px solid rgba(255, 255, 255, 0.12) !important;

        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7) !important;

    }



    /* ── Live Chat Widget: Dark Theme ── */

    html[data-theme="dark"] .chat-widget-box,

    .chat-widget-box {

        background: #181c26 !important;

        border: 1px solid rgba(255, 255, 255, 0.12) !important;

        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7) !important;

    }

    html[data-theme="dark"] .chat-widget-header {

        background: rgba(21, 180, 139, 0.08) !important;

        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;

    }

    html[data-theme="dark"] .chat-widget-name {

        color: #ffffff !important;

    }

    html[data-theme="dark"] .chat-widget-subtitle {

        color: #94a3b8 !important;

    }

    html[data-theme="dark"] .chat-widget-close {

        color: #94a3b8 !important;

    }

    html[data-theme="dark"] .chat-widget-close:hover {

        color: #ffffff !important;

    }

    html[data-theme="dark"] .guest-chat-notice {

        background: rgba(21, 180, 139, 0.08) !important;

        border: 1px solid rgba(21, 180, 139, 0.25) !important;

    }

    html[data-theme="dark"] .guest-notice-text {

        color: #e2e8f0 !important;

    }

    html[data-theme="dark"] .guest-notice-icon {

        color: #10b981 !important;

    }

    html[data-theme="dark"] .guest-chat-divider {

        color: #64748b !important;

    }

    html[data-theme="dark"] .guest-chat-divider::before,

    html[data-theme="dark"] .guest-chat-divider::after {

        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;

    }

    html[data-theme="dark"] .guest-login-btn {

        background: rgba(255, 255, 255, 0.05) !important;

        border: 1px solid rgba(255, 255, 255, 0.12) !important;

        color: #cbd5e1 !important;

    }

    html[data-theme="dark"] .guest-login-btn:hover {

        background: rgba(255, 255, 255, 0.1) !important;

        color: #ffffff !important;

        border-color: rgba(255, 255, 255, 0.25) !important;

    }



    /* ── Live Chat Widget: Light Theme ── */

    html[data-theme="light"] .chat-widget-box {

        background: #ffffff !important;

        border: 1px solid rgba(0, 0, 0, 0.1) !important;

        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14) !important;

    }

    html[data-theme="light"] .chat-widget-header {

        background: #f8fafc !important;

        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;

    }

    html[data-theme="light"] .chat-widget-name {

        color: #0f172a !important;

    }

    html[data-theme="light"] .chat-widget-subtitle {

        color: #64748b !important;

    }

    html[data-theme="light"] .chat-widget-close {

        color: #64748b !important;

    }

    html[data-theme="light"] .chat-widget-close:hover {

        color: #0f172a !important;

    }

    html[data-theme="light"] .guest-chat-notice {

        background: #f0fdf4 !important;

        border: 1px solid rgba(16, 185, 129, 0.35) !important;

    }

    html[data-theme="light"] .guest-notice-text {

        color: #065f46 !important;

    }

    html[data-theme="light"] .guest-notice-icon {

        color: #10b981 !important;

    }

    html[data-theme="light"] .guest-chat-divider {

        color: #94a3b8 !important;

    }

    html[data-theme="light"] .guest-chat-divider::before,

    html[data-theme="light"] .guest-chat-divider::after {

        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;

    }

    html[data-theme="light"] .guest-login-btn {

        background: #f8fafc !important;

        border: 1px solid rgba(0, 0, 0, 0.12) !important;

        color: #1e293b !important;

    }

    html[data-theme="light"] .guest-login-btn:hover {

        background: #f1f5f9 !important;

        color: #0f172a !important;

        border-color: rgba(0, 0, 0, 0.2) !important;

    }

    html[data-theme="light"] .chat-widget-input {

        background: #f8fafc !important;

        border: 1px solid rgba(0, 0, 0, 0.12) !important;

        color: #0f172a !important;

    }

    html[data-theme="light"] .chat-widget-body {

        background: #ffffff !important;

    }

    html[data-theme="light"] .chat-widget-footer {

        background: #f8fafc !important;

        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;

    }

    .guest-chat-content {

        padding: 18px 20px 20px;

    }

    .guest-chat-notice {

        background: rgba(21, 180, 139, 0.08);

        border: 1px solid rgba(21, 180, 139, 0.25);

        border-radius: 10px;

        padding: 12px 14px;

        margin-bottom: 16px;

        display: flex;

        align-items: flex-start;

        gap: 10px;

    }

    .guest-notice-icon {

        color: #10b981;

        font-size: 16px;

        margin-top: 2px;

        flex-shrink: 0;

    }

    .guest-notice-text {

        margin: 0;

        font-size: 13.5px;

        line-height: 1.5;

        color: #e2e8f0;

        font-weight: 500;

    }



    /* WhatsApp Button matching Image 2 */

    .guest-whatsapp-btn {

        display: flex;

        align-items: center;

        background: linear-gradient(135deg, #10b981 0%, #059669 100%);

        border-radius: 14px;

        padding: 12px 16px;

        text-decoration: none !important;

        color: #ffffff !important;

        box-shadow: none;

        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

        position: relative;

        overflow: hidden;

    }

    .guest-whatsapp-btn:hover {

        transform: translateY(-2px);

        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);

        background: linear-gradient(135deg, #15c38c 0%, #06a575 100%);

        color: #ffffff !important;

    }

    .gw-icon-circle {

        width: 38px;

        height: 38px;

        background: rgba(255, 255, 255, 0.2);

        border-radius: 10px;

        display: flex;

        align-items: center;

        justify-content: center;

        flex-shrink: 0;

        margin-right: 14px;

    }

    .gw-icon-circle i {

        font-size: 22px;

        color: #ffffff;

    }

    .gw-text-group {

        display: flex;

        flex-direction: column;

        flex-grow: 1;

    }

    .gw-title {

        font-size: 15px;

        font-weight: 700;

        color: #ffffff;

        line-height: 1.25;

        letter-spacing: 0.2px;

    }

    .gw-subtitle {

        font-size: 12.5px;

        color: #e6f9f0;

        line-height: 1.2;

        margin-top: 2px;

    }

    .gw-arrow {

        display: flex;

        align-items: center;

        justify-content: center;

        color: #ffffff;

        font-size: 16px;

        margin-left: 10px;

        transition: transform 0.2s ease;

    }

    .guest-whatsapp-btn:hover .gw-arrow {

        transform: translate(2px, -2px);

    }

    .guest-chat-divider {

        display: flex;

        align-items: center;

        text-align: center;

        margin: 16px 0 12px;

        color: #64748b;

        font-size: 11px;

        font-weight: 600;

        letter-spacing: 0.5px;

    }

    .guest-chat-divider::before,

    .guest-chat-divider::after {

        content: '';

        flex: 1;

        border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    }

    .guest-chat-divider span {

        padding: 0 10px;

    }

    .guest-login-btn {

        display: flex;

        align-items: center;

        justify-content: center;

        gap: 8px;

        width: 100%;

        padding: 10px 16px;

        border-radius: 10px;

        background: rgba(255, 255, 255, 0.05);

        border: 1px solid rgba(255, 255, 255, 0.12);

        color: #cbd5e1 !important;

        text-decoration: none !important;

        font-size: 13.5px;

        font-weight: 600;

        transition: all 0.2s ease;

    }

    .guest-login-btn:hover {

        background: rgba(255, 255, 255, 0.1);

        color: #ffffff !important;

        border-color: rgba(255, 255, 255, 0.25);

    }



    /* Message Body */

    .chat-widget-body {

        flex: 1;

        padding: 14px 16px;

        overflow-y: auto;

        display: flex;

        flex-direction: column;

        gap: 12px;

        scroll-behavior: smooth;

    }

    .chat-widget-msg {

        display: flex;

        gap: 10px;

        max-width: 82%;

    }

    .chat-widget-msg.msg-right {

        align-self: flex-end;

        flex-direction: row-reverse;

    }

    .chat-widget-msg-avatar {

        width: 28px;

        height: 28px;

        border-radius: 50%;

        overflow: hidden;

        flex-shrink: 0;

        background: var(--bg-color, #121212);

        margin-top: 2px;

    }

    .chat-widget-msg-avatar img {

        width: 100%;

        height: 100%;

        object-fit: cover;

    }

    .chat-widget-msg-text-box {

        display: flex;

        flex-direction: column;

    }

    .chat-widget-msg-text {

        background: rgba(255, 255, 255, 0.06);

        border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));

        color: var(--font-color, #ffffff);

        padding: 9px 13px;

        border-radius: 14px 14px 14px 2px;

        font-size: 0.84rem;

        line-height: 1.45;

        word-break: break-word;

    }

    .msg-right .chat-widget-msg-text {

        background: #15b48b;

        color: #ffffff;

        border: none;

        border-radius: 14px 14px 2px 14px;

    }

    .chat-widget-msg-time {

        font-size: 0.65rem;

        color: var(--font-secondary-color, #94a3b8);

        margin-top: 3px;

    }

    .msg-right .chat-widget-msg-time {

        text-align: right;

    }



    /* Footer Input */

    .chat-widget-footer {

        padding: 10px 14px;

        border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));

        background: rgba(0, 0, 0, 0.15);

        display: flex;

        gap: 8px;

        align-items: center;

    }

    .chat-widget-input {

        flex: 1;

        background: rgba(255, 255, 255, 0.05);

        border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));

        color: var(--font-color, #ffffff);

        padding: 8px 14px;

        border-radius: 20px;

        font-size: 0.84rem;

        outline: none;

        transition: border-color 0.2s;

    }

    .chat-widget-input:focus {

        border-color: #15b48b;

    }

    .chat-widget-send {

        width: 36px;

        height: 36px;

        border-radius: 50%;

        background: #15b48b;

        border: none;

        color: #ffffff;

        display: flex;

        align-items: center;

        justify-content: center;

        cursor: pointer;

        transition: background 0.2s, transform 0.1s;

        outline: none;

    }

    .chat-widget-send:hover {

        background: #12a07a;

        transform: scale(1.05);

    }

    .chat-widget-send:active {

        transform: scale(0.95);

    }



    @media (max-width: 480px) {

        .chat-widget-box {

            right: 15px;

            left: 15px;

            width: auto;

            bottom: 90px;

        }

        .chat-widget-wrapper {

            bottom: 20px;

            right: 20px;

        }

    }

    @media (max-width: 991px) {

        body:has(.gczbd-sticky-bar) .chat-widget-wrapper,

        body.has-sticky-bar .chat-widget-wrapper {

            bottom: 84px;

            right: 12px;

        }

        body:has(.gczbd-sticky-bar) .chat-widget-box,

        body.has-sticky-bar .chat-widget-box {

            bottom: 154px;

        }

    }
