.list-search {
    margin-bottom: 0;
}

.list-search-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.65rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(145deg, rgba(255, 249, 236, 0.95), #fff);
    border: 1px solid rgba(74, 13, 24, 0.12);
    border-radius: 12px;
}

.list-search-field {
    flex: 1 1 14rem;
    min-width: 0;
}

.list-search-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.list-search-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #745b62;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.list-search-input {
    width: 100%;
    border: 1px solid rgba(74, 13, 24, 0.18);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.list-search-input:focus {
    outline: none;
    border-color: rgba(214, 177, 93, 0.85);
    box-shadow: 0 0 0 3px rgba(214, 177, 93, 0.22);
}

.list-search-btn {
    border: none;
    border-radius: 999px;
    padding: 0.48rem 1.15rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.list-search-btn--primary {
    background: linear-gradient(135deg, #4a0d18, #7a1d31);
    color: #fff;
    box-shadow: 0 2px 8px rgba(74, 13, 24, 0.22);
}

.list-search-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 13, 24, 0.28);
}

.list-search-btn--ghost {
    background: #fff;
    color: #4a0d18;
    border: 1px solid rgba(74, 13, 24, 0.18);
}

.list-search-btn--ghost:hover {
    background: rgba(255, 249, 236, 0.9);
}

.list-search-status {
    flex: 1 1 100%;
    font-size: 0.85rem;
    color: #745b62;
    margin-top: 0.15rem;
}

.list-search-status.is-match {
    color: #2f6b2f;
}

.list-search-status.is-empty {
    color: #9a4a12;
}

.list-search-item-hidden,
tr.list-search-item-hidden,
.list-pager-item.list-search-item-hidden {
    display: none !important;
}

mark.list-search-highlight {
    background: #ffeb3b;
    color: inherit;
    padding: 0.08em 0.12em;
    border-radius: 2px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.list-search.is-active [data-list-pager-nav] {
    display: none !important;
}

.list-search-empty {
    margin: 0;
    padding: 1rem;
    text-align: center;
    color: #745b62;
    background: rgba(255, 249, 236, 0.65);
    border: 1px dashed rgba(74, 13, 24, 0.16);
    border-radius: 12px;
}
