select[data-vario-select-ready="true"] {
    appearance: none !important;
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%) !important;
    background-position: calc(100% - 10px) 50%, calc(100% - 6px) 50% !important;
    background-size: 4px 4px, 4px 4px !important;
    background-repeat: no-repeat !important;
    padding-right: 22px !important;
    cursor: pointer;
}

select[data-vario-select-ready="true"]:disabled {
    cursor: not-allowed;
}

.vario-select-popover {
    position: fixed;
    inset: auto;
    z-index: 2147483600;
    margin: 0;
    padding: 4px;
    color: var(--vario-select-popover-text);
    background: var(--vario-select-popover-bg);
    border: 1px solid var(--vario-select-popover-border);
    border-radius: var(--vario-select-list-radius);
    box-shadow: var(--vario-select-popover-shadow);
    overflow: hidden;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.vario-select-popover:not(:popover-open):not(.is-open) {
    display: none;
}

.vario-select-options {
    max-height: var(--vario-select-list-max-height);
    overflow: auto;
    overscroll-behavior: contain;
}

.vario-select-group-label {
    padding: 5px 8px 3px;
    color: var(--vario-select-popover-muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.vario-select-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 16px;
    align-items: center;
    gap: 7px;
    width: 100%;
    min-height: var(--vario-select-option-min-height);
    padding: 5px 8px;
    border: 0;
    border-radius: 4px;
    color: inherit;
    background: transparent;
    font: var(--vario-select-option-weight) var(--vario-select-option-font-size)/var(--vario-select-option-line-height) Inter, "Segoe UI", Arial, sans-serif;
    text-align: left;
    cursor: pointer;
}

.vario-select-option:hover,
.vario-select-option.is-highlighted {
    background: var(--vario-select-option-hover);
}

.vario-select-option[aria-selected="true"] {
    color: var(--vario-select-option-selected-text);
    background: var(--vario-select-option-selected);
}

.vario-select-option:focus-visible {
    outline: 2px solid var(--vario-focus-ring-color);
    outline-offset: -2px;
}

.vario-select-option:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.vario-select-option-label {
    min-width: 0;
    overflow-wrap: anywhere;
}

.vario-select-option-code {
    color: var(--vario-select-popover-muted);
    font: 700 10px/14px Inter, "Segoe UI", Arial, sans-serif;
}

.vario-select-option-check {
    display: none;
    width: 14px;
    height: 14px;
}

.vario-select-option[aria-selected="true"] .vario-select-option-check {
    display: block;
}

.vario-select-option-check svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vario-select-popover > footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 8px 2px;
    border-top: 1px solid var(--vario-select-popover-border);
    color: var(--vario-select-popover-muted);
    font: 600 9px/13px Inter, "Segoe UI", Arial, sans-serif;
}

@media (max-width: 480px) {
    .vario-select-popover {
        max-width: calc(100vw - 16px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vario-select-option {
        transition: none !important;
    }
}
