/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-cqxabg5yv2],
.components-reconnect-repeated-attempt-visible[b-cqxabg5yv2],
.components-reconnect-failed-visible[b-cqxabg5yv2],
.components-pause-visible[b-cqxabg5yv2],
.components-resume-failed-visible[b-cqxabg5yv2],
.components-rejoining-animation[b-cqxabg5yv2] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-cqxabg5yv2 {
    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/Shared/BenchView.razor.rz.scp.css */
.ft-bench[b-s7qrnw8g9d] {
    width: 100%;
    height: auto;
    display: block;
    background: linear-gradient(180deg, #f8fafc 0%, #e8eef5 100%);
    border: 1px solid #dbe3ec;
    border-radius: 12px;
    font-family: "Segoe UI", system-ui, sans-serif;
    user-select: none;
}

/* ---- Pipes and water ---- */
.pipe-shell[b-s7qrnw8g9d] { fill: none; stroke: #8796a8; stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; }
.pipe-inner[b-s7qrnw8g9d] { fill: none; stroke: #e5ebf2; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.pipe-water[b-s7qrnw8g9d] { fill: none; stroke: #3b82f6; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; transition: opacity .5s; }
.pipe-flow[b-s7qrnw8g9d] {
    fill: none; stroke: #dbeafe; stroke-width: 3; stroke-linecap: round;
    stroke-dasharray: 6 14; animation-name: ft-flow-b-s7qrnw8g9d; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes ft-flow-b-s7qrnw8g9d { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }

.mut-water[b-s7qrnw8g9d] { fill: #3b82f6; transition: opacity .5s; }
.stream[b-s7qrnw8g9d] { fill: #60a5fa; opacity: .85; }
.tank-shell[b-s7qrnw8g9d] { fill: rgba(226, 236, 246, .55); stroke: #64748b; stroke-width: 2.5; }
.tank-water[b-s7qrnw8g9d] { fill: url(#ft-water); opacity: .85; transition: y .15s linear, height .15s linear; }
.tick[b-s7qrnw8g9d] { stroke: #64748b; stroke-width: 1.5; }

/* ---- Pump and drive ---- */
.pump-casing[b-s7qrnw8g9d] { fill: url(#ft-steel); stroke: #334155; stroke-width: 2.5; }
.blade[b-s7qrnw8g9d] { fill: none; stroke: #1e3a5f; stroke-width: 5; stroke-linecap: round; }
.hub[b-s7qrnw8g9d] { fill: #1e3a5f; }
.spin[b-s7qrnw8g9d] { animation-name: ft-spin-b-s7qrnw8g9d; animation-timing-function: linear; animation-iteration-count: infinite; }
@keyframes ft-spin-b-s7qrnw8g9d { to { transform: rotate(360deg); } }
.vfd[b-s7qrnw8g9d] { fill: #1f2937; stroke: #0f172a; stroke-width: 2; }
.vfd-screen[b-s7qrnw8g9d] { fill: #052e16; stroke: #14532d; }
.vfd-hz[b-s7qrnw8g9d] { fill: #4ade80; font: 600 20px "Consolas", "Courier New", monospace; text-anchor: middle; }
.disp-sm[b-s7qrnw8g9d] { fill: #4ade80; font: 600 13px "Consolas", "Courier New", monospace; text-anchor: middle; }
.disp-xs[b-s7qrnw8g9d] { fill: #86efac; font: 9px system-ui, sans-serif; text-anchor: middle; }
.cable[b-s7qrnw8g9d] { fill: none; stroke: #475569; stroke-width: 2; stroke-dasharray: 5 4; }

.lamp[b-s7qrnw8g9d] { fill: #475569; stroke: #0f172a; }
.lamp-ok[b-s7qrnw8g9d] { fill: #22c55e; filter: drop-shadow(0 0 3px #22c55e); }
.lamp-warn[b-s7qrnw8g9d] { fill: #f59e0b; }
.lamp-bad[b-s7qrnw8g9d] { fill: #ef4444; filter: drop-shadow(0 0 3px #ef4444); }

/* ---- Valves ---- */
.valve polygon[b-s7qrnw8g9d] { stroke: #1e293b; stroke-width: 1.5; transition: fill .3s; }
.valve.closed polygon[b-s7qrnw8g9d] { fill: #ef4444; }
.valve.open polygon[b-s7qrnw8g9d] { fill: #22c55e; }
.valve.partial polygon[b-s7qrnw8g9d] { fill: #f59e0b; }
.valve .stem[b-s7qrnw8g9d] { stroke: #1e293b; stroke-width: 3; }
.valve .handle[b-s7qrnw8g9d] { transition: transform .2s linear; }
.valve .handle rect[b-s7qrnw8g9d] { fill: #1e293b; }
.valve .tag[b-s7qrnw8g9d] { fill: #0f172a; font: 700 11px system-ui, sans-serif; text-anchor: middle; }
.valve .pct[b-s7qrnw8g9d] { fill: #475569; font: 10px system-ui, sans-serif; text-anchor: middle; }
.valve.fault polygon[b-s7qrnw8g9d] { fill: #ef4444; animation: ft-blink-b-s7qrnw8g9d .8s steps(2) infinite; }

/* ---- Test table and meter ---- */
.table-base[b-s7qrnw8g9d] { fill: #334155; }
.table-leg[b-s7qrnw8g9d] { fill: #475569; }
.head-move[b-s7qrnw8g9d] { transition: transform .12s linear; }
.rod[b-s7qrnw8g9d] { fill: #cbd5e1; stroke: #64748b; }
.cylinder[b-s7qrnw8g9d] { fill: #b91c1c; stroke: #7f1d1d; }
.clamp-bar[b-s7qrnw8g9d] { fill: #e2e8f0; }
.clamp-fill[b-s7qrnw8g9d] { fill: #f59e0b; }
.flange[b-s7qrnw8g9d] { fill: #94a3b8; stroke: #475569; }
.no-meter[b-s7qrnw8g9d] { fill: none; stroke: #94a3b8; stroke-width: 2; stroke-dasharray: 6 5; }
.dial[b-s7qrnw8g9d] { fill: url(#ft-brass); stroke: #7c5a1c; stroke-width: 2; }
.dial-face[b-s7qrnw8g9d] { fill: #f8fafc; stroke: #94a3b8; }
.odo[b-s7qrnw8g9d] { fill: #111827; }
.odo-text[b-s7qrnw8g9d] { fill: #f8fafc; font: 600 10.5px "Consolas", "Courier New", monospace; text-anchor: middle; letter-spacing: .5px; }
.dial-unit[b-s7qrnw8g9d] { fill: #475569; }
.hand[b-s7qrnw8g9d] { stroke: #dc2626; stroke-width: 2; stroke-linecap: round; }
.flap[b-s7qrnw8g9d] { fill: #1e293b; transition: transform .15s linear; }
.platform[b-s7qrnw8g9d] { fill: #475569; }

.gauge[b-s7qrnw8g9d] { fill: #f8fafc; stroke: #475569; stroke-width: 2.5; }
.needle[b-s7qrnw8g9d] { stroke: #dc2626; stroke-width: 2; stroke-linecap: round; transition: transform .2s linear; }
.gauge-txt[b-s7qrnw8g9d] { fill: #334155; font-weight: 600; }

/* ---- Labels ---- */
.lbl[b-s7qrnw8g9d] { fill: #1e293b; font: 600 10.5px system-ui, sans-serif; text-anchor: middle; letter-spacing: .3px; }
.lbl-light[b-s7qrnw8g9d] { fill: #e2e8f0; }
.lbl-muted[b-s7qrnw8g9d] { fill: #64748b; font-weight: 500; }
.lbl-left[b-s7qrnw8g9d] { text-anchor: start; }
.lbl-right[b-s7qrnw8g9d] { text-anchor: end; }

.hit[b-s7qrnw8g9d] { cursor: pointer; }
.hit:hover[b-s7qrnw8g9d] { filter: brightness(1.06); }
.blink[b-s7qrnw8g9d] { animation: ft-blink-b-s7qrnw8g9d .8s steps(2) infinite; }
@keyframes ft-blink-b-s7qrnw8g9d { 50% { opacity: .25; } }

.estop rect[b-s7qrnw8g9d] { fill: rgba(220, 38, 38, .92); animation: ft-blink-b-s7qrnw8g9d 1s steps(2) infinite; }
.estop text[b-s7qrnw8g9d] { fill: #fff; font: 800 26px system-ui, sans-serif; text-anchor: middle; letter-spacing: 2px; }
.odo-sm[b-s7qrnw8g9d] { font-size: 8px; letter-spacing: 0; }
