/* =========================================================
   Automoves Chat – Bubble & Overlay
   ========================================================= */

#amv-chat-bubble {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #27AAE1;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(39, 170, 225, 0.5);
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#amv-chat-bubble:hover {
    background: #34CCFF;
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(52, 204, 255, 0.6);
}

/* ── Overlay: full-screen on mobile ── */
#amv-chat-overlay {
    display: none;
    position: fixed;
    z-index: 100000;
    background: #E8EAF0;
    /* mobile default: full screen */
    inset: 0;
}

#amv-chat-overlay.amv-open {
    display: block;
}

/* ── Desktop: small panel bottom-right ── */
@media (min-width: 600px) {
    #amv-chat-overlay {
        inset: auto;
        bottom: 96px;
        right: 24px;
        width: 420px;
        height: 640px;
        border-radius: 18px;
        box-shadow: 0 16px 56px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0,0,0,0.08);
        overflow: hidden;
    }

    #amv-chat-bubble {
        bottom: 24px;
        right: 24px;
    }
}

#amv-chat-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ── Mobile tweaks ── */
@media (max-width: 599px) {
    #amv-chat-bubble {
        bottom: 16px;
        right: 16px;
        width: 54px;
        height: 54px;
    }
}
