/* 웹 전체 통일 폰트: Pretendard (앱(musagomanagertv2)과 동일한 폰트 파일 사용) */

@font-face {
    font-family: 'Pretendard';
    font-weight: 100;
    font-style: normal;
    src: url('../fonts/pretendard/pretendard_thin.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 200;
    font-style: normal;
    src: url('../fonts/pretendard/pretendard_extralight.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    font-style: normal;
    src: url('../fonts/pretendard/pretendard_light.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/pretendard/pretendard_regular.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-style: normal;
    src: url('../fonts/pretendard/pretendard_medium.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-style: normal;
    src: url('../fonts/pretendard/pretendard_semibold.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-style: normal;
    src: url('../fonts/pretendard/pretendard_bold.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    font-style: normal;
    src: url('../fonts/pretendard/pretendard_extrabold.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    font-style: normal;
    src: url('../fonts/pretendard/pretendard_black.ttf') format('truetype');
    font-display: swap;
}

/* 기존 코드 전체(js/css/html)에서 NanumSquare*, Noto Sans KR, Inter로 지정된 font-family를
   하나하나 고치지 않고도 같은 이름으로 Pretendard 글자가 그려지도록, 같은 family 이름에
   Pretendard 파일을 다시 매핑한다. (이 스타일시트가 항상 </head> 바로 앞에 마지막으로
   로드되므로, 같은 family/weight 조합에서는 이 정의가 기존 외부 CDN 정의를 덮어쓴다) */
@font-face {
    font-family: 'NanumSquareRegular';
    src: url('../fonts/pretendard/pretendard_regular.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'NanumSquareRegula';
    src: url('../fonts/pretendard/pretendard_regular.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'NanumSquareR';
    src: url('../fonts/pretendard/pretendard_regular.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'NanumSquare';
    src: url('../fonts/pretendard/pretendard_regular.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'NanumSquareLight';
    src: url('../fonts/pretendard/pretendard_light.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'NanumSquareBold';
    src: url('../fonts/pretendard/pretendard_bold.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'NanumSquareExtraBold';
    src: url('../fonts/pretendard/pretendard_extrabold.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Noto Sans KR';
    font-weight: 400;
    src: url('../fonts/pretendard/pretendard_regular.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Noto Sans KR';
    font-weight: 500;
    src: url('../fonts/pretendard/pretendard_medium.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Noto Sans KR';
    font-weight: 700;
    src: url('../fonts/pretendard/pretendard_bold.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    font-weight: 300;
    src: url('../fonts/pretendard/pretendard_light.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    font-weight: 400;
    src: url('../fonts/pretendard/pretendard_regular.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    font-weight: 500;
    src: url('../fonts/pretendard/pretendard_medium.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    font-weight: 600;
    src: url('../fonts/pretendard/pretendard_semibold.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    font-weight: 700;
    src: url('../fonts/pretendard/pretendard_bold.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    font-weight: 800;
    src: url('../fonts/pretendard/pretendard_extrabold.ttf') format('truetype');
    font-display: swap;
}

html, body {
    font-family: 'Pretendard';
}

/* _가로 도넛 카드 가운데 합계 숫자: 글자 사이 간격을 넓게 줘서 작은 폰트에서도 또렷하게 보이도록 한다 */
.apexcharts-datalabel-value {
    letter-spacing: 5px;
}

/* 대시보드 카드 타이틀("근로자 현황" 등)은 font-family를 직접 명시해
   별칭 매핑과 무관하게 항상 Pretendard로 렌더링되도록 강제한다 */
.dsbd-card-header-custom,
.dsbd-card-header-custom *,
.nanum-bold_title_d,
.nanum-bold_title_d *,
.card-header,
.card-header * {
    font-family: 'Pretendard' !important;
}

/* 대시보드 카드 타이틀 폰트 사이즈/굵기 통일 */
.dsbd-card-header-custom.nanum-bold_title_d {
    font-size: 16px !important;
    font-weight: 600 !important;
}
