/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ==========================================================================
   1. 최상위 프레임 강제 고정 (세로 스크롤선 절대 생성 불가 설정)
   ========================================================================== */
html[b-fa8yvien5p], body[b-fa8yvien5p] {
    margin: 0 !important;
    padding: 0 !important;
    height: 100vh !important;
    width: 100% !important;
    overflow: hidden !important;
}

.win-container[b-fa8yvien5p] {
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
    width: 100% !important;
    max-height: 100vh !important;
    background-color: #ffffff !important; /* 순백색 메인 프레임 */
    color: #333333 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    box-sizing: border-box !important;
}

/* 중앙 본문 콘텐츠 영역 */
.win-content[b-fa8yvien5p] {
    flex-grow: 1 !important;
    position: relative !important;
    padding: 20px !important;
    height: calc(100vh - 85px) !important;
    overflow-y: auto !important;
    background-color: #ffffff !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   2. 상단바 (win-top-bar) 및 버튼 정렬 구역
   ========================================================================== */
.win-top-bar[b-fa8yvien5p] {
    height: 40px !important;
    background-color: #1f1f1f !important;
    color: #d1d1d1 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 15px !important;
    font-size: 13px !important;
    border-bottom: 1px solid #333 !important;
    user-select: none !important;
    flex-shrink: 0 !important;
}

.top-bar-buttons[b-fa8yvien5p] {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
}

.win-btn[b-fa8yvien5p] {
    background-color: #2d2d2d !important;
    color: #e1e1e1 !important;
    border: 1px solid #444 !important;
    padding: 4px 14px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    border-radius: 2px !important;
}

    .win-btn:hover:not(:disabled)[b-fa8yvien5p] {
        background-color: #3d3d3d !important;
        border-color: #0078d7 !important;
        color: #ffffff !important;
    }

    .win-btn:disabled[b-fa8yvien5p] {
        background-color: #1a1a1a !important;
        color: #555555 !important;
        border-color: #2b2b2b !important;
        cursor: not-allowed !important;
    }

/* ==========================================================================
   3. 하단 작업 표시줄 및 Home 로고
   ========================================================================== */
.win-taskbar[b-fa8yvien5p] {
    height: 45px !important;
    background-color: #101010 !important;
    border-top: 1px solid #252525 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 12px !important;
    flex-shrink: 0 !important;
}

.taskbar-left[b-fa8yvien5p] {
    display: flex !important;
    align-items: center !important;
}

.home-btn[b-fa8yvien5p] {
    color: #ffffff !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
}

    .home-btn:hover[b-fa8yvien5p] {
        background-color: rgba(255, 255, 255, 0.1) !important;
        border-radius: 4px !important;
    }

.taskbar-left .ms-2[b-fa8yvien5p] {
    color: #ffffff !important;
    font-weight: bold !important;
}

.taskbar-right[b-fa8yvien5p] {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    font-size: 11px !important;
    color: #cccccc !important;
}

.time-text[b-fa8yvien5p] {
    font-weight: 500 !important;
}

.date-text[b-fa8yvien5p] {
    font-size: 10px !important;
    color: #888888 !important;
    margin-top: 2px !important;
}

/* ==========================================================================
   4. 📥 메인 본문을 채우는 인라인 메일 리스트 패널
   ========================================================================== */
.win-mail-inline-panel[b-fa8yvien5p] {
    width: 100% !important;
    height: 100% !important;
    background-color: #ffffff !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   5. 📤 [복원 완료] 공중에 둥둥 떠서 나타나는 독립 사각 메일 작성 팝업창
   ========================================================================== */
.win-mail-popup-window[b-fa8yvien5p] {
    position: absolute !important;
    top: 30px !important; /* 리스트 위에 알맞게 띄울 여백 */
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    max-width: 550px !important; /* 작성창에 딱 맞는 아담하고 세련된 규격 */
    background-color: #ffffff !important;
    border: 1px solid #0078d7 !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35) !important; /* 아래 리스트와 입체적으로 분리되는 깊은 그림자 */
    border-radius: 6px !important;
    overflow: hidden !important;
    z-index: 9999 !important; /* 리스트를 덮고 최상위 레이어로 격상 */
}

.mail-window-header[b-fa8yvien5p] {
    background-color: #0078d7 !important;
    color: white !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-weight: bold !important;
}

.mail-window-body[b-fa8yvien5p] {
    padding: 25px !important;
    background-color: #ffffff !important;
}

.close-btn[b-fa8yvien5p] {
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 18px !important;
    cursor: pointer !important;
}

    .close-btn:hover[b-fa8yvien5p] {
        color: #ff3b30 !important;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-mi16qoej65],
.components-reconnect-repeated-attempt-visible[b-mi16qoej65],
.components-reconnect-failed-visible[b-mi16qoej65],
.components-pause-visible[b-mi16qoej65],
.components-resume-failed-visible[b-mi16qoej65],
.components-rejoining-animation[b-mi16qoej65] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-mi16qoej65],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-mi16qoej65],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-mi16qoej65],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-mi16qoej65],
#components-reconnect-modal.components-reconnect-retrying[b-mi16qoej65],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-mi16qoej65],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-mi16qoej65],
#components-reconnect-modal.components-reconnect-failed[b-mi16qoej65],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-mi16qoej65] {
    display: block;
}


