/*
 * SmartFiltersPinned — the condensed phone bar above FlightMobileFilterBar.
 * White card matching .fmf-chip's own palette (flight-mobile-filters.css)
 * rather than a colored panel, so it reads as part of the same filter UI
 * instead of a separate widget bolted on top.
 */

.smart-filters-pinned {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
    margin-bottom: 10px;
    border: 1px solid var(--bs-border-color);
    border-radius: 10px;
    background: var(--color-white);
}

.smart-filters-pinned__form {
    display: flex;
    align-items: center;
    gap: 6px;
}

.smart-filters-pinned__icon {
    display: inline-flex;
    flex: 0 0 auto;
    color: var(--color-second, #f45d6b);
}

.smart-filters-pinned__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 36px;
    padding: 0 8px;
    border: 1px solid #d9dde2;
    border-radius: 8px;
    background: #f3f4f6;
    color: var(--color-black);
    font-family: var(--font-family-inter);
    font-size: 0.8125rem;
}

.smart-filters-pinned__input:disabled {
    opacity: 0.6;
}

.smart-filters-pinned__send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: var(--color-second, #f45d6b);
    /* Hardcoded — see smart-filters-card.css's __send rule for why. */
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.smart-filters-pinned__send:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.smart-filters-pinned__status {
    font-family: var(--font-family-inter);
    font-size: 0.75rem;
    line-height: 1.35;
    color: var(--color-text-muted, #6b7280);
}

.smart-filters-pinned__undo {
    margin-left: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--color-second, #f45d6b);
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
}

.smart-filters-pinned__chips {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.smart-filters-pinned__chips::-webkit-scrollbar { display: none; }
