/* Base styles for bubble + popup */
.hbp-bubble {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: auto;
    height: auto;
    padding: 25px 60px;
    border: none;
    background: #242424;
    color: #fff;
    cursor: pointer;
    z-index: 9997;
    box-shadow: 0 8px 20px rgba(36, 36, 36, 0.2);
}

.hbp-popup {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(36, 36, 36, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease;
    z-index: 9998;
}

.hbp-popup--open {
    opacity: 1;
    pointer-events: auto;
}

.hbp-popup__content {
    position: relative;
    background: #fff;
    width: min(92dvw, 600px);
    max-height: 80dvh;
    border-radius: 12px;
    padding: 20px 20px 16px;
    box-shadow: 0 12px 40px rgba(36, 36, 36, 0.25);
    overflow: auto;

    @media (max-width: 768px) {
        max-height: 90dvh;
    }
}

.hbp-popup__close {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px!important;
    width: 30px!important;
    padding: 0!important;
    border-radius: 100px!important;
    border: none;
    color: #242424!important;
    background: none!important;
    cursor: pointer;
    font-size: 22px;
}

.hbp-popup__body {
    margin-top: 20px;
}
