 .custom-item-select {
    position: relative;
    width: 100%;
}

.select-search-wrapper {
    position: relative;
    margin-bottom: 2px;
}

.select-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(126, 173, 73, 0.3);
    color: white;
    padding: 8px 35px 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.select-search-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #7ead49;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #7ead49;
    font-size: 18px;
    pointer-events: none;
}

.select-header {
    color: white;
    padding: 8px 35px 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    position: relative;
}

.select-header-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.select-header-text {
    font-weight: 500;
}

.select-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    transition: transform 0.2s;
}

.custom-item-select.open .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.select-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border-radius: 4px;
    margin-top: 2px;
    max-height: 320px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.custom-item-select.open .select-dropdown {
    display: block;
}

.select-dropdown-inner {
    padding: 0;
}

.select-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
    color: white;
    background: #1a1a1a;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.1s;
}

.select-item:hover {
    background: #e8f4fd;
}

.select-item.selected {
    background: #4a5eb5;
    color: white;
}

.select-item.hidden {
    display: none !important;
}

.select-item-img {
    width: 24px;
    height: 24px;
    image-rendering: pixelated;
    flex-shrink: 0;
}

.select-item-text {
    flex: 1;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select-dropdown::-webkit-scrollbar {
    width: 12px;
}

.select-dropdown::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.select-dropdown::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 6px;
}

.select-dropdown::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}