/* Main-app page actions follow the Stock Items toolbar. MudBlazor owns colours,
   borders, focus, disabled states and typography; this layer only controls layout. */
.connx-page-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.connx-page-actions > .mud-typography-h5 {
    margin-right: auto;
}

.connx-page-actions > .connx-page-actions {
    margin-left: auto;
}

.connx-grid-actions {
    width: 100%;
}

.mud-table-toolbar:has(> .connx-grid-actions) {
    height: auto;
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.connx-page-action {
    flex: 0 0 auto;
    width: max-content;
    max-width: 100%;
}

.connx-page-actions > .mud-input-control {
    flex: 1 1 220px;
    min-width: 0;
}

@media (max-width: 600px) {
    .connx-page-actions > .connx-page-actions {
        margin-left: 0;
    }

    .connx-page-actions > .mud-spacer {
        display: none;
    }
}
