select.throne-smooth-select-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.smooth-select-proxy,
.throne-smooth-select {
    position: relative;
    display: inline-block;
    width: var(--throne-smooth-width, 100%);
    min-width: var(--throne-smooth-min-width, 0);
    max-width: var(--throne-smooth-max-width, 100%);
    vertical-align: middle;
}

.smooth-select-trigger {
    width: 100%;
    min-height: var(--throne-smooth-height, 40px);
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0.45rem 0.72rem 0.45rem 0.82rem;
    border: 1px solid var(--border, rgba(148, 163, 184, 0.34));
    border-radius: var(--throne-smooth-radius, 10px);
    background: var(--bg-input, #f8fafc);
    color: var(--text-primary, #0f172a);
    font-family: inherit;
    font-size: var(--throne-smooth-font-size, 0.88rem);
    font-weight: var(--throne-smooth-font-weight, 700);
    line-height: 1.1;
    cursor: pointer;
    box-shadow: none;
    user-select: none;
    transition:
        background-color 0.14s ease,
        border-color 0.14s ease,
        box-shadow 0.14s ease,
        transform 0.14s ease;
}

.smooth-select-trigger:hover {
    background: var(--bg-hover, #f1f5f9);
    border-color: var(--border-hover, rgba(100, 116, 139, 0.32));
}

.smooth-select-trigger:focus-visible,
.smooth-select-proxy.is-open .smooth-select-trigger {
    outline: none;
    background: var(--bg-card, #ffffff);
    border-color: var(--accent, #0353a4);
    box-shadow: 0 0 0 3px rgba(0, 86, 162, 0.12);
}

.smooth-select-trigger:active {
    transform: translateY(1px);
}

.smooth-select-proxy.compact .smooth-select-trigger,
.throne-smooth-select.compact .smooth-select-trigger {
    border-radius: 999px;
}

.smooth-select-trigger[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.62;
}

.smooth-select-trigger-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.smooth-select-chevron {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    color: #475569;
    transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.smooth-select-proxy.is-open .smooth-select-chevron {
    transform: rotate(180deg);
}

.smooth-select-proxy.is-open,
.throne-smooth-select.is-open {
    z-index: 1000;
}

.smooth-select-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: min(280px, 48vh);
    overflow: auto;
    padding: 5px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px) scale(0.98);
    transform-origin: top center;
    transition:
        opacity 0.14s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.14s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.14s linear;
}

.smooth-select-proxy.opens-up .smooth-select-panel {
    top: auto;
    bottom: calc(100% + 6px);
    transform: translateY(4px) scale(0.98);
    transform-origin: bottom center;
}

.smooth-select-proxy.is-open .smooth-select-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.smooth-select-option {
    width: 100%;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0.46rem 0.58rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #0f172a;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 750;
    text-align: left;
    cursor: pointer;
    touch-action: pan-y;
    user-select: none;
}

.smooth-select-option[hidden] {
    display: none !important;
}

.smooth-select-option:hover,
.smooth-select-option:focus-visible {
    outline: none;
    background: #eff6ff;
    color: #0b3f7e;
}

.smooth-select-option.is-selected {
    background: rgba(3, 83, 164, 0.1);
    color: var(--accent, #0353a4);
}

.smooth-select-option.is-selected::after {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 99px;
    background: var(--accent, #0353a4);
}

.smooth-select-option.is-disabled {
    cursor: default;
    color: #94a3b8;
    background: transparent;
}
