/* Container: fixed bottom-right */
.blc-helper-plugin-ghl-balloon-container {
    position: fixed;
    right: 20px;
    bottom: 180px;
    width: 301px;
    z-index: 99999999;
    font-family: 'Roboto';
    display: none;
}

.blc-helper-plugin-ghl-balloon-wrapper {
    display: none;
    /* hidden until JS shows */
    pointer-events: auto;
    background: #ffffff;
    color: #111;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18), 0 2px 8px rgba(0, 0, 0, .12);
    padding: 12px 44px 12px 12px;
    margin-top: 10px;
    overflow: hidden;
    position: relative;
    will-change: transform, opacity;
    -webkit-box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.24);
    box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.24);
    border-radius: 8px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    min-width: 301px;
    min-height: 72px;
    padding: 12px;
    gap: 10px;
}

/* Balloon item base */
.blc-helper-plugin-balloon-item {
    /* hidden until JS shows */
    display: flex;
    pointer-events: auto;
    color: #111;
    cursor: pointer;
    flex: 1;
}

/* Avatar (optional) */
.blc-helper-plugin-balloon-avatar {
    flex: 1 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    object-fit: cover;
    margin-right: 10px;
    padding: 0px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .08), 0 2px 8px rgba(0, 0, 0, .02);
}

.blc-helper-plugin-balloon-avatar>img {
    padding: 7px;
}

.blc-helper-plugin-balloon-avatar>img[title="Default Log"] {
    padding: 0;
    border-radius: 999px;
}

/* Text */
.blc-helper-plugin-balloon-text {
    color: #344054;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
}

/* Close button */
button.blc-helper-plugin-balloon-prompt-close {
    border: 0;
    background: transparent;
    color: #444;
    align-self: baseline;
    font-size: 24px;
    line-height: 24px;
    padding: 0 3px;
    font-weight: 300;
    cursor: pointer;
}

button.blc-helper-plugin-balloon-prompt-close:hover {
    background: rgba(255, 255, 255, 1);
    color: #444;
}

/* Animations */
@keyframes blc-slide-in-up-fade {
    0% {
        transform: translateY(22px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes blc-fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes blc-slide-out-right-fade {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(28px);
        opacity: 0;
    }
}

@keyframes blc-fade-out {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.blc-helper-plugin-balloon-item.is-entering {
    display: flex;
    /* animation: blc-slide-in-up-fade .45s ease-out both; */
    animation: blc-fade-in .45s ease-out both;
}

.blc-helper-plugin-balloon-item.is-visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.blc-helper-plugin-balloon-item.is-exiting {
    display: flex;
    /* animation: blc-slide-out-right-fade .35s ease-in both; */
    animation: blc-fade-out .35s ease-in both;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .blc-helper-plugin-balloon-item {
        transition: none !important;
        animation: none !important;
    }
}

@media screen and (max-width: 1024px) {
    .blc-helper-plugin-ghl-balloon-container {
        display: none !important;
    }
}