@charset "utf-8";

/* 초기화 */
html {overflow-y:scroll;height:100%;min-width:320px}
body {margin:0;padding:0;font-size:0.75em;background:#f1f3f6;height:100%;font-family:"Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif}
body, h1, h2, h3, h4, h5, h6, input, button, textarea, select {font-family:"Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-size:1em}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
legend {position:absolute;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
label, input, button, select, img {font-family:"Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;vertical-align:middle}
input, button {margin:0;padding:0;font-size:1em;font-family:'Malgun Gothic', dotum, sans-serif}
button {cursor:pointer;font-family:"Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif}
input[type=text], input[type=password], input[type=submit], input[type=image], button {font-size:1em;-webkit-appearance:none}
textarea, select {font-size:1em;font-family:"Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif}
textarea {border-radius:0;-webkit-appearance:none;border:1px solid #d9dee9;font-family:'Malgun Gothic', dotum, sans-serif}
select {margin:0;background:none;font-family:'Malgun Gothic', dotum, sans-serif}
p {margin:0;padding:0;word-break:break-all}
hr {display:none}
pre {overflow-x:scroll;font-size:1.1em}
a {color:#000;text-decoration:none}
ul,li,dl,dt,dd {list-style:none;padding:0;margin:0}
*, :after, :before {-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}

/* 팝업레이어 */
#hd_pop {z-index:1000;position:relative;margin:0 auto;width:100%;height:0}
#hd_pop h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
.hd_pops {position:absolute;border:1px solid #e9e9e9;background:#fff}
.hd_pops img {max-width:100%;height:auto}
.hd_pops_con {}
.hd_pops_footer {padding:10px 0;background:#000;color:#fff;text-align:right}
.hd_pops_footer button {margin-right:5px;padding:5px 10px;border:0;background:#393939;color:#fff}

/* 상단 레이아웃 */
#hd {position:relative;border-bottom:1px solid #d9dde3;background:#fff}
#hd:after {display:block;visibility:hidden;clear:both;content:""}
#hd_h1 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}

#hd_wrapper {position:relative;margin:0 auto;padding:10px}
#hd_wrapper:after {display:block;visibility:hidden;clear:both;content:""}
#hd_wrapper .gnb_side {display:none}

.header_ct {float:left;width:72%}
.header_inner {width:940px;padding:0 20px}

#logo {float:left;width:28%}
#logo .logo_inner {float:right;line-height:40px;font-size:2em;width:260px;text-align:left}
#logo a {display:inline-block}


/* ========================================
   사이드바 메뉴 (리뉴얼)
======================================== */
#gnb {
    padding: 0;
}

#gnb h2 {
    display: block !important;
    position: relative !important;
    font-size: 11px !important;
    text-indent: 0 !important;
    line-height: 1 !important;
    overflow: visible !important;
    color: #8c9196;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin: 0 0 12px 0;
    padding: 0 0 8px 0;
    border-bottom: 1px solid #ebedf0;
}

#gnb .gnb_1dul {
    font-size: 13px;
    margin: 0;
    padding: 0;
}

#gnb .gnb_1dli {
    width: 100%;
    position: relative;
    padding: 0;
    margin-bottom: 2px;
}

#gnb .gnb_1dli button {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    overflow: hidden;
    border: 0;
    background: transparent;
    text-indent: -9999px;
    border-radius: 4px;
    transition: background 0.2s;
}

#gnb .gnb_1dli button:hover {
    background: rgba(0,0,0,0.05);
}

#gnb .gnb_1dli button::after {
    content: '\f107';
    font-family: 'FontAwesome';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-indent: 0;
    font-size: 12px;
    color: #6c757d;
}

#gnb .gnb_1dli button.btn_gnb_cl::after {
    content: '\f106';
}

#gnb .gnb_1da {
    display: flex;
    align-items: center;
    text-align: left;
    color: #333;
    line-height: 1;
    padding: 10px 12px;
    border-radius: 6px;
    transition: all 0.15s ease;
    font-weight: 500;
}

#gnb .gnb_1da:hover {
    background: #f0f4ff;
    color: #1e88e5;
}

#gnb .gnb_1dli_on > .gnb_1da,
#gnb .gnb_1da.active {
    background: #1e88e5;
    color: #fff;
}

#gnb .gnb_1dli_on > .gnb_1da:hover {
    background: #1565c0;
    color: #fff;
}

#gnb .gnb_2dul {
    display: none;
    margin: 4px 0 8px 0;
    padding: 0;
    background: #f8f9fa;
    border-radius: 6px;
}

#gnb .gnb_2dli {
    margin: 0;
}

#gnb .gnb_2da {
    color: #555;
    font-size: 12px;
    line-height: 1;
    padding: 8px 12px 8px 28px;
    display: block;
    position: relative;
    transition: all 0.15s;
    border-radius: 4px;
}

#gnb .gnb_2da:before {
    content: "";
    position: absolute;
    display: inline-block;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #adb5bd;
    border-radius: 50%;
    border: none;
}

#gnb .gnb_2dli:hover .gnb_2da {
    color: #1e88e5;
    background: #e8f0fe;
}

#gnb .gnb_2dli:hover .gnb_2da:before {
    background: #1e88e5;
}

#gnb_close {
    position: absolute;
    top: 8px;
    right: 8px;
    height: 32px;
    width: 32px;
    margin: 0;
    font-size: 18px;
    border: 0;
    background: transparent;
    color: #6c757d;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#gnb_close:hover {
    background: #f1f3f5;
    color: #333;
}

#gnb_empty {
    padding: 24px 16px;
    color: #6c757d;
    text-align: center;
    line-height: 1.6;
    font-size: 13px;
}

#gnb_empty a {
    display: inline;
    text-decoration: underline;
    color: #1e88e5;
}


/* Mobile gnb */
#gnb .swiper-slide {width:auto}

/* PC gnb */
#gnb_all {display:none;position:absolute;width:100%;z-index:99999}
#gnb_all .gnb_al_ul:after {display:block;visibility:hidden;clear:both;content:""}
#gnb_all .gnb_al_ul {background:#fff;border:1px solid #1cc48f;
-webkit-box-shadow:0 2px 5px rgba(0,0,0,0.1);
-moz-box-shadow:0 2px 5px rgba(0,0,0,0.1);
box-shadow:0 2px 5px rgba(0,0,0,0.1)}
#gnb_all .gnb_al_li {float:left;width:16.6%;min-height:200px;padding:5px;background:#fff;border-bottom:1px solid #f6f7f9}
#gnb_all .gnb_al_li:nth-child(6n) {width:17%;border-right:0}
#gnb_all .gnb_al_li:after {display:block;visibility:hidden;clear:both;content:""}
#gnb_all .gnb_al_li .gnb_al_a {font-size:1.2em;padding:10px;display:block;position:relative;margin-bottom:10px;font-weight:bold;color:#3f4156}
#gnb_all .gnb_al_li li {padding-left:10px;line-height:2em}
#gnb_all .gnb_al_li li i {color:#9ca6cc}
#gnb_all .gnb_al_li li a {color:#555}