#components-reconnect-modal[b-mi16qoej65] {
    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-mi16qoej65 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-mi16qoej65 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-mi16qoej65 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-mi16qoej65]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-mi16qoej65 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-mi16qoej65 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-mi16qoej65 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-mi16qoej65 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-mi16qoej65] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-mi16qoej65] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-mi16qoej65] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-mi16qoej65] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-mi16qoej65] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-mi16qoej65] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-mi16qoej65] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-mi16qoej65 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-mi16qoej65] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-mi16qoej65 {
    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/Login.razor.rz.scp.css */
/* ----------------==========================================================
   ktds 프리미엄 플루언트 라이트(Light) 아키텍처 디자인 (흑색 완전 박멸)
   ----------------========================================================== */

.login-wrapper[b-364p8yzc68] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 120px);
    padding: 40px;
    box-sizing: border-box;
    background-color: #ffffff !important; /* 🎯 흑색 배경 원천 차단! 무조건 순백색 고정 */
}

/* 🔓 윈도우 11 플루언트 라이트 소프트 카드 */
.win-card[b-364p8yzc68] {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border: 1px solid #e2e8f0; /* 아주 부드럽고 가느다란 그레이 경계선 */
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05); /* 투박한 그림자를 제거한 은은한 음영 */
    padding: 40px !important;
}

    .win-card h4[b-364p8yzc68] {
        font-size: 22px;
        font-weight: 700;
        color: #0f172a; /* 고급스러운 흑청색 폰트 */
        letter-spacing: -0.5px;
        margin-bottom: 4px;
    }

.text-muted.small[b-364p8yzc68] {
    color: #64748b !important;
    font-size: 13px;
}

/* 폼 레이블 정교화 */
.form-label[b-364p8yzc68] {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
}

/* 🎯 조잡한 보더를 파괴한 미니멀 화이트 인풋 */
.form-control[b-364p8yzc68], .form-select[b-364p8yzc68] {
    background-color: #f8fafc !important; /* 부드러운 소프트 그레이 배경 */
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    transition: all 0.2s ease;
}

    .form-control:focus[b-364p8yzc68], .form-select:focus[b-364p8yzc68] {
        background-color: #ffffff !important;
        border-color: #0078d7 !important;
        box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.15) !important;
        outline: none !important;
    }

