/* multi-select.css */
.multi-select-container {
    position: relative;
    width: 100%;
    min-height: 42px;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 4px 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.multi-select-container.auto-filled {
    background-color: #f0fdf4 !important;
    border-color: #86efac !important;
}

.multi-select-container:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.multi-select-tag {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: tagIn 0.2s ease-out;
}

@keyframes tagIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.multi-select-tag .remove-tag {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transition: background 0.2s;
}

.multi-select-tag .remove-tag:hover {
    background: rgba(29, 78, 216, 0.1);
}

.multi-select-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    padding: 6px;
}

.multi-select-dropdown.show {
    display: block;
    animation: dropdownIn 0.2s ease-out;
}

@keyframes dropdownIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.multi-select-option {
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
}

.multi-select-option:hover {
    background: #f8fafc;
}

.multi-select-option.selected {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: default;
}

.multi-select-placeholder {
    color: #94a3b8;
    font-size: 14px;
    user-select: none;
}
