@charset "utf-8";

:root {
	--tone-primary: #2f4b7f;
	--tone-primary-strong: #274170;
	--tone-primary-soft: #3f65a8;
	--tone-accent: #35598d;
}

.text-danger,
.text-danger a,
.local_desc01 strong,
.local_ov01 .ov_a,
.td_numcancel1,
.td_numrdy,
.txt_true,
.sit_stock_qty_alert {
	color: var(--tone-primary-soft) !important;
}

.btn.btn-color,
.btn.active.btn-color,
.btn.btn-color:hover,
.btn.btn-color:focus,
.btn.btn-color:active,
.btn_submit,
input.btn_submit,
button.btn_submit,
.btn-color,
a.btn-color,
button.btn-color,
a.btn_b02,
.btn_b02,
a.btn_admin,
.btn_admin,
a.btn_b03,
.btn_b03,
.btn_win02 button.btn_submit,
.local_cmd01 .btn_submit,
.btn-danger,
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.open > .dropdown-toggle.btn-danger {
	background: var(--tone-primary-soft) !important;
	background-color: var(--tone-primary-soft) !important;
	border-color: var(--tone-primary) !important;
	border-image: none !important;
	background-image: none !important;
	color: #fff !important;
}

a.btn_b03,
.btn_b03 {
	background: transparent !important;
	color: var(--tone-primary-soft) !important;
}

a.btn_b03:hover,
.btn_b03:hover,
.btn_submit:hover,
button.btn_submit:hover,
.btn-color:hover,
a.btn-color:hover,
button.btn-color:hover,
a.btn_b02:hover,
.btn_b02:hover,
a.btn_admin:hover,
.btn_admin:hover {
	background: var(--tone-primary) !important;
	background-color: var(--tone-primary) !important;
	border-color: var(--tone-primary-strong) !important;
	color: #fff !important;
}

.badge-danger,
.label-danger,
.bg-danger,
.alert-danger,
.panel-danger > .panel-heading {
	background-color: #e6eefc !important;
	border-color: #c4d4ef !important;
	color: var(--tone-primary) !important;
}

#tnb .tnb_admin a,
#hd_qnb .visit .visit-num,
.copymove_current,
.copymove_currentbg .copymove_current {
	background: var(--tone-primary-soft) !important;
	color: #fff !important;
}

#hd_qnb li .fa-question,
#hd_qnb li .fa-question:hover,
#hd_qnb li .fa-users,
#hd_qnb li .fa-users:hover {
	background: var(--tone-accent) !important;
}

/* ── 전체 스크롤바 — 씬(6px) ── */
::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}
::-webkit-scrollbar-track {
	background: transparent;
}
::-webkit-scrollbar-thumb {
	background: #c5cdd8;
	border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
	background: #a0aabb;
}
html {
	scrollbar-width: thin;
	scrollbar-color: #c5cdd8 transparent;
}

/* ── 다크모드: 주문내역 외부 헤더 테이블 (tr-head / list-head) ── */
[data-site-theme="dark"] .table.bg-white .list-head,
[data-site-theme="dark"] .table.bg-white .list-head > th,
[data-site-theme="dark"] .table.bg-white .tr-head,
[data-site-theme="dark"] .table.bg-white .tr-head > th {
	background: #1e1e24 !important;
	background-image: none !important;
}
[data-site-theme="dark"] .table.bg-white .list-head > th,
[data-site-theme="dark"] .table.bg-white .tr-head > th {
	color: #9ca3af !important;
	border-color: #3a3a42 !important;
}
[data-site-theme="dark"] .table.bg-white .list-head > th > span,
[data-site-theme="dark"] .table.bg-white .tr-head > th > span {
	color: #9ca3af !important;
	border-right-color: #3a3a42 !important;
}
[data-site-theme="dark"] .div-table.table.bsk-tbl,
[data-site-theme="dark"] .div-table.table.bsk-tbl tbody tr td,
[data-site-theme="dark"] .div-table.table.bsk-tbl tbody tr th {
	background-color: #18181e !important;
	color: #c4c4cc !important;
	border-color: #3a3a42 !important;
}
[data-site-theme="dark"] .btn.btn-gray {
	background-color: #2a2a32 !important;
	background-image: none !important;
	border-color: #4a4a52 !important;
	color: #c4c4cc !important;
}

/* ── 에디터 단축키 일람 패널 ── */
[data-site-theme="dark"] .btn_cke_sc {
	background: #2c2c32 !important;
	border-color: #4a4a52 !important;
	color: #c4c4cc !important;
}
[data-site-theme="dark"] .cke_sc_def {
	background: #1e2028 !important;
	border-color: #3a3a42 !important;
	color: #c4c4cc !important;
}
[data-site-theme="dark"] .cke_sc_def dt,
[data-site-theme="dark"] .cke_sc_def dd {
	border-bottom-color: #3a3a42 !important;
	color: #c4c4cc !important;
}
[data-site-theme="dark"] .cke_sc_def dt {
	color: #d4d4d8 !important;
}
