@mixin floating-widget {
    @if $shadows {
        box-shadow: 0 0 5px 0 $shadow-color;
    }

    margin: max($spacing, 8px);
    border: $border-width solid $popover-border-color;
    background-color: $bg;
    color: $fg;
    border-radius: $popover-radius;
    padding: $popover-padding;
}
