@charset "euc-kr";
html,body { font-family: 'Pretendard Variable', sans-serif; height: 100%; position: relative; color: var(--text); font-weight: 400; }
body { min-width: 940px; }
ul { margin: 0; padding: 0; }
li { list-style: none; }
a { text-decoration: none; color: inherit; display: block; box-sizing: border-box; }
strong { font-weight: 600 !important; }
label { cursor: pointer; } 
select { -webkit-appearance: none; cursor: pointer; -moz-appearance: none; appearance: none; filter: alpha(opacity=0); outline: none; font-family: 'Pretendard Variable', sans-serif; }
select::-ms-expand { display:none; }
select { height: 35px; border-radius: 5px; border: 1px solid var(--border); background: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17,9.17a1,1,0,0,0-1.41,0L12,12.71,8.46,9.17a1,1,0,0,0-1.41,0,1,1,0,0,0,0,1.42l4.24,4.24a1,1,0,0,0,1.42,0L17,10.59A1,1,0,0,0,17,9.17Z"></path></svg>') no-repeat 98% 50%; background-size: 18px; padding: 0 25px 0 10px; background-color: var(--w); color: var(--text2); font-size: 13.5px; color: var(--black); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
select.focus { border: 1px solid var(--blue) !important; box-shadow: 0 0 4px rgba(63,128,234,.7); }
select[disabled] { background-color: var(--g01) !important; }

input { font-family: "Pretendard Variable", sans-serif; background-color: var(--w); outline: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; box-sizing: border-box; }
input::placeholder { color: var(--text2); }
input[disabled] { background-color: var(--g01) !important; }
input[type=checkbox] { cursor: pointer; margin:0; }
input[type="text"] { height: 35px; border-radius: 5px; border: 1px solid var(--border); padding: 0 10px; font-size: 13.5px; color: var(--black); }
input[type="file"] { height: 35px; line-height: 38px; border-radius: 5px; border: 1px solid var(--border); padding: 0 10px; font-size: 13.5px; color: var(--black); }
input[type="text"].focus { border: 1px solid var(--blue) !important; box-shadow: 0 0 4px rgba(63,128,234,.7); background-color: transparent; }
input[type="text"].active { border: 1px solid var(--blue) !important; box-shadow: 0 0 4px rgba(63,128,234,.7); background-color: transparent; }
input[type="number"] { width: 100px; height: 35px; border-radius: 5px; border: 1px solid var(--border); padding: 0 10px; font-size: 13.5px; position: relative; }
input[type="number"].focus { border: 1px solid var(--blue) !important; box-shadow: 0 0 4px rgba(63,128,234,.7); }
input[type="id"].focus { border: 1px solid var(--blue) !important; box-shadow: 0 0 4px rgba(63,128,234,.7); }
input[type="password"] { height: 35px; border-radius: 5px; border: 1px solid var(--border); padding: 0 10px; font-size: 13px; }
input[type="password"].focus { border: 1px solid var(--blue) !important; box-shadow: 0 0 4px rgba(63,128,234,.7); }
input[type="checkbox"].focus { border: 1px solid var(--blue) !important; box-shadow: 0 0 4px rgba(63,128,234,.7); }
input[type="radio"].focus { border: 1px solid var(--blue) !important; box-shadow: 0 0 4px rgba(63,128,234,.7); }
input[type="button"] { border: none; outline: none; cursor: pointer; }
input[disabled] { background-color: var(--g01) !important; }
input:-webkit-autofill,input:-webkit-autofill:focus { -webkit-text-fill-color: var(--black) !important; -webkit-box-shadow: 0 0 0px 1000px var(--blue01) inset !important; transition: background-color 5000s ease-in-out 0s !important; }

textarea { font-family: "Pretendard Variable", sans-serif; background-color: var(--w); outline: none; box-sizing: border-box; border-radius: 5px; border: 1px solid var(--border); line-height: 1.4; padding: 10px; font-size: 13px; resize: none; }
textarea.focus { border: 1px solid var(--blue) !important; box-shadow: 0 0 4px rgba(63,128,234,.7); background-color: transparent; }
textarea::placeholder { color: var(--text2); }
button { font-family: 'Pretendard Variable', sans-serif; border: none; box-sizing: border-box; cursor: pointer; background: none; outline: none; }

table { width: 100%; height: 100%; table-layout: fixed; position: relative; }
table th { background-color: #f8f9fa; border: 1px solid #e5e5e5; height: 35px; line-height: 1.4; padding: 5px 10px; text-align: center; vertical-align: middle; font-size: 13px; color: var(--text2); font-weight: 500; box-sizing: border-box; position: relative; }
table th select { text-align: center; font-size: 13.5px; color: var(--blue); font-weight: 600; height: 28px; border: none; padding-left: 25px; background: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%233182f6"><path d="M17,9.17a1,1,0,0,0-1.41,0L12,12.71,8.46,9.17a1,1,0,0,0-1.41,0,1,1,0,0,0,0,1.42l4.24,4.24a1,1,0,0,0,1.42,0L17,10.59A1,1,0,0,0,17,9.17Z"></path></svg>') no-repeat 95% 50%; background-size: 18px; }
table td { border: 1px solid #e5e5e5; border-top: none; height: 40px; line-height: 1.4; padding: 5px 10px; text-align: center; vertical-align: middle; font-size: 13.5px; background-color: var(--w); box-sizing: border-box; }
table tbody tr:first-child td { border-top: none; }
table a { min-width: fit-content; display: inline-block; line-height: 1; font-size: 12px; background-color: var(--g02); color: var(--text2); padding: 6px 8px; border-radius: 4px; border: 1px solid var(--border); }
table .check-box { margin: 0 auto; }
table a.href { display: inline-block; font-size: 13.5px; background: none; color: var(--blue); text-decoration: underline; padding: 0; border-radius: 0; border: none; }

/* 스크롤 숨기기 */
html:not(_) { scrollbar-width: thin; scrollbar-color: rgba(0,29,58,.18) transparent; }

.check-box { width: max-content; height: 20px; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 13.5px; font-weight: 500; position: relative; }
.check-box label { color: var(--text2); position: relative; line-height: 20px; left: -25px; padding-left: 25px; margin-right: -25px; }
.check-box input[type="radio"] { min-width: 18px !important; width: 18px !important; min-height: 18px !important; height: 18px !important; opacity: 0; margin: 0 !important; position: relative; z-index: 1; cursor: pointer; }
.check-box input[type="checkbox"] { min-width: 18px !important; width: 18px !important; min-height: 18px !important; height: 18px !important; opacity: 0; margin: 0 !important; position: relative; z-index: 1; cursor: pointer; }
.check-box::after { position: absolute; left: 1px; top: 1px; width: 18px; height: 18px; border: 1px solid var(--border2); border-radius: 4px; background: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" height="20" width="20" fill="%23fff0"><path d="m8.333 11.604 5.084-5.083q.229-.229.531-.229.302 0 .531.229.229.229.229.531 0 .302-.229.531l-5.625 5.625q-.229.23-.531.23-.302 0-.531-.23l-2.271-2.27q-.229-.23-.229-.532 0-.302.229-.531.229-.229.531-.229.302 0 .531.229Z"></path></svg>') no-repeat 50% 50%; background-color: var(--w); content: ''; box-sizing: border-box; }
.check-box:hover::after { background-color: var(--g01); transition: 0.2s; }
.check-box.on::after { border: 1px solid transparent; background: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" height="20" width="20" fill="%23fff"><path d="m8.333 11.604 5.084-5.083q.229-.229.531-.229.302 0 .531.229.229.229.229.531 0 .302-.229.531l-5.625 5.625q-.229.23-.531.23-.302 0-.531-.23l-2.271-2.27q-.229-.23-.229-.532 0-.302.229-.531.229-.229.531-.229.302 0 .531.229Z"></path></svg>') no-repeat 50% 50%; background-color: var(--blue) !important; }
.check-box.radio::after { border-radius: 100%; }

:root {
   --black: #000;
   --text: #121212;
   --text2: #6b7684;
   --w: #fff;
   --bg: #f6f7f9;
   --blue: #2272eb;
   --blue2: #0d5de0;
   --blue01: rgba(100,168,255,.2);
   --blue02: rgba(100,168,255,.3);
   --red: #f04452;
   --red01: rgba(255,126,137,.1);
   --gr: #43ab8e;
   --gr01: rgba(67,171,142,.1);
   --orange: #ff7a50;
   --orange01: rgba(255,122,80,.1);
   --g01: rgba(2,32,71,.05);
   --g02: rgba(2,32,71,.1);
   --border: rgba(2,32,71,.1);
   --border2: rgba(2,32,71,.2);
   --shadow: 0 0 0 1px rgba(2,32,71,0.05),0 10px 40px 0 rgba(2,32,71,.05),0 20px 50px 0 rgb(0,23,51,.2),2px 70px 80px 0 rgb(0,23,51,.02);
}

.t_red { color: var(--red) !important; }
.t_blue { color: var(--blue) !important; }

.filter { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; margin-top: -3px; }
.filter::before { display: block; border: 4.5px solid transparent; border-bottom: 4.5px solid var(--text2); content: ''; }
.filter::after { display: block; border: 4.5px solid transparent; border-top: 4.5px solid var(--text2); content: ''; }
.filter-tab { display: flex; align-items: center; gap: 5px; justify-content: center; cursor: pointer; position: absolute; width: 100%; height: 100%; left: 0; top: 0; }
.filter-tab:hover { background-color: #eeeff1; }
.filter-tab.active { background-color: #eeeff1; }
.filter-tab .filter.down::before { display: none; }
.filter-tab .filter.down::after { display: block; margin-top: 4.5px; }
.filter-tab .filter.up::before { display: block; margin-bottom: 4.5px; }
.filter-tab .filter.up::after { display: none; }

.btn { font-size: 13px; color: var(--text); font-weight: 500; padding: 10px; border-radius: 5px; background-color: var(--g01); }
.btn.sel { background: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%236b7684"><path d="M17,9.17a1,1,0,0,0-1.41,0L12,12.71,8.46,9.17a1,1,0,0,0-1.41,0,1,1,0,0,0,0,1.42l4.24,4.24a1,1,0,0,0,1.42,0L17,10.59A1,1,0,0,0,17,9.17Z"></path></svg>') no-repeat 96% 48%; background-size: 20px; padding: 8px 28px 8px 8px; background-color: var(--g01); }
.btn:hover { background-color: var(--g02); }
.btn2 { font-size: 13px; color: var(--blue); font-weight: 500; padding: 10px; border-radius: 5px; background-color: var(--blue01); }
.btn2:hover { background-color: var(--blue02); }
.btn3 { font-size: 13px; color: var(--w); font-weight: 400; padding: 8px; border-radius: 5px; background-color: var(--blue); }
.none { display: none !important; }
.done { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 14px; color: var(--text2); font-weight: 500; background-color: var(--w); position: absolute; left: 0; top: 0; }
.alert { width: 100%; height: 400px; border-top: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; font-size: 14px; color: var(--text2); font-weight: 500; background-color: var(--w); position: absolute; left: 0; top: 45px; z-index: 9; }

.list-area { width: 900px; margin: 0 auto; padding: 30px 0 30px 0; }
.list-title { display: flex; flex-direction: column; gap: 30px; }
.list-title::after { width: 100%; height: 60px; content: ''; display: block; position: absolute; left: 0; top: 0; background-color: #213b62; z-index: 1; }
.list-title h3 { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 600; color: #fff; position: relative; top: -12px; z-index: 2; }
.list-title > i { display: flex; align-items: center; justify-content: space-between; }
.list-title > i > span { display: flex; align-items: center; gap: 5px; font-size: 15px; color: var(--w); }
.list-title > i > span button { width: 24px; height: 24px; background: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%236b7684"><path d="M21,11a1,1,0,0,0-1,1,8.05,8.05,0,1,1-2.22-5.5h-2.4a1,1,0,0,0,0,2h4.53a1,1,0,0,0,1-1V3a1,1,0,0,0-2,0V4.77A10,10,0,1,0,22,12,1,1,0,0,0,21,11Z"></path></svg>') no-repeat 50% 50%; background-size: 16px; padding: 0; border-radius: 8px; }
.list-title > i > span button:hover { background-color: var(--g02); }

.list-filter { display: flex; flex-direction: column; gap: 10px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--border); }
.list-filter i { display: flex; align-items: center; gap: 10px; }
.list-filter i > span { display: flex; align-items: center; height: 35px; gap: 10px; padding: 6px; border-radius: 5px; background-color: var(--g01); }
.list-filter i > span p { width: 1px; height: 18px; background-color: var(--border2); margin: 0 0 0 5px; }
.list-filter i > span input { width: 140px; height: 26px; }
.list-filter i > a { margin-left: -5px; line-height: 32px; padding: 0 12px; }
.list-filter h4 { font-size: 14px; color: var(--text2); font-weight: 500; }
.list-filter .tab-box { display: flex; align-items: center; gap: 10px; height: 35px; background-color: #f3f3f3; padding: 0 10px; border-radius: 5px; margin: 0 0 0 -5px; }

.grid-item-wrap > i { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.grid-item-wrap h4 { font-size: 14px; color: var(--text2); font-weight: 500; }
.grid-item-wrap h4 b { font-weight: 700; color: var(--text); }

.keyword-list { width: 100%; height: 80px; overflow-y: auto; padding: 5px; border: 1px solid var(--border); border-radius: 5px; margin-bottom: 10px; position: relative; }
.keyword-list span { display: inline-block; font-size: 14px; font-weight: 500; padding: 8px 22px 8px 8px; margin: 2px; border-radius: 5px; position: relative; cursor: pointer; }
.keyword-list span::after { width: 14px; height: 14px; content: ''; display: block; background: url('../images/icons/close-icon.png') no-repeat 50% 50%; background-size: contain; position: absolute; right: 5px; top: 50%; transform: translateY(-50%); }
.keyword-list span:hover { background-color: #f3f3f3; }
.keyword-list span img { cursor: pointer; }
.keyword-list p { display: none; }
.keyword-list.done span { display: none; }
.keyword-list.done p { display: block; }

.table-body td:nth-child(2) { text-align: left; }
.table-body td.active { background-color: #fafafa; }

.compe { display: inline-block; font-size: 13px; font-weight: 500; padding: 1px 4px; border: 1px solid var(--border); border-radius: 5px; }
.compe.high { color: var(--red); border-color: var(--red); }
.compe.mid { color: var(--orange); border-color: var(--orange); }
.compe.low { color: var(--text2); border-color: var(--border2); }

.page-box { margin-top: 20px; }
.page { display: flex; align-items: center; justify-content: center; }
.page span { opacity: 0.3; margin: 0 3px; }
.page button { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50px; font-size: 14px; border: 1px solid transparent; border-radius: 5px; cursor: pointer; }
.page button:hover { background-color: var(--blue02); }
.page dl { display: flex; align-items: center; gap: 5px; margin: 0 5px; }
.page dl dd.this button { color: var(--blue); font-weight: 600; border-color: var(--blue); }

.layer-cover { width: 100%; height: 100%; position: fixed; left: 0; top: 0; background-color: rgba(0,0,0,.1); z-index: 8; display: none; }
.layer { width: 860px; position: absolute; left: 50%; top: 60px; transform: translateX(-50%); background-color: var(--w); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); padding: 60px 20px 20px 20px; opacity: 0; visibility: hidden; z-index: 9; }
.layer.on { opacity: 1; visibility: visible; }
.layer .layer-cancel { width: 16px; height: 16px; content: ''; display: block; background: url('../images/icons/close-icon.png') no-repeat 50% 50%; position: absolute; right: 20px; top: 20px; }
.layer > h3 { font-size: 24px; font-weight: 500; text-align: center; margin-bottom: 40px; }
.layer > p { font-size: 17px; font-weight: 500; margin-bottom: 10px; }
.layer .keyword-list { margin-bottom: 40px; }
.layer .add-target { display: flex; gap: 10px; margin-top: 20px; }
.layer .add-item { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.layer .add-item h4 { font-size: 15px; font-weight: 500; }
.layer .add-item ul { display: flex; flex-direction: column; gap: 5px; width: 100%; height: 360px; overflow-y: auto; background-color: #f8f9fa; padding: 10px; border: 1px solid var(--border); box-sizing: border-box; border-radius: 10px; position: relative; }
.layer .add-item ul p { display: none; }
.layer .add-item ul li { width: 100%; font-size: 15px; padding: 12px; border-radius: 10px; cursor: pointer; box-sizing: border-box; }
.layer .add-item ul li.active { background-color: var(--blue01) !important; color: var(--blue); }
.layer .add-item ul li:hover { background-color: #e9eaeb; }
.layer .add-item ul.done li { display: none; }
.layer .add-item ul.done p { display: block; font-size: 14px; color: var(--text2); }
.layer-btn { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.layer-btn button { flex: 1; line-height: 50px; font-size: 16px; text-align: center; border-radius: 10px; background-color: #f5f5f5; }
.layer-btn button:hover { opacity: 0.7; }
.layer-btn .confirm { background-color: var(--blue); color: var(--w); }

.grid-item { display: flex; gap: 15px; }
.table-box { width: 785px; }
.table-box h4 { margin-bottom: 10px; }
.table { width: 100%; height: 443px; border: 1px solid var(--border); background-color: #fafafa; }
.table th { background-color: #f8f9fa; border: 1px solid #e5e5e5; padding: 10px; text-align: center; vertical-align: middle; font-size: 13px; color: var(--text); font-weight: 500; box-sizing: border-box; position: relative; border-top: none; }
.table th:first-child { border-left: none; }
.table th:last-child { border-right: none; }
.table td:first-child { border-left: none; }
.table td:last-child { border-right: none; }
.keyword-list-box { width: 200px; }
.keyword-list-box .keyword-list { display: flex; flex-direction: column; height: 394px; }
.keyword-list-box h4 { margin-bottom: 10px; }
.keyword-list-box i { display: flex; gap: 5px; }
.keyword-list-box i button { flex: 1; height: 40px; font-size: 14px; }