/* Pretendard 9 weights — projectnoonnu CDN */
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

/* ==== 전체 적용 — Skote 디폴트 폰트 덮어쓰기 ==== */
:root {
    --el-font: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui,
               'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

html, body, button, input, select, textarea, .btn, .form-control,
.dropdown-menu, .navbar, .card, .modal, table, .badge, .alert,
.nav-link, .nav-item, .breadcrumb, .pagination, .toast, .tooltip,
.popover, h1, h2, h3, h4, h5, h6 {
    font-family: var(--el-font) !important;
}

body {
    font-weight: 400;             /* Regular */
    letter-spacing: -0.01em;
}

/* 굵기 위계 — 한글에서 일반적으로 잘 읽히는 weight 매핑 */
.font-weight-bold,    b, strong            { font-weight: 700 !important; }   /* Bold */
.font-weight-semibold                       { font-weight: 600 !important; }   /* SemiBold */
.font-weight-medium                         { font-weight: 500 !important; }   /* Medium */
.font-weight-light                          { font-weight: 300 !important; }   /* Light */

/* 헤딩 — Pretendard 는 700 으로 충분, 너무 두껍지 않게 */
h1, .h1 { font-weight: 700; letter-spacing: -0.02em; }
h2, .h2 { font-weight: 700; letter-spacing: -0.02em; }
h3, .h3 { font-weight: 600; letter-spacing: -0.015em; }
h4, .h4 { font-weight: 600; letter-spacing: -0.015em; }
h5, .h5 { font-weight: 600; letter-spacing: -0.01em; }
h6, .h6 { font-weight: 600; letter-spacing: -0.01em; }

/* 사이드바 메뉴는 Medium — 400 보다 또렷 */
#sidebar-menu ul li a { font-weight: 500 !important; }
#sidebar-menu ul li.menu-title { font-weight: 700 !important; letter-spacing: 0.02em; }

/* 카드 헤더 / 페이지 타이틀 — SemiBold */
.card-title, .page-title-box h4 { font-weight: 600 !important; }

/* 대시보드 큰 숫자 */
.stat-number, .h2.font-weight-medium, .stats-number { font-weight: 700 !important; }

/* 테이블 헤더 — SemiBold (가독성) */
.table thead th { font-weight: 600 !important; }

/* 버튼 — Medium 으로 또렷하게 */
.btn { font-weight: 500; }

/* 칸반 카드 */
.task-box .task-title { font-weight: 600; }

/* 폼 라벨 — Medium */
label, .col-form-label { font-weight: 500; }
