/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-8xmodmokde] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    right: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-8xmodmokde] {
        cursor: pointer;
        position: absolute;
        left: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-brand[b-n1b7mw0o31] {
    min-height: 4rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-nomg5wnmsi],
.components-reconnect-repeated-attempt-visible[b-nomg5wnmsi],
.components-reconnect-failed-visible[b-nomg5wnmsi],
.components-pause-visible[b-nomg5wnmsi],
.components-resume-failed-visible[b-nomg5wnmsi],
.components-rejoining-animation[b-nomg5wnmsi] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-nomg5wnmsi],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-nomg5wnmsi],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-nomg5wnmsi],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-nomg5wnmsi],
#components-reconnect-modal.components-reconnect-retrying[b-nomg5wnmsi],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-nomg5wnmsi],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-nomg5wnmsi],
#components-reconnect-modal.components-reconnect-failed[b-nomg5wnmsi],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-nomg5wnmsi] {
    display: block;
}


#components-reconnect-modal[b-nomg5wnmsi] {
    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-nomg5wnmsi 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-nomg5wnmsi 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-nomg5wnmsi 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-nomg5wnmsi]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-nomg5wnmsi 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-nomg5wnmsi {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-nomg5wnmsi {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-nomg5wnmsi {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-nomg5wnmsi] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-nomg5wnmsi] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-nomg5wnmsi] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-nomg5wnmsi] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-nomg5wnmsi] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-nomg5wnmsi] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-nomg5wnmsi] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-nomg5wnmsi 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-nomg5wnmsi] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-nomg5wnmsi {
    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/Pages/Login.razor.rz.scp.css */
.login-page[b-1ttp47as2t] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, rgba(0,151,167,0.08), transparent 45%),
                radial-gradient(circle at bottom left, rgba(255,213,79,0.08), transparent 50%),
                #F0F9FA;
    padding: 1.5rem;
}

.login-card[b-1ttp47as2t] {
    width: 100%;
    max-width: 400px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 77, 90, 0.12);
    padding: 2.25rem 2rem;
}

.login-brand[b-1ttp47as2t] {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-badge[b-1ttp47as2t] {
    display: inline-block;
    background: #0097A7;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 8px;
    padding: 0.35rem 0.9rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.login-brand h3[b-1ttp47as2t] {
    color: #004D5A;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.login-brand p[b-1ttp47as2t] {
    color: #5A7A80;
    font-size: 0.9rem;
    margin: 0;
}

.login-alert[b-1ttp47as2t] {
    background: #FDECEA;
    color: #C0392B;
    border: 1px solid #F5B7B1;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.login-form[b-1ttp47as2t] {
    display: flex;
    flex-direction: column;
}

.login-label[b-1ttp47as2t] {
    color: #2C4A50;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    margin-top: 1rem;
}

.login-input[b-1ttp47as2t] {
    border: 1px solid #C8E6E9;
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: #2C4A50;
    background: #F7FDFD;
}

    .login-input:focus[b-1ttp47as2t] {
        outline: none;
        border-color: #0097A7;
        box-shadow: 0 0 0 3px rgba(0,151,167,0.15);
    }

.login-submit[b-1ttp47as2t] {
    margin-top: 1.75rem;
    background: #0097A7;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease;
}

    .login-submit:hover[b-1ttp47as2t] {
        background: #00838F;
    }

    .login-submit:disabled[b-1ttp47as2t] {
        background: #00838F;
        opacity: 0.7;
        cursor: not-allowed;
    }

.login-submit.loading[b-1ttp47as2t] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-spinner[b-1ttp47as2t] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin-b-1ttp47as2t 0.8s linear infinite;
}

@keyframes spin-b-1ttp47as2t {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* /Components/Shared/ShiftPicker.razor.rz.scp.css */
/* Card grid for the dispatch shift picker. Colours come from the MudBlazor palette variables so
   the cards follow the portal theme (incl. dark mode) instead of hard-coding a light-only look. */

.shift-picker[b-p259cyhp1l] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 12px;
}

.shift-card[b-p259cyhp1l] {
    border: 2px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    background: var(--mud-palette-surface);
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.shift-card:hover[b-p259cyhp1l] {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}

.shift-card:focus-visible[b-p259cyhp1l] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.shift-card--selected[b-p259cyhp1l] {
    border-color: var(--mud-palette-primary);
    background: var(--mud-palette-primary-hover);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .16);
}

/* Unassignable (no responsible technician): stays readable so the engineer can see *why* it's
   out, rather than disappearing from the list and looking like the shift doesn't exist. */
.shift-card--disabled[b-p259cyhp1l] {
    cursor: not-allowed;
    opacity: .65;
}

.shift-card--disabled:hover[b-p259cyhp1l] {
    border-color: var(--mud-palette-lines-default);
    box-shadow: none;
}

.shift-card__head[b-p259cyhp1l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.shift-card__title[b-p259cyhp1l] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.shift-card__title-icon[b-p259cyhp1l] {
    color: var(--mud-palette-primary);
}

.shift-card__crew[b-p259cyhp1l] {
    font-weight: 700;
    font-size: 1.05rem;
}

.shift-card__office[b-p259cyhp1l] {
    margin: 0;
}

.shift-card__radio[b-p259cyhp1l] {
    color: var(--mud-palette-text-disabled);
}

.shift-card__rows[b-p259cyhp1l] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shift-card__row[b-p259cyhp1l] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: .875rem;
}

.shift-card__row .mud-icon-root[b-p259cyhp1l] {
    color: var(--mud-palette-text-secondary);
    flex-shrink: 0;
}

.shift-card__muted[b-p259cyhp1l] {
    color: var(--mud-palette-text-secondary);
}

.shift-card__roster[b-p259cyhp1l] {
    font-size: .8rem;
}

.shift-card__remaining[b-p259cyhp1l] {
    margin: 0;
    margin-inline-start: auto;
}

.shift-card__warn[b-p259cyhp1l] {
    color: var(--mud-palette-warning-darken);
    font-weight: 600;
}
