*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}

#blazor-error-ui {
    background: #f44336;
    color: white;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.status-cell {
    display: flex;
    align-items: center;
    gap: 6px;
}

.target-assignment-table {
    overflow-x: auto;
}

.target-assignment-table table {
    border-collapse: collapse;
    min-width: 100%;
}

.target-assignment-table th,
.target-assignment-table td {
    padding: 6px 12px;
    border: 1px solid var(--mud-palette-divider);
    white-space: nowrap;
}

.target-assignment-table th {
    background: var(--mud-palette-background-grey);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: sticky;
    top: 0;
    z-index: 1;
}

.target-assignment-table .ta-target-col {
    font-weight: 500;
    min-width: 160px;
}

.target-assignment-table .ta-cell-col {
    min-width: 140px;
    color: #666;
}

.target-assignment-table .ta-item-col {
    text-align: center;
    min-width: 140px;
}

.ta-assignment-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.ta-section-divider td {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-background-grey);
    padding: 4px 12px;
    border-top: 2px solid var(--mud-palette-divider);
}