/* 🚀 정품 윈도우 스타일 포인트 블루 버튼 */
.btn-primary[b-364p8yzc68] {
    background-color: #0078d7 !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    padding: 11px !important;
    font-size: 14px !important;
    box-shadow: 0 4px 14px rgba(0, 120, 215, 0.2) !important;
    transition: all 0.2s ease !important;
}

    .btn-primary:hover[b-364p8yzc68] {
        background-color: #006cc2 !important;
        box-shadow: 0 6px 20px rgba(0, 120, 215, 0.35) !important;
    }

/* 신규 신청 링크 촌티 제거 */
.btn-link.text-success[b-364p8yzc68] {
    color: #16a34a !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
}

    .btn-link.text-success:hover[b-364p8yzc68] {
        color: #15803d !important;
        text-decoration: underline !important;
    }

/* 🛡️ 최고관리자 관제소 프리미엄 라이트 대시보드 */
.admin-panel[b-364p8yzc68] {
    width: 100%;
    max-width: 1040px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

    .admin-panel .card-header[b-364p8yzc68] {
        background-color: #f8fafc !important;
        border-bottom: 1px solid #e2e8f0 !important;
        padding: 18px 24px !important;
    }

        .admin-panel .card-header h5[b-364p8yzc68] {
            color: #0f172a !important;
            font-size: 15px;
            font-weight: 700;
            letter-spacing: -0.3px;
        }

/* 테이블 그리드 라이트 인테리어 디자인 */
.table[b-364p8yzc68] {
    background-color: #ffffff !important;
    color: #334155 !important;
    margin-bottom: 0 !important;
}

    .table thead th[b-364p8yzc68] {
        background-color: #f1f5f9 !important;
        color: #475569 !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        letter-spacing: 0.5px;
        padding: 14px 24px !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .table tbody tr[b-364p8yzc68] {
        border-bottom: 1px solid #f1f5f9;
        transition: background-color 0.15s ease;
    }

        .table tbody tr:hover[b-364p8yzc68] {
            background-color: #f8fafc !important; /* 마우스 올렸을 때만 은은한 하이라이트 */
        }

    .table tbody td[b-364p8yzc68] {
        padding: 16px 24px !important;
        font-size: 13.5px;
        color: #334155;
    }

/* 🎯 파스텔톤 클린 뱃지 체계 (원색 촌티 박멸) */
.badge[b-364p8yzc68] {
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
}

.bg-success[b-364p8yzc68] {
    background-color: #dcfce7 !important;
    color: #15803d !important;
    border: 1px solid #bbf7d0 !important;
}

.bg-warning[b-364p8yzc68] {
    background-color: #fef9c3 !important;
    color: #a16207 !important;
    border: 1px solid #fef08a !important;
}

.bg-secondary[b-364p8yzc68] {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
}

/* 승인 / 거절 버튼 디자인 보정 */
.admin-panel .btn-success[b-364p8yzc68] {
    background-color: #16a34a !important;
    border: none !important;
    font-weight: 600;
}

.admin-panel .btn-outline-danger[b-364p8yzc68] {
    color: #dc2626 !important;
    border: 1px solid #fca5a5 !important;
    background-color: #ffffff !important;
}

    .admin-panel .btn-outline-danger:hover[b-364p8yzc68] {
        background-color: #fef2f2 !important;
        border-color: #dc2626 !important;
    }
/* /Components/Shared/ReceiveMail.razor.rz.scp.css */
/* 🎯 [신규 추가] 첨부파일 다운로드 존 세련된 윈도우 스타일링 */
.mail-attachments-download-zone[b-xvuxns3lp8] {
    border-top: 2px dashed #e2e8f0;
    padding-top: 14px;
    margin-top: 16px;
}

.attachment-zone-title[b-xvuxns3lp8] {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.attachment-download-list[b-xvuxns3lp8] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 개별 파일 다운로드 행 버튼 양식 */
.download-file-row[b-xvuxns3lp8] {
    display: flex;
    align-items: center;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

    /* 마우스 올리면 정품 소프트웨어 느낌의 하이라이트 블루 변환 */
    .download-file-row:hover[b-xvuxns3lp8] {
        background-color: #f0f7ff;
        border-color: #0078d7;
    }

.download-icon[b-xvuxns3lp8] {
    font-size: 14px;
    margin-right: 10px;
}

.download-file-name[b-xvuxns3lp8] {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 75%;
}

.download-file-row:hover .download-file-name[b-xvuxns3lp8] {
    color: #0078d7;
    text-decoration: underline; /* 글씨에 밑줄 강조 */
}

.download-file-size[b-xvuxns3lp8] {
    font-size: 12px;
    color: #94a3b8;
    margin-left: 8px;
}
/* /Components/Shared/SendMail.razor.rz.scp.css */
/* 메일 작성창 전체 박스 (화이트 모던 인터페이스) */
.mail-form-container[b-bji39b7fa8] {
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.mail-form-header-title[b-bji39b7fa8] {
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

    .mail-form-header-title h5[b-bji39b7fa8] {
        font-size: 16px;
        font-weight: 700;
        color: #0f172a;
        margin: 0 0 4px 0;
    }

.mail-form-subtitle[b-bji39b7fa8] {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

.mail-form-body-content[b-bji39b7fa8] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mail-form-group[b-bji39b7fa8] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mail-form-label[b-bji39b7fa8] {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

/* 소프트 그레이 모던 인풋 */
.win-input-field[b-bji39b7fa8], .win-textarea-field[b-bji39b7fa8] {
    background-color: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    padding: 10px 12px;
    font-size: 13.5px;
    border-radius: 6px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

    .win-input-field:focus[b-bji39b7fa8], .win-textarea-field:focus[b-bji39b7fa8] {
        background-color: #ffffff;
        border-color: #0078d7;
        box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.12);
    }

.win-textarea-field[b-bji39b7fa8] {
    resize: none;
}

/* 🎯 [복원] 군더더기 없이 단 하나만 연동되는 미니멀한 파일 인풋 인터페이스 */
.win-clean-file-btn[b-bji39b7fa8] {
    font-size: 13px;
    color: #475569;
}

/* 첨부된 파일 리스트 투명 패널 */
.attached-files-list[b-bji39b7fa8] {
    margin-top: 8px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.file-item[b-bji39b7fa8] {
    display: flex;
    align-items: center;
    font-size: 12.5px;
    color: #334155;
}

.file-name[b-bji39b7fa8] {
    font-weight: 500;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 70%;
}

.file-size[b-bji39b7fa8] {
    color: #94a3b8;
    margin-left: 6px;
}

.file-remove-btn[b-bji39b7fa8] {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 15px;
    cursor: pointer;
    margin-left: auto;
    line-height: 1;
}

    .file-remove-btn:hover[b-bji39b7fa8] {
        color: #ef4444;
    }

/* 우측 하단 배치 발송 버튼 */
.mail-form-actions[b-bji39b7fa8] {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.win-btn-submit-action[b-bji39b7fa8] {
    background-color: #0078d7;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 120, 215, 0.15);
}

    .win-btn-submit-action:hover:not(:disabled)[b-bji39b7fa8] {
        background-color: #006cc2;
    }

    .win-btn-submit-action:disabled[b-bji39b7fa8] {
        background-color: #cbd5e1;
        color: #94a3b8;
        cursor: not-allowed;
        box-shadow: none;
    }

/* 파스텔 상태창 */
.mail-status-alert[b-bji39b7fa8] {
    padding: 12px;
    font-size: 12.5px;
    border-radius: 6px;
    margin-top: 10px;
    font-weight: 500;
}

    .mail-status-alert.success-mode[b-bji39b7fa8] {
        background-color: #dcfce7;
        color: #15803d;
        border: 1px solid #bbf7d0;
    }

    .mail-status-alert.error-mode[b-bji39b7fa8] {
        background-color: #fef2f2;
        color: #dc2626;
        border: 1px solid #fca5a5;
    }
