﻿.card-primary {
    background-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

.wrap-label label.mud-input-label {
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 90%;
}

.fixed-autocomplete {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: var(--mud-palette-background);
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

    .fixed-autocomplete::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--mud-palette-background);
        z-index: -1;
    }

.mud-popover.mud-popover-open {
    z-index: 2001 !important;
}

/* KPI cards: white, subtle border, no “stacked” shadow */
.kpi-card {
    border: 1px solid rgba(0,0,0,0.08);
    border-left: 4px solid var(--mud-palette-primary);
    border-radius: 10px;
    background: #fff;
}

.kpi-card-commissions {
    border: 1px solid rgba(0,0,0,0.08);
    border-left: 4px solid var(--mud-palette-primary);
    border-radius: 10px;
    background: #fff;
    min-height: 160px;
}

.kpi-label {
    color: var(--mud-palette-primary);
    font-weight: 600;
}

.kpi-value {
    margin-top: 6px;
    color: black !important;
}

/* The “light gray” table background surface inside white ca   b b    rds */
.table-surface {
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 10px;
}

.table-clean {
    background: transparent;
}

    .table-clean thead th {
        font-weight: 400;
    }

.epc-chip {
    border-color: rgba(0,0,0,0.20);
}

.active-tab {
    background-color: white;
    color: var(--mud-palette-secondary) !important;
    font-weight: 600;
}

.mud-chip-outlined {
    color: black;
    border: 1px solid black;
}

.table-clean thead th {
    font-weight: 400;
    font-weight: 700 !important;
}

.mud-tab {
    border: 0;
}

    .mud-tab:first-child {
        border-left: .5px solid var(--mud-palette-background);
    }

    .mud-tab:not(:last-child) {
        border-right: .5px solid var(--mud-palette-background);
    }

    .mud-tab:last-child {
        border-right: .5px solid var(--mud-palette-background);
    }

.toggle-group-centered {
    display: inline-flex; /* keeps it tight so centering works nicely */
}

.toggle-item-200 {
    width: 200px;
    justify-content: center; /* center text within the item */
}

.centered-alert .mud-alert-position {
    justify-content: center !important;
}

.centered-alert .mud-alert-message {
    width: 100%;
    text-align: center;
}