

.balloon {
    max-width: 250px;
    padding: 10px;
    background: #fff;
    box-shadow: none;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

/* Анимация появления */
.balloon.show {
    opacity: 1;
    transform: scale(1);
}

/* Анимация исчезновения */
.balloon.hide {
    opacity: 0;
    transform: scale(0.8);
}

[class*="inner-panes"] {
    border: solid 7px #e5f5ff !important;
    border-radius: 20px !important;
}

[class*="balloon__layout"] {
    position: relative;
    display: inline-block;
    padding: 10px;
    background: #fff;
    border-radius: 20px;
    z-index: 1;
}

[class*="balloon__layout"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(150deg, var(--color-primary), #ffca4e);
    border-radius: 20px;
    z-index: -1;
    padding: 2px;
    -webkit-mask: linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
