@import '_content/Engam.Viewer/Engam.Viewer.v2rh2ohgsy.bundle.scp.css';

/* /Components/Layout/PilotLayout.razor.rz.scp.css */
.pilot-page[b-jnctad3pzo] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #F4F6F9;
    color: #1D2530;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.pilot-header[b-jnctad3pzo] {
    background: #14243A;
    color: #fff;
    border-bottom: 3px solid #E07A1F;
}

.pilot-header-in[b-jnctad3pzo] {
    max-width: 1000px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pilot-logo[b-jnctad3pzo] {
    width: 34px;
    height: 34px;
    border-radius: 6px;
}

.pilot-brand[b-jnctad3pzo] {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: .08em;
}

.pilot-sub[b-jnctad3pzo] {
    font-size: .95rem;
    opacity: .75;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, .3);
}

.pilot-main[b-jnctad3pzo] {
    flex: 1;
}

.pilot-footer[b-jnctad3pzo] {
    text-align: center;
    font-size: .8rem;
    color: #5A6675;
    padding: 18px 16px 24px;
}
/* /Components/Layout/PublicLayout.razor.rz.scp.css */
.public-page[b-38bv8d8ce9] {
    min-height: 100vh;
    background: #f5f6f8;
    font-family: Inter, system-ui, sans-serif;
}

.public-header[b-38bv8d8ce9] {
    background: #1a2332;
    color: #fff;
    padding: 14px 20px;
}

.public-brand[b-38bv8d8ce9] {
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 1.1rem;
}

.public-brand span[b-38bv8d8ce9] {
    font-weight: 400;
    opacity: 0.8;
}

.public-main[b-38bv8d8ce9] {
    padding: 8px 0;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-sa03ona779],
.components-reconnect-repeated-attempt-visible[b-sa03ona779],
.components-reconnect-failed-visible[b-sa03ona779],
.components-pause-visible[b-sa03ona779],
.components-resume-failed-visible[b-sa03ona779],
.components-rejoining-animation[b-sa03ona779] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-sa03ona779 {
    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/Cockpit/Cockpit.razor.rz.scp.css */
/* ---------- Kokpit (osnova ekrana i boje su u app.css, zaglavlje u CockpitHeader) ---------- */

.tone-good[b-w4mui4xvu8] { --tone: var(--ck-green); }
.tone-warn[b-w4mui4xvu8] { --tone: var(--ck-amber); }
.tone-bad[b-w4mui4xvu8] { --tone: var(--ck-red); }
.tone-neutral[b-w4mui4xvu8] { --tone: var(--ck-cyan); }

.ck-caption .tone-warn[b-w4mui4xvu8] {
    color: var(--ck-amber);
}

b[b-w4mui4xvu8] {
    font-weight: 600;
    color: var(--ck-text);
}

.ck-starting[b-w4mui4xvu8] {
    margin: auto;
    color: var(--ck-dim);
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    animation: ck-pulse-b-w4mui4xvu8 1.4s ease-in-out infinite;
}

/* ---------- Lampice upozorenja ---------- */

/* Red s nivoom firme (lijevo), lampicama (sredina) i nizom bez kašnjenja (desno). */
.ck-lamps-row[b-w4mui4xvu8] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px 24px;
}

.ck-level[b-w4mui4xvu8],
.ck-streak[b-w4mui4xvu8] {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.ck-level[b-w4mui4xvu8] {
    justify-self: start;
}

.ck-streak[b-w4mui4xvu8] {
    justify-self: end;
    text-align: right;
}

.ck-level > span[b-w4mui4xvu8],
.ck-streak > span[b-w4mui4xvu8] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ck-level-ring[b-w4mui4xvu8] {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
}

.ck-ring-track[b-w4mui4xvu8] {
    fill: rgba(10, 15, 25, 0.85);
    stroke: rgba(255, 255, 255, 0.07);
    stroke-width: 5;
}

.ck-ring-value[b-w4mui4xvu8] {
    fill: none;
    stroke: var(--ck-cyan);
    stroke-width: 5;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 30px 30px;
    filter: drop-shadow(0 0 5px var(--ck-cyan));
    transition: stroke-dasharray 1.2s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.ck-level-ring text[b-w4mui4xvu8] {
    fill: var(--ck-text);
    font-size: 18px;
    font-weight: 600;
    text-anchor: middle;
}

.ck-level-xp[b-w4mui4xvu8] {
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
    color: var(--ck-dim);
}

.ck-level-sub[b-w4mui4xvu8] {
    color: var(--ck-dim);
    font-size: 0.75rem;
}

.ck-streak[b-w4mui4xvu8]  .ck-streak-flame {
    font-size: 2rem;
    color: var(--ck-faint);
}

.ck-streak.is-on[b-w4mui4xvu8]  .ck-streak-flame {
    color: var(--ck-green);
}

.ck-streak-value[b-w4mui4xvu8] {
    font-size: 1.15rem;
    font-weight: 500;
}

.ck-streak:not(.is-on) .ck-streak-value[b-w4mui4xvu8] {
    color: var(--ck-dim);
}

.ck-lamps[b-w4mui4xvu8] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 34px;
}

.ck-lamp[b-w4mui4xvu8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: 92px;
    color: var(--ck-faint);
    text-decoration: none;
}

.ck-lamp-light[b-w4mui4xvu8] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.5s;
}

.ck-lamp-light svg[b-w4mui4xvu8] {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.ck-lamp-label[b-w4mui4xvu8] {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.ck-lamp.is-lit[b-w4mui4xvu8] {
    color: var(--tone);
}

.ck-lamp.is-lit .ck-lamp-light[b-w4mui4xvu8] {
    border-color: var(--tone);
    background: color-mix(in srgb, var(--tone) 14%, transparent);
    box-shadow: 0 0 18px color-mix(in srgb, var(--tone) 55%, transparent), inset 0 0 12px color-mix(in srgb, var(--tone) 30%, transparent);
}

.ck-lamp.is-lit.tone-bad .ck-lamp-light[b-w4mui4xvu8] {
    animation: ck-glow-b-w4mui4xvu8 1.6s ease-in-out infinite;
}

.ck-lamp-count[b-w4mui4xvu8] {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--tone);
    color: #0a0d12;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.ck-lamp:hover .ck-lamp-label[b-w4mui4xvu8] {
    color: var(--ck-text);
}

/* ---------- Glavni instrumenti ---------- */

.ck-cluster[b-w4mui4xvu8] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
    gap: 28px;
}

.ck-dial[b-w4mui4xvu8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.ck-dial[b-w4mui4xvu8]  .gauge {
    max-width: 340px;
}

.ck-caption[b-w4mui4xvu8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--ck-dim);
    font-size: 0.82rem;
    text-align: center;
}

.ck-display[b-w4mui4xvu8] {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 24px 28px;
    border: 1px solid var(--ck-line);
    border-radius: 24px;
    background: var(--ck-panel);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ck-status[b-w4mui4xvu8] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ck-status-dot[b-w4mui4xvu8] {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ambient);
    box-shadow: 0 0 14px 2px var(--ambient);
    animation: ck-pulse-b-w4mui4xvu8 2.4s ease-in-out infinite;
}

.ck-status-title[b-w4mui4xvu8] {
    font-size: 1.25rem;
    font-weight: 500;
}

.ck-status-more[b-w4mui4xvu8] {
    color: var(--ck-dim);
    font-size: 0.82rem;
}

.ck-kpis[b-w4mui4xvu8] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--ck-line);
    border-bottom: 1px solid var(--ck-line);
}

