/*
 * 로컬 폰트 정의 (폐쇄망 대비 — CDN 제거).
 * woff2 파일은 ../fonts/ 에 vendoring. 패밀리 이름은 기존 참조와 일치시킴:
 *  - 'Pretendard Variable' : MudBlazor 테마 Typography.FontFamily (ISecureXTheme)
 *  - 'JetBrains Mono'       : 그리드/IP 표시 inline font-family
 *  - 'Material Icons'       : Dock 컴포넌트의 .material-icons 클래스
 */

/* ── Pretendard Variable (한글 본문) ── */
@font-face {
    font-family: 'Pretendard Variable';
    font-weight: 45 920;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/PretendardVariable.woff2') format('woff2');
}

/* ── JetBrains Mono (모노스페이스 — IP/코드) ── */
@font-face {
    font-family: 'JetBrains Mono';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/jetbrains-mono-400.woff2') format('woff2');
}
@font-face {
    font-family: 'JetBrains Mono';
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/jetbrains-mono-600.woff2') format('woff2');
}
@font-face {
    font-family: 'JetBrains Mono';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/jetbrains-mono-700.woff2') format('woff2');
}

/* ── Material Icons (Dock 아이콘) ── */
@font-face {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-display: block;
    src: url('../fonts/material-icons.woff2') format('woff2');
}
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
}

/* 비-MudBlazor HTML 요소도 동일 한글 폰트 사용 */
body {
    font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont,
        'Segoe UI', 'Malgun Gothic', 'Apple SD Gothic Neo', system-ui, sans-serif;
}
