.custom-select-container {
    position: relative;
    width: 100%;
    font-size: 16px;
}

.custom-select-header {
    display: flex;
    align-items: center;
    padding: 0px 16px;
    background: #ffffff;
    border-radius: 6.6px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    height: 30.45px;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
}

.custom-select-header:hover {
    border-color: #a0aec0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-select-header.active {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.custom-select-header .img {
    width: 20px;
}

.custom-select-header .inp {
    flex: 1;
}

.custom-select-header .img.arrow {
    width: 6.33px;
    margin-left: 9px;
}

.selected-text {
    font-size: 14px;
    width: 20px;
}

.arrow {
    transition: transform 0.3s ease;
    color: #a0aec0;
}

.arrow.rotated {
    transform: rotate(90deg);
}

.custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-top: none;
    border-radius: 6.6px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
    margin-top: 3px;
}

.custom-select-dropdown .img {
    width: 20px;
    margin-right: 10px;
}

.custom-select-dropdown .text {
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: normal;
    color: #3D3D3D;
}

.custom-select-dropdown .num {
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: normal;
    color: #D1D1D1;
    margin-left: 16px;
}

.custom-select-dropdown.open {
    max-height: 300px;
    padding: 8px 0;
}

.search-box {
    position: relative;
    padding: 0 16px 8px;
    border-bottom: 1px solid #edf2f7;
    margin-bottom: 8px;
}

.search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 14px;
}

.search-input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.custom-select-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    color: #4a5568;
}

.custom-select-option:hover {
    background: #f7fafc;
    color: #667eea;
}

.custom-select-option.selected {
    background: #ebf4ff;
    color: #667eea;
    font-weight: 500;
}

.custom-select-option.selected::after {
    content: "✓";
    margin-left: auto;
    font-weight: bold;
}

.custom-select-option.multi.selected::after {
    content: "✓";
}

.placeholder {
    color: #a0aec0;
    font-style: italic;
}

/* 滚动条样式 */
.custom-select-dropdown::-webkit-scrollbar {
    width: 6px;
}

.custom-select-dropdown::-webkit-scrollbar-track {
    background: #f7fafc;
}

.custom-select-dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.custom-select-dropdown::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}