/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-te7o19b8ux] {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--sb-bg, #0b0c0f);
    min-height: 100vh;
    color: var(--sb-text, #e8eaed);
}

main[b-te7o19b8ux] {
    flex: 1;
    min-width: 0;
    background: transparent;
}

.sidebar[b-te7o19b8ux] {
    background: linear-gradient(180deg, #0f1115 0%, #0a0b0e 100%);
    border-right: 1px solid var(--sb-border, #2a2e38);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
}

/* Collapsible sidebar (CSS-only, render-mode agnostic) */
.sidebar-toggle-state[b-te7o19b8ux] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.sidebar-toggle-btn[b-te7o19b8ux] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    user-select: none;
    height: 1.7rem;
    padding: 0 0.6rem;
    border: 1px solid var(--sb-border, #2a2e38);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--sb-text-dim, #a1a7b3);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.sidebar-toggle-btn:hover[b-te7o19b8ux] {
    background: rgba(255, 255, 255, 0.08);
    color: var(--sb-text, #e8eaed);
    border-color: var(--sb-border-strong, #3a3f4b);
}

.sidebar-toggle-icon[b-te7o19b8ux] {
    width: 1.05rem;
    height: 1.05rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28232, 234, 237, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.top-row[b-te7o19b8ux] {
    background: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sb-border, #2a2e38);
    justify-content: space-between;
    height: var(--sb-topbar-h, 2.25rem);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-row-status[b-te7o19b8ux] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--sb-text-dim, #a1a7b3);
    letter-spacing: 0.02em;
}

.status-dot[b-te7o19b8ux] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sb-success, #2ecc71);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--sb-success, #2ecc71) 60%, transparent);
    animation: sb-status-pulse-b-te7o19b8ux 2.4s ease-out infinite;
}

@keyframes sb-status-pulse-b-te7o19b8ux {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--sb-success, #2ecc71) 55%, transparent); }
    70% { box-shadow: 0 0 0 6px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

    .top-row[b-te7o19b8ux]  a, .top-row[b-te7o19b8ux]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        color: var(--sb-text-dim, #a1a7b3);
    }

    .top-row[b-te7o19b8ux]  a:hover, .top-row[b-te7o19b8ux]  .btn-link:hover {
        text-decoration: none;
        color: var(--sb-accent, #e63946);
    }

    .top-row[b-te7o19b8ux]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-te7o19b8ux] {
        justify-content: space-between;
    }
    .top-row[b-te7o19b8ux]  a, .top-row[b-te7o19b8ux]  .btn-link {
        margin-left: 0;
    }
    /* On mobile the NavMenu provides its own hamburger toggler. */
    .sidebar-toggle-btn[b-te7o19b8ux] {
        display: none;
    }
}

@media (min-width: 641px) {
    .page[b-te7o19b8ux] {
        flex-direction: row;
    }
    .sidebar[b-te7o19b8ux] {
        width: 240px;
        height: 100vh;
        position: sticky;
        top: 0;
        overflow: hidden;
        transition: width .22s ease, opacity .22s ease;
    }
    /* Collapsed state: hide the sidebar to free up screen space */
    .sidebar-toggle-state:checked ~ .sidebar[b-te7o19b8ux] {
        width: 0;
        opacity: 0;
        border-right-color: transparent;
        pointer-events: none;
    }
    .top-row[b-te7o19b8ux] {
        position: sticky;
        top: 0;
        z-index: 1;
    }
    .top-row.auth[b-te7o19b8ux]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }
    .top-row[b-te7o19b8ux], article[b-te7o19b8ux] {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}

#blazor-error-ui[b-te7o19b8ux] {
    color-scheme: dark only;
    background: var(--sb-danger, #e63946);
    color: #fff;
    bottom: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    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-te7o19b8ux] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-brand[b-8epz0g1wfu] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--sb-border, #2a2e38);
    background:
        radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--sb-accent, #e63946) 14%, transparent), transparent 55%),
        #0a0b0e;
}

.nav-brand img[b-8epz0g1wfu] {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid color-mix(in srgb, var(--sb-accent, #e63946) 45%, transparent);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45), 0 0 0 3px color-mix(in srgb, var(--sb-accent, #e63946) 14%, transparent);
    transition: box-shadow .3s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}

.nav-brand a:hover img[b-8epz0g1wfu] {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5), 0 0 0 3px color-mix(in srgb, var(--sb-accent, #e63946) 30%, transparent);
}

.nav-brand .brand-text[b-8epz0g1wfu] {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-brand .brand-name[b-8epz0g1wfu] {
    font-family: var(--sb-font-display, 'Sora', sans-serif);
    font-weight: 600;
    color: var(--sb-text, #e8eaed);
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.nav-brand .brand-sub[b-8epz0g1wfu] {
    font-size: 0.62rem;
    color: var(--sb-text-muted, #6c727f);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-top: 2px;
}

.navbar-toggler[b-8epz0g1wfu] {
    appearance: none;
    cursor: pointer;
    width: 3rem;
    height: 2.25rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid var(--sb-border, #2a2e38);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28232, 234, 237, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.5rem rgba(255, 255, 255, 0.04);
    border-radius: 6px;
}

.nav-section-label[b-8epz0g1wfu] {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sb-text-muted, #6c727f);
    padding: 0.85rem 1.25rem 0.35rem;
    font-weight: 600;
}

.bi[b-8epz0g1wfu] {
    display: inline-block;
    margin-right: 0.7rem;
    font-size: 1.1rem;
    opacity: 0.85;
}

.nav-item[b-8epz0g1wfu] {
    font-size: 0.9rem;
    padding: 0 0.6rem;
}

    .nav-item:first-of-type[b-8epz0g1wfu] { padding-top: 0.5rem; }
    .nav-item:last-of-type[b-8epz0g1wfu] { padding-bottom: 0.5rem; }

    .nav-item[b-8epz0g1wfu]  .nav-link {
        color: var(--sb-text-dim, #a1a7b3);
        background: none;
        border: none;
        border-radius: 9px;
        height: 2.6rem;
        display: flex;
        align-items: center;
        padding: 0 0.8rem;
        line-height: 2.6rem;
        width: 100%;
        font-weight: 500;
        letter-spacing: -0.01em;
        transition: background .2s ease, color .2s ease, transform .15s ease;
    }

.nav-item[b-8epz0g1wfu]  a.active {
    background: linear-gradient(90deg, color-mix(in srgb, var(--sb-accent, #e63946) 26%, transparent), color-mix(in srgb, var(--sb-accent, #e63946) 5%, transparent));
    color: #fff;
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--sb-accent, #e63946);
}

.nav-item[b-8epz0g1wfu]  a.active .bi {
    opacity: 1;
}

.nav-item[b-8epz0g1wfu]  .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--sb-text, #e8eaed);
    transform: translateX(2px);
}

hr.text-white-50[b-8epz0g1wfu] {
    border: none;
    border-top: 1px solid var(--sb-border, #2a2e38);
    margin: 0.6rem 1.1rem;
    opacity: 1;
}

.nav-group[b-8epz0g1wfu] {
    margin: 0.15rem 0;
}

.nav-group-summary[b-8epz0g1wfu] {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 0.6rem;
    padding: 0 0.8rem;
    height: 2.6rem;
    border-radius: 9px;
    color: var(--sb-text-dim, #a1a7b3);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: background .2s ease, color .2s ease;
}

.nav-group-summary[b-8epz0g1wfu]::-webkit-details-marker {
    display: none;
}

.nav-group-summary:hover[b-8epz0g1wfu] {
    background: rgba(255, 255, 255, 0.05);
    color: var(--sb-text, #e8eaed);
}

.nav-group-summary .nav-group-title[b-8epz0g1wfu] {
    flex: 1 1 auto;
}

.nav-group-chevron[b-8epz0g1wfu] {
    margin-right: 0 !important;
    opacity: 0.6;
    transition: transform .2s ease;
}

.nav-group[open] > .nav-group-summary .nav-group-chevron[b-8epz0g1wfu] {
    transform: rotate(180deg);
}

.nav-group-items[b-8epz0g1wfu] {
    padding-left: 0.6rem;
}

.nav-group-items .nav-item[b-8epz0g1wfu]  .nav-link {
    height: 2.35rem;
    line-height: 2.35rem;
    font-size: 0.86rem;
}

.nav-scrollable[b-8epz0g1wfu] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-8epz0g1wfu] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-8epz0g1wfu] {
        display: none;
    }

    .nav-scrollable[b-8epz0g1wfu] {
        display: block;
        height: calc(100vh - 4.2rem);
        overflow-y: auto;
        padding-bottom: 1rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-nzi65jv1qb],
.components-reconnect-repeated-attempt-visible[b-nzi65jv1qb],
.components-reconnect-failed-visible[b-nzi65jv1qb],
.components-pause-visible[b-nzi65jv1qb],
.components-resume-failed-visible[b-nzi65jv1qb],
.components-rejoining-animation[b-nzi65jv1qb] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-nzi65jv1qb {
    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/Cashier.razor.rz.scp.css */
/* Fiskalisierungs-Hinweisstreifen der Kassenansicht.

   Liegt bewusst hier statt in wwwroot/app.css: der Streifen haengt an der
   Zeilenaufteilung des Kassen-Grids und gehoert damit zu dieser Seite.

   Kernproblem: .pos-screen hat eine feste Hoehe (100vh - Topbar) und keine
   grid-template-rows. Bei align-content: normal (= stretch) verteilt das Grid
   die freie Hoehe gleichmaessig auf alle impliziten Zeilen - die Bannerzeile
   bekam so die Haelfte des Bildschirms. Eine Hoehenbegrenzung am Banner selbst
   hilft nicht, weil die *Zeile* trotzdem so hoch bleibt. Die Zeilen muessen
   daher explizit definiert werden: Banner inhaltshoch, Spalten der Rest. */
.pos-screen.has-fiskal-banner[b-377lleevzj] {
    grid-template-rows: auto minmax(0, 1fr);
}

.pos-screen .pos-fiskal-banner[b-377lleevzj] {
    align-self: start;
    font-size: 0.72rem;
    line-height: 1.15;
    padding: 0.2rem 0.55rem;
    border-radius: var(--sb-radius);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Components/Pages/Kitchen/OrderCard.razor.rz.scp.css */
/* Scoped styles for a single Bestellkarte (OrderCard.razor).

   Moved verbatim out of OrdersOverview.razor.css because Blazor scoped CSS does
   not cross the component boundary: the ".order-*" rules must live next to the
   markup they style. Elevation/radius/motion now flow from the shared --kds-*
   tokens (defined on .station-dashboard in kitchen-station.css) with literal
   fallbacks so the card still renders if it is ever used outside that shell.
   The serving-type pill styles moved to ServingTypeBadge.razor.css. */

.order-card[b-n0ns1vs2i9] {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    background: #ffffff;
    border: 1px solid #e2e5ea;
    border-radius: var(--kds-radius-card, 0.5rem);
    padding: 0.5rem 0.65rem;
    color: #262b34;
    box-shadow: var(--kds-elev-card, 0 1px 3px rgba(0, 0, 0, 0.18));
}

/* One-shot entrance so a newly arriving order eases in instead of popping into
   the board — a calm cue that draws the eye to the new ticket without motion
   that lingers. Honoured only when the operator hasn't asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
    .order-card[b-n0ns1vs2i9] {
        animation: kds-card-enter-b-n0ns1vs2i9 var(--kds-motion-base, 200ms) var(--kds-ease, ease-out) both;
    }
}

@keyframes kds-card-enter-b-n0ns1vs2i9 {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Status / wait-time rings. Order matters: the wait-time ring is defined after
   the status ring so an overdue order's amber/red frame wins over its plain
   status frame — unchanged from the original board. */
.order-card.status-new[b-n0ns1vs2i9] { box-shadow: 0 0 0 1px #94a3b8 inset; }
.order-card.status-prep[b-n0ns1vs2i9] { box-shadow: 0 0 0 2px #2563eb inset; }
.order-card.status-ready[b-n0ns1vs2i9] { box-shadow: 0 0 0 2px #15803d inset; }

.order-card.wait-warn[b-n0ns1vs2i9] { box-shadow: 0 0 0 2px #b45309 inset; }
.order-card.wait-danger[b-n0ns1vs2i9] { box-shadow: 0 0 0 2px #b91c1c inset; }

/* Small always-visible queue-position badge, overlapping the top-left corner of
   the card frame. Numbered 1..n among orders still waiting to be cooked (a
   "Ready" order no longer competes for a spot). Deliberately a single neutral
   style for every position — the queue order itself (and, when active, the
   "Umsortiert" badge below) already communicates what staff need to know. */
.order-priority-badge[b-n0ns1vs2i9] {
    position: absolute;
    top: -0.55rem;
    left: -0.55rem;
    z-index: 2;
    min-width: 1.8rem;
    height: 1.8rem;
    padding: 0 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--kds-radius-pill, 999px);
    background: #343b46;
    color: #f4f5f7;
    font-size: calc(1rem * var(--of-font-scale, 1));
    font-weight: 800;
    border: 2px solid #ffffff;
}

/* Flags an order the KI-Sortierung moved out of plain FIFO order (batching or
   gap-filling). Deliberately a calm, distinct accent (indigo) that doesn't
   compete with the red/green/amber status and wait-time signals. */
.order-reordered-badge[b-n0ns1vs2i9] {
    position: absolute;
    top: -0.55rem;
    right: -0.4rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #4f46e5;
    color: #fff;
    border: 2px solid #ffffff;
    border-radius: var(--kds-radius-pill, 999px);
    padding: 0.15rem 0.55rem;
    font-size: calc(0.7rem * var(--of-font-scale, 1));
    font-weight: 700;
    white-space: nowrap;
}

/* Full-card overlay frame: signals the bread/side-dish prep status around the whole
   card border. While preparing, the border shows the same draining countdown ring as
   the toaster slots in the SmartLoadBar/BreadLoadBar (--prep-pct, set inline per item),
   using border-image so it doesn't need to touch the card's own background. No glow/
   blink — once done, the border simply turns solid green. */
.order-card-frame[b-n0ns1vs2i9] {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 5px solid transparent;
    pointer-events: none;
    box-sizing: border-box;
}

.order-card-frame.bread-toasting[b-n0ns1vs2i9] {
    border-image: conic-gradient(#ff8800 calc(var(--prep-pct, 0) * 1%), #2a2f38 0) 1;
}

.order-card-frame.bread-done[b-n0ns1vs2i9] {
    border-color: #198754;
}

.order-card-header[b-n0ns1vs2i9] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.4rem;
    margin-bottom: 0.2rem;
}

.order-number[b-n0ns1vs2i9] {
    font-size: calc(1.35rem * var(--of-font-scale, 1));
    font-weight: 700;
    line-height: 1.1;
    color: #1b1e25;
}

.order-header-badges[b-n0ns1vs2i9] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: flex-end;
}

.order-badge[b-n0ns1vs2i9] {
    font-size: calc(0.7rem * var(--of-font-scale, 1));
    font-weight: 600;
}

.schedule-badge[b-n0ns1vs2i9] { background: #6f42c1; }

.order-wait[b-n0ns1vs2i9] {
    font-size: calc(0.78rem * var(--of-font-scale, 1));
    color: #667085;
    margin-bottom: 0.3rem;
}

.wait-warn .order-wait[b-n0ns1vs2i9] { color: #b45309; font-weight: 600; }
.wait-danger .order-wait[b-n0ns1vs2i9] { color: #b91c1c; font-weight: 700; }

.order-items[b-n0ns1vs2i9] {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px dashed #d7dbe2;
    padding-top: 0.35rem;
}

.order-item + .order-item[b-n0ns1vs2i9] {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px dashed #e2e5ea;
}

/* Per-dish bread-toast border: used instead of the full-card frame when an order
   has several toast-relevant items so each one's own toaster status is visible. */
.order-item.bread-toasting[b-n0ns1vs2i9],
.order-item.bread-done[b-n0ns1vs2i9] {
    border-radius: var(--kds-radius-sm, 0.375rem);
    padding: 0.35rem 0.4rem;
    margin-left: -0.4rem;
    margin-right: -0.4rem;
    box-sizing: border-box;
}

.order-item.bread-toasting[b-n0ns1vs2i9] {
    border: 3px solid #d7dbe2;
    border-image: conic-gradient(#ff8800 calc(var(--prep-pct, 0) * 1%), #d7dbe2 0) 1;
}

.order-item.bread-done[b-n0ns1vs2i9] {
    border: 3px solid #198754;
}

.order-item-main[b-n0ns1vs2i9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: calc(1.05rem * var(--of-font-scale, 1));
}

.order-item-qty[b-n0ns1vs2i9] {
    font-weight: 700;
    color: #667085;
}

.order-item-name[b-n0ns1vs2i9] {
    font-weight: 800;
    color: #12141a;
}

.order-tag[b-n0ns1vs2i9] {
    font-size: calc(0.85rem * var(--of-font-scale, 1));
    font-weight: 700;
    padding: 0.25em 0.55em;
}

.meat-tag[b-n0ns1vs2i9] { background: #dc3545; }
.spice-tag[b-n0ns1vs2i9] { background: #fd7e14; }

.order-item-sub[b-n0ns1vs2i9] {
    font-size: calc(0.95rem * var(--of-font-scale, 1));
    font-weight: 700;
    color: #475569;
    margin-left: 1.6rem;
}

.order-item-exclusion[b-n0ns1vs2i9] { color: #b91c1c; }

.order-item-extra[b-n0ns1vs2i9] { color: #0f6fa3; }

.order-item-note[b-n0ns1vs2i9] {
    font-size: calc(0.9rem * var(--of-font-scale, 1));
    font-weight: 700;
    color: #664d03;
    background: #fff3cd;
    border-radius: 0.25rem;
    padding: 0.1rem 0.4rem;
    margin: 0.2rem 0 0 1.6rem;
    display: inline-block;
}

.order-item-translation[b-n0ns1vs2i9] {
    font-size: calc(0.78rem * var(--of-font-scale, 1));
    font-style: italic;
    color: #0d6efd;
    margin: 0.15rem 0 0 1.6rem;
}

.order-card-footer[b-n0ns1vs2i9] {
    margin-top: 0.5rem;
    padding-top: 0.4rem;
    border-top: 1px solid #e2e5ea;
}

/* Footer action buttons (Abholbereit / Abgeholt). Bootstrap paints rest/hover/
   active/disabled already; this only adds the missing keyboard focus ring so the
   footer is fully operable and visible under keyboard/AT navigation. */
.order-action-btn:focus-visible[b-n0ns1vs2i9] {
    outline: none;
    box-shadow: var(--kds-focus-ring, 0 0 0 3px rgba(96, 165, 250, 0.75));
}

/* Per-dish assignment: quick-pick swatches shown right below each dish so a
   preparer claims the specific dish they're making. Sized for a busy,
   fast-paced kitchen where staff can't "aim" precisely. */
.order-item-assign[b-n0ns1vs2i9] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0.4rem 0 0 1.6rem;
}

.assign-swatch-sm[b-n0ns1vs2i9] {
    min-width: 3.2rem;
    min-height: 2.4rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.4rem;
    cursor: pointer;
    padding: 0.4rem 0.75rem;
    font-size: calc(0.8rem * var(--of-font-scale, 1));
    font-weight: 700;
    transition: filter var(--kds-motion-fast, 120ms) var(--kds-ease, ease),
                transform var(--kds-motion-fast, 120ms) var(--kds-ease, ease);
}

.assign-swatch-sm:hover[b-n0ns1vs2i9] { filter: brightness(1.1); }
.assign-swatch-sm:active[b-n0ns1vs2i9] { transform: scale(0.96); }

/* Complete the interaction set: a clear keyboard focus ring so a preparer can
   tab onto a claim swatch and see exactly which one is targeted (WCAG 2.2 AA). */
.assign-swatch-sm:focus-visible[b-n0ns1vs2i9] {
    outline: none;
    box-shadow: var(--kds-focus-ring, 0 0 0 3px rgba(96, 165, 250, 0.75));
    filter: brightness(1.05);
}

@media (prefers-reduced-motion: reduce) {
    .assign-swatch-sm:active[b-n0ns1vs2i9] { transform: none; }
}

.assign-swatch-sm.assign-blue[b-n0ns1vs2i9] { background: #3a86ff; }
.assign-swatch-sm.assign-purple[b-n0ns1vs2i9] { background: #8338ec; }
.assign-swatch-sm.assign-pink[b-n0ns1vs2i9] { background: #ff006e; }
.assign-swatch-sm.assign-teal[b-n0ns1vs2i9] { background: #06d6a0; }
.assign-swatch-sm.assign-amber[b-n0ns1vs2i9] { background: #ffbe0b; }

/* Once a dish is claimed (individually, or cascaded from the whole order being
   claimed), the swatches are replaced by this tinted background — mirroring the
   whole-order card tint (.order-card.assign-*) — plus a small non-interactive
   label. Double-click/double-tap the dish to release just that one again. */
.order-item.assign-blue[b-n0ns1vs2i9],
.order-item.assign-purple[b-n0ns1vs2i9],
.order-item.assign-pink[b-n0ns1vs2i9],
.order-item.assign-teal[b-n0ns1vs2i9],
.order-item.assign-amber[b-n0ns1vs2i9] {
    border-radius: var(--kds-radius-sm, 0.375rem);
    padding: 0.35rem 0.4rem;
    margin-left: -0.4rem;
    margin-right: -0.4rem;
    box-sizing: border-box;
}

.order-item.assign-blue[b-n0ns1vs2i9] { background: rgba(58, 134, 255, 0.18); }
.order-item.assign-purple[b-n0ns1vs2i9] { background: rgba(131, 56, 236, 0.18); }
.order-item.assign-pink[b-n0ns1vs2i9] { background: rgba(255, 0, 110, 0.16); }
.order-item.assign-teal[b-n0ns1vs2i9] { background: rgba(6, 214, 160, 0.18); }
.order-item.assign-amber[b-n0ns1vs2i9] { background: rgba(255, 190, 11, 0.22); }

/* Solid-color badge (not just a text label) so the employee abbreviation stays
   readable regardless of which translucent tint the row itself has — text
   color comes from GetContrastTextColor() computed against this same solid
   color. */
.order-item-assigned-label[b-n0ns1vs2i9] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0.3rem 0 0 1.6rem;
    padding: 0.15rem 0.5rem;
    border-radius: 0.3rem;
    font-size: calc(0.75rem * var(--of-font-scale, 1));
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.order-item-assigned-label.assign-blue[b-n0ns1vs2i9] { background: #3a86ff; }
.order-item-assigned-label.assign-purple[b-n0ns1vs2i9] { background: #8338ec; }
.order-item-assigned-label.assign-pink[b-n0ns1vs2i9] { background: #ff006e; }
.order-item-assigned-label.assign-teal[b-n0ns1vs2i9] { background: #06d6a0; }
.order-item-assigned-label.assign-amber[b-n0ns1vs2i9] { background: #ffbe0b; }
/* /Components/Pages/Kitchen/OrdersBoardHeader.razor.rz.scp.css */
.orders-count[b-fy5cj2jqpk] {
    font-size: calc(0.78rem * var(--of-font-scale, 1));
    font-weight: 800;
    background: var(--station-color, #e63946);
    color: #fff;
    border-radius: 999px;
    padding: 0.1rem 0.6rem;
    text-transform: none;
    letter-spacing: normal;
    font-variant-numeric: tabular-nums;
    min-width: 1.9rem;
    text-align: center;
}

.orders-clock[b-fy5cj2jqpk] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-variant-numeric: tabular-nums;
    font-size: calc(0.9rem * var(--of-font-scale, 1));
    color: #aeb6c4;
    white-space: nowrap;
}

.orders-clock i[b-fy5cj2jqpk] {
    color: #6f7a8c;
}
/* /Components/Pages/Kitchen/OrdersOverview.razor.rz.scp.css */
/* Board-level layout for the Bestellübersicht (OrdersOverview.razor).

   Only the scroll container, the empty-state panel, the responsive card grid
   and the first-load skeleton live here. The header's count/clock moved to
   OrdersBoardHeader.razor.css and every .order-* rule moved to OrderCard.razor.css,
   because Blazor scoped CSS does not cross the component boundary. */

.orders-scroll[b-yuv6qh4do9] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.orders-empty[b-yuv6qh4do9] {
    background: #16191f;
    border: 1px solid #262b34;
    border-radius: 14px;
    padding: 2.5rem 2rem;
    text-align: center;
    color: #8b93a1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.orders-empty i[b-yuv6qh4do9] { color: #3a4150; }
.orders-empty h3[b-yuv6qh4do9] { color: #d6dae2; font-weight: 600; }

/* Grid instead of CSS columns: columns fill top-to-bottom within each column
   first (column-major), which stacked new orders vertically in column 1 even
   with free horizontal space. Grid's default row-major auto-flow fills left-to-
   right first, only wrapping to a new row once the current one is full. */
.orders-masonry[b-yuv6qh4do9] {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    align-items: start;
    gap: 0.6rem 0.75rem;
}

@media (min-width: 640px) {
    .orders-masonry[b-yuv6qh4do9] { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .orders-masonry[b-yuv6qh4do9] { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1400px) {
    .orders-masonry[b-yuv6qh4do9] { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1800px) {
    .orders-masonry[b-yuv6qh4do9] { grid-template-columns: repeat(5, 1fr); }
}

/* First-load skeleton — shown ONCE while the very first order query resolves
   (guarded by _loading, set false exactly once after OnInitializedAsync). A
   realtime refresh never shows this: it swaps the cards in place. The skeleton
   mirrors the real card grid so the layout does not jump when data arrives. */
.orders-skeleton[b-yuv6qh4do9] {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    align-items: start;
    gap: 0.6rem 0.75rem;
}

@media (min-width: 640px) {
    .orders-skeleton[b-yuv6qh4do9] { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .orders-skeleton[b-yuv6qh4do9] { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1400px) {
    .orders-skeleton[b-yuv6qh4do9] { grid-template-columns: repeat(4, 1fr); }
}

.skeleton-card[b-yuv6qh4do9] {
    height: 8.5rem;
    border-radius: var(--kds-radius-card, 0.5rem);
    background: #16191f;
    border: 1px solid #262b34;
    position: relative;
    overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
    .skeleton-card[b-yuv6qh4do9]::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
        animation: kds-skeleton-shimmer-b-yuv6qh4do9 1.4s ease-in-out infinite;
    }
}

@keyframes kds-skeleton-shimmer-b-yuv6qh4do9 {
    100% { transform: translateX(100%); }
}
/* /Components/Pages/Kitchen/ServingTypeBadge.razor.rz.scp.css */
.order-badge[b-eijj9ddlhf] {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    font-size: calc(0.72rem * var(--of-font-scale, 1));
    font-weight: 700;
    line-height: 1;
    padding: 0.32em 0.6em;
    border-radius: var(--kds-radius-pill, 999px);
    white-space: nowrap;
}

/* "Hier essen" stays the loud, unmissable variant (warm red) because it drives
   the tray/plating decision; "Mitnehmen" is the calmer neutral so the two read
   as a clear pair rather than two competing colours. */
.serving-here[b-eijj9ddlhf] {
    background: var(--kds-serving-here-bg, #fdecec);
    color: var(--kds-serving-here-fg, #b02020);
    box-shadow: inset 0 0 0 1px var(--kds-serving-here-bd, #f3c2c2);
}

.serving-togo[b-eijj9ddlhf] {
    background: var(--kds-serving-togo-bg, #eef1f6);
    color: var(--kds-serving-togo-fg, #3a4a63);
    box-shadow: inset 0 0 0 1px var(--kds-serving-togo-bd, #d3dae6);
}
/* /Components/Pages/Management.razor.rz.scp.css */
/* Management Dashboard Styling */

.card[b-fv7ts895uv] {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover[b-fv7ts895uv] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Progress bar custom colors already handled by Bootstrap classes in the markup */

.badge[b-fv7ts895uv] {
    font-size: 0.875rem;
}

.table th[b-fv7ts895uv] {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    color: #6c757d;
}

.modal.show[b-fv7ts895uv] {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body h5[b-fv7ts895uv] {
        font-size: 1rem;
    }

    .progress[b-fv7ts895uv] {
        height: 24px !important;
    }

    .btn-sm[b-fv7ts895uv] {
        font-size: 0.75rem;
    }
}

/* Container cards with open tasks */
.card.border-warning[b-fv7ts895uv] {
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}
/* /Components/Pages/ManagementSettings.razor.rz.scp.css */
.branding-settings .brand-logo-preview[b-x1crsgoesu] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    border-radius: 14px;
    border: 1px solid var(--sb-border, #2a2e38);
    background:
        radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--brand-color, #e63946) 14%, transparent), transparent 60%),
        var(--sb-bg-elev, #15171c);
    overflow: hidden;
}

.branding-settings .brand-logo-preview img[b-x1crsgoesu] {
    max-height: 110px;
    max-width: 85%;
    object-fit: contain;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

.branding-settings .brand-color-chip[b-x1crsgoesu] {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.branding-settings .brand-swatches[b-x1crsgoesu] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.branding-settings .brand-swatch[b-x1crsgoesu] {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}

.branding-settings .brand-swatch:hover[b-x1crsgoesu] {
    transform: translateY(-2px) scale(1.05);
}

.branding-settings .brand-swatch.selected[b-x1crsgoesu] {
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}
/* /Components/Pages/Tracking.razor.rz.scp.css */
/* Compact KPI chips replacing the previous full-size KPI cards. */
.kpi-chip[b-ff4wdgqhhs] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--bs-border-color, #495057);
    border-radius: 0.5rem;
    min-width: 8.5rem;
}

.kpi-chip-label[b-ff4wdgqhhs] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    opacity: 0.7;
}

.kpi-chip-value[b-ff4wdgqhhs] {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.1;
}

.kpi-chip-unit[b-ff4wdgqhhs] {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.7;
    margin-left: 0.2rem;
}
