.Popover_module_root__48017afc {
    border-radius: var(--plasma-popover-border-radius);
    outline: none;
    --plasma_private-focus-border-radius: var(--plasma-popover-border-radius);
    --plasma_private-focus-outline-offset: -0.125rem;
}

.Popover_module_wrapper__48017afc {
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: var(--plasma-popover-padding);
    border-radius: var(--plasma-popover-border-radius);
    background: var(--plasma-popover-background-color);
    box-shadow: var(--plasma-popover-box-shadow);
    filter: var(--plasma-popover-drop-shadow, none);
}

.Popover_module_closeButton__48017afc {
    position: absolute;
    top: var(--plasma-popover-icon-offset);
    right: var(--plasma-popover-icon-offset);
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    cursor: pointer;
    line-height: 0;
    color: var(--plasma-popover-icon-color);

    --plasma_private-focus-outline-offset: 0.125rem;
}

.Popover_module_closeButton__48017afc:hover {
    color: var(--plasma-popover-icon-color-hover);
}

.Popover_module_closeButton__48017afc:active {
    color: var(--plasma-popover-icon-color-active);
}

.Popover_module_closeIcon__48017afc {
    display: inline-flex;
    width: var(--plasma-popover-close-icon-size, 1.5rem);
    height: var(--plasma-popover-close-icon-size, 1.5rem);
    flex: 0 0 var(--plasma-popover-close-icon-size, 1.5rem);
}

.Popover_module_tail__48017afc {
    position: absolute;
    pointer-events: none;
}

.Popover_module_tail__48017afc[data-side='top'],
.Popover_module_tail__48017afc[data-side='bottom'] {
    width: var(--plasma-popover-tail-width);
    height: var(--plasma-popover-tail-height);
}

.Popover_module_tail__48017afc[data-side='left'],
.Popover_module_tail__48017afc[data-side='right'] {
    width: var(--plasma-popover-tail-height);
    height: var(--plasma-popover-tail-width);
}

.Popover_module_tail__48017afc[data-side='top'] {
    top: 100%;
}

.Popover_module_tail__48017afc[data-side='right'] {
    right: 100%;
}

.Popover_module_tail__48017afc[data-side='bottom'] {
    bottom: 100%;
}

.Popover_module_tail__48017afc[data-side='left'] {
    left: 100%;
}

.Popover_module_tail__48017afc::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--plasma-popover-tail-width);
    height: var(--plasma-popover-tail-height);
    background: var(--plasma-popover-background-color);
    clip-path: shape(
        from 100% 100%,
        line to 0% 100%,
        curve to 50% 0% with calc(25% - var(--plasma-popover-tail-side-curvature) * 1.24939)
            calc(50% - var(--plasma-popover-tail-side-curvature) * 3.90435),
        curve to 100% 100% with calc(75% + var(--plasma-popover-tail-side-curvature) * 1.24939)
            calc(50% - var(--plasma-popover-tail-side-curvature) * 3.90435),
        close
    );
}

.Popover_module_tail__48017afc[data-side='top']::before {
    transform: translate(-50%, -50%) rotate(180deg);
}

.Popover_module_tail__48017afc[data-side='right']::before {
    transform: translate(-50%, -50%) rotate(-90deg);
}

.Popover_module_tail__48017afc[data-side='bottom']::before {
    transform: translate(-50%, -50%);
}

.Popover_module_tail__48017afc[data-side='left']::before {
    transform: translate(-50%, -50%) rotate(90deg);
}
