.trp-shortcode-switcher__wrapper {
    position: relative;
    border: none;
}
.trp-shortcode-switcher {
    position: static;
    display: inline-block;
    overflow: hidden;
    padding: 10px 0;
    border: var(--border, none);
    border-radius: var(--border-radius, 5px);
    background: var(--bg, #fff);
    width: auto;
    box-shadow: none;
}

.trp-shortcode-switcher.trp-open-on-click {
    cursor: pointer;
}

.trp-shortcode-overlay {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9999;
}

.trp-switcher-dropdown-list {
    display: flex;
    overflow-y: hidden;
    transition: max-height 0.2s ease-in-out;
    max-height: 0;
    transition-duration: var(--transition-duration);
}

.trp-shortcode-switcher .trp-switcher-dropdown-list {
    flex-direction: column;
}
.trp-ls-dropdown.is-open .trp-switcher-dropdown-list,.trp-ls-dropdown[aria-expanded="true"] .trp-switcher-dropdown-list,.trp-shortcode-switcher[aria-expanded="true"] .trp-switcher-dropdown-list {
    overflow-y: auto;
    max-height: min(350px, 70vh);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--text) transparent;
}

.trp-ls-dropdown.is-transitioning .trp-switcher-dropdown-list,
.trp-shortcode-switcher.is-transitioning .trp-switcher-dropdown-list {
    overflow-y: hidden !important;
}
.trp-language-item:focus { outline: none; }
.trp-language-item:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: -2px;
}
.trp-language-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    text-decoration: none;
    min-height: 19px;
    box-sizing: content-box;
}

.trp-language-item:hover {
    background: var(--bg-hover, #f3f3f3);
}

.trp-language-item:hover .trp-language-item-name {
    color: var(--text-hover, #000);
}

.trp-language-item__current {
    pointer-events: none;
    cursor: default;
}

.trp-language-item-name {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text, #000);
    font-size: var(--font-size, 14px);
    line-height: 1.2;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    font-weight: 400;
}
.trp-switcher-dropdown-list::-webkit-scrollbar { width: 6px; }
.trp-switcher-dropdown-list::-webkit-scrollbar-track { background: transparent; }
.trp-switcher-dropdown-list::-webkit-scrollbar-thumb {
    background-color: var(--text);
    border-radius: 4px;
}

.trp-switcher-dropdown-list::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-hover);
}

@media (prefers-reduced-motion: reduce) {
    .trp-switcher-dropdown-list {
        transition: none !important;
    }
}
