/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-uqqelt5fpt] {
    background: #b32121;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    color: white;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-uqqelt5fpt] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-chklmophzj],
.components-reconnect-repeated-attempt-visible[b-chklmophzj],
.components-reconnect-failed-visible[b-chklmophzj],
.components-pause-visible[b-chklmophzj],
.components-resume-failed-visible[b-chklmophzj],
.components-rejoining-animation[b-chklmophzj] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-chklmophzj],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-chklmophzj],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-chklmophzj],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-chklmophzj],
#components-reconnect-modal.components-reconnect-retrying[b-chklmophzj],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-chklmophzj],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-chklmophzj],
#components-reconnect-modal.components-reconnect-failed[b-chklmophzj],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-chklmophzj] {
    display: block;
}


#components-reconnect-modal[b-chklmophzj] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-chklmophzj 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-chklmophzj 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-chklmophzj 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-chklmophzj]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-chklmophzj 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-chklmophzj {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-chklmophzj {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-chklmophzj {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-chklmophzj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-chklmophzj] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-chklmophzj] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-chklmophzj] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-chklmophzj] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-chklmophzj] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-chklmophzj] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-chklmophzj 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-chklmophzj] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-chklmophzj {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Layout/SidebarNav.razor.rz.scp.css */
.sidebar[b-d86zkyjny5] {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    border-right: 1px solid var(--sidebar-border);
}

.sidebar-brand[b-d86zkyjny5] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 16px 14px;
    color: var(--app-teal-mid);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    border-bottom: 1px solid var(--sidebar-border);
    flex-shrink: 0;
}

