* {
    box-sizing: border-box;
}

body {
	font-family: 'Noto Sans KR', sans-serif;
	/* font-family: 'Malgun Gothic', sans-serif; */
}

/* 모든 요소와 가상 요소가 부모의 폰트를 상속받도록 함 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, 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 {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: inherit;
    color: inherit;
}

.sidebar .nav .nav-item .nav-link span.menu-title {
    font-size: inherit;
}

/* --- pagination.js 페이지네이션 컴포넌트용 파일 스타일 --- */
.pagination-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.pagination-container a {
    text-decoration: none;
    color: #333;
    padding: 0.6em 0.7em;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background-color 0.2s;
    user-select: none;
    font-size: 1em;
}
.pagination-container a:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #333;
}
.pagination-container a.current {
    background-color: #333;
    color: white;
    border-color: #333;
    font-weight: bold;
}
.pagination-container a.disabled {
    color: #ccc;
    pointer-events: none; /* 클릭 안되게 설정 */
}

@media screen and (max-width: 400px) {
	.pagination-container a:nth-child(2),
    .pagination-container a:nth-last-child(2) {
        display: none;
    }
}


/* 보여주지 않을 요소들 */
.is-hidden {
    display: none !important;
}

button {
	user-select: none;
	background-color: #666;
	color: white;
    cursor: pointer;
    transition: all 0.2s;
}

/* 옅은 회색 = #ddd, background-color: #f5f5f5; */

.btn_submit {
	background-color: #4787c7;
}
.btn_submit:hover {
	background-color: #2e5d8b;;
}
.btn_modify {
    background-color: #3aa673;
}
.btn_modify:hover {
    background-color: #2f8c60;
}
.btn_delete {
    background-color: #d65a5a;
}
.btn_delete:hover {
    background-color: #bf4949;
}
.btn_list, .btn_cancel {
	background-color: #6c757d;
}
.btn_list:hover, .btn_cancel:hover {
	background-color: #4e555b;
}


/* [접근성] 스킵 내비게이션 스타일 */
#skip-nav a {
    position: absolute;
    top: -9999px; /* 평소에는 화면 밖으로 숨김 */
    left: 0;
    width: 100%;
    z-index: 9999; /* 다른 요소보다 위에 오도록 */
    text-align: center;
    background: #000; /* 배경색 (잘 보이게) */
    color: #fff;       /* 글자색 */
    padding: 10px 0;
    font-weight: bold;
    text-decoration: none;
}

/* Tab키를 눌러서 포커스가 잡히면 화면 안으로 들어옴 */
#skip-nav a:focus, 
#skip-nav a:active {
    top: 0; 
}