@charset "utf-8";
/* 모던 스타일로 개편된 게시판 (Board) CSS 전체 코드 */

.board img { border: 0; }
.board, .board label, .board table, .board input, .board button, .board textarea, .board select {
	font-size: 15px; 
	font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif !important;
	color: #334155;
	line-height: 1.6;
}
.board select { margin: 0; padding: 6px 10px; border: 1px solid #cbd5e1; border-radius: 6px; }
.board .iCheck { width: 16px; height: 16px; margin: 0; vertical-align: middle; accent-color: #1d4ed8; }
.board .iCheck+label { vertical-align: middle; }
.board .iText {
	position: relative; padding: 8px 12px; height: 36px; line-height: 20px;
	border: 1px solid #cbd5e1; border-radius: 6px; background: #ffffff;
	box-sizing: border-box; transition: all 0.2s ease;
}
.board .iText:focus { border-color: #3b82f6; outline: none; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); }
.board textarea {
	margin: 0; padding: 10px; border: 1px solid #cbd5e1; border-radius: 6px;
}
.board label { display: inline-block; margin: 0; }

/* Category Tab (카테고리 탭 디자인 모던화) */
.cTab {
	position: relative; margin: 0 0 20px 0; padding: 0; list-style: none; border: 0; display: flex; flex-wrap: wrap; gap: 8px;
}
.cTab:after { content: ""; display: block; clear: both; }
.cTab li { float: left; margin: 0; border: none; }
.cTab li a {
	position: relative; display: block; height: auto; line-height: normal;
	padding: 8px 16px; font-size: 15px; font-weight: 500; text-decoration: none;
	color: #64748b; background: #f8fafc; border-radius: 20px; border: 1px solid #e2e8f0;
	transition: all .2s ease-in-out;
}
.cTab li em { font-style: normal; color: #94a3b8; padding: 0 0 0 4px; font-size: 13px; }
.cTab li:hover a { color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; }
.cTab li.on a { color: #ffffff; background: #1d4ed8; border-color: #1d4ed8; font-weight: 700; }
.cTab li.on em { color: #bfdbfe; }
.cTab ul { display: none; } 

/* Board List (목록 테이블) */
.board_list table { border: 0; border-top: 2px solid #94a3b8; border-bottom: 1px solid #e2e8f0; color: #334155; }
.board_list a { text-decoration: none; color: #334155; transition: color 0.2s; }
.board_list a:hover, .board_list a:active, .board_list a:focus { color: #1d4ed8; }
.board_list th {
	border: 0; border-bottom: 1px solid #cbd5e1; background: #f8fafc;
	padding: 15px 10px; height: auto; white-space: nowrap; color: #475569; font-weight: 600;
}
.board_list th span { display: block; padding: 0; font-weight: 600; }
.board_list tr.notice { background: #f1f5f9; }
.board_list tr.notice td.title a { font-weight: 700; color: #0f172a; }
.board_list td {
	border: 0; border-bottom: 1px solid #f1f5f9; padding: 12px 10px;
	white-space: nowrap; vertical-align: middle; transition: background 0.2s;
}
.board_list tbody tr:hover td { background: #f8fafc; }
.board_list tr:last-child td { border-bottom: 0; }
.board_list td.notice { text-align: center; font-weight: 700; color: #1d4ed8; }
.board_list td.no { text-align: center; font-size: 14px; color: #64748b; }
.board_list td.title { white-space: normal; line-height: 1.6; width: 100%; font-size: 15px; }
.board_list td.author img { position: relative; top: -1px; border-radius: 4px; }
.board_list td.time, .board_list td.readNum, .board_list td.voteNum {
	text-align: center; font-size: 14px; color: #64748b;
}
.board_list td.lastReply a { text-align: center; font-size: 14px; color: #64748b; }
.board_list td.lastReply sub { font-size: 11px; }
.board_list td.check { text-align: center; }
.board_list tr.no_article { height: 150px; }
.board_list tr.no_article td { vertical-align: middle; color: #94a3b8; font-size: 15px; }

/* List Footer & Search (하단 버튼 및 검색창) */
.list_footer { 
    position: relative; margin: 20px 0; 
    display: flex; justify-content: space-between; align-items: center; 
    flex-wrap: wrap; gap: 15px; 
}
.list_footer:after { content: ""; display: block; clear: both; }
.list_footer .btnArea { margin: 0; display: flex; gap: 5px; }
.list_footer .board_search { 
    position: relative; margin: 0; display: flex; gap: 5px; align-items: center;
}
.list_footer .board_search .search_input { position: relative; display: inline-block; }
.list_footer .board_search .xi-magnifier { 
    position: absolute; top: 50%; left: 12px; transform: translateY(-50%); 
    color: #94a3b8; font-size: 16px; z-index: 2; 
}
.list_footer .board_search * { vertical-align: middle; }
.list_footer .board_search .iText {
    height: 38px; line-height: 20px; padding: 0 15px 0 35px; width: 180px;
    border: 1px solid #cbd5e1; border-radius: 6px; box-sizing: border-box; 
    transition: all .2s ease-in-out; font-size: 14px;
}
.list_footer .board_search .iText:focus { width: 220px; border-color: #3b82f6; outline: none; }
.list_footer .board_search select { 
    height: 38px; min-width: 100px; border-radius: 6px; border: 1px solid #cbd5e1; 
    color: #475569; font-size: 14px; padding: 0 10px; background: #ffffff;
}
.list_footer .board_search .btn { height: 38px; line-height: 36px; padding: 0 15px; border-radius: 6px; }
.update-log { width: 100%; border-bottom: 1px solid #e2e8f0; margin: 5px auto; padding: 10px; color: #64748b; }

/* Board Write (글쓰기 화면) */
.write_header { padding: 15px 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.write_header select { border: 1px solid #cbd5e1; height: 38px; width: auto; min-width: 140px; border-radius: 6px; }
.write_header select[name=is_notice] { width: 100px; }
.write_header .iText { flex: 1; min-width: 300px; height: 38px; margin: 0; }
.write_editor .xd { margin-top: 10px; border-radius: 6px; overflow: hidden; border: 1px solid #cbd5e1; }
.write_footer { overflow: hidden; margin: 20px 0; display: flex; justify-content: space-between; align-items: center; }
.write_footer .btnArea { margin: 0; }
.write_option { margin: 0; display: flex; gap: 15px; }
.write_option label { margin: 0; font-size: 14px; color: #475569; }
.write_captcha { float: left; margin: 0; }

/* Extra Form */
.exForm, .exOut { background: #ffffff; padding: 15px 0; }
.exForm table, .exOut table { border: 0; width: 100%; }
.exForm th, .exForm td, .exOut th, .exOut td { border: 0; vertical-align: top; border-bottom: 1px solid #f1f5f9; padding: 12px 10px; }
.exForm th, .exOut th { color: #0f172a; text-align: left; font-weight: 600; white-space: nowrap; width: 150px; }
.exForm td, .exOut td { color: #475569; }
.exForm em { font-style: normal; color: #ef4444; }

/* Board Read (본문 읽기) */
.read_header { position: relative; margin-bottom: 25px; border-bottom: 2px solid #e2e8f0; padding-bottom: 15px; }
.read_header h1 { width: 100%; margin: 0 0 10px 0; font-size: 26px; font-weight: 700; line-height: 1.4; word-break: break-all; white-space: normal; }
.read_header h1 a { text-decoration: none; color: #0f172a !important; }
.read_header h1 a:visited { color: #0f172a !important; }
.read_header h1 a:hover { color: #1d4ed8 !important; }
.read_header h1 span.is_admin { font-size: 15px; font-weight: bold; color: #ef4444; vertical-align: middle; margin-left: 10px; }
.read_header h1 .category { font-weight: 600; color: #1d4ed8; padding: 0 15px 0 0; margin: 0 10px 0 0; border-right: 2px solid #cbd5e1; }
.read_header .meta { margin: 0; padding: 0; white-space: nowrap; color: #64748b; font-size: 14px; }
.read_header .meta > span { margin-left: 12px; }
.read_header .meta > span:first-child { margin-left: 0; }
.read_header .meta .author { text-decoration: none; color: #334155; font-weight: 600; }
.read_body { padding: 20px 5px; min-height: 200px; }
.read_body .xe_content { color: #334155; font-size: 16px; line-height: 1.8; }
.read_body .xe_content a { color: #2563eb; text-decoration: none; border-bottom: 1px solid transparent; transition: all 0.2s; }
.read_body .xe_content a:hover { color: #1d4ed8; border-bottom: 1px solid #1d4ed8; }
.read_footer { overflow: hidden; border-top: 1px solid #f1f5f9; padding-top: 15px; }
.read_footer .fileList { margin: 15px 0; display: inline; float: left; }
.read_footer .toggleFile { border: 0; background: #f1f5f9; padding: 6px 12px; border-radius: 6px; cursor: pointer; color: #475569; font-size: 14px; font-weight: 500; }
.read_footer .files { display: none; list-style: none; margin: 10px 0; padding: 15px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; }
.read_footer .files li { padding: 4px 0 4px 20px; font-size: 14px; }
.read_footer .files a { color: #1d4ed8; text-decoration: none; font-weight: 500; }
.read_footer .tns { float: right; margin: 15px 0; font-size: 14px; }
.read_footer .tns a { color: #64748b; text-decoration: none; }
.read_footer .tags { display: inline-block; font-size: 14px; color: #64748b; padding: 0 15px 0 0; }
.read_footer .tags a { color: #1d4ed8; margin: 0 4px; }
.read_footer .action { display: inline-block; font-size: 14px; margin: 0 15px 0 0; color: #64748b; }

/* SNS 및 추천(Vote) 박스 */
.read_footer .sns, .read_footer .vote { margin-top: 40px; text-align: center; padding: 0; list-style: none; }
.read_footer .sns li, .read_footer .vote li { display: inline-block; margin: 0 5px; vertical-align: top; }
.read_footer .sns a, .read_footer .vote a {
	display: inline-flex; justify-content: center; align-items: center; flex-direction: column;
	border: 1px solid #cbd5e1; background-color: #ffffff; color: #64748b; transition: all 0.2s; text-decoration: none; box-sizing: border-box;
}
.read_footer .sns a { width: 48px; height: 48px; border-radius: 50%; }
.read_footer .sns i { font-size: 24px; line-height: 1; }
.read_footer .vote a { width: 80px; height: 80px; border-radius: 12px; padding: 10px; }
.read_footer .vote i { font-size: 28px; line-height: 1; margin-bottom: 5px; display: block; }
.read_footer .sns a:hover, .read_footer .vote a:hover { border-color: #1d4ed8; background-color: #eff6ff; color: #1d4ed8; }

.read_footer .sign { clear: both; border: 1px solid #e2e8f0; background: #f8fafc; border-radius: 8px; margin: 20px 0; padding: 15px; overflow: hidden; display: flex; align-items: center; }
.read_footer .sign .pf { margin: 0 15px 0 0; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; }
.read_footer .sign .tx { line-height: 1.5; font-size: 14px; color: #475569; }
.read_footer .btnArea { clear: both; text-align: right; padding: 20px 0; border-top: 1px solid #e2e8f0; }

/* Feedback (Comments - 댓글) */
.feedback { position: relative; color: #334155; margin: 30px 0; }
.feedback .fbHeader { position: relative; padding: 15px 0; border-top: 2px solid #94a3b8; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; }
.feedback .fbHeader h2 { margin: 0; font-size: 18px; font-weight: 700; color: #0f172a; }
.feedback .fbHeader h2 em { font-style: normal; color: #1d4ed8; }
.feedback .fbList { margin: 0; padding: 0; }
.feedback .fbItem { padding: 20px 0; border-bottom: 1px solid #f1f5f9; list-style: none; }
.feedback .fbItem:last-child { border-bottom: none; }
.feedback .fbItem:after { content: ""; display: block; clear: both; }
.feedback .fbMeta { float: left; width: 180px; }
.feedback .fbMeta .profile { float: left; width: 42px; height: 42px; margin: 0 12px 0 0; border-radius: 50%; background-color: #e2e8f0; background-size: cover; }
.feedback .fbMeta .author { margin: 0 0 4px 0; font-size: 15px; font-weight: 600; color: #0f172a; }
.feedback .author a { text-decoration: none; color: #0f172a; }
.feedback .time { margin: 0; font-size: 13px; color: #94a3b8; }
.feedback .xe_content { margin: 0 0 0 200px; color: #334155; line-height: 1.6; font-size: 15px; }
.feedback .xe_content.is_deleted { color: #ef4444; }
.feedback .action { margin: 15px 0 0 200px; white-space: nowrap; }
.feedback .action a { padding: 6px 12px; background: #f1f5f9; border-radius: 4px; color: #475569; text-decoration: none; font-size: 13px; font-weight: 500; margin-right: 5px; transition: all 0.2s; }
.feedback .action a:hover { background: #1d4ed8; color: #ffffff; }

/* Pagination (하단 페이지 번호 - 가운데 정렬) */
.pagination { 
    margin: 40px 0 20px 0; width: 100%; text-align: center; clear: both; 
    display: flex; justify-content: center; align-items: center; gap: 5px; flex-wrap: wrap; 
}
.pagination a, .pagination strong {
	position: relative; display: inline-flex; justify-content: center; align-items: center;
	min-width: 36px; height: 36px; padding: 0 10px; font-size: 15px; font-weight: 500;
	text-decoration: none; color: #475569; background: #ffffff; border: 1px solid #cbd5e1;
	border-radius: 6px; box-sizing: border-box; transition: all 0.2s ease;
}
.pagination a:hover { background: #f8fafc; color: #1d4ed8; border-color: #94a3b8; }
.pagination strong { color: #ffffff; background: #1d4ed8; border-color: #1d4ed8; font-weight: 700; }
.pagination .direction { border: none; background: transparent; color: #64748b; }
.pagination .direction:hover { background: #f1f5f9; color: #1e293b; border: none; }

/* Write Comment Form */
.write_comment { position: relative; margin: 20px 0; padding: 20px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; }
.write_comment textarea { width: 100%; height: 80px; margin: 0 0 10px 0; padding: 12px; border-radius: 6px; border: 1px solid #cbd5e1; box-sizing: border-box; font-size: 15px; resize: vertical; }
.write_comment .write_author { padding: 0 0 15px 0; display: flex; gap: 10px; }
.write_comment .iText { height: 38px; border-radius: 6px; border: 1px solid #cbd5e1; padding: 0 12px; }

/* Button (버튼 디자인 일괄 개편) */
.board .btn {
	display: inline-flex; justify-content: center; align-items: center;
	padding: 0 16px !important; margin: 0; font-family: inherit; font-size: 14px; font-weight: 600;
	height: 38px !important; line-height: normal !important;
	color: #475569; background-color: #ffffff; border: 1px solid #cbd5e1;
	border-radius: 6px; cursor: pointer; transition: all .2s ease; text-decoration: none !important;
}
.board .btn:hover { color: #ffffff; background-color: #334155; border-color: #334155; }
.board .btn i { margin-right: 6px; font-size: 16px; color: inherit; background: none; width: auto; height: auto; padding: 0; }
.board .btn_insert {
	font-size: 15px; font-weight: 700; border: 0; cursor: pointer;
	padding: 0 24px; height: 42px; border-radius: 6px;
	color: #ffffff; background: #1d4ed8; transition: all .2s ease;
}
.board .btn_insert:hover { background: #1e3a8a; }
.board .secretForm .iText { height: 38px; width: 200px; border-radius: 6px 0 0 6px; }
.board .secretForm .btn { border-radius: 0 6px 6px 0; border-left: 0; }