.fc-filter-picker {
    position: relative;
}

.fc-filter-picker-input-wrap {
    position: relative;
}

.fc-filter-picker-icon {
    position: absolute;
    left: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.82rem;
    color: #94a3b8;
    pointer-events: none;
    z-index: 1;
}

.fc-filter-picker-input {
    padding-left: 1.85rem !important;
    border-color: #cbd5e1;
    background: #fff;
}

.fc-filter-picker-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 0.15rem rgba(99, 102, 241, 0.15);
}

.fc-filter-picker-panel {
    margin-top: 0.35rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.fc-filter-picker-list {
    max-height: 10.5rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.fc-filter-picker-item {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 0.5rem 0.65rem;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
}

.fc-filter-picker-item:last-child {
    border-bottom: 0;
}

.fc-filter-picker-item-name {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.25;
}

.fc-filter-picker-item-meta {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.2;
}

.fc-filter-picker-item:hover,
.fc-filter-picker-item:focus {
    background: #f8fafc;
}

.fc-filter-picker-item:active {
    background: #eef2ff;
}

.fc-filter-picker-empty {
    padding: 0.65rem 0.75rem;
    font-size: 0.78rem;
    color: #94a3b8;
    text-align: center;
}

.fc-filter-picker--open .fc-filter-picker-panel {
    border-color: #c7d2fe;
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.12);
}

.fc-filter-picker:not(.fc-filter-picker--open) .fc-filter-picker-panel {
    display: none;
}

.fc-filter-picker-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.4rem;
    padding: 0.35rem 0.55rem;
    border: 1px solid #bbf7d0;
    border-radius: 0.45rem;
    background: #f0fdf4;
    font-size: 0.82rem;
}

.fc-filter-picker-selected > div:first-child {
    min-width: 0;
    flex: 1 1 auto;
}

.fc-filter-picker-selected-name {
    font-weight: 600;
    color: #14532d;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fc-filter-picker-selected-meta {
    font-size: 0.72rem;
    color: #15803d;
    white-space: nowrap;
}

.fc-filter-picker-clear {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: #64748b;
    padding: 0.1rem 0.25rem;
    line-height: 1;
    border-radius: 0.25rem;
}

.fc-filter-picker-clear:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.06);
}

.fc-pizza-add-picker {
    margin-bottom: 0.55rem;
}

.fc-pizza-block-head .fc-pizza-open-pick {
    white-space: nowrap;
}

@media (max-width: 576px) {
    .fc-filter-picker-list {
        max-height: 9rem;
    }
}
