/* _content/SimfestDispatch/Pages/Shared/BlankLayout.razor.rz.scp.css */
/* Pin the layout to the viewport so children can be 100% sized */
.blank-root[b-diu09gtqp3] {
    position: fixed; /* occupy the whole window regardless of content */
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    background: #000; /* dark canvas for this page */
    color: #f4f4f4;
    overflow: hidden; /* prevents accidental scrollbars around the app */
}
/* _content/SimfestDispatch/Pages/StandOpsTurnaround.razor.rz.scp.css */
/* Optional: free Eurostile-like heading font */


/* ─────────────────────────────────────────────────────────
   Component-scoped variables (and local fallbacks)
   ───────────────────────────────────────────────────────── */
:host[b-3gl434qb9x] {
    --y: #ffea00; /* Simfest yellow (brighter) */
    --ok: #00d97e; /* vibrant green */
    --off: #7a7f85; /* grey */
    --line: #2a2a2a; /* panel line */
    --txt: #f4f4f4; /* body text */
    --sep: rgba(255,234,0,.18); /* soft yellow divider */
}

.so-app[b-3gl434qb9x] {
    --y: #ffea00;
    --ok: #00d97e;
    --off: #7a7f85;
    --line: #2a2a2a;
    --txt: #f4f4f4;
    --sep: rgba(255,234,0,.18);
}

    /* Headline font on key elements */
    .so-app .so-brand[b-3gl434qb9x],
    .so-app .nf-title[b-3gl434qb9x],
    .so-app .so-clock[b-3gl434qb9x] {
        font-family: 'Michroma', sans-serif;
        letter-spacing: .03em;
        text-transform: uppercase;
    }

/* ─────────────────────────────────────────────────────────
   Root layout
   ───────────────────────────────────────────────────────── */
.so-app[b-3gl434qb9x] {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: auto auto 1fr;
    background: #000;
    color: var(--txt);
    font: 14px/1.4 Inter, Segoe UI, Roboto, Arial, sans-serif;
}

/* Header strip (with animated glow) */
@keyframes headerPulse-b-3gl434qb9x {
    0%, 100% {
        box-shadow: 0 0 8px rgba(255,234,0,0.25);
    }

    50% {
        box-shadow: 0 0 18px rgba(255,234,0,0.6);
    }
}

.so-app .so-header[b-3gl434qb9x] {
    background: var(--y) !important;
    color: #000;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 4px solid #000;
    font-weight: 800;
    letter-spacing: .03em;
    animation: headerPulse-b-3gl434qb9x 3s ease-in-out infinite;
}

.so-app .so-brand[b-3gl434qb9x] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px
}

.so-app .so-logo[b-3gl434qb9x] {
    background: #000;
    color: var(--y);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
}

.so-app .so-clock[b-3gl434qb9x] {
    font-size: 28px;
    font-weight: 800
}

/* Turnaround timeline strip */
.so-app .so-strip[b-3gl434qb9x] {
    background: #121212;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px
}

.so-app .so-strip-title[b-3gl434qb9x] {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
    color: #ddd
}

.so-app .so-timeline[b-3gl434qb9x] {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 8px
}

.so-app .so-step[b-3gl434qb9x] {
    position: relative;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 10px 18px;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
}

    .so-app .so-step + .so-step[b-3gl434qb9x] {
        margin-left: -16px
    }

    .so-app .so-step.pending[b-3gl434qb9x] {
        opacity: .9
    }

    .so-app .so-step.active[b-3gl434qb9x] {
        background: #1b2a1f; /* slightly lifted active bg */
        border-color: #00a861; /* vivid green edge */
        box-shadow: inset 0 0 0 1px rgba(0,168,97,.25);
    }

/* Completed stage: greener, with slower heartbeat */
@keyframes okHeartbeat-b-3gl434qb9x {
    0%, 100% {
        box-shadow: 0 0 6px rgba(0,217,126,0.25), inset 0 0 0 1px rgba(0,217,126,0.25);
    }

    50% {
        box-shadow: 0 0 16px rgba(0,217,126,0.7), inset 0 0 0 1px rgba(0,217,126,0.45);
    }
}

.so-app .so-step.done[b-3gl434qb9x] {
    background: #0e422d;
    border-color: #00a861;
    color: #eafff4;
    animation: okHeartbeat-b-3gl434qb9x 5.5s ease-in-out infinite;
}

.so-app .so-step-title[b-3gl434qb9x] {
    font-weight: 800
}

.so-app .so-step-eta[b-3gl434qb9x] {
    font-size: 12px;
    color: #c7c7c7;
    margin-left: 8px
}

/* ─────────────────────────────────────────────────────────
   Main grid — left stack / right camera (35% / 65%)
   ───────────────────────────────────────────────────────── */