.gnb_close_btn {position:absolute;top:-50px;left:0px;width:50px;height:51px;background:#fff;color:#0b0b0b;vertical-align:top;font-size:22px;border:1px solid #1cc48f;border-bottom:0}

/* 검색 */
.hd_sch_wr {display:inline-block;margin-left:160px}
#hd_sch {text-align:center}
#hd_sch h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
#hd_sch form {position:relative}
#hd_sch #sch_stx {width:330px;height:45px;padding-left:10px;border:1px solid #d9dfe9;background:#f1f3f6;border-radius:3px}
#hd_sch #sch_submit {position:absolute;top:0;right:0;width:45px;height:45px;border:0;cursor:pointer;color:#1e5cf6;background:transparent;font-size:1.6em;line-height:20px}

/* 바로가기 메뉴 */
.shortcut {
    padding: 16px 0 0 0;
    margin-top: 16px;
    border-top: 1px solid #ebedf0;
}

.shortcut::before {
    content: '관리자 메뉴';
    display: block;
    font-size: 11px;
    color: #8c9196;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ebedf0;
}

.shortcut:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

.shortcut li {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 2px;
}

.shortcut li a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: #555;
    text-align: left;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.shortcut li a:hover {
    background: #fff3e0;
    color: #e65100;
}

.shortcut li i {
    margin-right: 8px;
    font-size: 13px;
    color: #ff9800;
    width: 16px;
    text-align: center;
}

.shortcut .visit_num,
.shortcut #serverStatusSyncCount {
    display: inline-block;
    margin-left: auto;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    background: #fff3e0;
    color: #e65100;
    border-radius: 10px;
}

.shortcut li a.active {
    background: #fff3e0;
    color: #e65100;
    font-weight: 600;
}

#tnb {position:relative;display:inline-block;float:right}
#tnb .profile_btn {display:inline-block;border:0;padding:2px 5px;margin-top:5px;background:transparent}
#tnb .profile_btn .profile_img img {width:30px;height:30px;border-radius:50%}
#tnb .profile_btn i {display:inline-block;font-size:1.2em;padding:0 5px;vertical-align:middle;color:#c1c4c6}
#tnb .tnb_login {display:inline-block;padding:0 10px;margin-top:5px;line-height:32px;border:1px solid #317af6;border-radius:3px;background:#317af6;color:#fff}

#tnb .tnb_member {position:absolute;top:55px;right:0;width:150px;padding:10px 15px;background:#fff;border:1px solid #d0d0d0;z-index:999;box-shadow:0px 1px 5px 1px #e4e4e4}
#tnb .tnb_member:after {content:"";position:absolute;top:-10px;right:25%;width:15px;height:10px;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:9px solid #fff}
#tnb .tnb_member:before {content:"";position:absolute;top:-11px;right:24.5%;width:15px;height:10px;border-left:9px solid transparent;border-right:9px solid transparent;border-bottom:9px solid #d0d0d0}
#tnb .tnb_member {display:none}
#tnb .tnb_member ul {margin:0;padding:0}
#tnb .tnb_member a {display:block;padding:5px 0}
#tnb .tnb_member span {display:inline-block;float:right;padding:1px 5px;font-size:0.89em;background:#f7f8f9;color:#7e7b7b;border-radius:10px}
#tnb .tnb_member .arm_on {background:#317af6;color:#fff}
#tnb .tnb_member .adm_btn {color:red}

/* 텍스트 크기 조절 */
#text_size {display:block;margin:0 10px 20px;padding:10px 20px;background:#1cc48f;text-align:center}
#text_size h2 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
#text_size button {display:inline-block;height:35px;width:35px;margin:0 2px;text-indent:-9999px;border-radius:30px;border:0}

#text_size #size_down {background:url('../img/fct_small.png') #59d0aa center no-repeat;background-size:auto 20px}
#text_size #size_def {background:url('../img/fct_basic.png') #59d0aa center no-repeat;background-size:auto 20px}
#text_size #size_up {background:url('../img/fct_large.png') #59d0aa center no-repeat;background-size:auto 20px}

#text_size #size_down.ft_status,
#text_size #size_def.ft_status,
#text_size #size_up.ft_status {background-color:#fff}

.ts_down2 {font-size:0.67em !important}
.ts_down1 {font-size:0.83em !important}
.ts_def {font-size:1em !important}
.ts_up1 {font-size:1.167em !important}
.ts_up2 {font-size:1.3em !important}

/* 중간 레이아웃 */
#wrapper {position:relative;min-height:100%;clear:both}
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}

/* 사이드바 컨테이너 */
#con_left {
    clear: both;
    display: inline-block;
    top: 0;
    left: 0;
    position: absolute;
    width: 220px;
    height: 100%;
    min-height: 400px;
    padding: 16px;
    border-right: 1px solid #e9ecef;
    background: #fff;
    transition: width 0.2s ease;
}

#con_left.collapsed {
    width: 60px;
    padding: 16px 8px;
}

#con_left:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

.con_left_inner {
    width: 100%;
    text-align: left;
}

.gnb_side {
    padding: 0;
}

/* 사이드바 토글 버튼 */
.sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 32px;
    margin-bottom: 12px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #f8f9fa;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.15s;
}

.sidebar-toggle:hover {
    background: #e9ecef;
    color: #333;
}

.sidebar-toggle i {
    font-size: 14px;
}

/* 접힌 상태 */
#con_left.collapsed .sidebar-toggle {
    margin-bottom: 16px;
}

#con_left.collapsed #gnb h2,
#con_left.collapsed .gnb_1da span,
#con_left.collapsed .gnb_2dul,
#con_left.collapsed .shortcut::before,
#con_left.collapsed .shortcut li a span,
#con_left.collapsed .btn_gnb_op {
    display: none !important;
}

#con_left.collapsed .gnb_1da {
    justify-content: center;
    padding: 10px;
}

#con_left.collapsed .gnb_1da i {
    margin: 0;
    font-size: 18px;
}

#con_left.collapsed .shortcut li a {
    justify-content: center;
    padding: 10px;
}

#con_left.collapsed .shortcut li a i {
    margin: 0;
    font-size: 16px;
}

#con_left.collapsed .shortcut {
    padding-top: 12px;
    margin-top: 12px;
}

/* 메뉴 아이콘 */
.gnb_1da i.menu-icon {
    margin-right: 10px;
    width: 18px;
    text-align: center;
    font-size: 14px;
    color: #6c757d;
}

.gnb_1dli_on .gnb_1da i.menu-icon,
.gnb_1da.active i.menu-icon {
    color: #fff;
}

.shortcut li a i.menu-icon {
    margin-right: 8px;
    width: 16px;
}

#con_right {
    display: inline-block;
    width: calc(100% - 220px);
    height: 100%;
    float: right;
    transition: width 0.2s ease;
}

#con_left.collapsed ~ #con_right,
body.sidebar-collapsed #con_right {
    width: calc(100% - 60px);
}

#con_right:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

#container {position:relative;padding:15px}
#container:after {display:block;visibility:hidden;clear:both;content:""}
#container_title {font-size:1.8em;border-bottom:1px solid #f1f3f6;font-weight:bold;padding:10px;line-height:30px;color:#333;background:#fff}

