@charset "UTF-8";


/*input*/
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 30px #fff inset ; -webkit-text-fill-color: #000; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active { transition: background-color 5000s ease-in-out 0s; }
input[type=text]::-ms-clear {display:none;}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=checkbox]{display:none;position:relative;-webkit-appearance: none;appearance: none;border:none;padding:0;}
input[type=checkbox] + label{position:relative;padding-left:26px;display:inline-block;font-size:14px;color:#222;font-weight:500;line-height:24px; cursor:pointer;}
input[type=checkbox] + label:before{content:'';position:absolute;left:0;top:50%;margin-top:-10px;width:20px;height:20px;border:1px solid #d0d0d0; box-sizing:border-box; background:#fff;}
input[type=checkbox] + label span{font:inherit;color:inherit;}
input[type=checkbox]:checked + label:before{background:#fff url(../img/admin/common/check.png) no-repeat center center; background-size:14px 14px;}
input[type=checkbox]:disabled + label{cursor:default;}

input[type=radio]{display:none;position:relative;-webkit-appearance: none;appearance: none;border:none;padding:0;}
input[type=radio] + label{position:relative;padding-left:26px;display:inline-block;font-size:14px;color:#222;font-weight:500;line-height:24px; cursor:pointer;}
input[type=radio] + label:before{content:'';position:absolute;left:0;top:50%;margin-top:-10px;width:20px;height:20px;border:1px solid #d0d0d0; border-radius:50%; box-sizing:border-box; background:#fff;}
input[type=radio] + label span{font:inherit;color:inherit;}
input[type=radio]:checked + label:before{background:#fff url(../img/admin/common/radio.png) no-repeat center center; background-size:18px 18px;}
input[type=radio]:disabled + label{cursor:default;}
input[type=radio]:disabled + label:before{background-color:#f8f8f8;}

/*
.tui-grid-row-header-checkbox input[type="checkbox"] {display:inline-block; -webkit-appearance: checkbox; appearance:auto;}
.tui-grid-cell-row-header input[type="checkbox"] {display:inline-block; -webkit-appearance: checkbox; appearance:auto;}
.tui-grid-cell.cell-blue {color:blue;}
.tui-grid-cell.cell-red {color:red;}
.tui-grid-cell.cell-summary {background-color: #cde0f7;}
*/

/*로그인*/
.login{position:relative;width:100%;height:100%;background:#f6f7f8;display:flex;flex-wrap:nowrap;align-items: center;justify-content: center;}
.loginbox{margin-bottom:30px;padding:30px;width:24vw;min-width:500px;background:#fff;border-radius:10px;box-shadow:0 0 5px rgba(115,115,115,0.1);}
.loginbox .logo{margin-top:6px;padding-left:124px;position:relative;font-weight:700;font-size:25px;line-height:48px;}
.loginbox .logo:before{content:'';position:absolute;left:0;top:-7px;width:116px;height:48px;background:url(../img/admin/common/logo.png) no-repeat top left;background-size:116px 48px;vertical-align: middle;}
.loginbox h3{margin-bottom:15px; font-size:24px;}
.loginbox .sub{margin-bottom:15px; font-size:17px;}
.form_id{margin-top:15px;}
.form_id input{display:block;width:100%;height:52px;line-height:52px;font-size:17px;}
.form_id input[type=checkbox]{display:none; width:0; height:0;}

.form_id .iptbox{height:54px;padding:0 10px 0 60px;border:1px solid #acacac;border-radius:10px;}
.form_id .iptbox:active{outline:1px solid #011640;}
.form_id .iptbox.id{position:relative;background:url(../img/admin/common/ico_user.png) no-repeat left 20px center;}
.form_id .iptbox.id:before,.form_id .iptbox.pw:before{content:'';position:absolute;left:51px;top:50%;margin-top:-13px;width:1px;height:26px;background:#d4d4d5;}
.form_id .iptbox.pw{margin-top:10px;position:relative;background:url(../img/admin/common/ico_pw.png) no-repeat left 20px center;}

.form_id .subbtn{margin-top:15px;display:flex;flex-wrap:nowrap;justify-content:space-between}
.form_id .btn_login{margin-top:10px;display:block;text-align:center;width:100%;height:54px;line-height:54px;background:#011640;color:#fff;font-size:17px;font-weight:600;border-radius:10px;}

.form_pw{margin-top:15px;}
.form_pw input{display:block;width:100%;height:52px;line-height:52px;font-size:17px;}
.form_pw .btn_login{margin-top:20px;display:block;text-align:center;width:100%;height:54px;line-height:54px;background:#011640;color:#fff;font-size:17px;font-weight:600;border-radius:10px;}
.form_pw .iptbox{}
.form_pw .iptbox p{font-size:14px;color:#011640;line-height:1.4;}
.form_pw .iptbox input[type=password]{margin-top:7px;padding:0 10px;font-size:17px;font-weight:700;border:1px solid #acacac;border-radius:10px;}
.form_pw .iptbox input[type=password]::placeholder{color:#999;font-weight:400;}
.form_pw .iptbox + .iptbox{margin-top:20px;}


/*레이아웃*/
.wrap{min-width:1280px;width:100%;min-height:100%;height:auto;}
header{position:relative;z-index:100;}
header:after{content:'';position:absolute;right:0;left:0;bottom:0;width:100%;height:1px;background:#eee;z-index:-1;}

.header_top{padding:0 20px;display:flex;flex-wrap:wrap;justify-content: space-between;align-items: center;}
.header_top .logo{display:inline-block;width:230px;height:54px;background:url(../img/common/ai.svg) no-repeat left center;background-size:auto 24px;}

.header_top .logo a span{font-size:22px;font-weight:700;color:#aaadb4;line-height:54px;}
.header_top .module .username{display:inline-block;padding:0 10px;line-height:28px;font-size:14px;color:#666;font-weight:400;}
.header_top .module .username span{margin-right:5px;font:inherit;font-weight:500;}
.header_top .module .btn_logout{display:inline-block;padding:0 10px;line-height:28px;background:#f2f2f2;color:#222;border-radius:16px;font-size:13px;font-weight:500;}
header .btn_menu{display:none;position:absolute;right:20px;top:50%;margin-top:-15px;width:30px;height:30px;background:url(../img/admin/common/btn_menu.png) no-repeat center center;background-size:contain}
header .gnb{margin:0;border-top:1px solid #f2f2f2;}
header .gnb ul {display:flex;flex-wrap:nowrap;}
header .gnb ul li{position:relative;flex:1;}
header .gnb ul li a{display:block;color:#010d26;font-size:17px;font-weight:700;line-height:54px;padding:0 10px;text-align:center;}
header .gnb ul li.on a{color:#f26938;border-bottom:2px solid #f26938}




.contents{display:flex;width:100%;height:calc(100vh - 111px);flex-wrap:nowrap;align-items: stretch;}
.contents .lnb{width:180px;height:100%;background:#011640;overflow-y:auto;}
.contents .lnb h3{font-size:17px;line-height:45px;font-weight:700;color:#fff;padding:10px 20px;}
.contents .lnb ul li{display:block;}
.contents .lnb ul li a{display:block;padding:0 20px;line-height:46px;font-size:16px;color:#f1f1f1;font-weight:500;}
.contents .lnb ul li.on{background:#f2522e;}
.contents .lnb ul li.on a{color:#fff;}
.contents .lnb ul li .depth{display:block;padding:0 20px;background:#f1f1f1;}
.contents .lnb ul li .depth a{padding:0 10px;font-size:14px;color:#787878;}
.contents .body_conts{flex:1; overflow-y:auto;}
.contents .body_conts .page_tit{position:sticky; top:0; left:0; padding:0 20px;font-size:17px;font-weight:700;line-height:45px;border-bottom:1px solid #eee; background:#fff; z-index:1;}
.contents .body_conts .page_tit h3{font-size:17px;font-weight:700;line-height:45px;color:#222;}
.contents .body_conts .inner{min-height:calc(100% - 92px);padding:20px;}
.contents .body_conts .footer{padding:15px 20px;text-align:center;font-size:11px;color:#999;}



.bdlist{width:100%;}
.bdlist li{display:flex;flex-wrap:nowrap;border-bottom:1px solid #f1f1f1;}
.bdlist li.head{background:#f1f1f1;border-bottom:none;border-radius:5px;}
.bdlist li.head span{font-weight:600!important;color:#444!important}
.bdlist li.head:hover{background:#f1f1f1;}
.bdlist li .num{width:5%;line-height:40px;text-align:center;color:#444;}
.bdlist li .title{flex:1;line-height:40px;text-align:left;color:#444;}
.bdlist li .date{width:10%;line-height:40px;text-align:center;color:#444;}
.bdlist li .writer{width:10%;line-height:40px;text-align:center;color:#444;}
.bdlist li.nodata{justify-content: center}
.bdlist li.nodata p{color:#999;line-height:40px;}
.bdlist li:hover{background:#fbfbfb;}
.bdlist li:hover .title{font-weight:500;color:#1b59b6;}

.paging{margin:30px auto 0;text-align:center;}
.paging a{display:inline-block;margin:0 3px;min-width:24px;height:24px;line-height:24px;font-size:13px;color:#999;vertical-align: top;}
.paging a.on,.paging a:hover{color:#f2522e;font-weight:700;}
.paging .first{background-color:#f8f8f8;background-image:url(../img/admin/common/first.png);background-position:center top;border-radius:2px;}
.paging .first.on,.paging .first:hover{background-color:#010d26;background-position:center bottom;}
.paging .prev{background-color:#f8f8f8;background-image:url(../img/admin/common/prev.png);background-position:center top;border-radius:2px;}
.paging .prev.on,.paging .prev:hover{background-color:#010d26;background-position:center bottom;}
.paging .next{background-color:#f8f8f8;background-image:url(../img/admin/common/next.png);background-position:center top;border-radius:2px;}
.paging .next.on,.paging .next:hover{background-color:#010d26;background-position:center bottom;}
.paging .last{background-color:#f8f8f8;background-image:url(../img/admin/common/last.png);background-position:center top;border-radius:2px;}
.paging .last.on,.paging .last:hover{background-color:#010d26;background-position:center bottom;}

.bdview{width:100%;border:1px solid #d0d0d0;border-bottom:none;}
.bdview thead th{padding:7px 14px;line-height:22px;font-size:14px;font-weight:500;color:#666;border-bottom:1px solid #d0d0d0;background:#f6f6f6;text-align:left;}
.bdview thead th p{font:inherit;}
.bdview thead tr.t_center th{text-align:center;}
.bdview thead th.date{text-align:center;color:#787878}
.bdview thead th + th{border-left:1px solid #d0d0d0;}
.bdview tbody th{padding:5px 10px;border-bottom:1px solid #d0d0d0;border-right:1px solid #d0d0d0;background:#f6f6f6;text-align:left;line-height:24px;font-weight:500;color:#666;}
.bdview tbody td{padding:5px 10px;border-bottom:1px solid #d0d0d0;border-right:1px solid #d0d0d0;height:40px;font-size:14px;color:#222;font-weight:500;line-height:20px;}
.bdview tbody td + th{border-left:1px solid #d0d0d0;}
.bdview tbody td p,.bdview tbody td a{font-size:14px;color:#222;font-weight:500;line-height:20px;}
.bdview tbody td p.lh32{line-height:32px;}
.bdview tbody td a:hover{font-size:14px;color:#f2522e;font-weight:500;line-height:20px;}
.bdview tbody td span{font-size:14px;color:#222;font-weight:500;line-height:20px;}
.bdview tbody td .statebox{margin-left:20px;display:inline-block;border-radius:4px;vertical-align: top;}
.bdview tbody td .statebox p{line-height:1.3;color:#f42143;}
.bdview tbody td .statebox p + p{color:#222;}
.bdview tbody td .editor_view{padding:10px 0;min-height:360px;font-size:14px;}
.bdview tbody td button{line-height:28px;}
.bdview tbody tr:last-child th,.bdview tbody tr:last-child td{border-bottom:1px solid #d0d0d0;}
.bdview tbody td .multiC span{padding:0;}
.bdview tbody td .multiC input {}
.bdview tbody tr.summary td {text-align: center;background-color: #cde0f7;}
.bdview tbody textarea{display:block; border:1px solid #d0d0d0;}
.bdview .blline{border-left:1px solid #d0d0d0;}
.bdview .bold{color:#333;}
.bdview .thumb_img{text-align:center;}
.bdview .thumb_img img{max-height:165px; width:100%;}
.bdview .color_b{color:#1777f9;}
.bdview tr td.nodata{text-align:center;}
.bdview tr td.nodata p{color:#999;line-height:40px;}
.bdview tr td select {-webkit-appearance: none;padding:0 30px 0 7px;display:inline-block;height:30px;border:1px solid #d0d0d0;font-size:14px;color:#222;font-weight:500;background:url(../img/admin/common/select.png) no-repeat right center;}
.bdview td textarea {width:100%;}
.bdview td textarea.h75 {height:75px;}

.dashboard{max-width:1440px;margin:0 auto;width:100%;padding-bottom:70px;}
.dashboard .tit .dash_date{margin-left:5px;display:inline-block;color:#011640;padding:0 10px;background:#f6f7f8;border-radius:4px;line-height:30px;font-size:15px;}
.dashboard .tit .dash_date:before{content:'';margin-right:5px;display:inline-block;width:16px;height:30px;background:url(../img/admin/common/month.png) no-repeat center center;vertical-align: middle;}
.dashCount{margin-top:10px;padding:24px 0;border:1px solid #f0f0f0;border-radius:10px;box-shadow:0 3px 10px rgba(0,0,0,0.08);}
.dashCount ul{display:flex;flex-wrap:nowrap;}
.dashCount ul li{position:relative;flex:1;text-align:center;}
.dashCount ul li h4{font-size:17px;font-weight:400;color:#011640;}
.dashCount ul li h4 span{font-size:28px;font-weight:600;color:#011640;}
.dashCount ul li + li:before{content:'';position:absolute;left:0;top:50%;margin-top:-27px;display:inline-block;width:1px;height:54px;background:#e1e1e1;}
.dashCount ul li p{display:inline-block;position:relative;font-size:15px;color:#555;}

.dashboard .widget_header:first-child{margin-top:30px;}
.dashboard tbody td.t_center{text-align:center;}
.dashboard tbody td.t_right{text-align:right;}
.dashboard tbody th{color:#222;font-size:15px;font-weight:500;}
.dashboard tbody .bg_gray{background:#e5e9f3;font-size:15px;font-weight:500;}
.dashboard tbody .noline{border-right:none;}
.dashboard tbody tr.summary td{background-color: #253056;color:#fff;font-size:18px;height:52px;}
.dashboard tbody tr.summary td.count{color: #fff;}

.editor_view > *{font:inherit;line-height:1.4;}
.btnwrap{margin-top:30px;display:flex;flex-wrap:nowrap;justify-content: flex-end;gap:5px;}
.btnwrap .btn{margin-left:5px;}
.state{display:inline-block;padding:0 7px;border:1px solid #1db6cf;color:#1db6cf;border-radius:3px;font-size:13px;}
.state.end{color:#fff;background:#1db6cf;}
.bdwrite{width:100%;border-top:1px solid #d0d0d0;border-left:1px solid #d0d0d0;}
.bdwrite th{padding:5px 10px;background:#f8f8f8;border-bottom:1px solid #d0d0d0;line-height:20px;text-align:left;color:#666;font-weight:500;}
.bdwrite th p{font:inherit;color:inherit;}
.bdwrite .required{position:relative;}
.bdwrite .required:after{content:'';margin-left:5px;display:inline-block;width:3px;height:3px;border-radius:50%;background:#f2522e;line-height:20px;vertical-align: top;}
.bdwrite td{padding:5px 10px;height:40px;border-bottom:1px solid #d0d0d0;border-left:1px solid #d0d0d0;font-size:14px;color:#222;font-weight:500;}
.bdwrite td + th{border-left:1px solid #d0d0d0;border-right:1px solid #d0d0d0;}
.bdwrite td p{padding:5px 0;font-size:14px;color:#222;font-weight:500;line-height:20px;}
.bdwrite td>span{display:inline-block;padding:0;font-size:14px;color:#222;font-weight:500;line-height:20px;vertical-align: top;}
.bdwrite td span.lh30{padding:0;}
.bdwrite td p.color_b{margin-top:5px;padding:0;color:#1777f9;line-height:1.4;}
.bdwrite tr td:last-child{border-right:1px solid #d0d0d0;}
.bdwrite td input[type=text]{padding:0 10px;display:inline-block;width:100%;height:30px;border:1px solid #d0d0d0;font-size:14px;color:#222;font-weight:500;}
.bdwrite td input[type=number]{padding:0 10px;display:inline-block;height:30px;border:1px solid #d0d0d0;font-size:14px;color:#222;font-weight:500;}
.bdwrite td input[type=password]{padding:0 10px;display:inline-block;width:100%;height:30px;border:1px solid #d0d0d0;font-size:14px;color:#222;font-weight:500;}
.bdwrite td textarea{width:100%;height:360px;border:1px solid #d0d0d0;padding:10px;font-size:14px;color:#662226;}
.bdwrite td textarea.h75{height:75px;}
.bdwrite td .ipt_id{display:flex;flex-wrap:nowrap;gap:10px;max-width:318px;}
.bdwrite td .ipt_id input{flex:1;}
.bdwrite td .ipt_id .btn_g{height:30px;line-height:30px;}
.bdwrite td .filelist{margin:5px 0;}

.bdwrite tr td .tui-datepicker-input{display:inline-flex;border:1px solid #d0d0d0;height:30px;}
.bdwrite tr td .tui-datepicker-input.tui-has-focus{width:140px;height:30px;vertical-align:middle;}
.bdwrite tr td .tui-datepicker-input > input{width:calc(100% - 28px);height:28px;border:none;}
.bdwrite tr td .tui-datepicker-input .tui-ico-date{right:0;margin-top:-14px;display:inline-block;width:28px;height:28px;background:url(../img/admin/common/ico_month.png) no-repeat center center;}
.bdwrite tr td .tui-datepicker-selector-button.tui-is-checked .tui-ico-date{height:28px;}
.bdwrite tr td select{-webkit-appearance: none;padding:0 30px 0 7px;display:inline-block;height:30px;border:1px solid #d0d0d0;font-size:14px;color:#222;font-weight:500;background:url(../img/admin/common/select.png) no-repeat right center;}
.bdwrite tr td select:disabled{background-color:#f8f8f8;color:#787878;}
.bdwrite tr td select+select{margin-left:5px;}
.bdwrite tr td button,.bdwrite tr td a{display:inline-block;height:30px;line-height:28px;vertical-align: top;font-weight:500;}
.bdwrite tr td .editor{min-height:360px;}

.editor_view{margin:30px auto 0;border-top:1px solid #d0d0d0;padding:30px 0;width:100%;height:auto;}
.editor_view p{margin:1em 0;font-size:15px;line-height:1.6}
.editor_view strong{font-weight: bold;}
.editor_view em{font-style: italic;}
.editor_view *{font:inherit;color:inherit;line-height:1.4;}
.editor_view h1{font-size:2em;font-weight:bold}
.editor_view h2{font-size:1.5em;font-weight:bold}
.editor_view h3{font-size:1.17em;font-weight:bold}
.editor_view ol, .editor_view ul, .board li .bd_editor ul, .board li .bd_editor dl{padding:0 40px;}
.editor_view .marker{background-color:yellow;color:#333;}
.editor_view blockquote {font-style: italic;font-family: Georgia, Times, "Times New Roman", serif;padding: 2px 0;border-style: solid;border-color: #ccc;border-width: 0;}
.editor_view blockquote {padding-left: 20px;padding-right: 8px;border-left-width: 5px;}
.editor_view .cke_contents_rtl blockquote {padding-left: 8px;padding-right: 20px;border-right-width: 5px;}
.editor_view samp {font-family: monospace;}
.editor_view big{font-size:larger;}
.editor_view *::before,.board li .bd_editor *::after{font:inherit;line-height:1.4;}
.editor_view q{quotes:initial;}
.editor_view q::before{content:open-quote;}
.editor_view q::after{content:close-quote;}

/*버튼스타일*/
.btn{display:inline-block;min-width:70px;height:36px;text-align:center;background:#010d26;color:#fff;font-size:14px;}
.btn_w{padding:0 12px;border:1px solid #d0d0d0;color:#333;line-height:34px;background:#fff;}
.btn_bl{padding:0 12px;background:#333;color:#fff;line-height:34px;}
.btn_g{padding:0 12px;background: #f0f0f0;color:#222;line-height:34px;}
.btn_o{padding:0 12px;background:#f2522e;color:#fff;line-height:34px;font-weight:500;}
.btn_yg{padding:0 12px;background:#1DB6CF;color:#010d26;line-height:34px;font-weight:500;}
.excel span{display:inline-block;margin-right:4px;width:20px;height:20px;line-height:34px;font-weight:500;background:url(../img/admin/common/ic_exceldown.png) no-repeat center center;vertical-align:middle;}

/*버튼*/
.button{margin-top:30px; display:flex; justify-content: flex-end;gap:7px;}
.button.center{justify-content: center;}
.button .left button,.button .left a{min-width:80px;height:35px;line-height:35px;margin-right:5px;margin-left:0;}
.button button,.button a{min-width:80px;height:35px;line-height:35px;text-align:center;}
.btn_type1{display:inline-block;border:1px solid #d0d0d0;padding:0 10px;min-width:70px;height:32px;line-height:30px;font-size:14px;font-weight:500;color:#222;text-align:center;background:#fff;}
.btn_type1:hover{background-color:#f8f9f5;border:1px solid #d0d0d0;}
.btn_type1 span{display:inline-block;margin-right:6px;width:16px;height:30px;background-position:center center;background-repeat:no-repeat;vertical-align:top;}
.btn_type1.save{background:#f2522e;border-color:#f2522e;color:#fff;}
.btn_type1.save span{background-image:url('../img/admin/common/ic_save.png')}
.btn_type1.add {color:#010d26;}
.btn_type1.add span{background-image:url('../img/admin/common/ic_add.png')}
.btn_type1.del span{background-image:url('../img/admin/common/ico_del.png')}
.btn_type1.resend span{background-image:url('../img/admin/common/ic_send.png')}
.btn_type1.preview span{background-image:url('../img/admin/common/ico_article.png')}
.btn_type1.next span{background-image:url('../img/admin/common/next.png'); background-position-y:3px;}
.btn_type1.prev span{background-image:url('../img/admin/common/prev.png'); background-position-y:3px;}
.btn_type2{display:inline-block;padding:0 10px;min-width:70px;background:#666;height:32px;line-height:30px;color:#fff;font-size:14px;vertical-align:top;text-align:center;}
.btn_type2:hover{background-color:#999;}
.btn_type3{display:inline-block;padding:0 10px;min-width:70px;background:#0032c0;height:32px;line-height:30px;color:#fff;font-size:14px;vertical-align:top;text-align:center;}
.btn_type4{display:inline-block;padding:0 10px;min-width:70px;background:#0f1628;height:32px;line-height:30px;color:#fff;font-size:14px;vertical-align:top;text-align:center;}
.btn_type1.on{display:inline-block;padding:0 10px;min-width:70px;border:1px solid #2733b2;height:32px;line-height:32px;color:#2733b2;font-size:14px;vertical-align:top;box-sizing:border-box;text-align:center;background-color:#fff;}
.btn_del{display:inline-block;width:24px;height:24px;background:#fff; border:1px solid #ccc; padding:3px 5px;color:#2733b2!important;}

.filewrap input[type=file]{position: absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border: 0;}
.filewrap label {display: inline-block;padding: 0 12px;color: #fff;font-size:14px;line-height:30px;background:#444;vertical-align: middle; cursor:pointer;}
.filewrap .filename,.bdwrite .filewrap .filename{margin-right:3px;display: inline-block;width:calc(100% - 55px);height:30px;padding: 0 10px;vertical-align: middle;color:#999;background-color: #f6f7f8;border: 1px solid #d0d0d0;border-radius: 2px;-webkit-appearance: none;-moz-appearance: none;appearance: none;}
.filewrap p,.bdwrite .filewrap p{color:#787878;}
.file_thumb{position:relative;margin-top:10px;width:200px;border:1px solid #d0d0d0;}
.file_thumb img{width:100%;object-fit: contain;}
.file_thumb .btn_del{position:absolute;right:0;top:0;width:30px;height:30px;border:none;background:url(../img/admin/common/btn_del_img.png) no-repeat center center;vertical-align:middle;}
.filelist{margin:5px 10px;background:#f6f7f8;border-radius:4px;}
.filelist li{display:block;}
.filelist li a{display:inline-block;max-width:calc(100% - 39px);padding-left:30px;line-height:34px;color:#787878;font-size:14px;background:url(../img/admin/common/file_file.png) no-repeat 7px center;}
.filelist li + li{border-top:1px solid #aaa;}
.filelist li .btn_del{margin-left:3px;display:inline-block;width:30px;height:30px;background:url(../img/admin/common/btn_del.png) no-repeat center center;vertical-align:middle;}

/* 검색 영역 */
.searchbox h2 {display:inline-block;font-size:20px;font-weight:600;}
/*.searchbox .search_btn {float:right;margin-top:0;}*/
.searchbox table{width:100%;background:#fff;}
.searchbox table th{padding:4px 10px;background:#f8f8f8;text-align:right;color:#787878;border-right:1px solid #d0d0d0;border-bottom:1px solid #d0d0d0;vertical-align:middle;font-weight:500;}
.searchbox table td{padding:4px 10px;border-bottom:1px solid #d0d0d0;vertical-align:middle;height:32px; border-right: 1px solid #d0d0d0;}
.searchbox table td input, .searchbox table td span,.searchbox table td select{padding:0 7px;color:#222;line-height:26px;border-color:#d0d0d0;vertical-align: middle;}
.searchbox table td .multiC span{padding:0;}
.searchbox table td label{line-height:30px;}
.searchbox table tr:first-child th,.searchbox table tr:first-child td{border-top:1px solid #d0d0d0;}
.searchbox table tr th:first-child{border-left:1px solid #d0d0d0;}
/*.searchbox table tr td .btn_type3:hover{background:#999;color:#fff;}*/
.searchbox table tr td button{height:30px;}
.searchbox table tr td select{min-width:120px;padding:0 30px 0 10px;background:url(../img/admin/common/select.png) no-repeat right center;height:30px; line-height:28px;-webkit-appearance: none;appearance: none;}
.searchbox table tr td select+select{margin-left:5px;}
.searchbox table tr td input[type=text], .searchbox table tr td input[type=number], .searchbox table tr td input[type=email], .searchbox table tr td input[type=password]{height:30px; font-size:14px;border:1px solid #d0d0d0;}
.searchbox table tr td .tui-datepicker-input{display:inline-flex;border:1px solid #d0d0d0;height:30px;}
.searchbox table tr td .tui-datepicker-input.tui-has-focus{width:140px;height:30px;vertical-align:middle;}
.searchbox table tr td .tui-datepicker-input > input{width:calc(100% - 28px);height:28px;border:none;}
.searchbox table tr td .tui-datepicker-input .tui-ico-date{right:0;margin-top:0;display:inline-block;width:28px;height:28px;background:url(../img/admin/common/ico_month.png) no-repeat center center;transform:translateY(-50%);}
.searchbox table tr td .tui-datepicker-selector-button.tui-is-checked .tui-ico-date{height:28px;}
.searchbox table tr td .module_btns{display:inline-block;}
.searchbox table tr td .module_btns .btn_type1{margin-left:4px; min-width:60px; height:26px; line-height:24px;font-size:13px;}
.searchbox table tr td .input_wrap input{padding:0 10px; border:1px solid #d0d0d0;}
.searchbox table tr td .color_b{color:#1777f9;}
.multiC {display:flex;gap:15px;justify-content: flex-start;}
.multiC span{padding:4px 0;line-height:30px;}
.search_btn{margin-top:20px;display:flex;flex-wrap:nowrap;justify-content: center;gap:10px;}
.search_btn .btn_bl{min-width:90px;height:32px;line-height:32px;font-size:13px;}
.search_btn .btn.gray{background:#f2f2f2;color:#010d26;}
.search_btn .btn{min-width:90px;height:32px;line-height:30px;font-size:13px;background:#011640;color:#fff;cursor:pointer;}
.chk_wrap{display:flex; gap:10px 20px; flex-wrap: wrap; align-items:center;}
.timechk{background:#f8f8f8;border-radius:4px;padding:10px;}
.searchbox table td .chk_wrap span{padding:0; line-height:unset;}

.widget_header{margin:60px 0 7px; overflow:hidden;}
.widget_header.mt20{margin-top:20px;}
.widget_header.visible{overflow:visible;}
.inner > .widget_header:first-of-type{margin-top:0;}
.widget_header .tit{float:left;font-size:17px;font-weight:700; color:#222; line-height:30px; }
.widget_header .tit span{font-size:15px; font-weight:400;}
.widget_header .list_total{float:left;line-height:30px; font-weight:500;font-size:14px;color:#666;}
.widget_header .module_btns{float:right;}
.widget_header .module_btns button{margin-left:5px;min-width:70px;line-height:30px;font-weight:500;}
.widget_header .module_btns .btn_bl{line-height:32px;}
.widget_header .module_left{float:left;}
.widget_header .module_left .list_total{float:none;margin-left:5px;}
.widget_header .module_left .btns{display:inline-block;margin-left:5px;}
.widget_header .module_left .btns *{padding:0 10px;height:32px;line-height:32px;}
.widget_header .module_right{float:right;}
.widget_header .module_right .module_btns{float:none;}
.widget_header .subtxt{margin-left:10px;display:inline-block;vertical-align: top;color:#1777f9;line-height:30px;}
.sub_tit{padding-left:10px;text-indent:-10px;font-size:15px;font-weight:500;line-height:1.3;}
.sub_tit.color_lb{color:#1777f9;font-weight:400;}


.widget{margin-top:20px;}
.widget:first-of-type{margin-top:0;}
.widget_header+.widget{margin-top:0;}
.widget_flex_box{display:flex; gap:36px}
.widget_flex_box .widget_box{flex:1;}
.widget .confirm {position: relative;}
.widget .confirm .btn_flex {position: absolute;right:10px;}
.widget .module_top {display: flex;gap:15px;}
.widget .module_top .subtit {font-size:16px;font-weight:600;}

.tab_wrap{margin:20px 0; overflow:hidden;}
.tab_wrap a{display:block; float:left; padding:0 20px; margin-right:10px; font-size:15px; color:#444; background:#fff; border:1px solid #d0d0d0; line-height:34px; border-radius:17px;}
.tab_wrap a.on{background:#011640; color:#fff; border-color:#011640;}

/* 레이어 팝업 */
.popup{display:none; position:fixed; left:0; right:0; top:0; bottom:0; align-items:center; justify-content:center; z-index:100;}
.popup.open{display:flex;}
.popup-dim {opacity: 1;position: fixed;top: 0;right: 0;bottom: 0;left: 0;text-align: left;background: rgba(0,0,0, .4);z-index: 100;}
.popup-content {position:relative; text-align: left;background: #fff;width:auto;height:auto; z-index:101;}
.popup-header{position:relative;padding:0 15px;height:40px;border-bottom:1px solid #d0d0d0;}
.popup-header .popup-title{color:#333;font-size:15px;font-weight:700;line-height:40px;}
.popup-header .popup-close-btn{position:absolute;right:5px;top:0;width:35px;height:40px;background:url(../img/admin/common/ico_close.png) no-repeat center center;}
.popup-body{height:calc(100% - 40px);}
.pop_bg{padding-bottom:20px;border-bottom:1px solid #d0d0d0;}
.popup-body .scroll-y{width:100%;padding:25px;max-height:700px;overflow-y:auto;}
.popup-body.nospace .scroll-y{padding:0;}
.popup-body.mh300 .scroll-y{min-height:300px;}
.popup-body.noScroll .scroll-y{overflow:visible;}
.popup-body .scroll-y > .widget_header:first-of-type{margin-top:0;}
.popup-body .tit{font-size:16px;}
.pop_button{margin-top:30px;text-align:center;}
.pop_button button,.pop_button a{margin:0 2px;}

.popup-body.text-red {
    color: #e53935; /* 밝은 빨간색 */
    font-weight: bold;
}

.popup-body.text-blue {
    color: #1e88e5; /* 밝은 파란색 */
    font-weight: bold;
}

.photo-popup-content{position:fixed;margin:auto;z-index:101;width:auto;height:auto;background:#222;}
.photo-popup-content .popup-header .popup-title{color:#fff;}
.photo-popup-content .popup-header .popup-sub-title{margin-left:32px; color:#fff;font-size:13px;font-weight:600;line-height:39px;}
.photo-popup-content .popup-header .popup-close-btn{position:absolute;right:5px;top:0;width:35px;height:40px;background:url(../img/admin/common/ico_close.png) no-repeat center center;}
.photo-popup-content .popup-body .scroll-y{padding:0;overflow-y:hidden;}
.popup-body .searchbox .search_btn{padding:20px 0 0;border-bottom:none;}
/*.popup-body .widget{margin-top:15px!important;}*/
.popup-body .widget_header{margin-top:20px;}
.txt_alert{margin-top:5px; color:#ff0000 !important;}
.txt_noti{margin-top:5px; color:#011640;}
@media screen and (max-width:1024px){
	/*header .btn_menu{display:block;}*/
}

/* 그리드 전용 */
.grid-link-text div {color: blue;}
.grid-link-text div:hover {color: blue; text-decoration:underline; cursor: pointer;}

/* 대시보드 */
.tb_report{display:flex; border:1px solid #bbb;}
.tb_report li{position:relative;padding:25px 20px; flex:1; text-align:center;}
.tb_report li + li:before{content:'';position:absolute;left:0;top:50%;margin-top:-15px;width:1px;height:30px;background:#e1e1e1;}
.tb_report li h3{font-size:15px;color:#555;font-weight:500;}
.tb_report li p{margin-top:5px;color:#111; font-size:24px;font-weight:700;}
.tb_report li p span{font:inherit;}
.tb_report li .color_b{color:#0032c0!important;}
.tb_report li .color_r{color:#f42143;}
.cur_pointer{cursor:pointer;}

.tb_tit_wrap{margin:30px 0 15px; overflow:hidden;}
.tb_tit_wrap.flex{display:flex; justify-content:space-between; align-items:center;}
.tb_tit_wrap:first-of-type{margin-top:0;}
.tb_tit{font-size:16px; font-weight:600; color:#2733b2;}

/* 알림 리스트 메시지 */
.message_title{font-family: 'Pretendard','Noto Sans KR'!important;font-weight:700;}
.message_content{font-family: 'Pretendard','Noto Sans KR'!important;white-space: nowrap;text-overflow: ellipsis;overflow: hidden; line-height:1;}

.with_tui.bdview thead th{padding: 8px 14px; line-height: 21px;}
.bdview.t_center th{text-align:center !important;}
.toRight .tui-datepicker{right:0;}

.map_box{height:300px;}
.map_box.nodata{border:1px solid #d0d0d0; display:flex; align-items:center; justify-content:center;}
.map_box.nodata p{color:#787878;}

.icon_thumb{margin:0 auto; width:26px; height:26px; text-align:center;}
.icon_thumb img{max-width:100%; max-height:100%;}

.work{display:inline-block;border-radius:4px;padding:10px 40px;background:#f9f9f9;}
.work ul{display:flex;flex-wrap:nowrap;align-items: center;gap:60px;}
.work ul li{position:relative;}
.work ul li + li:before{content:'';position:absolute;left:-30px;top:50%;margin-top:-8px;width:1px;height:16px;background:#ddd;}
.work ul li h4{ display:inline-block;font-size:15px;color:#555;font-weight:500;line-height:30px;vertical-align: middle;}
.work ul li h4.ic_home{display:inline-block;padding-left:28px;line-height:22px;background:url(../img/admin/common/ic_home.png) no-repeat left center;}
.work ul li h4.ic_work{display:inline-block;padding-left:28px;line-height:22px;background:url(../img/admin/common/ic_work.png) no-repeat left center;}
.work ul li p{ display:inline-block;margin-left:5px;font-size:24px;color:#222;font-weight:700;line-height:30px;vertical-align: middle;}

.maxw1160{gap:24px;}
.maxw1160 .widget_box{border:1px solid #bbb;padding:10px;border-radius:4px;}
.maxw1160 .widget_box + .widget_box{width:460px;flex:none;}
.maxw1160 .widget_box ul{display:flex;flex-wrap:nowrap;flex-direction: row;}
.maxw1160 .widget_box ul li{position:relative;flex:1;text-align:center;padding:20px;}
.maxw1160 .widget_box ul li + li:before{content:'';position:absolute;left:0;top:50%;margin-top:-15px;width:1px;height:30px;background:#e1e1e1;}
.maxw1160 .widget_box ul li h4{font-size:15px;color:#555;font-weight:500;}
.maxw1160 .widget_box ul li p{margin-top:5px;font-size:24px;color:#222;font-weight:700;}
.maxw1160 .widget_box ul li .color_b{color:#0032c0;}
.maxw1160 .widget_box ul li .color_r{color:#f42143;}
.maxw1160 .widget_box ul li .color_g{color: #31b802;}

.home_map_box{padding:10px; width:100%; height:675px; border:1px solid #bbb; border-radius:4px;}
.home_map_box > div{width:100%; height:100%;}

.mapcode{padding:5px;}
.mapcode p{text-align:left;}
.mapcode p+p{margin-top:3px;}

.alertbox{;padding:10px 20px;background:#f0f0f0;border-radius:5px;}
.alertbox p{font-size:14px;font-weight:500;line-height:1.4;}
.alertbox .color_b{color:#0032c0;}


.info_phone{background:#f8f8f8;border-radius:10px;padding:10px 20px;}
.info_phone dl{display:flex;flex-wrap:nowrap;}
.info_phone dl dt{position:relative;padding-left:10px;line-height:30px;font-weight:500;color:#666;width:110px;}
.info_phone dl dt:before{content:'';position:absolute;left:0;top:50%;margin-top:-1px;width:3px;height:3px;background:#0032c0;}
.info_phone dl dd{font-weight:700;color:#222;line-height:30px;flex:1;}
.info_phone dl dd p{font-weight:700;color:#222;}


.setlist{display:flex;flex-wrap:wrap;width:100%;justify-content: center;}
.setlist li{padding:15px;width:100%;border:1px solid #d0d0d0;border-radius:12px;overflow:hidden;background:#fff;}
.setlist li dl{margin-top:7px;display:flex;align-items: center;gap:10px;}
.setlist li dl dt{position:relative;padding:0 10px;width:110px;line-height:38px;color:#787878;}
.setlist li dl dt:before{content:'';position:absolute;left:0;top:50%;margin-top:-2px;width:3px;height:3px;border-radius:50%;background:#ccc;}
.setlist li .quiz_num{font-weight:700;color:#f2522e;font-size:17px;}
.setlist li dl dd p{font-size:14px;font-weight:500;color:#111; white-space:pre-line}
.setlist li dl:first-child{margin-top:0;}

.setlist.view li dl dd{flex:1;padding:0 10px;line-height:38px;background:#f4f4f4;border-radius:4px;}
.setlist.view li .answer{padding:5px 0;}
.setlist.view li .answer dd{padding:0;border-bottom:none;background:none;}
.setlist.view li .answer dd dl{border-bottom:none;gap:10px;}
.setlist.view li .answer dd dl dt{background:none;width:110px;line-height:24px;color:#444;}
.setlist.view li .answer dd dl dt:before{content:none;}
.setlist.view li .answer dd dl dd{padding:5px 10px;border-bottom:none;line-height:28px;background:#f4f4f4;}

.setlist.write li dl dt{width:110px;}
.setlist.write li dl dd{flex:1;padding:0 10px;line-height:38px;border-radius:4px;}
.setlist.write li dl dd.f15{flex:1.5;}
.setlist.write li dl dd input[type="text"]{width:100%;height:38px;font-size:15px;font-weight:500;color:#111;padding:0 10px;}
.setlist.write li dl dd textarea{padding:10px;width:100%;height:64px;border-radius:4px;font-size:15px;font-weight:500;border:none;}
.setlist.write li dl dd textarea:focus{outline:none;}
.setlist.write li dl dd .form_quiz{display:flex;border-bottom:1px solid #d0d0d0;align-items: flex-end;}
.setlist.write li dl dd .form_quiz input[type="text"]{flex:1;}
.setlist.write li dl dd .form_quiz .btn_upload{position:relative;display:inline-block; width:36px;height:36px;border-radius:4px;overflow:hidden;}
.setlist.write li dl dd .form_quiz .btn_upload input[type=file]{position: absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border: 0;}
.setlist.write li dl dd .form_quiz .btn_upload .ico_file{position:absolute;left:0;top:0;width:100%;height:100%;background:url(../img/admin/common/btn_file_img.png) no-repeat center center;}
.setlist.write li dl dd .form_quiz .btn_upload .ico_radio{position:absolute;left:0;top:0;width:100%;height:100%;background:url(../img/admin/common/ico_radio.png) no-repeat center center;}
.setlist.write li dl dd .form_quiz .btn_upload:hover .ico_file,.setlist.write li dl dd .form_quiz .btn_upload:hover .ico_radio{background-color:#f0f0f0;}
.setlist.write li dl dd .form_quiz .filename{flex:1;display:flex;justify-content: flex-start; gap:7px;align-items: center;}
.setlist.write li dl dd .form_quiz .filename a{font-size:14px;font-weight:500;color:#222;}
.setlist.write li dl dd .form_quiz .filename a:hover{color:#f2522e;}
.setlist.write li dl dd .form_quiz .filename .btn_del{display:inline-block;width:20px;height:20px;border-radius:50%;border:none;background:#f0f0f0 url(../img/admin/common/btn_del.png) no-repeat center center;}
.setlist.write li dl dd .link_num select{appearance:none;min-width:100px; font-size:14px;height:34px;padding:0 30px 0 10px;background:url(../img/admin/common/select.png) no-repeat right center;}
.setlist.write li dl dd .link_num span{display:inline-block;line-height:38px;}
.setlist.write li .answer{padding:0;}
.setlist.write li .answer dd{padding:0 10px 10px;border-bottom:none;}
.setlist.write li .answer dd dl{margin-top:7px;border-bottom:none;gap:15px;}
.setlist.write li .answer dd dl dt{padding:0;background:none;width:auto;line-height:24px;color:#555;}
.setlist.write li .answer dd dl dt:before{content:none;}
.setlist.write li .answer dd dl dd{padding:0;border-bottom:none;line-height:1.6;}
.setlist.write li .answer.nodt dd dl dt{width:110px;color:#444;}
.setlist.write li dl dd input[type="text"].ipt_score{flex:none;display:inline-block;width:80px!important;text-align:right;border-bottom:1px solid #d0d0d0;}
.setlist.write li dl.active dd .form_quiz{border-color:#011640;}
.setlist.write li dl.active dd input[type="text"].ipt_score{border-color:#011640;}
.setlist.write li dl.answer.active dd dl dd .form_quiz{border-color:#d0d0d0;}
.setlist.write li dl.answer.active dd dl.active dd .form_quiz{border-color:#011640;}
.setlist.write li dl.answer dd dl.active dd .form_quiz{border-color:#d0d0d0;}
.contents .body_conts .inner.quizwrap{height:calc(100% - 46px);padding:0;overflow:hidden;}
.contents .body_conts .inner.quizwrap .quizlist{padding:20px;height:calc(100% - 106px);overflow-y:auto;background:#f8f8f8;}
.quiz_tit{margin:20px 20px 0;padding:15px;display:flex;flex-wrap:nowrap;justify-content: space-between;align-items: center; background:#242526;border-radius:14px;}
.quiz_tit p{font-size:18px;line-height:34px;color:#fff;font-weight:700;}
.quiz_tit .module_btns{display:flex;flex-wrap:nowrap;gap:8px;align-items: center;}
.quiz_tit .module_btns button{height:34px;line-height:34px;font-weight:500;}
.quiz_tit .module_btns .btn_o{color:#011640;}
.quiz_tit .module_btns .btn_w{border:none;}
.quizlist .setlist{flex-direction:column; gap:20px;align-items: center;}
.quizlist .setlist li dl dt{width:105px;}
.quizlist .setlist li{width:70%;}
.quizlist .setlist li .set_tit{padding:0 0 5px 10px;display:flex;flex-wrap:nowrap;justify-content: space-between;align-items:center;border-bottom:1px solid #d0d0d0;}
.quizlist .setlist li .set_tit h4{color:#242526;font-size:17px;font-weight:700;}
.quizlist .setlist li .set_tit .module_btns{display:flex;flex-wrap:wrap;gap:7px;}
.quizlist .setlist li .set_tit .module_btns .btn_g{padding:0 8px;font-size:13px;height:30px;line-height:30px;color:#555;font-weight:500;border-radius:4px;}
.quizlist .setlist li .set_tit .module_btns .btn_g span{font-size:12px;}
.quizlist .setlist li.on{border-color:#011640;}
.quizlist .setlist li.on .set_tit{border-color:#011640;}
.quizlist .setlist li.on .set_tit h4{color:#f2522e;}
.btn_g.article span{padding-left:22px;background:url(../img/admin/common/ico_article.png) no-repeat left center;line-height:30px;}
.btn_g.del span{padding-left:22px;background:url(../img/admin/common/ico_del.png) no-repeat left center;line-height:30px;}


/* 팝업 컨테이너 (이전 단계 유지) */
.stockPop .popup-content {
    max-width: 1100px;
    max-height: 600px;
    display: flex;
    flex-direction: column;
}

/* 팝업 헤더: 고정 (유지) */
.stockPop .popup-header {
    flex-shrink: 0;
}

/* ⭐ 수정: popup-body에서 overflow-y:auto 제거하고 Flex 컨테이너로 설정 ⭐ */
/* popup-body가 남은 공간을 차지하고 (flex-grow: 1), 내부의 테이블을 배치합니다. */
.stockPop .popup-body {
    flex-grow: 1;         /* 남은 공간을 모두 차지 */
    display: flex;
    flex-direction: column;
    overflow-y: hidden;   /* [중요] 여기는 스크롤 없앰 */
}


/* 1, 2. 테이블 컨테이너 및 thead 설정 (유지) */
.stockPop .popup-body .bdview {
    display: block;
    width: 100%;
    table-layout: fixed;
}
.stockPop .popup-body .bdview thead {
    display: block;
    width: 100%; /* 부모 너비에 맞춰 고정 */
    background-color: #f5f5f5;
}

/* 3. ⭐ 수정: tbody가 남은 공간을 모두 차지하고 스크롤 담당 ⭐ */
.stockPop .popup-body .bdview tbody { /* 선택자 정확히 확인 */
    display: block;
    width: 100%;

    /* ⭐ 이 값을 height:100% 대신 고정된 max-height로 다시 시도해보세요. ⭐ */
    /* Flexbox가 높이를 정확히 계산하지 못할 때 수동 높이 지정이 필요합니다. */
    max-height: 500px; /* 팝업 높이(600) - 헤더 높이(약 100) = 500px */

    overflow-y: auto; /* ⭐ 반드시 auto 또는 scroll로 설정되어야 함 ⭐ */
}
/* 4. ⭐ 핵심: thead/tbody 행 너비 일치 및 스크롤바 보정 ⭐ */
.stockPop .popup-body .bdview tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}
/* 스크롤바 너비 보정 (일반적으로 17px) */
.stockPop .popup-body .bdview thead tr {
    padding-right: 17px !important; /* !important를 사용하여 다른 스타일보다 우선하도록 강제 */
}




/* 팝업 컨테이너 (이전 단계 유지) */
.aiAlnalisysPop .popup-content {
    max-width: 1100px;
    max-height: 800px;
    display: flex;
    flex-direction: column;
}
/* ⭐ 수정: popup-body에서 overflow-y:auto 제거하고 Flex 컨테이너로 설정 ⭐ */
/* popup-body가 남은 공간을 차지하고 (flex-grow: 1), 내부의 테이블을 배치합니다. */
.aiAlnalisysPop .popup-body {
    flex-grow: 1;         /* 남은 공간을 모두 차지 */
    display: flex;
    flex-direction: column;
    overflow-y: hidden;   /* [중요] 여기는 스크롤 없앰 */
}


/* 1, 2. 테이블 컨테이너 및 thead 설정 (유지) */
.aiAlnalisysPop .popup-body .bdview {
    display: block;
    width: 100%;
    table-layout: fixed;
}
.aiAlnalisysPop .popup-body .bdview thead {
    display: block;
    width: 100%; /* 부모 너비에 맞춰 고정 */
    background-color: #f5f5f5;
}

/* 3. ⭐ 수정: tbody가 남은 공간을 모두 차지하고 스크롤 담당 ⭐ */
.aiAlnalisysPop .popup-body .bdview tbody { /* 선택자 정확히 확인 */
    display: block;
    width: 100%;

    /* ⭐ 이 값을 height:100% 대신 고정된 max-height로 다시 시도해보세요. ⭐ */
    /* Flexbox가 높이를 정확히 계산하지 못할 때 수동 높이 지정이 필요합니다. */
    max-height: 800px; /* 팝업 높이(600) - 헤더 높이(약 100) = 500px */

    overflow-y: auto; /* ⭐ 반드시 auto 또는 scroll로 설정되어야 함 ⭐ */
}
/* 4. ⭐ 핵심: thead/tbody 행 너비 일치 및 스크롤바 보정 ⭐ */
.aiAlnalisysPop .popup-body .bdview tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}
/* 스크롤바 너비 보정 (일반적으로 17px) */
.aiAlnalisysPop .popup-body .bdview thead tr {
    padding-right: 17px !important; /* !important를 사용하여 다른 스타일보다 우선하도록 강제 */
}


.termExplainPop .popup-content{max-width:1006px;}

.questionIdRulePop .popup-content{max-width:700px;}
.questionIdRulePop .popup-body{padding:20px;}
.questionIdRulePop .rule_img{margin-bottom:30px;}
.questionIdRulePop .rule_img img{max-width:100%;}

.switchBox{gap:18px; align-items:center;}
.switchBox .switchBtns{}
.switchBox .switchBtns .btn_type1{display:block;min-width:0;}
.switchBox .switchBtns .btn_type1 span{margin:0;}
.switchBox .switchBtns .btn_type1+.btn_type1{margin-top:10px;}

/* TUI-Grid의 셀에 마우스 커서를 pointer로 설정 (기존 유지) */
.tui-grid-cell {
  cursor: pointer;
}

/* #listGrid는 그리드 ID입니다. */

/* ⭐ 드래그 선택 시 데이터 영역 (Body)의 셀에만 노란색 적용 ⭐ */
/* .tui-grid-cell-selected 규칙을 #listGrid .tui-grid-body-area 내부로 제한합니다. */
#listGrid .tui-grid-body-area .tui-grid-cell-selected {
  background-color: #fffacd !important; /* Lemon Chiffon (연한 노란색) */
}

/* 2. 포커스된 셀의 테두리/라인 제거 (헤더에는 영향을 주지 않음) */
#listGrid .tui-grid-cell-focus {
  background-color: #fffacd !important; /* 드래그 색상과 통일 */
  border: none !important;
}

/* (선택 사항: 행 전체 색상 변경 시 사용했던 규칙들은 그대로 두거나 제거 가능) */
#listGrid .tui-grid-row-selected .tui-grid-cell {
  background-color: #fffacd !important;
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
}

.tui-grid-body-area::-webkit-scrollbar {height: 30px;}
