/*@font-face {*/
/*    font-family: Myriad;*/
/*    src: url('Myriad Pro Regular.ttf');*/
/*}*/

.tab-panel-pa-4 {
    height: calc(100vh - 260px);
    overflow-y: auto;
    padding: 16px !important;
}

.tab-panel-pl-4 {
    height: calc(100vh - 300px);
    overflow-y: auto;
    padding: 0 0 0 16px !important;
}

.mobile-tab-panel-pa-4 {
    height: calc(100vh - 170px);
    overflow-y: auto;
    padding: 16px !important;
}

.full-height {
    height: calc(100vh - 170px);
}

.no-wrap {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.v-align-bottom {
    vertical-align: bottom;
}

.bold {
    font-weight: bold;
}

.mud-dialog-content td {
    color: inherit !important;
}

.dialog-background {
    background-color: var(--mc-ground);
    border-radius: 0 !important;
}

.mud-dialog-actions {
    background-color: var(--mud-palette-primary-hover)
}

/*input, textarea, .mud-radio-content, .mud-select-input {*/
/*    font-size: 14px !important;*/
/*}*/

.mud-table-container {
    height: 100%;
}

.mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol, .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol {
    white-space: nowrap;
}

/*Tokkie css for kanbans*/
.jobs-container {
    display: flex;
    /*justify-content: space-around;*/
    /*overflow-y: scroll;*/
    overflow: scroll;   
    max-height: 650px;
}

.job-status {
    display: flex;
    flex-direction: column;
    width: 300px;
    height: 700px;
}

    .job-status ul {
        flex: 1;
    }

.dropzone {
    padding: 25px;
    /* border: 1px dashed #75868a;*/
    list-style: none;
}

.no-drop {
    border: 2px dashed red;
}

.can-drop {
    border: 2px dashed green;
}

.draggable {
    margin-bottom: 10px;
    /* padding: 10px 25px;*/
    border: 1px solid #424d5c;
    cursor: grab;
    /* background: #ececec;*/ /*#808080;*/
    /*color: #ffffff;*/
    /* color: #000f;*/
    border-radius: 5px;
    width: 250px;
    /*cursor:pointer;
    touch-action:none;*/
}

    .draggable:active {
        cursor: grabbing;
    }

.dragging {
    cursor: grabbing;
}

/* DataList row drag-to-reorder */
tr.mc-datarow-drag-over td {
    border-top: 2px solid var(--mud-palette-primary) !important;
}

.description {
    font-size: 18px;
}

.last-updated {
    margin-bottom: 0;
    font-size: 11px;
    color: #000000;
    font-weight: bold;
    margin-left:24px;
}

.last-updated small {
    text-transform: uppercase;
    color: #000000;
    font-size: 11px;
}

html,body {
    overscroll-behavior-y: contain;
}

.mud-table-container {
    overflow-y: auto !important;
    height: var(--assessment-table-height);
    -webkit-overflow-scrolling: touch;
}

/* Touch only: with a mouse, "contain" also stops the wheel reaching the page from a table that has
   nothing to scroll itself, so a page could not be scrolled while the pointer was over any grid. */
@media (pointer: coarse) {
    .mud-table-container {
        overscroll-behavior-y: contain;
    }
}

.assessment-table .mud-table-container {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

/* Shown by blazor.server.js when the circuit dies; unstyled it sat behind the MudBlazor layout,
   so a crashed circuit looked like a frozen app. */
#blazor-error-ui {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    padding: 0.75rem 3rem 0.75rem 1.25rem;
    font-weight: 500;
    background: var(--mud-palette-error, #f44336);
    color: var(--mud-palette-error-text, #ffffff);
    box-shadow: var(--mud-elevation-8, 0 -2px 6px rgba(0, 0, 0, 0.25));
}

#blazor-error-ui .reload {
    color: inherit;
    font-weight: bold;
    margin-left: 0.5rem;
    text-decoration: underline;
}

#blazor-error-ui .dismiss {
    position: absolute;
    right: 1rem;
    top: 0.6rem;
    cursor: pointer;
}

/* ── Reconnect overlay ──────────────────────────────────────────────────────
   Blazor toggles the components-reconnect-* classes on the element in _Layout; without one of
   our own it draws a white card, which is a flash of daylight over a dark screen. Tokens carry
   a MudBlazor fallback because this can appear before the app has rendered its own. */
#components-reconnect-modal {
    display: none;
}

/* Whichever class the runtime reaches for to show it, hide always wins. */
#components-reconnect-modal.components-reconnect-hide {
    display: none !important;
}

#components-reconnect-modal.components-reconnect-show,
#components-reconnect-modal.components-reconnect-visible,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--mc-ground, var(--mud-palette-background, #1e1e1e)) 72%, transparent);
    backdrop-filter: blur(3px);
}

.mc-reconnect-card {
    min-width: 280px;
    max-width: 380px;
    padding: 24px 28px;
    text-align: center;
    background: var(--mc-surface, var(--mud-palette-surface, #fff));
    color: var(--mc-ink, var(--mud-palette-text-primary, #222));
    border: 1px solid var(--mc-line, var(--mud-palette-lines-default, rgba(0, 0, 0, .12)));
    border-radius: var(--mc-radius-lg, 10px);
    box-shadow: var(--mc-shadow, 0 8px 24px rgba(0, 0, 0, .28));
    font-family: var(--mud-typography-default-family, sans-serif);
}

.mc-reconnect-spinner {
    width: 34px;
    height: 34px;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 3px solid color-mix(in srgb, var(--mud-palette-primary, #1976d2) 25%, transparent);
    border-top-color: var(--mud-palette-primary, #1976d2);
    animation: mc-reconnect-spin .9s linear infinite;
}

@keyframes mc-reconnect-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .mc-reconnect-spinner { animation: none; }
}

.mc-reconnect-title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 600;
}

.mc-reconnect-detail {
    margin: 0;
    font-size: .85rem;
    color: var(--mc-muted, var(--mud-palette-text-secondary, #666));
}

/* The id outranks MudBlazor's own "#components-reconnect-modal button" rule. */
#components-reconnect-modal .mc-reconnect-action {
    display: inline-block;
    margin: 16px auto 0 !important;
    min-width: 0;
    line-height: normal;
    letter-spacing: normal;
    padding: 7px 16px;
    border-radius: var(--mc-radius-sm, 6px);
    border: none;
    background: var(--mud-palette-primary, #1976d2);
    color: var(--mud-palette-primary-text, #fff);
    font-family: inherit;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
}

/* Which message shows is the class Blazor put on the overlay. */
#components-reconnect-modal .mc-reconnect-failed-only,
#components-reconnect-modal .mc-reconnect-rejected-only {
    display: none;
}

#components-reconnect-modal.components-reconnect-failed .mc-reconnect-trying,
#components-reconnect-modal.components-reconnect-rejected .mc-reconnect-trying,
#components-reconnect-modal.components-reconnect-failed .mc-reconnect-spinner,
#components-reconnect-modal.components-reconnect-rejected .mc-reconnect-spinner {
    display: none;
}

#components-reconnect-modal.components-reconnect-failed .mc-reconnect-failed-only,
#components-reconnect-modal.components-reconnect-rejected .mc-reconnect-rejected-only {
    display: block;
}

/* MudDataGrid puts header text in a flex row, so a column's HeaderStyle text-align alone does not move it. */
.mc-document-grid th[style*="text-align: right"] .column-header {
    justify-content: flex-end;
}

.mc-document-grid th[style*="text-align: center"] .column-header {
    justify-content: center;
}