#index_content:after, .index_menu:after {display:block;visibility:hidden;clear:both;content:""}
#index_content #container_title {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
.index_menu {clear:both;padding:10px 0}

/* 모바일 검색창 팝업 */
#m_sch ,
#tnb .sch_more {display:none}

.top {position:relative}
.btn_top li {display:inline-block}
.btn_top a, .btn_top .btn_submit {line-height:26px;padding:0 10px;border-radius:5px}
.btn_top .btn_cancel, .btn_top .btn_b01 {border:1px solid #ccc;color:#666;line-height:28px;background:#fff}
.fixed {position:fixed;top:0;right:0;z-index:999}
#container_title.fixed {width:100%}

.m_side_ct {display:none} /* 1024px 이하 모바일 우측 사이드메뉴 */
.gnb_mobile {display:none} /* 1024px 이하 모바일 좌측 사이드메뉴 */


/* 하단 레이아웃 */
#ft {background:#E7EBEE;border-top:1px solid #d9dee9;padding:0px 10px 10px}
#ft h1 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
#ft p {margin:0;padding:10px 0;line-height:1.8em}

#ft_copy {padding:10px;line-height:2em;text-align:left;color:#a9a9a9}
#ft_copy #ft_company {text-align:left}
#ft_copy #ft_company a {display:inline-block;margin-left:5px;padding-left:5px;border-left:1px solid #d9dee9;line-height:1em;color:#000;font-weight:bold}
#ft_copy #ft_company a:first-child {border:0;margin-left:0;padding-left:0}
#ft_copy b {color:inherit}
#ft_copy a {color:inherit;text-decoration:none}

#top_btn {position:fixed;bottom:10px;right:10px;width:40px;height:40px;line-height:36px;border:2px solid #333;background:rgba(255,255,255,0.6);color:#333;text-align:center;font-size:15px;z-index:99}
#device_change {display:block;line-height:40px;border:1px solid #3a3a3a;border-radius:2em;color:#777;font-size:1em;text-decoration:none;text-align:center}


/* 게시물 선택복사 선택이동 */
#copymove {}
.copymove_current {float:right;color:#ff3061}
.copymove_currentbg {background:#f4f4f4}
#copymove .tbl_head01 {margin-top:10px}
#copymove td {background:#fff}
#copymove .win_btn {margin:10px}

/* 화면낭독기 사용자용 */
#hd_login_msg {position:absolute;top:0;left:0;width:0;height:0;overflow:hidden}
.msg_sound_only, .sound_only {display:inline-block;position:absolute;top:0;left:0;margin:0 !important;padding:0 !important;width:1px !important;height:1px !important;font-size:0 !important;line-height:0 !important;overflow:hidden}

/* 본문 바로가기 */
.to_content a {z-index:100000;position:absolute;top:0;left:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden}

/* 이미지 등비율 리사이징 */
.img_fix {width:100%;height:auto}

/* 캡챠 자동등록(입력)방지 기본 -pc */
#captcha {position:relative;margin-top:10px}
#captcha legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
#captcha #captcha_img {height:40px;border:1px solid #898989;vertical-align:top;padding:0;margin:0}
#captcha #captcha_mp3 {margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;width:40px;height:40px;background:url('../../../img/captcha2.png') no-repeat;text-indent:-999px;border-radius:3px}
#captcha #captcha_reload {margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../../../img/captcha2.png') no-repeat 0 -40px;text-indent:-999px;border-radius:3px}
#captcha #captcha_key {margin:0 0 0 3px;padding:0 5px;width:90px;height:40px;border:1px solid #ccc;background:#fff;font-size:1.333em;font-weight:bold;text-align:center;border-radius:0;vertical-align:top}
#captcha #captcha_info {display:block;margin:3px 0 5px;font-size:0.95em;letter-spacing:-0.1em}

/* 캡챠 자동등록(입력)방지 기본 - mobile */
#captcha.m_captcha audio {display:block;margin:0 0 5px}

/* 구글리캡챠 크기 조정 scale */
#captcha.recaptcha {width:213px;height:55px;overflow:hidden}
#rc-imageselect, .g-recaptcha {transform:scale(0.7);-webkit-transform:scale(0.7);transform-origin:0 0;-webkit-transform-origin:0 0}

/* ckeditor 태그 기본값 */
#bo_v_con ul {display:block;list-style-type:disc;margin-top:1em;margin-bottom:1em;margin-left:0;margin-right:0;padding-left:40px}
#bo_v_con ol {display:block;list-style-type:decimal;margin-top:1em;margin-bottom:1em;margin-left:0;margin-right:0;padding-left:40px}
#bo_v_con li {display:list-item}

/*단축키일람 */
.cke_sc {text-align:right}
.btn_cke_sc {background:#333;color:#fff;padding:5px;border:none}
.cke_sc_def {margin:0 0 5px;padding:10px;border:1px solid #ccc;background:#f7f7f7;text-align:center}
.cke_sc_def dl {margin:0 0 5px;text-align:left;zoom:1}
.cke_sc_def dl:after {display:block;visibility:hidden;clear:both;content:""}
.cke_sc_def dt, .cke_sc_def dd {float:left;margin:0;padding:5px 0;border-bottom:1px solid #e9e9e9}
.cke_sc_def dt {width:50%;font-weight:bold}
.cke_sc_def dd {width:50%}
.btn_cke_sc_close {background:#333;padding:5px;border:none;color:#fff}

/* 버튼 */
.btn {display:inline-block;padding:0 5px;height:30px;line-height:30px;border-radius:3px}
a.btn01 {display:inline-block;background:#ddd;color:#444;text-decoration:none;vertical-align:middle}
a.btn01:focus, a.btn01:hover {text-decoration:none}
button.btn01 {display:inline-block;margin:0;padding:7px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none}
a.btn02 {display:inline-block;border:1px solid #3b3c3f;background:#4b545e;color:#fff;text-decoration:none;vertical-align:middle}
a.btn02:focus, .btn02:hover {text-decoration:none}
button.btn02 {display:inline-block;margin:0;padding:7px;border:1px solid #3b3c3f;background:#4b545e;color:#fff;text-decoration:none}

.btn_confirm {} /* 서식단계 진행 */
.btn_submit {height:40px;line-height:35px;padding:0 10px;color:#fff;cursor:pointer;border:1px solid #317af6;background:#317af6;border-radius:3px}
.full_btn_submit {width:100%;height:40px;line-height:35px;padding:0 10px;color:#fff;cursor:pointer;border:1px solid #1585d1;background:#3598dc}

a.btn_cancel {display:inline-block;background:#fff;color:#656565;border:1px solid #ccc;height:40px;line-height:40px;padding:0 15px;font-weight:bold;border-radius:3px;text-decoration:none;vertical-align:bottom}
button.btn_cancel {display:inline-block;background:#969696;color:#fff;text-decoration:none;vertical-align:middle}
a.btn_frmline, button.btn_frmline {display:inline-block;padding:0 5px;height:40px;border:0;background:linear-gradient(#fff, #ecf1f3);border:1px solid #c7d2d8;border-radius:3px;color:#fff;text-decoration:none;vertical-align:top} /* 우편번호검색버튼 등 */
a.btn_frmline {}
button.btn_frmline {font-size:1em}

/* 게시판용 버튼 */
a.btn_b01, .btn_b01 {display:inline-block;background:#fff;border:1px solid #dedede;color:#0b0b0b;text-decoration:none;vertical-align:middle}
.btn_b01:hover, .btn_b01:hover {}
a.btn_b02, .btn_b02 {display:inline-block;background:#317af6;padding:0 10px;border:1px solid #317af6;color:#fff;text-decoration:none;vertical-align:middle}
a.btn_b02:hover, .btn_b02:hover {}
a.btn_b03, .btn_b03 {display:inline-block;background:#fff;padding:0 10px;border:1px solid #dedede;color:#000;text-decoration:none;vertical-align:middle}
a.btn_b03:hover, .btn_b03:hover {}
a.btn_b04, .btn_b04 {display:inline-block;background:#fff;border:1px solid #ccc;color:#707070;text-decoration:none;vertical-align:middle}
a.btn_b04:hover, .btn_b04:hover {color:#333;background:#f9f9f9}
a.btn_b05, .btn_b05 {display:inline-block;background:#fff;border:1px solid #317af6;color:#317af6;text-decoration:none;vertical-align:middle}
a.btn_b05:hover, .btn_b05:hover {}
a.btn_admin, .btn_admin {display:inline-block;background:#f63e54;border:1px solid #ea283f;color:#fff;text-decoration:none;vertical-align:middle} /* 관리자 전용 버튼 */
.btn_admin:hover, a.btn_admin:hover {background:#ff3746}

/* 기본테이블 */
.tbl_wrap {margin:0 10px 10px}
.tbl_wrap table {width:100%;border-collapse:collapse;border-spacing:0 5px;border:1px solid #d9dee9}
.tbl_wrap caption {padding:10px 0;color:#4b8b99;font-weight:bold;text-align:left}

.tbl_head01 {}
.tbl_head01 caption {padding:0 0 10px;color:#777;text-align:left}
.tbl_head01 thead th {padding:10px 0;font-weight:normal;text-align:center;border-bottom:1px solid #d9dee9;background:#fff}
.tbl_head01 thead a {color:#383838}
.tbl_head01 thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.tbl_head01 tfoot th {border-top:1px solid #666;border-bottom:1px solid #666;background:#484848;color:#fff}
.tbl_head01 tfoot td {border-color:#e3e3e5;background:#484848;color:#fff;font-weight:bold;text-align:center}
.tbl_head01 tbody th {padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9}
.tbl_head01 td {padding:10px;line-height:1.4em;border-bottom:1px solid #d9dee9;background:#fff;color:#666;word-break:break-all}

.tbl_head02 {}
.tbl_head02 caption {padding:0 0 10px;color:#777;text-align:left}
.tbl_head02 thead th {padding:5px 0;border-top:1px solid #d1dee2;border-bottom:1px solid #d1dee2;background:#e5ecef;color:#383838;font-size:0.95em;text-align:center;letter-spacing:-0.1em}
.tbl_head02 thead a {color:#383838}
.tbl_head02 thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.tbl_head02 tfoot th {border-top:1px solid #666;border-bottom:1px solid #666;background:#484848;color:#fff}
.tbl_head02 tfoot td {background:#484848;color:#fff;font-weight:bold;text-align:center}
.tbl_head02 tbody th {padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9}
.tbl_head02 td {padding:5px 3px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;line-height:1.4em;word-break:break-all}

/* 기본리스트 */
.list_01 {}
.list_01 li {background:#fff;border-radius:3px;padding:10px 15px;border-bottom:1px solid #ccc}

.list_03 li {position:relative;padding:20px 15px;border-bottom:1px solid #d9dee9;background:#fff;list-style:none}
.list_03 li:after {display:block;visibility:hidden;clear:both;content:""}
.list_03 li:hover {background:#f9f9f9}
.list_03 li.empty_li {padding:20px 0;text-align:center;color:#666}
.list_03 li .icon_reply {padding:0 10px}

/* 기본폼 */
.form_01 div, .form_01 li {position:relative;margin:5px 0}
.form_01 textarea, .frm_input {padding:5px;border:1px solid #d9dee9;background:#f1f3f6;color:#000;vertical-align:middle}
.form_01 textarea {width:100%;height:100px}
.frm_input {height:40px}
.full_input {padding:5px;border:1px solid #d9dee9;background:#f1f3f6;color:#000;vertical-align:middle;width:100%}
.form_01 .frm_file {display:block;margin-bottom:5px;width:100%}
.form_01 select {height:40px;border-radius:3px;background-color:#fff}
.form_01 .frm_info {font-size:0.92em;text-align:left;display:block;line-height:1.3em}

/* 자료 없는 목록 */
.empty_table {padding:100px 0 !important;color:#777;text-align:center}
.empty_list {padding:20px 0 !important;text-align:center}

/* 필수입력 */
.required {background-image:url('../img/require.png') !important;background-repeat:no-repeat !important;background-position:99% center !important}
textarea.required {background-image:url('../img/require.png') !important;background-repeat:no-repeat !important;background-position:99.3% 93% !important}

/* 테이블 항목별 정의 */
.td_board {width:120px;text-align:center}
.td_category {width:80px;text-align:center}
.td_chk {width:30px;text-align:center}
.td_date {width:60px;text-align:center}
.td_datetime {width:150px;text-align:center}
.td_group {width:100px;text-align:center}
.td_mb_id {width:100px;text-align:center}
.td_mng {width:80px;text-align:center}
.td_name {width:100px;text-align:left}
.td_nick {width:100px;text-align:center}
.td_num {width:50px;text-align:center}
.td_numbig {width:80px;text-align:center}
.td_stat {width:60px;text-align:center}

.txt_active {color:#5d910b}
.txt_done {color:#e8180c}
.txt_expired {color:#999}
.txt_rdy {color:#8abc2a}

/* 체크박스 */
.all_chk {position:relative}
.all_chk label, .bo_chk label {display:inline-block;height:19px;padding-left:25px;background:url('../img/input_chk.png') no-repeat 0 -19px;vertical-align:top}
.all_chk label {width:120px}
.bo_chk label.click_on, .all_chk label.click_on {background:url('../img/input_chk.png') no-repeat 0 0}
.bo_chk input, .all_chk input {position:absolute;top:0;left:0;width:1px;height:1px;opacity:0;outline:0;z-index:9}


/* 새창 기본 스타일 */
.new_win {}
.new_win #win_title {height:50px;line-height:30px;padding:20px;font-size:1.25em}
.new_win #win_title .sv {font-size:0.75em;line-height:1.2em}
.new_win_con {margin:0 10px 10px}

.new_win .new_win_con2 {padding:0 20px}
.new_win .win_ul {margin:0 0 10px 1px}
.new_win .win_ul:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .win_ul li {position:relative;float:left;width:33.333%;margin-left:-1px;text-align:center;background:#fff}
.new_win .win_ul li a {display:block;padding:10px 0;color:#667287;border:1px solid #dedede}
.new_win .win_ul li:hover a:after {content:"";position:absolute;top:0;left:0;display:inline-block;z-index:999;width:100%;height:100%;border:1px solid #317af6;}
.new_win .win_ul li:hover a {color:#317af6}
.new_win .win_ul .selected {position:relative;color:#009c54;z-index:5}
.new_win .win_ul .selected a {font-weight:bold;background:#317af6;border:1px solid #317af6;color:#fff}
.new_win .win_ul .selected a:hover {color:#fff}

.new_win .win_desc {padding:10px 0;margin:10px 0;font-size:0.92em;font-weight:bold;color:#364154;background:#dfe3ea;text-align:center}
.new_win .frm_info {display:block;margin:3px 0 0 0;text-align:right;font-size:0.92em;color:#707e8b}
.new_win .win_total {text-align:left;margin:10px 0;background:#deefd8;border:1px solid #ccdebe;padding:10px 15px}
.new_win .win_total span {display:inline-block;font-size:0.92em;color:#3c763d}
.new_win .win_total span.win_total_r {float:right}

.new_win .win_btn {text-align:center;margin-bottom:10px}
.new_win .memo_view_opt {padding:10px;border:1px solid #d9dee9;border-top:0;text-align:left;background:#f7f7f9}
.new_win .memo_view_opt:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .memo_view_opt .btn_right {float:right;margin-left:5px}
.new_win .memo_view_btn {margin:25px 0;text-align:center}
.new_win .btn_close {height:40px;border:1px solid #ccc;padding:0 10px;line-height:35px;border-radius:3px;background:#fff;color:#000;cursor:pointer}
.new_win .btn_submit {height:40px;font-weight:bold;font-size:1.083em}

/* 기본 리스트 */
.list_01 ul {border:1px solid #d9dee9}
.list_01 li {position:relative;padding:10px 15px;border-bottom:1px solid #d9dee9;background:#fff;border-radius:3px;list-style:none}
.list_01 li:last-child {border-bottom:0}
.list_01 li:after {display:block;visibility:hidden;clear:both;content:""}
.list_01 li:hover {background:#f9f9f9}
.list_01 li.empty_li {padding:20px 0;color:#666;text-align:center}

/* 기본 리스트 */
.list_01 ul {border:1px solid #d9dee9}
.list_01 li {position:relative;padding:10px 15px;border-bottom:1px solid #d9dee9;background:#fff;border-radius:3px;list-style:none}
.list_01 li:last-child {border-bottom:0}
.list_01 li:after {display:block;visibility:hidden;clear:both;content:""}
.list_01 li:hover {background:#f9f9f9}
.list_01 li.empty_li {padding:20px 0;color:#666;text-align:center}

/* 쪽지 리스트 */
.list_02 ul {border:1px solid #d9dee9}
.list_02 li {position:relative;border-bottom:1px solid #d9dee9;background:#fff;list-style:none}
.list_02 li:last-child {border-bottom:0}
.list_02 li:after {display:block;visibility:hidden;clear:both;content:""}
.list_02 li:hover {background:#f9f9f9}
.list_02 li.empty_li {padding:20px 0;text-align:center;color:#666}

/* 검색결과 색상 */
.sch_word {color:#00c4ac}

/* 사이드뷰 */
.sv_wrap {display:inline-block;position:relative;font-weight:normal}
.sv_wrap .sv {z-index:1000;width:100px;display:none;margin:5px 0 0;font-size:0.92em;background:#333;text-align:left;
-webkit-box-shadow:2px 2px 3px 0px rgba(0,0,0,0.2);
-moz-box-shadow:2px 2px 3px 0px rgba(0,0,0,0.2);
box-shadow:2px 2px 3px 0px rgba(0,0,0,0.2)}
.sv_wrap .sv:before {content:"";position:absolute;top:-6px;left:15px;width:0;height:0;border-style:solid;border-width:0 6px 6px 6px;border-color:transparent transparent #333 transparent}
.sv_wrap .sv a {display:inline-block;width:100px;margin:0;padding:0 10px;line-height:30px;font-weight:normal;color:#bbb }
.sv_wrap .sv a:hover {background:#000;color:#fff}
.sv_member {color:#333;font-weight:bold}
.sv_on {display:block !important;position:absolute;top:23px;left:0px;width:auto;height:auto}
.sv_nojs .sv {display:block}

/* 페이징 */
.pg_wrap {clear:both;margin:20px 0;text-align:center}
.pg_wrap:after {display:block;visibility:hidden;clear:both;content:""}
.pg {display:inline-block}
.pg .pg_page,
.pg .pg_current {float:left;display:inline-block;min-width:36px;height:36px;line-height:34px;margin-left:-1px;padding:0 5px;font-size:1.083em;vertical-align:middle;background:#fff;border:1px solid #dcdcdc}
.pg a {display:block;color:#555}
.pg a:hover {background:#f3f3f3}
.pg .pg_current {background:#317af6;color:#fff;font-weight:bold}
.pg .pg_start {margin-right:10px}
.pg .pg_prev {margin-right:10px;margin-left:-11px}
.pg .pg_end {margin-left:10px}
.pg .pg_next {margin-left:10px;margin-right:-11px}


/* 반응형 */
@media (max-width:1200px){
	#hd_wrapper,#logo .logo_inner,.header_inner {width:100%}
	.hd_sch_wr {margin-left:0}
	#con_left .con_left_inner,
	#con_right #container {width:100%}
	#container {padding:10px}
	.header_inner {padding:0}
	#alarm {margin-right:10px}
}

@media (max-width:980px){
	.gal_tab {width:100% !important/*;border-right:1px solid #d9dee9*/}
}

#mobile-indicator {display: none}

@media (max-width:720px){
    #mobile-indicator {display:block}
	#hd_wrapper,.logo_inner,.header_inner {width:100%}
	.hd_sch_wr {display:none}

	/* 모바일 사이드바 - 슬라이드 오버레이 */
	#con_left {
	    display: none;
	    width: 100%;
	    position: fixed;
	    top: 0;
	    left: 0;
	    height: 100vh;
	    padding: 0;
	    z-index: 9999;
	    border-right: 0;
	    background: transparent;
	}

	#con_left #bg {
	    position: fixed;
	    top: 0;
	    left: 0;
	    width: 100%;
	    height: 100%;
	    background: rgba(0,0,0,0.5);
	    z-index: 9991;
	    backdrop-filter: blur(2px);
	}

	#con_left .con_left_inner {
	    position: fixed;
	    top: 0;
	    left: 0;
	    width: 280px;
	    max-width: 85vw;
	    height: 100vh;
	    padding: 20px;
	    background: #fff;
	    border-right: 1px solid #e9ecef;
	    z-index: 9999;
	    overflow-y: auto;
	    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
	}

	#con_left .gnb_side {
	    padding-top: 10px;
	}

	#con_left #gnb h2 {
	    margin-top: 0;
	}

	#con_right {width:100%}
	#logo {width:30%}
	#logo .logo_inner {float:inherit;width:100%;text-align:center}
	.header_ct {width:35%}
	#text_size {display:block}
	.header_inner {padding:0}
	.m_side_gnb {display:inline-block;float:left;width:35%}

	#hd_wrapper .gnb_side {display:block;float:left;border:0;padding:11px;font-size:1.3em;background:transparent;color:#b2b2b2}
	#m_sch {display:block;float:left}
	#m_sch .sch_more {padding:11px;font-size:1.3em;border:0;background:transparent;color:#b2b2b2}

	#m_hd_sch {display:none;position:absolute;top:64px;left:0;width:100%;background:#fff;z-index:9999;box-shadow:0px 1px 5px 1px #e4e4e4}
	#m_hd_sch form {position:relative;padding:10px;z-index:9999}
	#m_hd_sch input {width:100%;height:44px;padding:5px;border:1px solid #d9dfe9;background:#f1f3f6;border-radius:3px}
	#m_hd_sch button#sch_submit {position:absolute;right:10px;top:11px;padding:10px 13px;border:0;background:transparent;font-size:1.4em;color:#317af6}
	.sch_more_close {width:100%;padding:10px;text-align:center;border:0;background:#f6f9fb;border-bottom:1px solid #e8ebef;border-top:1px solid #e8ebef}
	.profile_nick {display:none}
	.lt_basic {width:100% !important;margin-left:0 !important}
}


@media (max-width:450px){
    #mobile-indicator {display:block}
	#container_title {font-size:1.4em}
	#alarm {margin-right:5px}
	#tnb .profile_btn {padding:2px}
	#logo {width:46%}
	#logo span.logo_img {background-size:80%;background-position:center}
	.header_ct {width:25%;float:right}
	.m_side_gnb {width:25%}
}


/* 추가 */
.regcount {margin-bottom:10px;padding:10px 20px;background:#fff;border:1px solid #d9dde3}
.regcount h2 {display:inline-block;float:left;color:#317af6;line-height:28px;font-size:1em;margin-right:20px}
.regcount h2 i {display:inline-block;margin-left:5px;color:#000;font-weight:bold}
.regcount dl {display:inline-block}
.regcount dl:after {display:block;visibility:hidden;clear:both;content:""}
.regcount dt {display:inline-block;font-size:1em;font-weight:normal;line-height:28px;padding-left:10px;margin-left:10px;background:url('img/division-border.gif') 0 center no-repeat}
.regcount dt:nth-of-type(1) {background:none;padding-left:0;margin-left:0}
.regcount dd {display:inline-block;font-size:1em;font-weight:bold;text-align:right}
.regcount a {display:inline-block;float:right;text-decoration:none;background:#f63e54;border:1px solid #ea283f;border-radius:3px;color:#fff;padding:6px 5px}
.status-buttons {
  display: flex;
}

.status-button {
  margin-right: 5px;
  cursor: pointer;
}

.status-button.active {
  background-color: #4CAF50;
  color: white;
}


.custom-checkbox {
  display: inline-block;
  position: relative;
  cursor: pointer;
  font-size: 16px;
	margin-right:10px;
}

.custom-checkbox:before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  width: 15px; /* Checkbox width */
  height: 15px; /* Checkbox height */
  border: 2px solid #aaa;
  background-color: white;
}

.custom-checkbox:checked:before {
  border: 2px solid #6EC171; /* Checked border color */
  background-color: #6EC171; /* Checked background color */
}

.custom-checkbox:after {
  content: "\f00c"; /* Unicode character for checkmark */
  font-family: FontAwesome; /* Use FontAwesome for checkmark */
  display: inline-block;
  position: absolute;
  font-size: 16px;
  color: white; /* Checkmark color */
  opacity: 0;
}

.custom-checkbox:checked:after {
  opacity: 1; /* Show checkmark when checked */
}
.short-address {
  max-width: 140px; /* 너무 길어지지 않게 최대 너비 설정 */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis; /* 텍스트가 너무 길면 ...으로 축약 */
}

/* ========================================
   index_default.php 스타일 (분리)
======================================== */

/* 기본 변수 및 리셋 */
:root {
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --success-color: #43a047;
    --warning-color: #fb8c00;
    --danger-color: #e53935;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

.container { padding: 0 10px; }

/* ========================================
   탭 메뉴 스타일
======================================== */
ul.list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #fff, var(--gray-100));
    border-bottom: 2px solid var(--gray-300);
    display: flex;
    flex-wrap: wrap;
    height: auto;
    gap: 4px;
}

ul.list::after {
    content: '';
    display: block;
    clear: both;
}

.tab-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    color: var(--gray-600);
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    transition: all 0.2s ease;
    background: transparent;
    margin-bottom: -2px;
}

.tab-button:hover {
    color: var(--primary-color);
    background: rgba(30, 136, 229, 0.05);
}

.tab-button.selected {
    background: #fff;
    color: var(--primary-color);
    border-color: var(--gray-300);
    border-bottom: 2px solid #fff;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.tab-content {
    display: none;
    padding: 16px 0;
}

.tab-content.show {
    display: block;
}

/* ========================================
   등록현황 카드 (컴팩트)
======================================== */
.regcount {
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    padding: 6px 12px;
    gap: 16px;
}

.regcount h2 {
    display: none;
}

.regcount dl {
    display: grid;
    grid-template-columns: repeat(4, auto auto);
    align-items: center;
    gap: 4px 8px;
    margin: 0;
    padding: 0;
    flex: 1;
}

.regcount dt {
    font-size: 12px;
    color: var(--gray-500);
    white-space: nowrap;
}

.regcount dd {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    white-space: nowrap;
    margin-right: 16px;
}

.regcount dd:last-child {
    margin-right: 0;
}

/* ========================================
   검색 필터 영역
======================================== */
.search-filter-box {
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

/* 검색 필터 탭 스타일 */
.filter-tabs {
    display: flex;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-300);
}

.filter-tab-btn {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.filter-tab-btn:hover {
    background: var(--gray-200);
}

.filter-tab-btn.active {
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
}

.filter-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.filter-tab-content {
    display: none;
    padding: 16px;
}

.filter-tab-content.active {
    display: block;
}

/* Datepicker z-index (달력이 다른 요소에 가려지지 않도록) */
.datepicker {
    z-index: 99999 !important;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}

.filter-row:last-child {
    margin-bottom: 0;
}

/* 상세 탭 필터 그룹 레이아웃 */
.filter-detail-section {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 16px;
}

.filter-group-box {
    flex: 1;
    min-width: 0;
    padding: 10px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
}

/* FHD 이상에서 한 줄로 표시 */
@media (min-width: 1440px) {
    .filter-detail-section {
        flex-wrap: nowrap;
    }
    .filter-group-box {
        min-width: 0;
    }
}

/* 태블릿/노트북에서 줄바꿈 */
@media (max-width: 1439px) {
    .filter-detail-section {
        flex-wrap: wrap;
    }
    .filter-group-box {
        min-width: 200px;
    }
}

.filter-group-box .group-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group-box .group-fields {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-group-box .group-fields .frm_input,
.filter-group-box .group-fields select {
    flex: 1;
    min-width: 100px;
    padding: 8px 10px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 13px;
    min-height: 36px;
    box-sizing: border-box;
    background: #fff;
}

.filter-group-box .group-fields .frm_input:focus,
.filter-group-box .group-fields select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.15);
}

.filter-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
}

.filter-bottom-row .btn-group {
    display: flex;
    gap: 8px;
}

@media (max-width: 768px) {
    .filter-detail-section {
        flex-direction: column;
    }
    .filter-group-box {
        min-width: 100%;
    }
    .filter-bottom-row {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-bottom-row .btn-group {
        justify-content: center;
    }
    .filter-bottom-row .filter-actions {
        justify-content: center;
    }
}

.filter-row .frm_input,
.filter-row select {
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 13px;
    min-height: 38px;
    box-sizing: border-box;
}

.filter-row .frm_input:focus,
.filter-row select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.filter-row .frm_input::placeholder {
    color: var(--gray-500);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    min-height: 38px;
    line-height: 1;
    transition: background 0.2s;
}

.btn-search:hover {
    background: var(--primary-dark);
}

.btn-excel-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.refresh-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--gray-600);
}

.refresh-toggle-wrap input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ========================================
   테이블 스타일
======================================== */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
}

.tbl_head01 {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--gray-300);
    background: #fff;
    font-size: 13px;
}

.tbl_head01 thead th {
    background: var(--gray-100);
    padding: 8px 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 2px solid var(--gray-300);
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 10;
}

.tbl_head01 tbody td {
    padding: 6px 6px;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
    font-size: 12px;
    line-height: 1.3;
}

.tbl_head01.hover tbody tr {
    background: #fff;
    transition: background 0.15s;
}

.tbl_head01.hover tbody tr:hover {
    background: var(--gray-100);
}

.tbl_head01.hover td {
    background-color: unset !important;
}

/* 선택된 행 (노란색 테이블) */
.tbl_yellow tbody tr td {
    background-color: #fff9c4 !important;
    font-weight: 600;
}

/* 신규 항목 하이라이트 */
.new-row-highlight {
    background-color: #e8f5e9 !important;
    animation: newRowFadeIn 0.6s ease-in;
}

@keyframes newRowFadeIn {
    0% {
        background-color: var(--success-color);
        transform: scale(1.01);
    }
    100% {
        background-color: #e8f5e9;
        transform: scale(1);
    }
}

/* 상태 버튼 */
.status-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.status-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    min-height: 26px;
    font-size: 11px;
    line-height: 1;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    background: #fff;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.status-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.status-button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* 메모 입력 */
.memo-input {
    width: 100%;
    min-width: 120px;
    padding: 6px 8px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 12px;
}

.memo-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* ========================================
   지도/스토어 모달
======================================== */
.map-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    backdrop-filter: blur(2px);
}

.map-modal-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-modal {
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 80vh;
    max-height: 700px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: mapModalIn 0.2s ease-out;
}

@keyframes mapModalIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.map-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-300);
}

.map-modal-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
}

.map-modal-header .map-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--gray-600);
    font-size: 20px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.15s;
}

.map-modal-header .map-modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.map-modal-body {
    height: calc(100% - 56px);
}

.map-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    font-size: 11px;
    line-height: 1;
    min-height: 26px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}

.btn-map:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f0f7ff;
}

.btn-newwin {
    padding: 4px 8px;
    margin-left: 2px;
}

.btn-newwin i {
    font-size: 10px;
}

/* 지도 모달 반응형 사이즈 */
/* QHD (2560px 이상) */
@media (min-width: 2560px) {
    .map-modal {
        max-width: 1400px;
        height: 85vh;
        max-height: 1000px;
    }
    .map-modal-header {
        padding: 16px 24px;
    }
    .map-modal-header h3 {
        font-size: 18px;
    }
    .map-modal-header .map-modal-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

/* FHD (1920px ~ 2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
    .map-modal {
        max-width: 1100px;
        height: 80vh;
        max-height: 850px;
    }
}

/* 노트북/소형 데스크탑 (1440px ~ 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .map-modal {
        max-width: 950px;
        height: 75vh;
        max-height: 750px;
    }
}

/* 태블릿 가로 (1024px ~ 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .map-modal {
        width: 92%;
        max-width: 850px;
        height: 70vh;
        max-height: 650px;
    }
}

/* 태블릿 세로 (768px ~ 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .map-modal {
        width: 94%;
        max-width: 700px;
        height: 65vh;
        max-height: 550px;
    }
    .map-modal-header {
        padding: 10px 14px;
    }
    .map-modal-header h3 {
        font-size: 14px;
    }
}

/* 모바일 (480px ~ 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .map-modal {
        width: 96%;
        max-width: none;
        height: 70vh;
        max-height: none;
        border-radius: var(--radius-md);
    }
    .map-modal-header {
        padding: 10px 12px;
    }
    .map-modal-header h3 {
        font-size: 13px;
    }
    .map-modal-header .map-modal-close {
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
}

/* 소형 모바일 (480px 미만) */
@media (max-width: 479px) {
    .map-modal {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        border-radius: 0;
    }
    .map-modal-header {
        padding: 12px;
    }
    .map-modal-header h3 {
        font-size: 14px;
    }
    .map-modal-header .map-modal-close {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
    .map-modal-body {
        height: calc(100% - 52px);
    }
}

/* 페이지네이션 */
.pg_wrap {
    display: flex;
    justify-content: center;
    padding: 16px 0;
}

.pg_wrap .pg {
    display: flex;
    gap: 4px;
    align-items: center;
}

.pg_wrap .pg_page,
.pg_wrap .pg_current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 13px;
    text-decoration: none;
    color: var(--gray-700);
    background: #fff;
    transition: all 0.15s;
}

.pg_wrap .pg_page:hover {
    background: var(--gray-100);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pg_wrap .pg_current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

/* ========================================
   반응형 - 태블릿 (1024px 이하)
======================================== */
@media screen and (max-width: 1024px) {
    .filter-row {
        flex-wrap: wrap;
    }

    .filter-row .frm_input,
    .filter-row select {
        flex: 1 1 calc(50% - 8px);
        min-width: 120px;
    }

    .filter-actions {
        width: 100%;
        margin-left: 0;
        margin-top: 8px;
        justify-content: space-between;
    }

    .tbl_head01 {
        font-size: 12px;
    }

    .status-button {
        padding: 3px 6px;
        font-size: 10px;
    }
}

/* ========================================
   반응형 - 모바일 (768px 이하)
======================================== */
@media screen and (max-width: 768px) {
    .container { padding: 0 8px; }

    ul.list {
        gap: 2px;
    }

    .tab-button {
        padding: 10px 16px;
        font-size: 13px;
        flex: 1;
        text-align: center;
    }

    .regcount {
        flex-wrap: wrap;
        gap: 4px 12px;
    }

    .regcount dl {
        gap: 4px 12px;
    }

    .regcount dt {
        font-size: 10px;
    }

    .regcount dd {
        font-size: 12px;
    }

    .search-filter-box {
        padding: 12px;
    }

    .filter-row {
        gap: 6px;
    }

    .filter-row .frm_input,
    .filter-row select {
        flex: 1 1 100%;
        min-width: unset;
        font-size: 14px;
        min-height: 42px;
    }

    .btn-search {
        flex: 1;
        min-height: 42px;
    }

    .btn-excel-download {
        flex: 1;
    }

    .refresh-toggle-wrap {
        width: 100%;
        justify-content: flex-end;
    }

    /* 테이블 모바일 최적화 */
    .table-responsive {
        margin: 0 -8px;
        padding: 0 8px;
    }

    .tbl_head01 {
        font-size: 11px;
    }

    .tbl_head01 thead th {
        padding: 8px 4px;
        font-size: 10px;
    }

    .tbl_head01 tbody td {
        padding: 8px 4px;
    }

    .status-buttons {
        flex-direction: column;
        gap: 2px;
    }

    .status-button {
        width: 100%;
        padding: 6px 4px;
        font-size: 10px;
    }

    .memo-input {
        min-width: 80px;
        font-size: 11px;
    }

    /* 페이지네이션 모바일 */
    .pg_wrap .pg_page,
    .pg_wrap .pg_current {
        min-width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* ========================================
   반응형 - 소형 모바일 (480px 이하)
======================================== */
@media screen and (max-width: 480px) {
    .tab-button {
        padding: 8px 12px;
        font-size: 12px;
    }

    .regcount {
        padding: 4px 8px;
    }

    .regcount dt {
        font-size: 9px;
    }

    .regcount dd {
        font-size: 11px;
    }

    .tbl_head01 {
        font-size: 10px;
    }

    .tbl_head01 thead th {
        font-size: 9px;
        padding: 6px 2px;
    }

    .tbl_head01 tbody td {
        padding: 6px 2px;
    }

    /* 엑셀 모달 반응형 */
    .excel-modal-content {
        width: 95%;
        margin: 10px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .excel-modal-header {
        padding: 12px 15px;
    }

    .excel-modal-header h3 {
        font-size: 16px;
    }

    .excel-modal-body {
        padding: 15px;
    }

    .excel-form-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .excel-radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .excel-date-buttons {
        flex-wrap: wrap;
    }

    .excel-date-buttons .btn.excel-quick-btn {
        font-size: 11px !important;
        padding: 6px 8px !important;
    }

    .excel-modal-footer {
        padding: 12px 15px;
        flex-direction: column;
    }

    .excel-modal-footer .btn {
        width: 100%;
    }
}

/* ========================================
   모바일 카드뷰 스타일
======================================== */
.card-view-container {
    display: none;
}

/* 모바일에서만 카드뷰 활성화 */
@media screen and (max-width: 768px) {
    /* 테이블 숨기고 카드뷰 표시 */
    .mobile-card-mode .table-responsive {
        display: none !important;
    }

    .mobile-card-mode .card-view-container {
        display: block !important;
    }

    /* 카드 컨테이너 */
    .card-view-container {
        padding: 8px 0;
    }

    /* 개별 카드 스타일 */
    .db-card {
        background: #fff;
        border: 1px solid var(--gray-300);
        border-radius: var(--radius-md);
        margin-bottom: 12px;
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        transition: all 0.2s ease;
    }

    .db-card:active {
        transform: scale(0.98);
    }

    .db-card.new-card-highlight {
        border-color: var(--success-color);
        background: #f0fff4;
        animation: cardFadeIn 0.5s ease;
    }

    @keyframes cardFadeIn {
        0% {
            opacity: 0;
            transform: translateY(-10px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* 카드 헤더 - 업체명 + 분류 */
    .db-card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 14px;
        background: var(--gray-100);
        border-bottom: 1px solid var(--gray-200);
    }

    .db-card-title {
        font-size: 15px;
        font-weight: 600;
        color: var(--gray-800);
        margin: 0;
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .db-card-title .prefix-badge {
        display: inline-block;
        font-size: 11px;
        font-weight: 500;
        color: #fff;
        background: var(--primary-color);
        padding: 2px 6px;
        border-radius: 4px;
        margin-right: 6px;
        vertical-align: middle;
    }

    .db-card-category {
        font-size: 11px;
        color: #fff;
        background: var(--gray-600);
        padding: 3px 8px;
        border-radius: 12px;
        white-space: nowrap;
        margin-left: 8px;
    }

    /* 카드 바디 - 주요 정보 */
    .db-card-body {
        padding: 12px 14px;
    }

    .db-card-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 16px;
    }

    .db-card-info-item {
        display: flex;
        flex-direction: column;
    }

    .db-card-info-item.full-width {
        grid-column: 1 / -1;
    }

    .db-card-info-label {
        font-size: 10px;
        color: var(--gray-500);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 2px;
    }

    .db-card-info-value {
        font-size: 14px;
        color: var(--gray-800);
        word-break: break-all;
    }

    .db-card-info-value a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 500;
    }

    .db-card-info-value a:active {
        opacity: 0.7;
    }

    /* 카드 액션 영역 - 상태 버튼 */
    .db-card-actions {
        padding: 10px 14px;
        background: var(--gray-100);
        border-top: 1px solid var(--gray-200);
    }

    .db-card-status-row {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 10px;
    }

    .db-card-status-row .status-button {
        flex: 1;
        min-width: calc(33.33% - 4px);
        max-width: calc(33.33% - 4px);
        padding: 8px 4px;
        font-size: 12px;
        text-align: center;
    }

    /* 메모 입력 영역 */
    .db-card-memo {
        margin-top: 10px;
    }

    .db-card-memo .memo-input {
        width: 100%;
        padding: 10px 12px;
        font-size: 14px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--gray-300);
        background: #fff;
    }

    .db-card-memo .memo-input:focus {
        border-color: var(--primary-color);
        outline: none;
        box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
    }

    /* URL 버튼 영역 */
    .db-card-url {
        display: flex;
        gap: 8px;
        margin-top: 10px;
    }

    .db-card-url .btn-map {
        flex: 1;
        padding: 10px 12px;
        font-size: 13px;
        justify-content: center;
    }

    /* 카드 푸터 - 수집시간 */
    .db-card-footer {
        padding: 8px 14px;
        background: var(--gray-50);
        border-top: 1px solid var(--gray-200);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .db-card-time {
        font-size: 11px;
        color: var(--gray-500);
    }

    .db-card-time i {
        margin-right: 4px;
    }

    /* 빈 상태 */
    .card-view-empty {
        text-align: center;
        padding: 40px 20px;
        color: var(--gray-500);
    }

    .card-view-empty i {
        font-size: 48px;
        margin-bottom: 12px;
        opacity: 0.5;
    }

    .card-view-empty p {
        font-size: 14px;
    }

    /* 선택된 행 테이블도 카드로 */
    .mobile-card-mode .tbl_yellow {
        display: none !important;
    }

    /* 선택된 카드 강조 */
    .db-card.selected {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.2), var(--shadow-md);
    }
}

/* 태블릿에서는 테이블 유지, 768px 초과 */
@media screen and (min-width: 769px) {
    .card-view-container {
        display: none !important;
    }

    .table-responsive {
        display: block !important;
    }
}
