/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-rvbs4edbz0] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-rvbs4edbz0] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-m3xcdtbcsf],
.components-reconnect-repeated-attempt-visible[b-m3xcdtbcsf],
.components-reconnect-failed-visible[b-m3xcdtbcsf],
.components-pause-visible[b-m3xcdtbcsf],
.components-resume-failed-visible[b-m3xcdtbcsf],
.components-rejoining-animation[b-m3xcdtbcsf] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-m3xcdtbcsf],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-m3xcdtbcsf],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-m3xcdtbcsf],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-m3xcdtbcsf],
#components-reconnect-modal.components-reconnect-retrying[b-m3xcdtbcsf],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-m3xcdtbcsf],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-m3xcdtbcsf],
#components-reconnect-modal.components-reconnect-failed[b-m3xcdtbcsf],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-m3xcdtbcsf] {
    display: block;
}


#components-reconnect-modal[b-m3xcdtbcsf] {
    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-m3xcdtbcsf 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-m3xcdtbcsf 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-m3xcdtbcsf 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-m3xcdtbcsf]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-m3xcdtbcsf 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-m3xcdtbcsf {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-m3xcdtbcsf {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-m3xcdtbcsf {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-m3xcdtbcsf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-m3xcdtbcsf] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-m3xcdtbcsf] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-m3xcdtbcsf] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-m3xcdtbcsf] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-m3xcdtbcsf] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-m3xcdtbcsf] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-m3xcdtbcsf 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-m3xcdtbcsf] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-m3xcdtbcsf {
    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/DeviceHealthTiles.razor.rz.scp.css */
/* 하위 장비 건강도 타일 (DeviceHubDetail 에서 추출 — ACU/Module + Project 공용) */
.dht-tiles[b-m6jljlsrmp] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}
.dht-tile[b-m6jljlsrmp] {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 13px 15px;
}
.dht-tile-head[b-m6jljlsrmp] { display: flex; align-items: center; justify-content: space-between; }
.dht-tile-type[b-m6jljlsrmp] { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-3); }
.dht-tile-count[b-m6jljlsrmp] { font-size: 23px; font-weight: 700; line-height: 1; color: var(--text); }
.dht-tile-count.is-zero[b-m6jljlsrmp] { color: var(--text-faint); }
.dht-tile-segs[b-m6jljlsrmp] { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }

/* ── 상태 칩 (건강도 구간) ── */
.dht-seg[b-m6jljlsrmp] {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-muted);
    white-space: nowrap;
}
.dht-seg.sev-ok[b-m6jljlsrmp]    { color: var(--ok);     background: var(--ok-bg); }
.dht-seg.sev-warn[b-m6jljlsrmp]  { color: var(--warn);   background: var(--warn-bg); }
.dht-seg.sev-bad[b-m6jljlsrmp]   { color: var(--danger); background: var(--danger-bg); }
.dht-seg.sev-muted[b-m6jljlsrmp] { color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); }
/* /Components/Shared/DeviceHubDetail.razor.rz.scp.css */
.dhd[b-t7cosb26lg] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 상태 히어로 → StatusHero.razor.css, 건강도 타일 → DeviceHealthTiles.razor.css 로 분리됨. */

/* ── 네트워크 / 식별 그리드 ── */
.dhd-info[b-t7cosb26lg] {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2px 16px;
}
.dhd-row[b-t7cosb26lg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-soft);
}
.dhd-row:last-child[b-t7cosb26lg] { border-bottom: none; }
.dhd-row-label[b-t7cosb26lg] { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-muted); }
.dhd-row-val[b-t7cosb26lg] { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-2); text-align: right; }
.dhd-row-val.dhd-faint[b-t7cosb26lg] { color: var(--text-muted); }

[b-t7cosb26lg] .dhd-copy { padding: 3px; }
/* /Components/Shared/StatusHero.razor.rz.scp.css */
/* 장비 상세 공용 상태 히어로 (DeviceHubDetail 에서 추출 — ACU/Reader/Door 공용) */
.status-hero[b-fs79ld5fjj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    background: var(--surface-2);
}
.status-hero.sev-bad[b-fs79ld5fjj]   { color: var(--danger); background: var(--danger-bg); border-color: var(--danger-border); }
.status-hero.sev-warn[b-fs79ld5fjj]  { color: var(--warn);   background: var(--warn-bg);   border-color: var(--border-soft); }
.status-hero.sev-ok[b-fs79ld5fjj]    { color: var(--ok);     background: var(--ok-bg);     border-color: var(--border-soft); }
.status-hero.sev-muted[b-fs79ld5fjj] { color: var(--text-muted); }

.status-hero-left[b-fs79ld5fjj] { display: flex; align-items: center; gap: 14px; min-width: 0; }
.status-hero-icon[b-fs79ld5fjj] {
    width: 46px; height: 46px; flex: none;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-lg);
    background: var(--surface); color: inherit;
}
.status-hero-label[b-fs79ld5fjj] { font-size: 18px; font-weight: 700; line-height: 1.2; color: inherit; }
.status-hero-sub[b-fs79ld5fjj] { font-size: 13px; color: var(--text-3); margin-top: 3px; }

/* 커스텀 본문(상태 메트릭스 등) — 카드의 남는 폭을 채워 균등 분포.
   메트릭스 모드에선 좌측 영역이 카드 폭을 채우도록 grow. */
.status-hero-has-metrics[b-fs79ld5fjj] { align-items: center; padding: 18px 22px; }
/* 아이콘과 메트릭스 사이 여백 확보(gap) + 좌측 영역이 카드 폭을 채우도록 grow */
.status-hero-has-metrics .status-hero-left[b-fs79ld5fjj] { flex: 1 1 auto; min-width: 0; gap: 24px; }
.status-hero-metrics[b-fs79ld5fjj] {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    gap: 12px 18px;
    align-items: start;
}
/* 각 메트릭 셀 — 캡션 위, 칩 아래(대시보드 KPI 스트립). ChildContent 는 타 스코프라 ::deep. */
.status-hero-metrics[b-fs79ld5fjj]  > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
}
.status-hero-metrics[b-fs79ld5fjj]  .mud-typography { margin: 0; }

.status-hero-seen[b-fs79ld5fjj] { text-align: right; flex: none; }
.status-seen-cap[b-fs79ld5fjj] { font-size: 11px; color: var(--text-muted); }
.status-seen-rel[b-fs79ld5fjj] { font-size: 16px; font-weight: 700; color: inherit; }
.status-seen-abs[b-fs79ld5fjj] { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); }