.sidebar-nav[b-d86zkyjny5] {
    flex: 1;
    overflow-y: auto;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-footer[b-d86zkyjny5] {
    padding: 12px 10px 14px;
    border-top: 1px solid var(--sidebar-border);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-user-row[b-d86zkyjny5] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 2px;
    min-width: 0;
}

.sidebar-avatar[b-d86zkyjny5] {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--app-teal), var(--app-teal-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.04em;
}

.sidebar-user[b-d86zkyjny5] {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.sidebar-logout[b-d86zkyjny5] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.sidebar-logout:hover[b-d86zkyjny5] {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-header[b-bj307vwdfv] {
    background: linear-gradient(180deg, var(--app-teal) 0%, var(--app-dark) 100%);
    padding: 28px 24px 22px;
    text-align: center;
    border-bottom: 3px solid var(--app-gold);
}

.login-logo[b-bj307vwdfv] {
    margin-bottom: 10px;
}

.login-logo-img[b-bj307vwdfv] {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.login-title[b-bj307vwdfv] {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}

.login-subtitle[b-bj307vwdfv] {
    font-size: 12px;
    color: var(--app-gold);
    margin: 0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.login-body[b-bj307vwdfv] {
    padding: 24px;
}
/* /Features/Companies/CompanyList.razor.rz.scp.css */
[b-vk0vmtximd] .admin-table td { padding: 5px 14px; }
[b-vk0vmtximd] .admin-table th { padding: 7px 14px; }
[b-vk0vmtximd] .admin-table th:first-child,
[b-vk0vmtximd] .admin-table td:first-child { padding-left: 24px; }
[b-vk0vmtximd] .admin-table th:last-child,
[b-vk0vmtximd] .admin-table td:last-child  { padding-right: 24px; }
[b-vk0vmtximd] .col-mono { font-family: var(--font-mono); font-size: 12px; }
/* /Features/Dashboard/Dashboard.razor.rz.scp.css */
.dash-grid[b-lvfz2w9ea3] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    max-width: 760px;
}

.dash-card[b-lvfz2w9ea3] {
    background: var(--surface-card);
    border: 1px solid var(--surface-card-border);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 16px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.dash-card:hover[b-lvfz2w9ea3] {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(15,45,74,0.16);
    border-color: var(--app-teal-line);
}

.dash-icon[b-lvfz2w9ea3] { color: var(--app-teal-mid); }

.dash-label[b-lvfz2w9ea3] {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-ink);
}
/* /Features/NavOptions/NavOptionList.razor.rz.scp.css */
[b-z437rl3ijx] .admin-table td { padding: 5px 14px; }
[b-z437rl3ijx] .admin-table th { padding: 7px 14px; }
[b-z437rl3ijx] .admin-table th:first-child,
[b-z437rl3ijx] .admin-table td:first-child { padding-left: 24px; }
[b-z437rl3ijx] .admin-table th:last-child,
[b-z437rl3ijx] .admin-table td:last-child  { padding-right: 24px; }
[b-z437rl3ijx] .col-mono { font-family: var(--font-mono); font-size: 12px; }
/* /Features/States/StateList.razor.rz.scp.css */
[b-vrx8dnh37u] .admin-table td { padding: 5px 14px; }
[b-vrx8dnh37u] .admin-table th { padding: 7px 14px; }
[b-vrx8dnh37u] .admin-table th:first-child,
[b-vrx8dnh37u] .admin-table td:first-child { padding-left: 24px; }
[b-vrx8dnh37u] .admin-table th:last-child,
[b-vrx8dnh37u] .admin-table td:last-child  { padding-right: 24px; }
[b-vrx8dnh37u] .col-code { font-family: var(--font-mono); font-size: 12px; }
/* /Features/SuperAdmins/SuperAdminList.razor.rz.scp.css */
[b-xxyu5g28w8] .admin-table td { padding: 5px 14px; }
[b-xxyu5g28w8] .admin-table th { padding: 7px 14px; }
[b-xxyu5g28w8] .admin-table th:first-child,
[b-xxyu5g28w8] .admin-table td:first-child { padding-left: 24px; }
[b-xxyu5g28w8] .admin-table th:last-child,
[b-xxyu5g28w8] .admin-table td:last-child  { padding-right: 24px; }
/* /Features/SystemRoles/RoleList.razor.rz.scp.css */
[b-xluktirzvm] .admin-table td { padding: 5px 14px; }
[b-xluktirzvm] .admin-table th { padding: 7px 14px; }
[b-xluktirzvm] .admin-table th:first-child,
[b-xluktirzvm] .admin-table td:first-child { padding-left: 24px; }
[b-xluktirzvm] .admin-table th:last-child,
[b-xluktirzvm] .admin-table td:last-child  { padding-right: 24px; }
/* /Features/TenantUsers/TenantUserList.razor.rz.scp.css */
[b-d0t6ne7ovm] .admin-table td { padding: 5px 14px; }
[b-d0t6ne7ovm] .admin-table th { padding: 7px 14px; }
[b-d0t6ne7ovm] .admin-table th:first-child,
[b-d0t6ne7ovm] .admin-table td:first-child { padding-left: 24px; }
[b-d0t6ne7ovm] .admin-table th:last-child,
[b-d0t6ne7ovm] .admin-table td:last-child  { padding-right: 24px; }
/* /Features/Twa/TwaPicker.razor.rz.scp.css */
/* TWA Runner — page-specific styles. Reuses the app's admin-card / field
   vocabulary from app.css; only what's unique to this page lives here. */

/* Page-specific field widths. The stock field--medium (240px) truncates long
   company names and "CODE - Long Plant Name" plant labels, so this page uses
   wider fixed sizes. Overrides app.css's `.fields-row .field--medium` — same
   two-class specificity, and CSS isolation scopes these to this page only. */
.fields-row .field--twa-company[b-h4uw4fo5km] { flex: 0 0 400px; }
.fields-row .field--twa-plant[b-h4uw4fo5km]   { flex: 0 0 320px; }
.fields-row .field--twa-date[b-h4uw4fo5km]    { flex: 0 0 170px; }

/* App-wide the calendar-picker indicator sits at opacity 0.5 which is nearly
   invisible against the input's grey border. Bump the opacity and nudge the
   size so the icon reads clearly on this picker. */
.twa-date-input[b-h4uw4fo5km]::-webkit-calendar-picker-indicator {
    width: 20px;
    height: 20px;
    opacity: 1;
    filter: invert(0.25);
    cursor: pointer;
}

.twa-intro[b-h4uw4fo5km] {
    margin: 0 0 20px 0;
    padding: 0 24px;
    color: #475569;
    font-size: 13px;
    line-height: 1.55;
}

.field-help[b-h4uw4fo5km] {
    display: block;
    margin-top: 6px;
    color: #334155;
    font-size: 13px;
    line-height: 1.45;
}

.twa-info-banner[b-h4uw4fo5km] {
    margin: 12px 24px 4px;
    padding: 10px 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    border-radius: 6px;
    font-size: 13px;
}

.twa-results-card[b-h4uw4fo5km] {
    margin-top: 20px;
}

.twa-summary-block[b-h4uw4fo5km] {
    padding: 14px 24px 16px;
    color: #334155;
    font-size: 13px;
    line-height: 1.6;
    border-bottom: 1px solid #f1f5f9;
}

.twa-summary-block strong[b-h4uw4fo5km] {
    color: #0f172a;
}

.twa-empty[b-h4uw4fo5km] {
    padding: 24px;
    color: #6b7280;
    font-style: italic;
    text-align: center;
}

.twa-table-wrap[b-h4uw4fo5km] {
    overflow-x: auto;
}

.twa-table[b-h4uw4fo5km] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.twa-table thead th[b-h4uw4fo5km] {
    background: #f8fafc;
    color: #334155;
    text-align: left;
    padding: 9px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid #e5e7eb;
}

.twa-table tbody td[b-h4uw4fo5km] {
    padding: 9px 16px;
    border-top: 1px solid #f1f5f9;
    color: #0f172a;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    vertical-align: middle;
}

.twa-col-icon[b-h4uw4fo5km] {
    width: 32px;
    padding-left: 24px !important;
    padding-right: 0 !important;
}

/* Row colouring — single warning tone for both skipped and errored, matching the
   IHEMS Result view (which uses one table-warning class for all non-processed
   rows). Processed rows get a soft-green wash. */
.twa-table tbody tr.twa-row--ok    td[b-h4uw4fo5km] { background: #f0fdf4; }
.twa-table tbody tr.twa-row--skip  td[b-h4uw4fo5km] { background: #fffbeb; }

.twa-table tbody tr.twa-row--ok:hover    td[b-h4uw4fo5km] { background: #dcfce7; }
.twa-table tbody tr.twa-row--skip:hover  td[b-h4uw4fo5km] { background: #fef3c7; }

.twa-status-ok[b-h4uw4fo5km]   { color: #16a34a; display: inline-flex; }
.twa-status-skip[b-h4uw4fo5km] { color: #d97706; display: inline-flex; }

.twa-result-ok[b-h4uw4fo5km]   { color: #15803d; font-weight: 600; }
.twa-result-skip[b-h4uw4fo5km] { color: #78716c; }
