.evb-root,
.evb-root * {
    box-sizing: border-box;
}

.evb-root [hidden] {
    display: none !important;
}

.evb-bubble {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: visible;
    box-shadow: 0 0 80px rgba(0, 0, 0, .24);
    cursor: pointer;
    z-index: 9998;
    animation: evbPop .5s cubic-bezier(.34, 1.56, .64, 1) both;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.evb-bubble:hover {
    transform: scale(1.04);
}

.evb-bubble:focus-visible {
    outline: 3px solid #0074e1;
    outline-offset: 4px;
}

.evb-bubble-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

#evb-root .evb-bubble-close,
#evb-root .evb-overlay-close,
#evb-root .evb-ctrl {
    width: 40px !important;
    height: 40px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 9px !important;
    border: none !important;
    border-radius: 9999px !important;
    line-height: 1 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #112b4370 !important;
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    box-shadow: none !important;
}

#evb-root .evb-bubble-close svg,
#evb-root .evb-overlay-close svg,
#evb-root .evb-ctrl svg {
    width: 100%;
    height: 100%;
    display: block;
}

.evb-bubble-close {
    position: absolute !important;
    top: -4px;
    right: -4px;
    z-index: 2;
}

.evb-overlay {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 300px;
    height: 500px;
    max-height: calc(100vh - 40px);
    border-radius: 1.4em;
    overflow: hidden;
    z-index: 10001;
    box-shadow: 0 0 80px rgba(0, 0, 0, .24);
    background: #000000;
    transform-origin: bottom left;
    animation: evbOpen .45s cubic-bezier(.34, 1.4, .64, 1) both;
}

.evb-overlay-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.evb-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: #112b4370;
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    z-index: 3;
    cursor: pointer;
}

.evb-progress-bar {
    height: 100%;
    width: 0;
    background-color: #0074e1;
}

.evb-controls {
    position: absolute;
    top: 20px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.evb-vol-off {
    display: none !important;
}

.evb-ctrl.is-muted .evb-vol-on {
    display: none !important;
}

.evb-ctrl.is-muted .evb-vol-off {
    display: block !important;
}

.evb-overlay-close {
    position: absolute !important;
    top: 15px;
    right: 15px;
    z-index: 4;
}

.evb-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
    align-items: center;
    width: 100%;
    padding: 14px;
}

.evb-action {
    min-height: 44px;
    padding: 8px 16px;
    border-radius: .6em;
    background: #0074e1;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif;
    width: 100%;
    transition: transform .2s ease;
}

.evb-action:last-child {
    background: #011223;
}

.evb-action:hover,
.evb-action:focus,
.evb-action:visited {
    color: #ffffff;
}

.evb-action:hover {
    transform: translateY(-1px);
}

.evb-action span {
    font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif;
}

.evb-action-icon {
    margin-right: 8px;
    vertical-align: middle;
    flex-shrink: 0;
}

.evb-eye-icon {
    width: 26px;
    height: 26px;
}

.evb-phone-icon {
    width: 22px;
    height: 22px;
}

@keyframes evbPop {
    from {
        opacity: 0;
        transform: scale(.4);
    }
}

@keyframes evbOpen {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.85);
    }
}

@media (max-width: 768px) {
    .evb-action span {
        margin-top: 4px;
    }

    .evb-bubble {
        bottom: 16px;
        left: 16px;
    }

    .evb-overlay {
        left: 12px;
        bottom: 12px;
    }
}

@media (min-width: 1024px) and (min-height: 1080px) {
    .evb-overlay {
        width: 500px;
        height: 800px;
    }

    .evb-bubble {
        width: 180px;
        height: 180px;
    }

    .evb-bubble-close {
        top: 2px;
        right: 2px;
    }

    .evb-action {
        font-size: 18px;
        padding: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .evb-bubble,
    .evb-overlay,
    .evb-action {
        animation: none !important;
        transition: none !important;
    }
}

.evb-bubble {
    animation-fill-mode: backwards;
}

.evb-overlay {
    animation-fill-mode: backwards;
}

#evb-root .evb-bubble-close,
#evb-root .evb-overlay-close,
#evb-root .evb-ctrl {
    -webkit-backdrop-filter: blur(24px) !important;
    backdrop-filter: blur(24px) !important;
}
