.multi-select-container {
    position: relative;
    width: 100%;
}

.multi-select-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    cursor: pointer;
    min-height: 42px;
}

.multi-select-header:hover {
    border-color: #9ca3af;
}

.multi-select-header-placeholder {
    color: #9ca3af;
    flex: 1;
}

.multi-select-header-option {
    display: inline-block;
    background-color: #3b82f6;
    color: white;
    padding: 0.125rem 0.5rem;
    margin: 0.125rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.multi-select-header-option-remove {
    margin-left: 0.25rem;
    cursor: pointer;
    font-weight: bold;
}

.multi-select-header-option-remove:hover {
    color: #fee;
}

.multi-select-header-icon {
    margin-left: 0.5rem;
    transition: transform 0.2s;
}

.multi-select-header-icon.active {
    transform: rotate(180deg);
}

.multi-select-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.multi-select-menu.active {
    display: block;
}

.multi-select-search {
    padding: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.multi-select-search input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.multi-select-search input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.multi-select-all {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    font-weight: 500;
}

.multi-select-all:hover {
    background-color: #f3f4f6;
}

.multi-select-option {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.multi-select-option:hover {
    background-color: #f3f4f6;
}

.multi-select-option input[type="checkbox"] {
    margin-right: 0.5rem;
}

.multi-select-option.selected {
    background-color: #eff6ff;
}

.multi-select-option.hidden {
    display: none;
}

