/* Shared page title line — typography + title margins in main.css */
.list-page-sub {
    color: #5c6b7c;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}
.list-page-divider {
    border-bottom: none;
    height: 4px;
    border-radius: 2px;
    background: var(--c-page-accent-bar);
    margin-top: var(--page-title-to-accent-gap);
    margin-bottom: 1.5rem;
}

/* Shared list filter toolbar (Inventory, Orders, Master List, Accounts) */
.list-toolbar-card {
    background: #fff;
    border: 1px solid rgba(0, 51, 102, 0.08);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 4px rgba(0, 51, 102, 0.08);
}

.list-toolbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
}

.list-toolbar .form-control {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
    height: auto;
}

.list-toolbar .list-toolbar-search {
    flex: 1 1 420px;
    max-width: none;
    min-width: 240px;
}

.list-toolbar .form-control:not(.list-toolbar-search) {
    max-width: 160px;
    min-width: 80px;
}

.list-toolbar .list-toolbar-role-select {
    max-width: 220px;
    min-width: 120px;
}

.list-toolbar label {
    margin: 0 0.15rem 0 0;
    color: #003366;
    font-weight: 500;
    font-size: 0.8rem;
    white-space: nowrap;
}

.list-toolbar .btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
}

@media (max-width: 992px) {
    .list-toolbar {
        flex-wrap: wrap;
    }
    .list-toolbar .form-control:not(.list-toolbar-search) {
        max-width: 200px;
    }
    .list-toolbar .list-toolbar-search {
        flex-basis: 100%;
        min-width: 0;
    }
}
