.select-control {
    position: relative;
    min-width: 0;
    width: 100%;
}

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

.select-trigger {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 10px 7px 12px;
    color: #202124 !important;
    background: #fff !important;
    border: 1px solid #cfd5dc !important;
    border-radius: 7px !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
    cursor: pointer;
    text-align: left;
    font-weight: 600 !important;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.select-trigger:hover {
    border-color: #91cbae !important;
    background: #fbfefc !important;
}

.select-control.open .select-trigger,
.select-trigger:focus-visible {
    border-color: var(--brand, #1dbf73) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand, #1dbf73) 15%, transparent) !important;
    outline: 0;
}

.select-control.invalid .select-trigger {
    border-color: #d92d20 !important;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, .12) !important;
}

.select-trigger.placeholder .select-trigger-label {
    color: #667085;
    font-weight: 500;
}

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

.select-trigger svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: #667085;
    transition: transform .16s ease;
}

.select-control.open .select-trigger svg {
    color: var(--brand, #1dbf73);
    transform: rotate(180deg);
}

.select-menu {
    position: fixed;
    z-index: 500;
    overflow: hidden;
    padding: 6px;
    background: #fff;
    border: 1px solid #d8e0dc;
    border-radius: 9px;
    box-shadow: 0 20px 48px rgba(16, 24, 40, .18);
    animation: select-menu-in .14s ease-out;
}

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

.select-search {
    position: relative;
    margin-bottom: 5px;
}

.select-search svg {
    position: absolute;
    left: 10px;
    top: 50%;
    width: 15px;
    height: 15px;
    color: #667085;
    transform: translateY(-50%);
    pointer-events: none;
}

.select-search input {
    width: 100%;
    min-height: 36px;
    padding: 7px 10px 7px 32px !important;
    color: #202124;
    background: #f8faf9;
    border: 1px solid #e1e7e3;
    border-radius: 6px;
    outline: 0;
}

.select-search input:focus {
    border-color: var(--brand, #1dbf73);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand, #1dbf73) 12%, transparent);
}

.select-options {
    max-height: 270px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.select-option {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 9px;
    color: #344054 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 6px !important;
    cursor: pointer;
    text-align: left;
    font-weight: 600 !important;
}

.select-option:hover,
.select-option:focus-visible {
    color: #0f5132 !important;
    background: #ecfdf3 !important;
    outline: 0;
}

.select-option[aria-selected="true"] {
    color: #087443 !important;
    background: #dcfae6 !important;
    font-weight: 750 !important;
}

.select-option:disabled {
    color: #98a2b3 !important;
    cursor: not-allowed;
}

.select-option svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: var(--brand, #1dbf73);
}

@keyframes select-menu-in {
    from { opacity: 0; transform: translateY(-4px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media print {
    .select-control { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .select-menu { animation: none; }
    .select-trigger, .select-trigger svg { transition: none; }
}
