/* ==========================================================================
   TagNet Application Styles
   ========================================================================== */

/* Clickable DataGrid Rows
   Apply this class to MudDataGrid via RowClass="clickable-row" when rows are clickable
   -------------------------------------------------------------------------- */
.clickable-row {
    cursor: pointer;
}

/* Import Preview Row Status
   Apply via RowClassFunc on the Quick Import preview grid
   -------------------------------------------------------------------------- */
.import-row-error {
    background-color: rgba(244, 67, 54, 0.08) !important;
}

.import-row-new {
    background-color: rgba(76, 175, 80, 0.06) !important;
}

/* Highlight row for items without a location */
.not-located-row {
    border-left: 3px solid var(--mud-palette-warning);
}

/* Inactive device row — dim all cells except the actions menu so it stays clickable.
   Cell-level opacity (instead of row-level) lets the actions column opt out;
   row-level opacity would cascade into every descendant. */
.device-inactive-row td {
    opacity: 0.55;
}

.device-inactive-row td.device-row-actions {
    opacity: 1;
}

/* Colored map pins — remove default divIcon background/border */
.tagnet-map-pin {
    background: none !important;
    border: none !important;
}