.ck-kpi-label[b-w4mui4xvu8],
.ck-panel-title[b-w4mui4xvu8] {
    color: var(--ck-dim);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ck-kpi-value[b-w4mui4xvu8] {
    margin-top: 4px;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ck-kpi-value span[b-w4mui4xvu8],
.ck-fuel-value span[b-w4mui4xvu8] {
    margin-left: 5px;
    color: var(--ck-dim);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0;
}

.ck-kpi-sub[b-w4mui4xvu8] {
    min-height: 1.2em;
    color: var(--ck-dim);
    font-size: 0.78rem;
}

.ck-record[b-w4mui4xvu8] {
    color: var(--ck-amber) !important;
    font-weight: 600;
}

/* Stupci po danu */

.ck-chart-title[b-w4mui4xvu8] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    margin-bottom: 10px;
    color: var(--ck-dim);
    font-size: 0.75rem;
}

.ck-chart-avg-label[b-w4mui4xvu8]::before {
    content: "";
    display: inline-block;
    width: 14px;
    margin-right: 6px;
    vertical-align: middle;
    border-top: 1px dashed var(--ck-dim);
}

.ck-bars[b-w4mui4xvu8] {
    position: relative;
    display: flex;
    gap: 6px;
    height: 120px;
    padding-bottom: 18px;
}

.ck-bar[b-w4mui4xvu8] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ck-bar-track[b-w4mui4xvu8] {
    position: relative;
    flex: 1;
    display: flex;
    align-items: flex-end;
}

.ck-bar-fill[b-w4mui4xvu8] {
    width: 100%;
    min-height: 2px;
    border-radius: 3px 3px 1px 1px;
    background: linear-gradient(180deg, rgba(56, 200, 255, 0.75), rgba(56, 200, 255, 0.18));
    transition: height 1s cubic-bezier(0.2, 0.9, 0.3, 1);
    animation: ck-grow-b-w4mui4xvu8 1.2s cubic-bezier(0.2, 0.9, 0.3, 1);
    transform-origin: bottom;
}

.ck-bar.is-weekend .ck-bar-fill[b-w4mui4xvu8] {
    background: rgba(255, 255, 255, 0.08);
}

/* Današnji dan je u toku: svjetliji stupac, nezavisno od boje upozorenja. */
.ck-bar.is-today .ck-bar-fill[b-w4mui4xvu8] {
    background: linear-gradient(180deg, #bfefff, rgba(56, 200, 255, 0.35));
    box-shadow: 0 0 16px rgba(56, 200, 255, 0.6);
}

.ck-bar-label[b-w4mui4xvu8] {
    position: relative;
    top: 4px;
    height: 0;
    color: var(--ck-dim);
    font-size: 0.68rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.ck-bar.is-weekend .ck-bar-label[b-w4mui4xvu8] {
    color: var(--ck-faint);
}

.ck-bar.is-today .ck-bar-label[b-w4mui4xvu8] {
    color: var(--ck-text);
    font-weight: 700;
}

/* Sloj iste visine kao stupci (bez oznaka dana), da je linija prosjeka na pravoj visini. */
.ck-avg-layer[b-w4mui4xvu8] {
    position: absolute;
    inset: 0 0 18px 0;
    pointer-events: none;
    z-index: 1;
}

.ck-avg-line[b-w4mui4xvu8] {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 1px dashed rgba(200, 212, 228, 0.35);
}

/* ---------- Donji red: mali satovi i "rezervoari" ---------- */

.ck-row[b-w4mui4xvu8] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ck-panel[b-w4mui4xvu8] {
    padding: 18px 20px;
    border: 1px solid var(--ck-line);
    border-radius: 18px;
    background: var(--ck-panel);
}

.ck-mini[b-w4mui4xvu8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.ck-mini[b-w4mui4xvu8]  .gauge {
    max-width: 165px;
}

.ck-fuel[b-w4mui4xvu8] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ck-fuel .ck-caption[b-w4mui4xvu8] {
    align-items: flex-start;
    text-align: left;
    margin-top: auto;
}

.ck-fuel-value[b-w4mui4xvu8] {
    font-size: 2.6rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.ck-fuel-value .ck-record[b-w4mui4xvu8] {
    font-size: 0.8rem;
    margin-left: 10px;
}

.ck-segments[b-w4mui4xvu8] {
    position: relative;
    display: flex;
    gap: 3px;
    height: 16px;
}

.ck-segments i[b-w4mui4xvu8] {
    flex: 1;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.6s, box-shadow 0.6s;
}

.ck-segments i.is-lit[b-w4mui4xvu8] {
    background: var(--tone);
    box-shadow: 0 0 8px color-mix(in srgb, var(--tone) 60%, transparent);
}

.ck-goal-mark[b-w4mui4xvu8] {
    position: absolute;
    top: -5px;
    bottom: -5px;
    width: 2px;
    margin-left: -1px;
    background: var(--ck-text);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

.ck-scale[b-w4mui4xvu8] {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: -6px;
    color: var(--ck-faint);
    font-size: 0.68rem;
    font-variant-numeric: tabular-nums;
}

/* ---------- Odjeli ---------- */

.ck-section-head[b-w4mui4xvu8] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 12px;
}

.ck-legend[b-w4mui4xvu8] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    color: var(--ck-dim);
    font-size: 0.75rem;
}

.ck-legend span[b-w4mui4xvu8] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ck-dept-grid[b-w4mui4xvu8] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.ck-dept[b-w4mui4xvu8] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.3s, transform 0.2s;
}

.ck-dept:hover[b-w4mui4xvu8] {
    border-color: rgba(140, 170, 210, 0.35);
    transform: translateY(-2px);
}

.ck-dept.is-active[b-w4mui4xvu8] {
    border-color: color-mix(in srgb, var(--ck-green) 30%, transparent);
}

.ck-dept.is-late[b-w4mui4xvu8] {
    border-color: color-mix(in srgb, var(--ck-red) 50%, transparent);
}

.ck-dept-head[b-w4mui4xvu8] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.ck-dept-name[b-w4mui4xvu8] {
    flex: 1;
    min-width: 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ck-badge[b-w4mui4xvu8] {
    padding: 1px 8px;
    border: 1px solid var(--tone);
    border-radius: 10px;
    color: var(--tone);
    font-size: 0.68rem;
    font-weight: 600;
}

.ck-dept-numbers[b-w4mui4xvu8] {
    display: flex;
    gap: 22px;
}

.ck-dept-numbers b[b-w4mui4xvu8] {
    display: block;
    font-size: 1.9rem;
    font-weight: 300;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.ck-dept-numbers span[b-w4mui4xvu8] {
    color: var(--ck-dim);
    font-size: 0.72rem;
}

.ck-machines[b-w4mui4xvu8] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ck-machine[b-w4mui4xvu8] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px 3px 7px;
    border: 1px solid var(--ck-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--ck-dim);
    font-size: 0.74rem;
    white-space: nowrap;
}

/* Svjetlo stanja mašine (i u legendi). */
.state-processing[b-w4mui4xvu8],
.state-setup[b-w4mui4xvu8],
.state-finishing[b-w4mui4xvu8],
.state-waiting[b-w4mui4xvu8],
.state-idle[b-w4mui4xvu8] {
    display: inline-block;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ck-faint);
}

.state-processing[b-w4mui4xvu8] {
    background: var(--ck-green);
    box-shadow: 0 0 8px var(--ck-green);
    animation: ck-pulse-b-w4mui4xvu8 1.8s ease-in-out infinite;
}

.state-setup[b-w4mui4xvu8] {
    background: var(--ck-blue);
    box-shadow: 0 0 8px var(--ck-blue);
}

.state-finishing[b-w4mui4xvu8] {
    background: var(--ck-cyan);
    box-shadow: 0 0 8px var(--ck-cyan);
}

.state-waiting[b-w4mui4xvu8] {
    background: var(--ck-amber);
    box-shadow: 0 0 8px var(--ck-amber);
}

.ck-legend .state-processing[b-w4mui4xvu8] {
    animation: none;
}

/* ---------- Animacije ---------- */

@keyframes ck-pulse-b-w4mui4xvu8 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

@keyframes ck-glow-b-w4mui4xvu8 {
    0%, 100% { box-shadow: 0 0 18px color-mix(in srgb, var(--tone) 55%, transparent); }
    50% { box-shadow: 0 0 30px color-mix(in srgb, var(--tone) 90%, transparent); }
}

@keyframes ck-grow-b-w4mui4xvu8 {
    from { transform: scaleY(0); }
}

/* ---------- Manji ekrani ---------- */

@media (max-width: 1200px) {
    .ck-lamps-row[b-w4mui4xvu8] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ck-lamps-row .ck-lamps[b-w4mui4xvu8] {
        grid-column: 1 / -1;
        order: 3;
    }

    .ck-cluster[b-w4mui4xvu8] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ck-display[b-w4mui4xvu8] {
        grid-column: 1 / -1;
        order: 3;
    }

    .ck-row[b-w4mui4xvu8] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ck-lamps[b-w4mui4xvu8] {
        gap: 10px 8px;
    }

    .ck-lamp[b-w4mui4xvu8] {
        width: 76px;
    }

    .ck-lamp-label[b-w4mui4xvu8] {
        white-space: normal;
    }

    .ck-cluster[b-w4mui4xvu8] {
        gap: 16px;
    }

    .ck-display[b-w4mui4xvu8] {
        padding: 18px;
    }

    .ck-kpis[b-w4mui4xvu8] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ck-kpi-value[b-w4mui4xvu8] {
        font-size: 1.6rem;
    }

    .ck-row[b-w4mui4xvu8] {
        gap: 12px;
    }

    .ck-fuel[b-w4mui4xvu8] {
        grid-column: 1 / -1;
    }
}
/* /Components/Pages/Cockpit/CockpitHeader.razor.rz.scp.css */
/* Zaglavlje kokpita i mape pogona. */

.ck-header[b-9k74ydg2rd] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding-top: 18px;
}

.ck-brand[b-9k74ydg2rd] {
    color: var(--ck-text);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-decoration: none;
    white-space: nowrap;
}

.ck-brand span[b-9k74ydg2rd] {
    font-weight: 400;
    text-transform: uppercase;
    color: var(--ambient);
    transition: color 1s;
}

.ck-when[b-9k74ydg2rd] {
    display: flex;
    align-items: baseline;
    gap: 14px;
    white-space: nowrap;
}

.ck-day[b-9k74ydg2rd] {
    color: var(--ck-dim);
    font-size: 0.95rem;
}

.ck-clock[b-9k74ydg2rd] {
    font-size: 1.9rem;
    font-weight: 300;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.ck-clock[b-9k74ydg2rd]  .ck-seconds {
    color: var(--ck-dim);
    font-size: 1.1rem;
}

.ck-actions[b-9k74ydg2rd] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.ck-live[b-9k74ydg2rd] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-right: 8px;
    color: var(--ck-dim);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ck-live[b-9k74ydg2rd]::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ck-green);
    box-shadow: 0 0 8px var(--ck-green);
    animation: ck-pulse-b-9k74ydg2rd 2s ease-in-out infinite;
}

.ck-icon-button[b-9k74ydg2rd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--ck-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: var(--ck-dim);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.ck-icon-button:hover[b-9k74ydg2rd] {
    color: var(--ck-text);
    border-color: var(--ck-dim);
}

.ck-icon-button svg[b-9k74ydg2rd] {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.ck-tabs[b-9k74ydg2rd] {
    display: inline-flex;
    gap: 4px;
    margin-left: 22px;
    padding: 3px;
    border: 1px solid var(--ck-line);
    border-radius: 20px;
    vertical-align: middle;
}

.ck-tabs a[b-9k74ydg2rd] {
    padding: 4px 14px;
    border-radius: 16px;
    color: var(--ck-dim);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}

.ck-tabs a:hover[b-9k74ydg2rd] {
    color: var(--ck-text);
}

.ck-tabs a.is-active[b-9k74ydg2rd] {
    background: rgba(255, 255, 255, 0.08);
    color: var(--ck-text);
}

.ck-left[b-9k74ydg2rd] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

@keyframes ck-pulse-b-9k74ydg2rd {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

@media (max-width: 640px) {
    .ck-header[b-9k74ydg2rd] {
        grid-template-columns: 1fr auto;
    }

    .ck-when[b-9k74ydg2rd] {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: center;
    }

    .ck-live[b-9k74ydg2rd] {
        display: none;
    }

    .ck-tabs[b-9k74ydg2rd] {
        margin-left: 0;
    }
}
/* /Components/Pages/Cockpit/FloorEditor.razor.rz.scp.css */
/* ---------- Uređivač tlocrta hale (osnova ekrana i boje su u app.css) ---------- */

.fe-starting[b-6o0ok76p0p] {
    margin: auto;
    color: var(--ck-dim);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.fe-toolbar[b-6o0ok76p0p] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.fe-hint[b-6o0ok76p0p] {
    flex: 1 1 360px;
    color: var(--ck-dim);
    font-size: 0.85rem;
}

.fe-message[b-6o0ok76p0p] {
    color: var(--ck-green);
    font-size: 0.85rem;
}

.fe-message.is-error[b-6o0ok76p0p] {
    color: var(--ck-red);
}

.fe-button[b-6o0ok76p0p] {
    padding: 8px 16px;
    border: 1px solid var(--ck-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--ck-text);
    font: inherit;
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
}

.fe-button:hover:not(:disabled)[b-6o0ok76p0p] {
    border-color: var(--ck-dim);
}

.fe-button:disabled[b-6o0ok76p0p] {
    opacity: 0.4;
    cursor: default;
}

.fe-button.is-primary[b-6o0ok76p0p] {
    border-color: var(--ck-cyan);
    background: color-mix(in srgb, var(--ck-cyan) 22%, transparent);
    font-weight: 600;
}

.fe-stage[b-6o0ok76p0p] {
    overflow: auto;
    border: 1px solid var(--ck-line);
    border-radius: 24px;
    background: rgba(6, 9, 15, 0.7);
}

.fe-map[b-6o0ok76p0p] {
    display: block;
    width: 100%;
    min-width: 1000px;
    height: auto;
    max-height: calc(100vh - 190px);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    touch-action: none;
    user-select: none;
}

.fe-grid-minor[b-6o0ok76p0p] {
    fill: none;
    stroke: rgba(120, 160, 210, 0.05);
    stroke-width: 1;
}

.fe-grid-major[b-6o0ok76p0p] {
    fill: none;
    stroke: rgba(120, 160, 210, 0.12);
    stroke-width: 1;
}

/* ---------- Elementi ---------- */

.fe-item[b-6o0ok76p0p] {
    cursor: grab;
}

.fe-item.is-dragging[b-6o0ok76p0p] {
    cursor: grabbing;
}

.fe-body[b-6o0ok76p0p] {
    fill: rgba(18, 25, 38, 0.8);
    stroke: rgba(140, 170, 210, 0.3);
    stroke-width: 1.5;
    transition: stroke 0.2s;
}

.fe-item:hover > .fe-body[b-6o0ok76p0p],
.fe-item.is-dragging > .fe-body[b-6o0ok76p0p] {
    stroke: var(--ck-cyan);
}

.fe-item.is-dragging > .fe-body[b-6o0ok76p0p] {
    filter: drop-shadow(0 0 12px rgba(56, 200, 255, 0.5));
}

.kind-hall > .fe-body[b-6o0ok76p0p] {
    fill: rgba(120, 160, 210, 0.03);
    stroke: rgba(160, 190, 230, 0.45);
    stroke-width: 4;
}

.kind-planning > .fe-body[b-6o0ok76p0p],
.kind-shipping > .fe-body[b-6o0ok76p0p],
.kind-lounge > .fe-body[b-6o0ok76p0p] {
    fill: rgba(14, 19, 29, 0.6);
    stroke-dasharray: 6 6;
}

.kind-machine > .fe-body[b-6o0ok76p0p] {
    fill: color-mix(in srgb, var(--ck-green) 8%, rgba(9, 13, 21, 0.95));
    stroke: color-mix(in srgb, var(--ck-green) 55%, transparent);
}

.fe-title[b-6o0ok76p0p] {
    fill: var(--ck-text);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    pointer-events: none;
}

.fe-sub[b-6o0ok76p0p] {
    fill: var(--ck-dim);
    font-size: 12px;
    pointer-events: none;
}

.fe-machine-name[b-6o0ok76p0p] {
    fill: var(--ck-text);
    font-size: 14px;
    font-weight: 500;
    pointer-events: none;
}

.fe-machine-sub[b-6o0ok76p0p] {
    fill: var(--ck-dim);
    font-size: 12px;
    pointer-events: none;
}

.fe-queue-line[b-6o0ok76p0p] {
    stroke: rgba(140, 170, 210, 0.35);
    stroke-dasharray: 4 5;
    pointer-events: none;
}

.fe-queue-label[b-6o0ok76p0p] {
    fill: var(--ck-faint);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    pointer-events: none;
}

/* Ručka za promjenu veličine (ugao dolje desno). */
.fe-handle[b-6o0ok76p0p] {
    fill: var(--ck-cyan);
    opacity: 0.35;
    cursor: nwse-resize;
}

.fe-item:hover > .fe-handle[b-6o0ok76p0p] {
    opacity: 0.9;
}
/* /Components/Pages/Cockpit/FloorMap.razor.rz.scp.css */
/* ---------- Mapa pogona (osnova ekrana i boje su u app.css, zaglavlje u CockpitHeader) ---------- */

.fm-starting[b-ue4b2478cj] {
    margin: auto;
    color: var(--ck-dim);
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    animation: fm-pulse-b-ue4b2478cj 1.4s ease-in-out infinite;
}

/* Na uskom ekranu mapa ostaje čitljiva i pomjera se vodoravno. */
.fm-stage[b-ue4b2478cj] {
    overflow-x: auto;
    border: 1px solid var(--ck-line);
    border-radius: 24px;
    background: rgba(6, 9, 15, 0.7);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.fm-map[b-ue4b2478cj] {
    display: block;
    width: 100%;
    min-width: 1100px;
    height: auto;
    max-height: calc(100vh - 150px);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.fm-grid-line[b-ue4b2478cj] {
    fill: none;
    stroke: rgba(120, 160, 210, 0.06);
    stroke-width: 1;
}

.tone-good[b-ue4b2478cj] { --tone: var(--ck-green); }
.tone-warn[b-ue4b2478cj] { --tone: var(--ck-amber); }
.tone-bad[b-ue4b2478cj] { --tone: var(--ck-red); }
.tone-neutral[b-ue4b2478cj] { --tone: var(--ck-cyan); }
.tone-idle[b-ue4b2478cj] { --tone: #64748b; }

.state-processing[b-ue4b2478cj] { --state: var(--ck-green); }
.state-setup[b-ue4b2478cj] { --state: var(--ck-blue); }
.state-finishing[b-ue4b2478cj] { --state: var(--ck-cyan); }
.state-waiting[b-ue4b2478cj] { --state: var(--ck-amber); }
.state-idle[b-ue4b2478cj] { --state: #3a4454; }

/* ---------- Zone ---------- */

.fm-zone-box[b-ue4b2478cj] {
    fill: rgba(18, 25, 38, 0.72);
    stroke: rgba(140, 170, 210, 0.16);
    stroke-width: 1.5;
    transition: stroke 0.6s;
}

.fm-zone.kind-dock .fm-zone-box[b-ue4b2478cj] {
    fill: rgba(14, 19, 29, 0.55);
    stroke-dasharray: 6 6;
}

.fm-zone.is-active .fm-zone-box[b-ue4b2478cj] {
    stroke: color-mix(in srgb, var(--ck-green) 35%, transparent);
}

.fm-zone.is-late .fm-zone-box[b-ue4b2478cj] {
    stroke: color-mix(in srgb, var(--ck-red) 60%, transparent);
}

.fm-zone-title[b-ue4b2478cj] {
    fill: var(--ck-text);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.fm-zone-stats[b-ue4b2478cj] {
    fill: var(--ck-dim);
    font-size: 12.5px;
}

.fm-queue-line[b-ue4b2478cj] {
    stroke: rgba(140, 170, 210, 0.12);
    stroke-dasharray: 3 5;
}

.fm-queue-label[b-ue4b2478cj] {
    fill: var(--ck-faint);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.fm-empty[b-ue4b2478cj] {
    fill: var(--ck-faint);
    font-size: 13px;
    text-anchor: middle;
}

/* Tok naloga: strelice koje "teku" prema otpremi. */
.fm-arrow path[b-ue4b2478cj] {
    fill: none;
    stroke: var(--ck-cyan);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.25;
    animation: fm-flow-b-ue4b2478cj 1.6s ease-in-out infinite;
}

.fm-arrow path:last-child[b-ue4b2478cj] {
    animation-delay: 0.3s;
}

/* ---------- Tlocrt: hala i tok naloga ---------- */

.fm-hall rect[b-ue4b2478cj] {
    fill: rgba(120, 160, 210, 0.025);
    stroke: rgba(160, 190, 230, 0.35);
    stroke-width: 4;
}

.fm-hall text[b-ue4b2478cj] {
    fill: var(--ck-faint);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.fm-flow[b-ue4b2478cj] {
    fill: none;
    stroke: var(--ck-cyan);
    stroke-dasharray: 8 10;
    stroke-linecap: round;
    animation: fm-dash-b-ue4b2478cj 1.2s linear infinite;
}

.fm-arrowhead[b-ue4b2478cj] {
    fill: var(--ck-cyan);
    opacity: 0.7;
}

@keyframes fm-dash-b-ue4b2478cj {
    to { stroke-dashoffset: -18; }
}

/* ---------- Mašine ---------- */

.fm-slot-box[b-ue4b2478cj] {
    fill: rgba(9, 13, 21, 0.9);
    stroke: color-mix(in srgb, var(--state) 70%, transparent);
    stroke-width: 1.5;
    transition: stroke 0.6s, filter 0.6s;
}

.fm-slot:not(.state-idle) .fm-slot-box[b-ue4b2478cj] {
    fill: color-mix(in srgb, var(--state) 9%, rgba(9, 13, 21, 0.92));
    filter: drop-shadow(0 0 10px color-mix(in srgb, var(--state) 45%, transparent));
}

.fm-slot.is-bench.state-idle .fm-slot-box[b-ue4b2478cj] {
    stroke-dasharray: 5 5;
}

.fm-slot-icon svg[b-ue4b2478cj] {
    overflow: visible;
}

.fm-gear[b-ue4b2478cj] {
    fill: var(--state);
    transform-box: fill-box;
    transform-origin: center;
}

.fm-slot.state-idle .fm-gear[b-ue4b2478cj] {
    fill: #4b5563;
}

/* Zupčanik se vrti dok mašina radi, sporije kod pripreme. */
.fm-slot.state-processing:not(.is-bench) .fm-gear[b-ue4b2478cj] {
    animation: fm-spin-b-ue4b2478cj 3s linear infinite;
}

.fm-slot.state-setup:not(.is-bench) .fm-gear[b-ue4b2478cj],
.fm-slot.state-finishing:not(.is-bench) .fm-gear[b-ue4b2478cj] {
    animation: fm-spin-b-ue4b2478cj 9s linear infinite;
}

.fm-slot-state[b-ue4b2478cj] {
    fill: var(--state);
    font-size: 12px;
    font-weight: 600;
}

.fm-slot.state-idle .fm-slot-state[b-ue4b2478cj] {
    fill: var(--ck-faint);
}

.fm-slot-name[b-ue4b2478cj] {
    fill: var(--ck-text);
    font-size: 14px;
    font-weight: 500;
}

.fm-slot.state-idle .fm-slot-name[b-ue4b2478cj] {
    fill: var(--ck-dim);
}

.fm-slot-worker[b-ue4b2478cj] {
    fill: var(--ck-dim);
    font-size: 12px;
}

/* ---------- Prisutni bez naloga ---------- */

.fm-lounge rect[b-ue4b2478cj] {
    fill: rgba(14, 19, 29, 0.5);
    stroke: rgba(140, 170, 210, 0.12);
    stroke-dasharray: 6 6;
}

/* ---------- Nalozi (paketi) ---------- */

.fm-package[b-ue4b2478cj] {
    cursor: pointer;
    transition: transform 1.6s cubic-bezier(0.55, 0, 0.25, 1);
    animation: fm-appear-b-ue4b2478cj 0.6s ease-out;
}

.fm-package rect[b-ue4b2478cj] {
    fill: color-mix(in srgb, var(--tone) 16%, #0b111b);
    stroke: var(--tone);
    stroke-width: 1.5;
    transition: fill 0.4s, stroke 0.4s;
}

.fm-package.tone-bad rect[b-ue4b2478cj] {
    filter: drop-shadow(0 0 6px color-mix(in srgb, var(--ck-red) 70%, transparent));
    animation: fm-alarm-b-ue4b2478cj 1.6s ease-in-out infinite;
}

.fm-package text[b-ue4b2478cj] {
    fill: var(--ck-text);
    font-size: 12px;
    font-weight: 600;
    text-anchor: middle;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}

.fm-package:hover rect[b-ue4b2478cj] {
    fill: color-mix(in srgb, var(--tone) 35%, #0b111b);
}

.fm-overflow[b-ue4b2478cj] {
    fill: var(--ck-dim);
    font-size: 13px;
    font-weight: 600;
    text-anchor: middle;
}

/* ---------- Radnici ---------- */

.fm-avatar[b-ue4b2478cj] {
    transition: transform 1.6s cubic-bezier(0.55, 0, 0.25, 1);
    animation: fm-appear-b-ue4b2478cj 0.6s ease-out;
}

.fm-avatar-ring[b-ue4b2478cj] {
    fill: none;
    stroke: var(--state);
    stroke-width: 2.5;
}

.fm-avatar.state-idle .fm-avatar-ring[b-ue4b2478cj] {
    stroke: rgba(200, 212, 228, 0.25);
}

.fm-avatar.state-waiting .fm-avatar-ring[b-ue4b2478cj] {
    animation: fm-pulse-b-ue4b2478cj 1.2s ease-in-out infinite;
}

.fm-avatar circle:not(.fm-avatar-ring)[b-ue4b2478cj] {
    stroke: #04060a;
    stroke-width: 1;
}

.fm-avatar-initials[b-ue4b2478cj] {
    fill: #0a0d12;
    font-size: 12px;
    font-weight: 700;
    text-anchor: middle;
}

.fm-avatar-name[b-ue4b2478cj] {
    fill: var(--ck-dim);
    font-size: 12px;
    text-anchor: middle;
}

/* ---------- Legenda ---------- */

.fm-legend[b-ue4b2478cj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    color: var(--ck-dim);
    font-size: 0.78rem;
}

.fm-legend span[b-ue4b2478cj] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.fm-legend .dot[b-ue4b2478cj] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--state);
    box-shadow: 0 0 7px var(--state);
}

.fm-legend .dot.state-idle[b-ue4b2478cj] {
    box-shadow: none;
}

.fm-legend .box[b-ue4b2478cj] {
    width: 18px;
    height: 12px;
    border: 1.5px solid var(--tone);
    border-radius: 3px;
    background: color-mix(in srgb, var(--tone) 18%, transparent);
}

.fm-legend-sep[b-ue4b2478cj] {
    width: 1px;
    height: 14px;
    background: var(--ck-line);
}

.fm-legend-hint[b-ue4b2478cj] {
    margin-left: auto;
    color: var(--ck-faint);
}

.fm-edit-link[b-ue4b2478cj] {
    padding: 4px 12px;
    border: 1px solid var(--ck-line);
    border-radius: 14px;
    color: var(--ck-dim);
    text-decoration: none;
}

.fm-edit-link:hover[b-ue4b2478cj] {
    color: var(--ck-text);
    border-color: var(--ck-dim);
}

/* ---------- Animacije ---------- */

@keyframes fm-spin-b-ue4b2478cj {
    to { transform: rotate(360deg); }
}

@keyframes fm-flow-b-ue4b2478cj {
    0%, 100% { opacity: 0.12; }
    50% { opacity: 0.6; }
}

@keyframes fm-pulse-b-ue4b2478cj {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

@keyframes fm-alarm-b-ue4b2478cj {
    0%, 100% { stroke-opacity: 1; }
    50% { stroke-opacity: 0.35; }
}

@keyframes fm-appear-b-ue4b2478cj {
    from { opacity: 0; }
}
/* /Components/Pages/Cockpit/Gauge.razor.rz.scp.css */
.gauge[b-84314fuaoi] {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    --tone: var(--ck-cyan, #38c8ff);
}

.gauge.tone-good[b-84314fuaoi] { --tone: var(--ck-green, #34d399); }
.gauge.tone-warn[b-84314fuaoi] { --tone: var(--ck-amber, #fbbf24); }
.gauge.tone-bad[b-84314fuaoi] { --tone: var(--ck-red, #f87171); }
.gauge.tone-off[b-84314fuaoi] { --tone: #4b5563; }

.gauge-bezel[b-84314fuaoi] {
    fill: none;
    stroke: rgba(160, 190, 230, 0.16);
    stroke-width: 1.5;
}

.gauge-face[b-84314fuaoi] {
    fill: rgba(10, 15, 25, 0.85);
    stroke: rgba(255, 255, 255, 0.03);
    stroke-width: 10;
}

.gauge-zone[b-84314fuaoi] {
    fill: none;
    stroke-width: 3;
    opacity: 0.55;
}

.gauge-zone.tone-good[b-84314fuaoi] { stroke: var(--ck-green, #34d399); }
.gauge-zone.tone-warn[b-84314fuaoi] { stroke: var(--ck-amber, #fbbf24); }
.gauge-zone.tone-bad[b-84314fuaoi] { stroke: var(--ck-red, #f87171); }

.gauge-tick-major[b-84314fuaoi] {
    stroke: rgba(226, 236, 248, 0.7);
    stroke-width: 2;
}

.gauge-tick-minor[b-84314fuaoi] {
    stroke: rgba(226, 236, 248, 0.28);
    stroke-width: 1.2;
}

.gauge-tick-label[b-84314fuaoi] {
    fill: rgba(200, 212, 228, 0.6);
    font-size: 10.5px;
    font-weight: 500;
    text-anchor: middle;
    font-variant-numeric: tabular-nums;
}

.gauge-track[b-84314fuaoi] {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 9;
    stroke-linecap: round;
}

.gauge-value[b-84314fuaoi] {
    fill: none;
    stroke: var(--tone);
    stroke-width: 9;
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px var(--tone));
    transition: stroke-dasharray 1.2s cubic-bezier(0.2, 0.9, 0.3, 1), stroke 0.6s;
    animation: gauge-fill-b-84314fuaoi 1.8s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.gauge.tone-off .gauge-value[b-84314fuaoi] {
    filter: none;
}

.gauge-needle[b-84314fuaoi] {
    transform: translate(120px, 120px) rotate(var(--angle));
    transition: transform 1.2s cubic-bezier(0.25, 1.4, 0.4, 1);
    animation: gauge-sweep-b-84314fuaoi 1.8s cubic-bezier(0.45, 0, 0.3, 1);
}

.gauge-needle polygon[b-84314fuaoi] {
    fill: #f4f7fb;
    filter: drop-shadow(0 0 4px var(--tone));
}

.gauge-hub[b-84314fuaoi] {
    fill: #0b111b;
    stroke: var(--tone);
    stroke-width: 2;
}

.gauge-hub-dot[b-84314fuaoi] {
    fill: var(--tone);
}

.gauge-value-text[b-84314fuaoi] {
    fill: #f4f7fb;
    font-size: 34px;
    font-weight: 300;
    letter-spacing: -0.02em;
    text-anchor: middle;
    font-variant-numeric: tabular-nums;
}

.gauge-unit[b-84314fuaoi] {
    fill: rgba(200, 212, 228, 0.65);
    font-size: 15px;
    font-weight: 400;
}

.gauge-label[b-84314fuaoi] {
    fill: var(--tone);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-anchor: middle;
    text-transform: uppercase;
}

.gauge-small .gauge-value-text[b-84314fuaoi] {
    font-size: 40px;
}

.gauge-small .gauge-label[b-84314fuaoi] {
    font-size: 14px;
}

.gauge-small .gauge-tick-label[b-84314fuaoi] {
    font-size: 13px;
}

/* Pri otvaranju kazaljka pređe cijelu skalu i vrati se na vrijednost, kao kod paljenja auta. */
@keyframes gauge-sweep-b-84314fuaoi {
    0% { transform: translate(120px, 120px) rotate(var(--start)); }
    50% { transform: translate(120px, 120px) rotate(var(--end)); }
}

@keyframes gauge-fill-b-84314fuaoi {
    0% { stroke-dasharray: 0 100; }
    50% { stroke-dasharray: 100 100; }
}

@media (prefers-reduced-motion: reduce) {
    .gauge-needle[b-84314fuaoi],
    .gauge-value[b-84314fuaoi] {
        animation: none;
        transition: none;
    }
}
/* /Components/Pages/Cockpit/Missions.razor.rz.scp.css */
/* ---------- Misije (osnova ekrana i boje su u app.css, zaglavlje u CockpitHeader) ---------- */

.ms-starting[b-56x1on6ljq] {
    margin: auto;
    color: var(--ck-dim);
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

b[b-56x1on6ljq] {
    font-weight: 600;
    color: var(--ck-text);
}

.ms-panel[b-56x1on6ljq] {
    padding: 20px 22px;
    border: 1px solid var(--ck-line);
    border-radius: 20px;
    background: var(--ck-panel);
}

.ms-title[b-56x1on6ljq] {
    color: var(--ck-dim);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ms-dim[b-56x1on6ljq] {
    color: var(--ck-dim);
    font-size: 0.85rem;
}

/* ---------- Gornji red: nivo, niz, rekordi ---------- */

.ms-top[b-56x1on6ljq] {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
}

.ms-level[b-56x1on6ljq] {
    display: flex;
    gap: 22px;
    align-items: center;
}

.ms-level-ring[b-56x1on6ljq] {
    flex: 0 0 auto;
    width: 150px;
    height: 150px;
}

.ms-ring-track[b-56x1on6ljq] {
    fill: rgba(10, 15, 25, 0.85);
    stroke: rgba(255, 255, 255, 0.07);
    stroke-width: 9;
}

.ms-ring-value[b-56x1on6ljq] {
    fill: none;
    stroke: var(--ck-cyan);
    stroke-width: 9;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 60px 60px;
    transition: stroke-dasharray 1.2s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.ms-ring-label[b-56x1on6ljq] {
    fill: var(--ck-dim);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-anchor: middle;
}

.ms-ring-number[b-56x1on6ljq] {
    fill: var(--ck-text);
    font-size: 40px;
    font-weight: 300;
    text-anchor: middle;
}

.ms-level-body[b-56x1on6ljq] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    flex: 1;
}

.ms-xp[b-56x1on6ljq] {
    font-size: 2rem;
    font-weight: 300;
    font-variant-numeric: tabular-nums;
}

.ms-xp b[b-56x1on6ljq] {
    font-weight: 400;
}

.ms-today[b-56x1on6ljq] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.ms-today-total[b-56x1on6ljq] {
    margin-right: 4px;
    color: var(--ck-cyan);
    font-weight: 600;
}

.ms-chip[b-56x1on6ljq] {
    padding: 2px 9px;
    border: 1px solid var(--ck-line);
    border-radius: 12px;
    color: var(--ck-dim);
    font-size: 0.75rem;
    white-space: nowrap;
}

.ms-chip.is-bad[b-56x1on6ljq] {
    border-color: color-mix(in srgb, var(--ck-red) 50%, transparent);
    color: var(--ck-red);
}

.ms-bars[b-56x1on6ljq] {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    margin-top: 6px;
}

.ms-bar[b-56x1on6ljq] {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.ms-bar i[b-56x1on6ljq] {
    width: 100%;
    min-height: 2px;
    border-radius: 2px 2px 0 0;
    background: rgba(56, 200, 255, 0.35);
}

.ms-bar.is-today i[b-56x1on6ljq] {
    background: #bfefff;
}

/* Niz */

.ms-streak[b-56x1on6ljq] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ms-streak-main[b-56x1on6ljq] {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.ms-streak-number[b-56x1on6ljq] {
    font-size: 3.2rem;
    font-weight: 300;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.ms-streak:not(.is-on) .ms-streak-number[b-56x1on6ljq] {
    color: var(--ck-dim);
}

.ms-days[b-56x1on6ljq] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: auto;
}

.ms-days span[b-56x1on6ljq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
}

.ms-days .is-clean[b-56x1on6ljq] {
    background: color-mix(in srgb, var(--ck-green) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--ck-green) 45%, transparent);
    color: var(--ck-green);
}

.ms-days .is-late[b-56x1on6ljq] {
    background: color-mix(in srgb, var(--ck-red) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--ck-red) 45%, transparent);
    color: var(--ck-red);
}

/* Rekordi */

.ms-records[b-56x1on6ljq] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ms-record[b-56x1on6ljq] {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: baseline;
}

.ms-record-icon[b-56x1on6ljq] {
    grid-row: 1 / 3;
    align-self: center;
    font-size: 1.3rem;
}

.ms-record-label[b-56x1on6ljq] {
    color: var(--ck-dim);
    font-size: 0.8rem;
}

.ms-record-value[b-56x1on6ljq] {
    grid-row: 1 / 3;
    grid-column: 3;
    align-self: center;
    font-size: 1.15rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ms-record-when[b-56x1on6ljq] {
    grid-column: 2;
    color: var(--ck-faint);
    font-size: 0.72rem;
}

/* ---------- Misije ---------- */

.ms-section-head[b-56x1on6ljq] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 12px;
}

.ms-counts[b-56x1on6ljq] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    color: var(--ck-dim);
    font-size: 0.82rem;
}

.ms-counts .state-late[b-56x1on6ljq] { color: var(--ck-red); }
.ms-counts .state-progress[b-56x1on6ljq] { color: var(--ck-cyan); }
.ms-counts .state-ready[b-56x1on6ljq] { color: var(--ck-green); }

.state-late[b-56x1on6ljq] { --state: var(--ck-red); }
.state-progress[b-56x1on6ljq] { --state: var(--ck-cyan); }
.state-waiting[b-56x1on6ljq] { --state: #64748b; }
.state-ready[b-56x1on6ljq] { --state: var(--ck-green); }

.ms-grid[b-56x1on6ljq] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 14px;
}

.ms-card[b-56x1on6ljq] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px 16px;
    overflow: hidden;
    border: 1px solid var(--ck-line);
    border-radius: 18px;
    background: var(--ck-panel);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.3s;
}

/* Svjetleća traka stanja na vrhu kartice. */
.ms-card[b-56x1on6ljq]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--state);
}

.ms-card:hover[b-56x1on6ljq] {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--state) 45%, transparent);
}

.ms-card.state-late[b-56x1on6ljq] {
    border-color: color-mix(in srgb, var(--ck-red) 40%, transparent);
}

.ms-card-head[b-56x1on6ljq] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.ms-customer[b-56x1on6ljq] {
    min-width: 0;
    overflow: hidden;
    font-size: 1.05rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ms-state[b-56x1on6ljq] {
    flex: 0 0 auto;
    color: var(--state);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ms-number[b-56x1on6ljq] {
    color: var(--ck-dim);
    font-size: 0.8rem;
}

.ms-reward[b-56x1on6ljq] {
    font-size: 1.6rem;
    font-weight: 300;
    font-variant-numeric: tabular-nums;
}

.ms-reward span[b-56x1on6ljq] {
    font-size: 1.2rem;
}

.ms-progress[b-56x1on6ljq] {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.ms-progress i[b-56x1on6ljq] {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--state) 55%, transparent), var(--state));
    transition: width 1.2s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.ms-card-meta[b-56x1on6ljq] {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--ck-dim);
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
}

.ms-card.state-late .ms-due[b-56x1on6ljq] {
    color: var(--ck-red);
    font-weight: 600;
}

.ms-wos[b-56x1on6ljq] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 2px;
}

.ms-wo[b-56x1on6ljq] {
    padding: 2px 8px;
    border: 1px solid var(--ck-line);
    border-radius: 10px;
    color: var(--ck-dim);
    font-size: 0.72rem;
    white-space: nowrap;
}

.ms-wo b[b-56x1on6ljq] {
    font-weight: 600;
    color: var(--ck-text);
}

.ms-wo.wo-launched[b-56x1on6ljq] {
    border-color: color-mix(in srgb, var(--ck-cyan) 40%, transparent);
}

.ms-wo.wo-finished[b-56x1on6ljq],
.ms-wo.wo-closed[b-56x1on6ljq] {
    border-color: color-mix(in srgb, var(--ck-green) 45%, transparent);
    color: var(--ck-green);
}

.ms-wo.is-late[b-56x1on6ljq] {
    border-color: var(--ck-red);
    color: var(--ck-red);
}

.ms-empty[b-56x1on6ljq] {
    color: var(--ck-dim);
    text-align: center;
}

/* ---------- Završene misije ---------- */

.ms-done-list[b-56x1on6ljq] {
    display: flex;
    flex-direction: column;
    padding: 6px 12px;
}

.ms-done[b-56x1on6ljq] {
    display: grid;
    grid-template-columns: 36px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto 60px;
    align-items: center;
    gap: 12px;
    padding: 9px 8px;
    border-bottom: 1px solid var(--ck-line);
    color: inherit;
    text-decoration: none;
}

.ms-done:last-child[b-56x1on6ljq] {
    border-bottom: 0;
}

.ms-done:hover[b-56x1on6ljq] {
    background: rgba(255, 255, 255, 0.025);
}

.ms-medal[b-56x1on6ljq] {
    font-size: 1.4rem;
    text-align: center;
}

.ms-done-customer[b-56x1on6ljq] {
    overflow: hidden;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ms-done-result[b-56x1on6ljq] {
    font-size: 0.82rem;
}

.ms-done-result.is-good[b-56x1on6ljq] { color: var(--ck-green); }
.ms-done-result.is-late[b-56x1on6ljq] { color: var(--ck-amber); }

.ms-done-reward[b-56x1on6ljq] {
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

/* ---------- Animacije i manji ekrani ---------- */

@media (max-width: 1200px) {
    .ms-top[b-56x1on6ljq] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ms-level[b-56x1on6ljq] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .ms-top[b-56x1on6ljq] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ms-level[b-56x1on6ljq] {
        flex-direction: column;
        align-items: flex-start;
    }

    .ms-level-ring[b-56x1on6ljq] {
        width: 110px;
        height: 110px;
    }

    .ms-grid[b-56x1on6ljq] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ms-done[b-56x1on6ljq] {
        grid-template-columns: 30px minmax(0, 1fr) auto;
    }

    .ms-done > :nth-child(3)[b-56x1on6ljq],
    .ms-done > :nth-child(6)[b-56x1on6ljq] {
        display: none;
    }
}

/* Ikone u rekordima i isporukama (Material, jednobojne). */
.ms-record[b-56x1on6ljq]  .ms-record-icon {
    color: var(--ck-dim);
}

.ms-done[b-56x1on6ljq]  .ms-medal.is-good {
    color: var(--ck-green);
}

.ms-done[b-56x1on6ljq]  .ms-medal.is-late {
    color: var(--ck-amber);
}
/* /Components/Pages/Pin/PinLogin.razor.rz.scp.css */
/* PIN ekran: isti izgled kao prijava na terminalu (tamno, krupno, za ekran na dodir). */

.wp[b-7fgi93lwei] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 1.1rem;
}

.wp-header[b-7fgi93lwei] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--ck-line);
    background: rgba(8, 12, 19, 0.85);
}

.wp-brand[b-7fgi93lwei] {
    font-weight: 700;
    letter-spacing: 0.2em;
    white-space: nowrap;
}

.wp-brand span[b-7fgi93lwei] {
    color: var(--ck-cyan);
    font-weight: 400;
}

.wp-department[b-7fgi93lwei] {
    font-size: 1.35rem;
    font-weight: 600;
    text-align: center;
}

.wp-clock[b-7fgi93lwei] {
    justify-self: end;
    font-size: 1.6rem;
    font-weight: 300;
    font-variant-numeric: tabular-nums;
}

.wp-main[b-7fgi93lwei] {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 16px 32px;
}

.wp-login[b-7fgi93lwei] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: 380px;
    margin: auto;
}

.wp-login-time[b-7fgi93lwei] {
    font-size: 4.2rem;
    font-weight: 200;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.wp-login-date[b-7fgi93lwei] {
    margin-bottom: 18px;
    color: var(--ck-dim);
}

.wp-login-title[b-7fgi93lwei] {
    margin-bottom: 12px;
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
}

.wp-login-card[b-7fgi93lwei] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -6px 0 16px;
    color: var(--ck-dim);
    font-size: 0.95rem;
}

.wp-login-card svg[b-7fgi93lwei] {
    width: 22px;
    height: 22px;
    color: var(--ck-cyan);
}

.pinpad[b-7fgi93lwei] {
    width: 100%;
}

.pinpad-field[b-7fgi93lwei] {
    display: block;
    width: 100%;
    height: 64px;
    margin-bottom: 14px;
    border: 1px solid var(--ck-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--ck-cyan);
    font: inherit;
    font-size: 2.2rem;
    letter-spacing: 0.5em;
    text-align: center;
    outline: none;
}

.pinpad-field:focus[b-7fgi93lwei] {
    border-color: var(--ck-cyan);
}

.pinpad-error[b-7fgi93lwei] {
    margin-bottom: 12px;
    color: var(--ck-red);
    text-align: center;
}

.pinpad-submit[b-7fgi93lwei] {
    width: 100%;
    min-height: 60px;
    margin-top: 16px;
    border: 0;
    border-radius: 16px;
    background: var(--ck-cyan);
    color: #04121d;
    font: inherit;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
}

.pinpad-submit:disabled[b-7fgi93lwei] {
    background: rgba(255, 255, 255, 0.08);
    color: var(--ck-faint);
    cursor: default;
}

.wp-link[b-7fgi93lwei] {
    margin-top: 22px;
    color: var(--ck-dim);
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .wp-header[b-7fgi93lwei] {
        grid-template-columns: 1fr auto;
    }

    .wp-department[b-7fgi93lwei] {
        display: none;
    }
}
/* /Components/Pages/Public/CustomerDataFormPage.razor.rz.scp.css */
/* Obrazac za kupca: svijetao i jednostavan, radi i na telefonu. */
.cdf[b-5x5wvc5gjy] {
    max-width: 640px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    color: #1f2937;
}

.cdf h1[b-5x5wvc5gjy] {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 8px;
}

.cdf p[b-5x5wvc5gjy] {
    margin: 0 0 12px;
    line-height: 1.5;
}

.cdf-muted[b-5x5wvc5gjy] {
    color: #6b7280;
}

.cdf[b-5x5wvc5gjy]  .cdf-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
    margin-top: 20px;
}

.cdf[b-5x5wvc5gjy]  .cdf-wide {
    grid-column: 1 / -1;
}

.cdf[b-5x5wvc5gjy]  .cdf-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.cdf[b-5x5wvc5gjy]  .cdf-field input,
.cdf[b-5x5wvc5gjy]  .cdf-field textarea {
    font: inherit;
    font-weight: 400;
    font-size: 1rem;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #111827;
}

.cdf[b-5x5wvc5gjy]  .cdf-field input:focus,
.cdf[b-5x5wvc5gjy]  .cdf-field textarea:focus {
    outline: 2px solid #1e5aa8;
    outline-offset: -1px;
    border-color: #1e5aa8;
}

.cdf[b-5x5wvc5gjy]  .cdf-field input.invalid {
    border-color: #c62828;
}

.cdf[b-5x5wvc5gjy]  .validation-message {
    color: #c62828;
    font-size: 0.8rem;
    font-weight: 400;
}

.cdf[b-5x5wvc5gjy]  .cdf-error {
    grid-column: 1 / -1;
    padding: 10px 12px;
    border: 1px solid #f5c2c0;
    background: #fdecea;
    color: #8a1c1c;
    border-radius: 6px;
}

.cdf[b-5x5wvc5gjy]  .cdf-actions button {
    font: inherit;
    font-weight: 600;
    padding: 12px 22px;
    border: none;
    border-radius: 6px;
    background: #1e5aa8;
    color: #fff;
    cursor: pointer;
}

.cdf[b-5x5wvc5gjy]  .cdf-actions button:hover {
    background: #174a8c;
}

@media (max-width: 560px) {
    .cdf[b-5x5wvc5gjy]  .cdf-form {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Public/PilotHomePage.razor.rz.scp.css */
.pp[b-4l3dviq8f7] { max-width: 1000px; margin: 0 auto; padding: 28px 20px 24px; color: #1D2530; }
.pp h1[b-4l3dviq8f7] { font-size: 1.6rem; font-weight: 600; margin: 0 0 4px; }
.pp h2[b-4l3dviq8f7] { font-size: 1.05rem; font-weight: 600; margin: 32px 0 12px; display: flex; align-items: center; gap: 10px; }
.pp h2[b-4l3dviq8f7]::before { content: ""; width: 4px; height: 1.1em; background: #E07A1F; border-radius: 2px; }
.pp p[b-4l3dviq8f7] { margin: 0 0 12px; line-height: 1.55; }
.pp a[b-4l3dviq8f7] { color: #1F5FA8; text-decoration: none; }
.pp a:hover[b-4l3dviq8f7] { text-decoration: underline; }
.pp-muted[b-4l3dviq8f7] { color: #5A6675; font-size: .92rem; }

.pp-welcome[b-4l3dviq8f7] { max-width: 560px; margin: 40px auto 0; background: #fff; border: 1px solid #E2E6EC; border-top: 4px solid #1F5FA8; border-radius: 6px; padding: 28px; }
.pp-welcome h1[b-4l3dviq8f7] { margin-bottom: 12px; }

.pp-top[b-4l3dviq8f7] { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pp-btn[b-4l3dviq8f7] { font: inherit; font-weight: 500; padding: 8px 16px; border-radius: 6px; border: 1px solid #1F5FA8; background: #1F5FA8; color: #fff; cursor: pointer; }
.pp-btn:hover[b-4l3dviq8f7] { background: #194f8c; }
.pp-actions[b-4l3dviq8f7] { display: flex; gap: 10px; align-items: center; }
.pp-actions form[b-4l3dviq8f7] { margin: 0; }
.pp a.pp-link[b-4l3dviq8f7], .pp a.pp-link:hover[b-4l3dviq8f7] { color: #fff; text-decoration: none; display: inline-block; }
.pp-secondary[b-4l3dviq8f7] { background: #fff; color: #1F5FA8; }
.pp-secondary:hover[b-4l3dviq8f7] { background: #eef4fb; }
.pp-alert[b-4l3dviq8f7] { background: #fdf1f0; border: 1px solid #f3c4c0; color: #9b2c24; padding: 10px 14px; border-radius: 6px; margin-bottom: 14px; }

.pp-grid[b-4l3dviq8f7] { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.pp-card[b-4l3dviq8f7] { background: #fff; border: 1px solid #E2E6EC; border-top: 3px solid #1F5FA8; border-radius: 6px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.pp-card span[b-4l3dviq8f7] { font-size: .75rem; color: #5A6675; text-transform: uppercase; letter-spacing: .05em; font-weight: 500; }
.pp-card b[b-4l3dviq8f7] { font-size: 1.05rem; font-weight: 600; }
.pp-card small[b-4l3dviq8f7] { color: #5A6675; line-height: 1.4; }
.pp-late[b-4l3dviq8f7] { border-top-color: #c0392b; background: #fffafa; }

.pp-scroll[b-4l3dviq8f7] { overflow-x: auto; background: #fff; border: 1px solid #E2E6EC; border-radius: 6px; }
.pp-table[b-4l3dviq8f7] { width: 100%; border-collapse: collapse; font-size: .92rem; }
.pp-table th[b-4l3dviq8f7], .pp-table td[b-4l3dviq8f7] { padding: 10px 14px; text-align: left; border-bottom: 1px solid #EEF1F5; white-space: nowrap; }
.pp-table th[b-4l3dviq8f7] { background: #F8FAFC; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: #5A6675; }
.pp-table tbody tr:last-child td[b-4l3dviq8f7] { border-bottom: none; }
.pp-table tbody tr:hover[b-4l3dviq8f7] { background: #F8FAFC; }
.pp-table .r[b-4l3dviq8f7] { text-align: right; }

.pp-chip[b-4l3dviq8f7] { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #E9EDF3; color: #3a4655; font-size: .8rem; font-weight: 500; }
.pp-ok[b-4l3dviq8f7] { background: #def3e4; color: #1c6b3a; }
.pp-bad[b-4l3dviq8f7] { background: #fbe1de; color: #9b2c24; }

.pp-docs[b-4l3dviq8f7] { list-style: none; margin: 0 0 12px; padding: 0; background: #fff; border: 1px solid #E2E6EC; border-radius: 6px; }
.pp-docs li[b-4l3dviq8f7] { padding: 11px 14px; border-bottom: 1px solid #EEF1F5; line-height: 1.5; }
.pp-docs li:last-child[b-4l3dviq8f7] { border-bottom: none; }

@media (max-width: 600px) {
    .pp[b-4l3dviq8f7] { padding: 20px 14px; }
    .pp-top[b-4l3dviq8f7] { flex-direction: column; }
}
/* /Components/Pages/Technology/TechnologyStepCard.razor.rz.scp.css */
.tech-step[b-kgwpuvwnpv] {
    padding: 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-left: 4px solid var(--mud-palette-primary);
    border-radius: 8px;
    background: var(--mud-palette-surface);
}

.tech-step-number[b-kgwpuvwnpv] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--mud-palette-primary);
    color: #fff;
    font-weight: 700;
}

.tech-suggestion[b-kgwpuvwnpv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 4px 2px 10px;
    border: 1px dashed var(--mud-palette-primary);
    border-radius: 16px;
    color: var(--mud-palette-text-secondary);
    font-size: 0.85rem;
}
/* /Components/Pages/Terminal/InstructionsView.razor.rz.scp.css */
.iv[b-rmrdmuo8lt] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.iv-flag[b-rmrdmuo8lt] {
    padding: 12px 16px;
    border: 1px solid color-mix(in srgb, var(--ck-amber) 55%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--ck-amber) 12%, transparent);
    color: var(--ck-amber);
    font-weight: 600;
}

.iv-title[b-rmrdmuo8lt] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--ck-dim);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.iv-count[b-rmrdmuo8lt] {
    padding: 1px 9px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--ck-text);
    letter-spacing: 0;
}

.iv-text[b-rmrdmuo8lt] {
    font-size: 1.12rem;
    line-height: 1.55;
    white-space: pre-wrap;
}

.iv-empty[b-rmrdmuo8lt] {
    color: var(--ck-dim);
    font-size: 1.05rem;
}

.iv-checks[b-rmrdmuo8lt] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.iv-check[b-rmrdmuo8lt] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    min-height: 58px;
    padding: 10px 16px;
    border: 1px solid var(--ck-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--ck-text);
    font: inherit;
    font-size: 1.08rem;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    transition: background 0.2s, border-color 0.2s;
}

.iv-check:active:not(.is-readonly)[b-rmrdmuo8lt] {
    transform: scale(0.99);
}

.iv-box[b-rmrdmuo8lt] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 2px solid var(--ck-dim);
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 800;
}

.iv-check.is-done[b-rmrdmuo8lt] {
    border-color: color-mix(in srgb, var(--ck-green) 55%, transparent);
    background: color-mix(in srgb, var(--ck-green) 12%, transparent);
    color: var(--ck-dim);
}

.iv-check.is-done .iv-box[b-rmrdmuo8lt] {
    border-color: var(--ck-green);
    background: var(--ck-green);
    color: #04140c;
}

.iv-check.is-readonly[b-rmrdmuo8lt] {
    min-height: 0;
    cursor: default;
    font-size: 1rem;
}

.iv-check.is-readonly .iv-box[b-rmrdmuo8lt] {
    width: 22px;
    height: 22px;
}

.iv-tools[b-rmrdmuo8lt] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 8px;
}

.iv-tool[b-rmrdmuo8lt] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid var(--ck-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.98rem;
}

.iv-tool img[b-rmrdmuo8lt] {
    flex: 0 0 auto;
    width: 64px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
}

.iv-tool-icon[b-rmrdmuo8lt] {
    flex: 0 0 auto;
    width: 64px;
    text-align: center;
    font-size: 1.5rem;
}

.iv-material[b-rmrdmuo8lt] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    font-size: 1.05rem;
}

.iv-material span[b-rmrdmuo8lt] {
    color: var(--ck-dim);
}
/* /Components/Pages/Terminal/MyDayPanel.razor.rz.scp.css */
.md[b-f2xq8zv90n] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.md-title[b-f2xq8zv90n] {
    color: var(--ck-dim);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.md-gauge[b-f2xq8zv90n] {
    align-self: center;
    width: 170px;
}

.md-rows[b-f2xq8zv90n] {
    display: flex;
    flex-direction: column;
}

.md-rows > div[b-f2xq8zv90n] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--ck-line);
    font-size: 1.02rem;
}

.md-rows > div:last-child[b-f2xq8zv90n] {
    border-bottom: 0;
}

.md-rows span[b-f2xq8zv90n] {
    color: var(--ck-dim);
}

.md-rows b[b-f2xq8zv90n] {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.md-rows b.is-bad[b-f2xq8zv90n] {
    color: var(--ck-red);
}
/* /Components/Pages/Terminal/Terminal.razor.rz.scp.css */
/* ---------- Radno mjesto na terminalu (boje su u app.css, sekcija "Terminal u pogonu") ---------- */

.wp[b-1t7x33rlpw] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 1.1rem;
}

.wp-header[b-1t7x33rlpw] {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--ck-line);
    background: rgba(8, 12, 19, 0.85);
}

.wp-brand[b-1t7x33rlpw] {
    font-weight: 700;
    letter-spacing: 0.2em;
    white-space: nowrap;
}

.wp-brand span[b-1t7x33rlpw] {
    color: var(--ck-cyan);
    font-weight: 400;
}

.wp-department[b-1t7x33rlpw] {
    font-size: 1.35rem;
    font-weight: 600;
    text-align: center;
}

.wp-clock[b-1t7x33rlpw] {
    justify-self: end;
    font-size: 1.6rem;
    font-weight: 300;
    font-variant-numeric: tabular-nums;
}

.wp-main[b-1t7x33rlpw] {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 24px 32px;
}

.wp-center[b-1t7x33rlpw] {
    margin: auto;
}

.wp-center-column[b-1t7x33rlpw] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
}

.wp-dim[b-1t7x33rlpw] {
    color: var(--ck-dim);
}

/* ---------- Prijava ---------- */

.wp-login[b-1t7x33rlpw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: 380px;
    margin: auto;
}

.wp-login-time[b-1t7x33rlpw] {
    font-size: 4.2rem;
    font-weight: 200;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.wp-login-date[b-1t7x33rlpw] {
    margin-bottom: 18px;
    color: var(--ck-dim);
}

.wp-login-title[b-1t7x33rlpw] {
    margin-bottom: 12px;
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
}

.wp-login[b-1t7x33rlpw]  .pinpad {
    width: 100%;
}

.wp-link[b-1t7x33rlpw] {
    margin-top: 18px;
    border: 0;
    background: none;
    color: var(--ck-dim);
    font: inherit;
    font-size: 0.9rem;
    text-decoration: underline;
    cursor: pointer;
}

.wp-tiles[b-1t7x33rlpw] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.wp-tile[b-1t7x33rlpw] {
    min-height: 110px;
    padding: 16px;
    border: 1px solid var(--ck-line);
    border-radius: 16px;
    background: var(--ck-panel);
    color: var(--ck-text);
    font: inherit;
    font-size: 1.35rem;
    font-weight: 600;
    cursor: pointer;
    touch-action: manipulation;
}

.wp-tile:active[b-1t7x33rlpw] {
    transform: scale(0.98);
}

/* ---------- Radnik ---------- */

.wp-worker[b-1t7x33rlpw] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.wp-avatar[b-1t7x33rlpw] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 2px solid var(--ck-cyan);
    border-radius: 50%;
    background: color-mix(in srgb, var(--ck-cyan) 18%, transparent);
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 0 18px color-mix(in srgb, var(--ck-cyan) 35%, transparent);
}

.wp-worker-info[b-1t7x33rlpw] {
    flex: 1;
    min-width: 220px;
}

.wp-worker-name[b-1t7x33rlpw] {
    font-size: 1.7rem;
    font-weight: 600;
}

.wp-chips[b-1t7x33rlpw] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.wp-chip[b-1t7x33rlpw] {
    padding: 2px 12px;
    border: 1px solid var(--ck-line);
    border-radius: 14px;
    color: var(--ck-dim);
    font-size: 0.9rem;
}

.wp-worker-actions[b-1t7x33rlpw] {
    display: flex;
    gap: 10px;
}

/* ---------- Dugmad ---------- */

.wp-button[b-1t7x33rlpw],
.wp-big[b-1t7x33rlpw] {
    min-height: 52px;
    padding: 10px 20px;
    border: 1px solid var(--ck-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--ck-text);
    font: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    touch-action: manipulation;
}

.wp-big[b-1t7x33rlpw] {
    min-height: 64px;
    flex: 1;
    font-size: 1.15rem;
}

.wp-button:disabled[b-1t7x33rlpw],
.wp-big:disabled[b-1t7x33rlpw] {
    opacity: 0.4;
    cursor: default;
}

.wp-button:active:not(:disabled)[b-1t7x33rlpw],
.wp-big:active:not(:disabled)[b-1t7x33rlpw] {
    transform: scale(0.98);
}

.wp-button.is-danger[b-1t7x33rlpw] {
    border-color: color-mix(in srgb, var(--ck-red) 55%, transparent);
    color: var(--ck-red);
}

.wp-big.is-primary[b-1t7x33rlpw] {
    border-color: var(--ck-cyan);
    background: color-mix(in srgb, var(--ck-cyan) 26%, transparent);
}

.wp-big.is-success[b-1t7x33rlpw] {
    border-color: var(--ck-green);
    background: color-mix(in srgb, var(--ck-green) 24%, transparent);
}

.wp-full[b-1t7x33rlpw] {
    width: 100%;
}

.wp-row[b-1t7x33rlpw] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- Raspored ---------- */

.wp-grid[b-1t7x33rlpw] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    align-items: start;
    gap: 18px;
}

.wp-content[b-1t7x33rlpw],
.wp-side[b-1t7x33rlpw] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wp-panel[b-1t7x33rlpw] {
    padding: 20px 22px;
    border: 1px solid var(--ck-line);
    border-radius: 20px;
    background: var(--ck-panel);
}

.wp-panel-title[b-1t7x33rlpw],
.wp-section-title[b-1t7x33rlpw] {
    margin-bottom: 10px;
    color: var(--ck-dim);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.wp-section-title[b-1t7x33rlpw] {
    margin-bottom: 0;
}

.wp-empty[b-1t7x33rlpw] {
    color: var(--ck-dim);
    text-align: center;
}

/* ---------- Trenutni posao ---------- */

.wp-job[b-1t7x33rlpw] {
    border-color: color-mix(in srgb, var(--ck-cyan) 45%, transparent);
    box-shadow: 0 0 40px rgba(56, 200, 255, 0.08);
}

.wp-job-head[b-1t7x33rlpw] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
}

.wp-kicker[b-1t7x33rlpw] {
    color: var(--ck-cyan);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.wp-job-number[b-1t7x33rlpw] {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.15;
}

.wp-job-item[b-1t7x33rlpw] {
    font-size: 1.3rem;
    font-weight: 500;
}

.wp-step[b-1t7x33rlpw] {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    border-left: 4px solid var(--ck-amber);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
}

.wp-timer[b-1t7x33rlpw] {
    text-align: right;
}

.wp-timer-value[b-1t7x33rlpw] {
    color: var(--ck-cyan);
    font-size: 2.8rem;
    font-weight: 300;
    font-variant-numeric: tabular-nums;
}

.wp-progress[b-1t7x33rlpw] {
    height: 10px;
    margin: 16px 0 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.wp-progress i[b-1t7x33rlpw] {
    display: block;
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(90deg, rgba(56, 200, 255, 0.5), var(--ck-cyan));
    box-shadow: 0 0 10px rgba(56, 200, 255, 0.6);
    transition: width 1s;
}

.wp-facts[b-1t7x33rlpw] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
    color: var(--ck-dim);
}

.wp-facts b[b-1t7x33rlpw] {
    color: var(--ck-text);
}

.wp-facts .is-late[b-1t7x33rlpw],
.wp-facts .is-late b[b-1t7x33rlpw] {
    color: var(--ck-red);
}

.wp-types[b-1t7x33rlpw] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.wp-type[b-1t7x33rlpw] {
    min-height: 64px;
    border: 1px solid var(--ck-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--ck-text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    touch-action: manipulation;
}

.wp-type.is-active[b-1t7x33rlpw] {
    border-color: var(--ck-cyan);
    background: color-mix(in srgb, var(--ck-cyan) 30%, transparent);
    box-shadow: 0 0 16px rgba(56, 200, 255, 0.3);
}

.wp-checkin[b-1t7x33rlpw] {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--ck-line);
}

.wp-counters[b-1t7x33rlpw] {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 12px;
}

.wp-warning[b-1t7x33rlpw] {
    margin-bottom: 12px;
    padding: 10px 14px;
    border: 1px solid color-mix(in srgb, var(--ck-amber) 55%, transparent);
    border-radius: 12px;
    color: var(--ck-amber);
}

/* ---------- Zadaci ---------- */

.wp-group-title[b-1t7x33rlpw] {
    margin-top: 6px;
    color: var(--ck-text);
    font-size: 1.05rem;
    font-weight: 600;
}

.wp-tasks[b-1t7x33rlpw] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 14px;
}

.wp-task[b-1t7x33rlpw] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wp-task.is-mine[b-1t7x33rlpw] {
    border-color: color-mix(in srgb, var(--ck-amber) 55%, transparent);
}

.wp-task.is-late[b-1t7x33rlpw] {
    border-color: color-mix(in srgb, var(--ck-red) 55%, transparent);
}

.wp-task-head[b-1t7x33rlpw] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wp-task-number[b-1t7x33rlpw] {
    font-size: 1.5rem;
    font-weight: 700;
}

.wp-badge[b-1t7x33rlpw] {
    padding: 1px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.wp-badge.is-late[b-1t7x33rlpw] {
    background: var(--ck-red);
    color: #1a0707;
}

.wp-task-item[b-1t7x33rlpw] {
    font-size: 1.2rem;
    font-weight: 500;
}

.wp-preview[b-1t7x33rlpw] {
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--ck-line);
}

/* ---------- Bočna kolona ---------- */

.wp-doc[b-1t7x33rlpw] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    margin-bottom: 8px;
    padding: 8px 14px;
    border: 1px solid color-mix(in srgb, var(--ck-cyan) 45%, transparent);
    border-radius: 12px;
    color: var(--ck-text);
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

.wp-doc span[b-1t7x33rlpw] {
    font-size: 1.4rem;
}

.wp-plan[b-1t7x33rlpw] {
    font-size: 1.2rem;
}

.wp-plan b[b-1t7x33rlpw] {
    font-size: 2rem;
    font-weight: 300;
}

/* ---------- Manji ekrani ---------- */

@media (max-width: 1000px) {
    .wp-grid[b-1t7x33rlpw] {
        grid-template-columns: minmax(0, 1fr);
    }

    .wp-tasks[b-1t7x33rlpw] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .wp-main[b-1t7x33rlpw] {
        padding: 14px;
    }

    .wp-header[b-1t7x33rlpw] {
        grid-template-columns: 1fr auto;
        padding: 10px 14px;
    }

    .wp-department[b-1t7x33rlpw] {
        display: none;
    }

    .wp-timer[b-1t7x33rlpw] {
        text-align: left;
    }
}
/* /Components/Shared/Game/Celebrate.razor.rz.scp.css */
/* Diskretna obavijest: mala kartica u donjem desnom uglu, bez konfeta i zatamnjenja ekrana. */

.cel[b-nmk0b1mk4f] {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: min(420px, calc(100vw - 32px));
    padding: 14px 18px;
    border: 1px solid rgba(140, 170, 210, 0.25);
    border-radius: 10px;
    background: rgba(12, 17, 26, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    color: #e8eef6;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    animation: cel-in-b-nmk0b1mk4f 6s ease-in-out both;
}

.cel[b-nmk0b1mk4f]  .cel-icon {
    flex: none;
    color: #7ea6d8;
}

.cel-title[b-nmk0b1mk4f] {
    font-weight: 600;
}

.cel-subtitle[b-nmk0b1mk4f] {
    margin-top: 2px;
    color: #9fb0c6;
    font-size: 0.9rem;
}

@keyframes cel-in-b-nmk0b1mk4f {
    0% { opacity: 0; transform: translateY(12px); }
    6%, 90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .cel[b-nmk0b1mk4f] {
        animation: none;
    }
}
/* /Components/Shared/Game/MissionBoard.razor.rz.scp.css */
/* Dnevni ciljevi. Svijetli izgled (ured) i tamni (terminal, tamni prikaz): mirne boje, bez sjaja. */

.mb[b-198buwskae] {
    --mb-bg: rgba(255, 255, 255, 0.03);
    --mb-line: var(--ck-line, rgba(140, 170, 210, 0.16));
    --mb-text: var(--ck-text, #e8eef6);
    --mb-dim: var(--ck-dim, #8f9cb0);
    --mb-accent: #7ea6d8;
    --mb-green: #5fb98e;
    --mb-track: rgba(255, 255, 255, 0.07);
    padding: 14px 18px;
    border: 1px solid var(--mb-line);
    border-radius: 10px;
    background: var(--mb-bg);
    color: var(--mb-text);
}

.mb-light[b-198buwskae] {
    --mb-bg: var(--mud-palette-surface);
    --mb-line: var(--mud-palette-lines-default);
    --mb-text: var(--mud-palette-text-primary);
    --mb-dim: var(--mud-palette-text-secondary);
    --mb-accent: var(--mud-palette-primary);
    --mb-green: var(--mud-palette-success);
    --mb-track: var(--mud-palette-background-gray);
}

.mb-head[b-198buwskae] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 6px;
}

.mb-title-main[b-198buwskae] {
    font-weight: 600;
}

.mb-count[b-198buwskae] {
    color: var(--mb-dim);
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

.mb-item[b-198buwskae] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-top: 1px solid var(--mb-line);
}

.mb-item[b-198buwskae]  .mb-icon {
    flex: none;
    margin-top: 2px;
    color: var(--mb-dim);
}

.mb-main[b-198buwskae] {
    flex: 1;
    min-width: 0;
}

.mb-row[b-198buwskae] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.mb-title[b-198buwskae] {
    font-weight: 500;
}

.mb-xp[b-198buwskae] {
    color: var(--mb-dim);
    font-size: 0.8rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.mb-goal[b-198buwskae] {
    margin: 1px 0 5px;
    color: var(--mb-dim);
    font-size: 0.8rem;
}

.mb-bar[b-198buwskae] {
    height: 4px;
    overflow: hidden;
    border-radius: 2px;
    background: var(--mb-track);
}

.mb-bar i[b-198buwskae] {
    display: block;
    height: 100%;
    background: var(--mb-accent);
}

.mb-state[b-198buwskae] {
    flex: none;
    min-width: 56px;
    padding-top: 1px;
    text-align: right;
}

.mb-progress[b-198buwskae] {
    color: var(--mb-dim);
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
}

.mb-state[b-198buwskae]  .mb-check {
    color: var(--mb-green);
}

.mb-item.is-missed[b-198buwskae] {
    opacity: 0.55;
}

.mb-foot[b-198buwskae] {
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--mb-line);
    color: var(--mb-dim);
    font-size: 0.78rem;
}
/* /Components/Shared/Game/PlayerHud.razor.rz.scp.css */
/* Traka radnog mjesta. Tamna varijanta (terminal, tamni prikaz) i svijetla (ured); mirne boje, bez sjaja. */

.hud[b-c56k2zenk3] {
    --hud-bg: rgba(255, 255, 255, 0.03);
    --hud-line: var(--ck-line, rgba(140, 170, 210, 0.16));
    --hud-text: var(--ck-text, #e8eef6);
    --hud-dim: var(--ck-dim, #8f9cb0);
    --hud-accent: #7ea6d8;
    --hud-track: rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
    padding: 12px 18px;
    border: 1px solid var(--hud-line);
    border-radius: 10px;
    background: var(--hud-bg);
    color: var(--hud-text);
}

.hud-light[b-c56k2zenk3] {
    --hud-bg: var(--mud-palette-surface);
    --hud-line: var(--mud-palette-lines-default);
    --hud-text: var(--mud-palette-text-primary);
    --hud-dim: var(--mud-palette-text-secondary);
    --hud-accent: var(--mud-palette-primary);
    --hud-track: var(--mud-palette-background-gray);
}

.hud-avatar[b-c56k2zenk3] {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hud-track);
    color: var(--hud-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.hud-who[b-c56k2zenk3] {
    margin-left: -16px;
}

.hud-name[b-c56k2zenk3] {
    font-weight: 600;
}

.hud-role[b-c56k2zenk3] {
    color: var(--hud-dim);
    font-size: 0.82rem;
}

.hud-level[b-c56k2zenk3] {
    flex: 1;
    min-width: 240px;
    max-width: 460px;
}

.hud-label[b-c56k2zenk3] {
    color: var(--hud-dim);
    font-size: 0.78rem;
}

.hud-bar[b-c56k2zenk3] {
    height: 6px;
    margin: 5px 0 4px;
    overflow: hidden;
    border-radius: 3px;
    background: var(--hud-track);
}

.hud-bar i[b-c56k2zenk3] {
    display: block;
    height: 100%;
    background: var(--hud-accent);
}

.hud-sub[b-c56k2zenk3] {
    color: var(--hud-dim);
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
}

.hud-stat[b-c56k2zenk3] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hud-stat[b-c56k2zenk3]  .hud-stat-icon {
    color: var(--hud-dim);
}

.hud-stat b[b-c56k2zenk3] {
    display: block;
    font-weight: 600;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.hud-stat small[b-c56k2zenk3] {
    color: var(--hud-dim);
    font-size: 0.75rem;
}

.hud-actions[b-c56k2zenk3] {
    display: flex;
    gap: 8px;
    margin-left: auto;
}
