/* Fixed UI on provider mini-sites (no main site.css): chat bubble. */
.provider-chat-bubble {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 1060;
    display: flex;
    align-items: center;
    gap: .6rem;
    transition: bottom .2s, opacity .2s, transform .2s;
}
.provider-chat-bubble.is-hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }
.provider-chat-bubble__btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 0;
    background: #1f1430;
    color: #fff;
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(31, 20, 48, .35);
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}
.provider-chat-bubble__btn:hover,
.provider-chat-bubble__btn:focus-visible {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 14px 34px rgba(31, 20, 48, .4);
    outline: none;
}
.provider-chat-bubble__btn:focus-visible {
    box-shadow: 0 0 0 4px rgba(242, 100, 58, .45), 0 14px 34px rgba(31, 20, 48, .4);
}
.provider-chat-bubble__label {
    background: #fff;
    color: #1f1430;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: .85rem;
    font-weight: 600;
    padding: .4rem .8rem;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(31, 20, 48, .15);
    opacity: 0;
    transform: translateX(6px);
    transition: opacity .2s, transform .2s;
    pointer-events: none;
    white-space: nowrap;
}
.provider-chat-bubble:hover .provider-chat-bubble__label,
.provider-chat-bubble:focus-within .provider-chat-bubble__label { opacity: 1; transform: none; }
@media (max-width: 575.98px) {
    .provider-chat-bubble__btn { width: 3.125rem; height: 3.125rem; font-size: 1.35rem; }
    .provider-chat-bubble__label { display: none; }
}