/* =========================================================
   TOOLBAR
========================================================= */

.toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.search {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.search svg {
    position: absolute;
    width: 15px;
    height: 15px;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-3);
}

.search input {
    width: 100%;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 10px 0 32px;
    outline: none;
    background: white;
    font-size: 11px;
}

.search input:focus {
    border-color: #b7d8f2;
}

/* Toolbar height stays in step with the search input beside it; typography
   and focus match the composer's `.lab-select` fields so every dropdown in
   the app reads the same. */
.filter {
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 12px;
    font-weight: 400;
}

.filter:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}