.so-app .so-main[b-3gl434qb9x] {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 14px;
    padding: 12px 16px;
    height: 100%;
    min-height: 0;
}

/* Left column: make sections a single stacked panel (no gaps) */
.so-app .so-left[b-3gl434qb9x] {
    display: grid;
    grid-template-rows: auto auto auto auto;
    gap: 0;
    align-content: start;
}

/* Unify section chrome and separators */
.so-app .fuel-gauge[b-3gl434qb9x],
.so-app .so-next-big[b-3gl434qb9x],
.so-app .so-rotation[b-3gl434qb9x] {
    margin: 0;
    border-radius: 0;
    border-top: 1px solid var(--sep);
    border-bottom: 1px solid var(--line);
    align-self: start;
    padding: 10px 12px;
    background: #0f1012;
}

/* Big logo panel under the table */
.so-app .so-logo-panel[b-3gl434qb9x] {
    display: grid;
    place-items: center;
    padding: 12px;
    background: #0f1012;
    border-top: 1px solid var(--sep);
    border-bottom: 1px solid var(--line);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    min-height: 140px;
}

.so-app .so-logo-img[b-3gl434qb9x] {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
}

.so-app .fuel-gauge:first-child[b-3gl434qb9x] {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.so-app .so-rotation:last-child[b-3gl434qb9x] {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom: 1px solid var(--line);
}

/* Next Flight panel internals */
.so-app .so-next-big[b-3gl434qb9x] {
    display: grid;
    gap: 14px;
    align-self: start;
    margin-top: 0;
    padding-top: 10px;
}

.so-app .fuel-gauge[b-3gl434qb9x] {
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--sep);
}

.so-app .nf-head[b-3gl434qb9x] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px
}

.so-app .nf-title[b-3gl434qb9x] {
    color: var(--y);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 6px
}

.so-app .nf-flight[b-3gl434qb9x] {
    font-size: 26px;
    font-weight: 800;
    line-height: 1
}

.so-app .nf-times[b-3gl434qb9x] {
    display: flex;
    gap: 12px
}

.so-app .nf-time[b-3gl434qb9x] {
    background: #131313;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 6px 10px
}

    .so-app .nf-time span[b-3gl434qb9x] {
        color: #b9bfc6;
        text-transform: uppercase;
        font-size: 11px;
        letter-spacing: .08em;
        margin-right: 6px
    }

/* ─────────────────────────────────────────────────────────
   Digital-style Fuel Uplift (flat console look)
   ───────────────────────────────────────────────────────── */
.so-app .fuel-gauge[b-3gl434qb9x] {
    display: grid;
    gap: 6px;
    background: #111315;
    border-color: #2a2f36;
    padding: 8px 12px;
    font-family: 'Michroma','Segoe UI',sans-serif;
}

.so-app .fuel-meta[b-3gl434qb9x] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2px;
}

.so-app .fm-title[b-3gl434qb9x] {
    color: #9ca4b2;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: .1em;
}

.so-app .fm-values[b-3gl434qb9x] {
    font-weight: 800;
    display: flex;
    gap: 6px;
    align-items: baseline;
    font-family: 'Michroma','Segoe UI',sans-serif;
}

.so-app .fm-current[b-3gl434qb9x] {
    font-size: 16px;
    color: #f4f4f4
}

.so-app .fm-required[b-3gl434qb9x] {
    font-size: 14px;
    color: #a9b0b8
}

.so-app .fm-pct[b-3gl434qb9x] {
    font-size: 12px;
    color: #9ca4b2
}

/* Flat bar */
.so-app .gauge-bar[b-3gl434qb9x] {
    position: relative;
    height: 6px;
    background: #1a1d21;
    border: 1px solid #2a2f36;
    border-radius: 1px;
    overflow: hidden;
}

.so-app .gauge-fill[b-3gl434qb9x] {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg,#00e07e,#f9e800); /* vivid green -> bright yellow */
    transition: width .5s ease;
}

.so-app .gauge-bar[b-3gl434qb9x]::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,.06);
    pointer-events: none;
}

/* ─────────────────────────────────────────────────────────
   Square system indicators
   ───────────────────────────────────────────────────────── */
.so-app .sys-square-strip[b-3gl434qb9x] {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr)); /* adjust 5->4 if needed */
    gap: 10px;
    margin: 0 0 10px 0;
}

.so-app .sys-square[b-3gl434qb9x] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 72px;
    border-radius: 12px;
    background: #1a1d21;
    border: 1px solid #2a2f36;
    color: #8d97a5;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .02em;
    text-align: center;
    box-sizing: border-box;
}

