.searchable-select {
    position: relative;
    width: 100%;
    max-width: 200px;
}

#organizerSelect + .searchable-select {
    max-width: none;
}

.searchable-select-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 14px;
    font-size: 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    user-select: none;
    box-sizing: border-box;
}

.searchable-select-display:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.searchable-select-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.searchable-select-value.placeholder {
    color: var(--text-muted);
}

.searchable-select-arrow {
    width: 12px;
    height: 8px;
    flex-shrink: 0;
    margin-left: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.15s;
}

.searchable-select.open .searchable-select-arrow {
    transform: rotate(180deg);
}

.searchable-select.open {
    z-index: 1000;
}

.searchable-select-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: var(--bg-card, var(--bg));
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 100;
    overflow: hidden;
}

.searchable-select-search {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    font-family: inherit;
    background: var(--bg-input);
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    outline: none;
    box-sizing: border-box;
}

.searchable-select-search::placeholder {
    color: var(--text-muted);
}

.searchable-select-list {
    max-height: 200px;
    overflow-y: auto;
}

.searchable-select-item {
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
    transition: background 0.1s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.searchable-select-item:hover,
.searchable-select-item:focus {
    background: var(--bg-hover);
    outline: none;
}

.searchable-select-item.active {
    color: var(--orange);
    font-weight: 500;
}

.searchable-select-empty {
    padding: 12px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}
