@charset "UTF-8";

/*!
 * FONT PATH: Paperlogy (페이퍼로지 폰트 - 굵기 상향 및 아이콘 깨짐 방어)
 * -------------------------- */

/* 1. 본문용 1단계 굵은(Regular) 폰트 */
@font-face {
    font-family: 'Paperlogy';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2');
}

/* 2. 제목/강조용 1단계 굵은(SemiBold) 폰트 */
@font-face {
    font-family: 'Paperlogy';
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2');
}

/* 3. 전체 레이아웃 폰트 적용 (폰트어썸, XEIcon 관련 클래스 철저히 예외 처리) */
body, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, address, cite, code, del, dfn, ins, q, samp, small, strike, strong, sub, sup, b, u, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, input, select, textarea, button, .xe_content,
div:not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.xi):not([class^="xi-"]):not([class^="fa-"]),
span:not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.xi):not([class^="xi-"]):not([class^="fa-"]) {
    font-family: 'Paperlogy', 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif !important;
}

/* 4. 본문 두께 400 (Regular) 고정 */
body, p, span, div, td, li, a, input, textarea {
    font-weight: 400 !important;
}

/* 5. 제목 및 강조 요소 두께 600 (SemiBold) 고정 */
h1, h2, h3, h4, h5, h6, strong, b, th {
    font-weight: 600 !important;
}

/* 6. 전체 폰트 크기 및 줄간격 확장 유지 */
body, table, input, select, textarea, button, .xe_content, p, li, td, div {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

/* 8. 날짜 입력 필드 가로 폭 대폭 확장 (폰트 크기 증가 보정) */
input.inputDate, 
input.date, 
input.date_picker, 
input[type="date"] {
    width: 180px !important;       /* 기존 135px에서 180px로 대폭 확장 */
    min-width: 180px !important;   /* 브라우저 축소 시에도 180px 방어 */
    padding-left: 10px !important; /* 우측 달력 아이콘 겹침 방지 여백 추가 */
}

/* 9. 관리자 테이블 아이콘 겹침 방지 (프론트엔드 완벽 격리 및 최종 복구) */

/* 관리자 화면(.x)의 테이블만 선택하여 고정폭 해제 */
.x .x_table {
    table-layout: auto !important; 
}

/* 다른 칸이 늘어나는 버그 방지 -> 오직 관리자 테이블의 '진짜 마지막 칸'만 넓힘 */
.x .x_table th:last-child,
.x .x_table td:last-child {
    width: auto !important; 
    min-width: 170px !important;    
    white-space: nowrap !important;
    word-break: keep-all !important;
}

/* 관리자 테이블의 마지막 칸 안에 있는 아이콘들만 정상 부활 */
.x .x_table td:last-child [class^="x_icon-"],
.x .x_table td:last-child [class*=" x_icon-"] {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    font-size: 14px !important;      
    text-indent: 0 !important;       
    margin: 0 4px !important;        
    padding: 2px 4px !important;         
    line-height: 1.5 !important;
    background-color: transparent !important;
    border: 0 !important;
    vertical-align: middle !important;
    overflow: visible !important;
}