/* OK/Active tiles: brighter + pulsing */
@keyframes okPulse-b-3gl434qb9x {
    0%, 100% {
        box-shadow: 0 0 6px rgba(0,217,126,0.3);
    }

    50% {
        box-shadow: 0 0 14px rgba(0,217,126,0.8);
    }
}

.so-app .sys-square.ok[b-3gl434qb9x] {
    background: #0e422d;
    border-color: #00a861;
    color: #e6fbeF;
   
}

/* Inactive tiles */
.so-app .sys-square.off[b-3gl434qb9x] {
    background: #1a1d21;
    border-color: #2a2f36;
    color: #8d97a5;
}

.so-app .sys-square-icon[b-3gl434qb9x] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    height: 28px;
    width: 100%;
    margin-bottom: 6px;
}

.so-app .sys-square-label[b-3gl434qb9x] {
    font-size: 11px;
    line-height: 1;
    color: #cfd5dc;
    margin-bottom: 2px
}

.so-app .sys-square-sub[b-3gl434qb9x] {
    font-size: 10px;
    font-weight: 700;
    opacity: .85;
    line-height: 1
}

/* Key/value grid inside Next Flight */
.so-app .nf-grid[b-3gl434qb9x] {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px
}

.so-app .kv[b-3gl434qb9x] {
    background: #121212;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px
}

    .so-app .kv .k[b-3gl434qb9x] {
        color: #b9bfc6;
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: .08em;
        margin-bottom: 4px
    }

    .so-app .kv .v[b-3gl434qb9x] {
        font-weight: 800;
        font-size: 18px
    }

/* Door badges */
.so-app .door-badges[b-3gl434qb9x] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.so-app .door-badge[b-3gl434qb9x] {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    background: #121212;
    color: #98a1aa;
    font-weight: 700
}

    .so-app .door-badge.ok[b-3gl434qb9x] {
        border-color: #00a861;
        color: #bff1cf
    }

/* Rotation table */
.so-app .so-rotation[b-3gl434qb9x] {
    background: #0e0e0e
}

.so-app .rot-title[b-3gl434qb9x] {
    color: var(--y);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
    margin-bottom: 8px
}

.so-app .rot-table[b-3gl434qb9x] {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    color: var(--txt)
}

    .so-app .rot-table th[b-3gl434qb9x], .so-app .rot-table td[b-3gl434qb9x] {
        padding: 6px 8px;
        border-bottom: 1px dashed #2a2a2a;
        text-align: left;
        background: transparent;
    }

    .so-app .rot-table th[b-3gl434qb9x] {
        color: #f4f4f4;
        font-weight: 750;
    }

    .so-app .rot-table tr:last-child td[b-3gl434qb9x] {
        border-bottom: none
    }

/* Right-side camera — vertically centered in its grid cell */
.so-app .so-camera[b-3gl434qb9x] {
    background: #000;
    border: 1px solid var(--line);
    border-radius: 16px;
    display: grid;
    place-items: center;
    height: 700px;
    min-height: 0;
    overflow: hidden;
    align-self: center; /* vertical centering of the card within .so-main */
}

.so-app .so-camera-ph[b-3gl434qb9x] {
    opacity: .6;
    color: #9aa0a6;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase
}

/* Responsive: stack columns when narrow */
@media (max-width:1400px) {
    .so-app .so-main[b-3gl434qb9x] {
        grid-template-columns: 1fr
    }
}
/* ────────────────────────────────────────────────
   Timeline step pulsing animations (text fixed white)
   ──────────────────────────────────────────────── */

/* In-progress: yellow → black → yellow */
@keyframes stepPulseActive-b-3gl434qb9x {
    0% {
        background: #2a2a00; /* dark yellow base */
        border-color: #ffea00;
        box-shadow: 0 0 6px rgba(255,234,0,0.25);
    }

    50% {
        background: rgba(255,234,0,0.25); /* fade to black */
        border-color: #4a4a00;
        box-shadow: 0 0 12px rgba(255,234,0,0.05);
    }

    100% {
        background: #2a2a00;
        border-color: #ffea00;
        box-shadow: 0 0 6px rgba(255,234,0,0.25);
    }
}

.so-app .so-step.active[b-3gl434qb9x] {
    animation: stepPulseActive-b-3gl434qb9x 3.5s ease-in-out infinite;
    color: #ffffff; /* keep text white */
}


.so-app .so-step.done[b-3gl434qb9x] {
    animation: stepPulseDone 4.5s ease-in-out infinite;
    color: #ffffff; /* keep text white */
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .so-app .so-step.active[b-3gl434qb9x],
    .so-app .so-step.done[b-3gl434qb9x] {
        animation: none;
    }
}

.so-app .so-step.active[b-3gl434qb9x] {
    animation-duration: 4.8s;
}

.so-app .so-step.done[b-3gl434qb9x] {
    animation-duration: 5.5s;
}
