
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html {
    width: 100%;
    height: 100vh;
    background-color: #fff;
    overflow: hidden;
}

body {
    width: 100%;
    height: calc(100% - 64px);
    margin: 0;
    overflow-x: hidden;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

/* Global smaller font for all MudBlazor data grids & tables */

.mud-data-grid,
.mud-data-grid .mud-data-grid-cell,
.mud-data-grid .mud-data-grid-header-cell,
.mud-table-root,
.mud-table-root td,
.mud-table-root th {
    font-size: 0.75rem; /* ~12px */
    line-height: 1.05rem;
}

    /* Tighten horizontal & vertical spacing */
    .mud-data-grid .mud-data-grid-cell,
    .mud-data-grid .mud-data-grid-header-cell,
    .mud-table-root td,
    .mud-table-root th {
        padding: 2px 6px;
    }

    /* Optional: slightly smaller toolbar typography inside grids */
    .mud-data-grid .mud-toolbar,
    .mud-data-grid .mud-toolbar .mud-typography {
        font-size: 0.8rem;
    }

    /* Optional: shrink inputs used inside toolbars (search boxes) */
    .mud-data-grid .mud-input-root,
    .mud-table-root .mud-input-root {
        --mud-input-padding-y: 2px;
        font-size: 0.75rem;
    }

/* If rows feel too tall, reduce min-height */
.mud-data-grid-row {
    min-height: 28px;
}

/* Ensure icon buttons inside dense grids visually align */
.mud-data-grid .mud-icon-button {
    padding: 2px;
    width: 28px;
    height: 28px;
}



