@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';
@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.lcdo7z9xd2.bundle.scp.css';
@import '_content/TradingSystem.BlazorCommon/TradingSystem.BlazorCommon.ine3bgtvul.bundle.scp.css';
@import '_content/TradingSystem.ClientCore/TradingSystem.ClientCore.5dsi0eaxw1.bundle.scp.css';

/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-7c1zj6i1sj],
.components-reconnect-repeated-attempt-visible[b-7c1zj6i1sj],
.components-reconnect-failed-visible[b-7c1zj6i1sj],
.components-pause-visible[b-7c1zj6i1sj],
.components-resume-failed-visible[b-7c1zj6i1sj],
.components-rejoining-animation[b-7c1zj6i1sj] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-7c1zj6i1sj],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-7c1zj6i1sj],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-7c1zj6i1sj],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-7c1zj6i1sj],
#components-reconnect-modal.components-reconnect-retrying[b-7c1zj6i1sj],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-7c1zj6i1sj],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-7c1zj6i1sj],
#components-reconnect-modal.components-reconnect-failed[b-7c1zj6i1sj],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-7c1zj6i1sj] {
    display: block;
}


/* 연결 끊김 표면 색 원칙: 회로가 죽은 상태에서도 보여야 하므로 배경/전경은 고정 팔레트,
   다크는 [data-fluent-darkmode] 속성 분기(SSR 렌더 속성이라 토큰/회로 무관 강건).
   버튼/링만 var(토큰, 기존색) 폴백형으로 브랜드 accent 연동 - 토큰은 회로가 끊겨도
   이미 :root 에 주입돼 있어 유효하고, 최초 로드 실패 등 토큰 부재 시엔 기존 파랑으로 폴백. */
#components-reconnect-modal[b-7c1zj6i1sj] {
    background-color: white;
    color: #1f2937;
    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-7c1zj6i1sj 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-7c1zj6i1sj 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-7c1zj6i1sj 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

[data-fluent-darkmode] #components-reconnect-modal[b-7c1zj6i1sj] {
    /* 다크 - 어두운 표면 + 밝은 전경 */
    background-color: #2b2b2b;
    color: #f3f4f6;
}

#components-reconnect-modal[b-7c1zj6i1sj]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-7c1zj6i1sj 0.5s ease-in-out;
    opacity: 1;
}

/* reveal-pending: 모달이 top-layer 로 떠 있어 문서를 inert 로 만들어 상호작용을 차단하지만,
   시각적으로는 완전히 투명하게 유지한다. transient blip 동안 깜빡임 없이 클릭만 차단하기 위한 상태.
   ReconnectModal.razor.js 의 REVEAL_PENDING_CLASS 와 짝. delay 경과 또는 "failed" 시 클래스 제거 ->
   기존 [open] 애니메이션으로 자연스럽게 노출된다. [open] 규칙을 이기도록 id+class+attr 로 specificity 확보. */
#components-reconnect-modal.js-reveal-pending[b-7c1zj6i1sj],
#components-reconnect-modal.js-reveal-pending[open][b-7c1zj6i1sj] {
    opacity: 0;
    animation: none;
}

#components-reconnect-modal.js-reveal-pending[b-7c1zj6i1sj]::backdrop {
    background-color: transparent;
    animation: none;
}

@keyframes components-reconnect-modal-slideUp-b-7c1zj6i1sj {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-7c1zj6i1sj {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-7c1zj6i1sj {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-7c1zj6i1sj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-7c1zj6i1sj] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-7c1zj6i1sj] {
    border: 0;
    background-color: var(--accent-fill-rest, #6b9ed2);
    color: var(--foreground-on-accent-rest, white);
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-7c1zj6i1sj] {
        background-color: var(--accent-fill-hover, #3b6ea2);
    }

    #components-reconnect-modal button:active[b-7c1zj6i1sj] {
        background-color: var(--accent-fill-active, #6b9ed2);
    }

.components-rejoining-animation[b-7c1zj6i1sj] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-7c1zj6i1sj] {
        position: absolute;
        border: 3px solid var(--accent-fill-rest, #0087ff);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-7c1zj6i1sj 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-7c1zj6i1sj] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-7c1zj6i1sj {
    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: 0;
        left: 0;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Managers/DeviceInspections.razor.rz.scp.css */
/* 단말 점검 조회 화면의 '상세' 표와 텍스트 블록. 레거시 InspectionViewer 의 구성을 그대로 두되
   색은 테마 토큰을 따른다(레거시의 하드코딩 회색은 다크 모드에서 글자가 묻힌다).
   목록은 FluentDataGrid 라 hover/선택/표시자 스타일을 여기서 정의하지 않는다 - 전역 tailwind.css 담당.

   토큰은 Fluent 중립/accent 계열만 쓴다 - --quote-* 팔레트는 .quote-palette 스코프(주문 화면) 안에서만
   정의되어 관리자 화면에서는 전부 미해석(투명/기본색)이 된다. */

.ts-di-th[b-ygv0v2ien2] {
    border: 1px solid var(--neutral-stroke-rest);
    background: var(--neutral-fill-secondary-rest);
    padding: 4px 8px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.ts-di-td[b-ygv0v2ien2] {
    border: 1px solid var(--neutral-stroke-rest);
    padding: 4px 8px;
    text-align: left;
    white-space: nowrap;
}

/* 장비정보/설치프로그램/실행프로세스 - 줄바꿈 유지하되 가로 스크롤 대신 접어서 보여준다. */
.ts-di-pre[b-ygv0v2ien2] {
    background: var(--neutral-fill-secondary-rest);
    border: 1px solid var(--neutral-stroke-divider-rest);
    padding: 10px;
    white-space: pre-wrap;
    word-break: break-all;
    font-size: 12px;
    max-height: 320px;
    overflow-y: auto;
    /* 상단 마진만 여기서 지운다 - 위 간격은 앞선 소제목(h4)의 mb-2! 가 만든다.
       아래쪽은 razor 의 mb-2! 유틸리티가 담당한다(이웃 h4/table 과 같은 방식).
       여기에 margin 축약으로 0 을 두면 안 된다: scoped 선택자(.ts-di-pre[b-xxx])는 비레이어라
       @layer utilities 의 .mb-2 를 무조건 이기고, important 를 붙인 .mb-2! 와도 충돌 소지가 생긴다. */
    margin-top: 0;
}
