@charset "UTF-8";
/* reset */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}
*::after {
  box-sizing: border-box;
}
*::before {
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
address {
  border: 0;
  font-size: inherit;
  font-style: normal;
  vertical-align: top;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

html,
body {
  height: 100%;
}

body {
  line-height: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background-color: transparent;
  border: 0;
}
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: none;
}

a,
button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

ul,
ol {
  list-style: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

@font-face {
  font-family: "NexonLv2Gothic";
  src: url("../fonts/NEXON-Lv2-Gothic-OTF.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "NexonLv2Gothic";
  src: url("../fonts/NEXON-Lv2-Gothic-OTF-Medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "NexonLv2Gothic";
  src: url("../fonts/NEXON-Lv2-Gothic-OTF-Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
/* SCSS 변수 정의 */
/* CSS 변수 등록 */
:root {
  --red: #ff5353;
  --orange: #ffcf5f;
  --brown: #b56a00;
  --green: #06b10a;
  --blue: #3285ff;
  --blueD: #2158a8;
  --cyan: #6ab0ff;
  --purple: #6a79f8;
  --textColor: #d8e1e6;
  --textColorMain: #fafaf8;
  --primaryColorL: #51a3ff;
  --primaryColor: #3285ff;
  --primaryColorD: #2158a8;
  --secondaryColorL: #00757d;
  --secondaryColor: #00757d;
  --secondaryColorD: #00757d;
  --tertiaryColorL: #ee5807;
  --tertiaryColor: #d64c00;
  --tertiaryColorD: #be4300;
  --gray100: rgba(110, 126, 146, 0.2);
  --gray900: rgba(0, 0, 0, 0.18);
  --tBasic: 16px;
  --spaceXS: 12px;
  --spaceS: 24px;
  --spaceM: 32px;
  --spaceL: 50px;
  --spaceXL: 80px;
  --btnHeight: 36px;
  --btnRadius: 2px;
  --btnPadding: 12px;
  --scrollWidth: 6px;
  --siteWidth: 1900px;
  --accidentColor01: #5a6ed8;
  --accidentColor02: #47b8f8;
  --accidentColor03: #ff5353;
  --accidentColor04: #2db28b;
  --accidentColor05: #f73463;
  --accidentColor06: #ff852e;
}

/* scrollbar */
::-webkit-scrollbar {
  width: var(--scrollWidth);
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(55, 83, 118, 0.3);
  border-radius: 0;
  width: calc(var(--scrollWidth) + 4px);
  padding: 0 2px;
}

::-webkit-scrollbar-thumb {
  background: #7d848d;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #7d848d;
}

.col_scrollbar {
  width: var(--scrollWidth) !important;
  padding: 0 !important;
  border-left: 0 !important;
}

body {
  font-family: NexonLv2Gothic, AppleSDGothicNeo-Regular, Malgun Gothic, dotum, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--textColor);
  font-weight: 400;
  font-size: var(--tBasic);
  background: linear-gradient(to bottom, #293037, #2f363e);
}

input:not([type=checkbox], [type=radio], [type=submit]),
textarea,
select {
  height: var(--btnHeight);
  line-height: calc(var(--btnHeight) - 2px);
  background: var(--gray900);
  text-indent: 0;
  padding: 0 var(--btnPadding);
  border-radius: var(--btnRadius);
  border: 1px solid #1f2326;
  width: 100%;
  font-size: 1em;
}

input:not([type=checkbox], [type=radio], [type=submit]):focus,
textarea:focus {
  background-color: #1a1d22;
  border-color: var(--blue);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.45);
}

input:not([type=checkbox], [type=radio], [type=submit])::-moz-placeholder, textarea::-moz-placeholder {
  color: #7d848d;
}

input:not([type=checkbox], [type=radio], [type=submit])::placeholder,
textarea::placeholder {
  color: #7d848d;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
          appearance: none;
}

input:not([type=checkbox], [type=radio], [type=submit]):-moz-read-only {
  opacity: 0.45;
}

input:not([type=checkbox], [type=radio], [type=submit]):read-only {
  opacity: 0.45;
}

input:not([type=checkbox], [type=radio], [type=submit]):disabled {
  opacity: 0.45;
}

input[type=password] {
  font-family: sans-serif !important;
}

select {
  background-image: url(../img/icon_down.svg);
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 24px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: none;
  line-height: calc(var(--btnHeight) - 2px);
  padding-right: 40px;
}
select:disabled {
  opacity: 0.45;
}
select option {
  background: #262d35;
  color: #fff;
}

textarea {
  height: auto;
  padding: var(--btnPadding);
  line-height: 1.4;
  resize: none;
  display: block;
}
textarea.sm {
  padding: 15px;
  border-radius: 12px;
}
textarea.sizing {
  resize: vertical;
}

input.short {
  width: 150px;
  flex-shrink: 0;
  text-align: center;
}
input.date {
  width: 160px !important;
  min-width: auto !important;
  flex-grow: 0 !important;
  background-image: url(../img/icon_calendar.svg);
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 24px;
  padding-right: 40px;
  flex-shrink: 0;
}
input[type=time] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 160px !important;
  min-width: auto !important;
  flex-grow: 0 !important;
  flex-shrink: 0;
  background-image: url(../img/icon_clock.svg);
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 24px;
}
input[type=time]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0;
}
input.sm {
  height: calc(var(--btnHeight) - 6px);
  padding: 0 15px;
  border-radius: 12px;
}

select.short {
  width: 150px;
  flex-shrink: 0;
}

input[type=checkbox],
input[type=radio] {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain;
  vertical-align: middle;
}

input[type=checkbox] {
  background-image: url(../img/checkbox.svg);
}
input[type=checkbox]:checked {
  background-image: url(../img/checkbox_checked.svg);
}
input[type=checkbox]:disabled {
  opacity: 0.45;
}
input[type=checkbox]:checked:disabled {
  opacity: 0.45;
}

input[type=radio] {
  background-image: url(../img/radio.svg);
}
input[type=radio]:checked {
  background-image: url(../img/radio_checked.svg);
}
input[type=radio]:disabled {
  opacity: 0.45;
}
input[type=radio]:checked:disabled {
  opacity: 0.45;
}

label.check {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
  cursor: pointer;
}
label.check span {
  white-space: nowrap;
}
label.check input:disabled + span {
  opacity: 0.45;
}

strong,
b,
th,
dt {
  font-weight: 700;
}

.succession {
  margin-top: var(--spaceM) !important;
}

.successionS {
  margin-top: var(--spaceS) !important;
}

.successionXS {
  margin-top: var(--spaceXS) !important;
}

.successionL {
  margin-top: var(--spaceL) !important;
}

.successionXL {
  margin-top: var(--spaceXL) !important;
}

.txt-red {
  color: var(--red) !important;
}

.txt-orange {
  color: var(--orange) !important;
}

.txt-blue {
  color: var(--blue) !important;
}

.txt-cyan {
  color: var(--cyan) !important;
}

.txt-green {
  color: var(--green) !important;
}

.txt-gray {
  color: var(--gray400) !important;
}

.txt-primary {
  color: var(--primaryColor) !important;
}

.txt-purple {
  color: var(--purple) !important;
}

.txt-l {
  font-size: 1.142em;
}

.txt-s {
  font-size: 0.9em;
}

th,
td {
  vertical-align: middle;
}

.align-left {
  text-align: left !important;
}

.align-center {
  text-align: center !important;
}

.align-right {
  text-align: right !important;
}

/* Mixin */
.ui-widget {
  font-size: 1em;
  z-index: 2 !important;
}

:root {
  --swiper-navigation-size: 18px;
  --swiper-theme-color: #005cfc;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-weight: 900;
}

.swiper-button-next {
  right: 0;
  color: var(--textColor);
}

.swiper-button-prev {
  left: 0;
  color: var(--textColor);
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: 1;
  background-color: transparent;
  border: 1px solid var(--primaryColor);
}

.swiper-pagination-bullet-active {
  background-color: var(--primaryColor);
}

.ibtn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 0;
  height: var(--btnHeight);
  background-color: #3f4f63;
  border: 1px solid var(--gray900);
  border-radius: var(--btnRadius);
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: #fafaf8;
}
.ibtn:hover {
  background-color: #4a5d73;
}
.ibtn.primary {
  background-color: var(--blue);
}
.ibtn.primary:hover {
  background-color: #4ea1ff;
}
.ibtn.primaryD {
  background-color: var(--primaryColorD);
}
.ibtn.primaryD:hover {
  background-color: var(--primaryColorD);
}
.ibtn.secondary {
  background-color: var(--secondaryColor);
}
.ibtn.secondary:hover {
  background-color: var(--secondaryColor);
}
.ibtn.line {
  background-color: transparent;
  border-color: #585e66;
}
.ibtn.line:hover {
  background-color: transparent;
  border-color: #a6b4c5;
}
.ibtn.lg {
  font-size: var(--tBasic);
  height: 42px;
  min-width: 200px;
}
.ibtn.sm {
  font-size: 14px;
  padding: 0 8px;
  height: 28px;
  gap: 6px;
  font-weight: 400;
}
.ibtn.narrow {
  padding: 0 5px;
}
.ibtn:disabled, .ibtn.disabled {
  opacity: 0.6;
}
.ibtn.full {
  width: 100%;
}

.tbtn {
  text-decoration: underline;
}

i.icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  aspect-ratio: 1/1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  font-size: 0;
}
i.icon::after {
  content: "";
  width: 100%;
  height: 100%;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
}
i.icon.minus {
  background-image: url(../img/icon_minus.svg);
}
i.icon.plus {
  background-image: url(../img/icon_plus.svg);
}
i.icon.right {
  background-image: url(../img/icon_right.svg);
}
i.icon.focus {
  background-image: url(../img/icon_focus.svg);
}
i.icon.search {
  width: 18px;
  height: 18px;
  background-image: url(../img/icon_search.svg);
}
i.icon.prev {
  width: 20px;
  height: 20px;
  background-image: url(../img/icon_down.svg);
  transform: rotate(90deg);
}
i.icon.next {
  width: 20px;
  height: 20px;
  background-image: url(../img/icon_down.svg);
  transform: rotate(-90deg);
}
i.icon.ok {
  width: 20px;
  height: 20px;
  background-image: url(../img/icon_ok_circle.svg);
}
i.icon.upload {
  width: 18px;
  height: 18px;
  background-image: url(../img/icon_upload.svg);
}
i.icon.accident01 {
  width: 36px;
  height: 36px;
  background-image: url(../img/icon_accident01.svg);
}
i.icon.accident02 {
  width: 36px;
  height: 36px;
  background-image: url(../img/icon_accident02.svg);
}
i.icon.accident03 {
  width: 36px;
  height: 36px;
  background-image: url(../img/icon_accident03.svg);
}
i.icon.accident04 {
  width: 36px;
  height: 36px;
  background-image: url(../img/icon_accident04.svg);
}
i.icon.accident05 {
  width: 36px;
  height: 36px;
  background-image: url(../img/icon_accident05.svg);
}
i.icon.accident06 {
  width: 36px;
  height: 36px;
  background-image: url(../img/icon_accident06.svg);
}
i.icon.accident-ok {
  width: 18px;
  height: 18px;
}
i.icon.accident-ok::after {
  background-color: #4fd4ee;
  -webkit-mask-image: url(../img/icon_ok.svg);
          mask-image: url(../img/icon_ok.svg);
}
i.icon.accident-warnning {
  width: 18px;
  height: 18px;
}
i.icon.accident-warnning::after {
  background-color: var(--red);
  -webkit-mask-image: url(../img/icon_warnning.svg);
          mask-image: url(../img/icon_warnning.svg);
}

.ibtn.sm i.icon {
  width: 16px;
  height: 16px;
}

.ibtn.primary i.icon.plus {
  background: none;
}
.ibtn.primary i.icon.plus::after {
  background-color: #fff;
  -webkit-mask-image: url(../img/icon_plus.svg);
          mask-image: url(../img/icon_plus.svg);
}

.ellipsis {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.btn-clear,
.btn-delete {
  font-size: 0;
  width: 24px;
  aspect-ratio: 1/1;
  background: url(../img/icon_clear.svg) no-repeat center;
}

.btn-mask {
  width: 24px;
  aspect-ratio: 1/1;
  background: url(../img/icon_hide.svg) no-repeat center;
  font-size: 0;
}
.btn-mask.on {
  background-image: url(../img/icon_show.svg);
}

.btn-sort {
  font-size: 0;
  width: 16px;
  height: 16px;
  background: url(../img/icon_arrowup.svg) no-repeat center;
}
.btn-sort.desc {
  transform: rotate(180deg);
}
.btn-sort {
  vertical-align: middle;
  margin-left: 7px;
}

.input-wrapper {
  position: relative;
}
.input-wrapper input {
  padding-right: 45px;
}
.input-wrapper button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background-size: 22px;
}
.input-wrapper .btn-clear {
  display: none;
}
.input-wrapper .btn-mask {
  display: none;
}
.input-wrapper input.input-search {
  padding-right: 70px;
}
.input-wrapper input.input-search ~ .btn-clear {
  right: 35px;
}

ul.address {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
ul.address li {
  display: flex;
  gap: 8px;
}
ul.address input.short {
  text-align: left;
}

table {
  table-layout: fixed;
}

th {
  font-weight: 500;
}

tbody tr.active {
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.45);
}
tbody tr.active td {
  background-color: var(--blueD);
  border-top: 2px solid #00b2ff !important;
  border-bottom: 2px solid #00b2ff !important;
  padding: 6px 8px 7px 8px;
}
tbody tr.active td:first-child {
  border-left: 2px solid #00b2ff;
}
tbody tr.active td:last-child {
  border-right: 2px solid #00b2ff;
}

th.border,
td.border {
  border-left: 1px solid rgba(110, 126, 146, 0.2);
}

.table-h01 th,
.table-h01 td {
  text-align: center;
  padding: 8px;
  border-bottom: 1px solid var(--gray100);
  height: 40px;
}
.table-h01 thead th {
  background-color: var(--gray900);
}
.table-h01 tr:not(.active):hover td {
  background-color: rgba(30, 124, 172, 0.5);
}

.table-v01 {
  background-color: #2f3741;
}
.table-v01 table {
  border-top: 1px solid rgba(110, 126, 146, 0.4);
  border-bottom: 1px solid #4b5362;
}
.table-v01 th,
.table-v01 td {
  text-align: left;
  padding: 8px 12px;
  height: 52px;
  border-bottom: 1px solid rgba(110, 126, 146, 0.2);
}
.table-v01 th {
  padding-left: 16px;
  padding-right: 16px;
  background-color: rgba(58, 131, 204, 0.13);
}
.table-v01 th small {
  font-size: 0.9375em;
  color: #7d848d;
  vertical-align: middle;
}

.table-scroll {
  flex-shrink: 1;
  flex-grow: 1;
  overflow-y: auto;
  max-height: 100%;
  min-height: 120px;
  background-color: #2f3741;
  border: 1px solid rgba(110, 126, 146, 0.2);
  padding-bottom: 2px;
}
.table-scroll table {
  border-collapse: separate;
  border-spacing: 0;
}
.table-scroll th,
.table-scroll td {
  text-align: center;
  padding: 8px;
  height: 40px;
  border-bottom: 1px solid rgba(110, 126, 146, 0.2);
}
.table-scroll thead {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 36px;
}
.table-scroll thead th {
  height: 36px;
  background-color: #262d35;
  padding-top: 6px;
  padding-bottom: 6px;
}
.table-scroll tbody tr:last-child td,
.table-scroll tbody tr:last-child th {
  border-bottom: 0;
}
.table-scroll tr:not(.active):hover td {
  background-color: rgba(30, 124, 172, 0.5);
}

table.sm thead th {
  font-size: 15px;
}
table.sm input[type=checkbox],
table.sm input[type=radio] {
  width: 18px;
  height: 18px;
}

.grow {
  flex-grow: 1;
  flex-shrink: 1;
  min-width: 0;
}

span.require::after {
  content: "";
  color: var(--red);
  margin-left: 4px;
  display: inline-block;
  width: 8px;
  height: 8px;
  background: url(../img/icon_require.svg) no-repeat center/contain;
  vertical-align: 7px;
}

.tbl-top,
.tbl-btm {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.tbl-btm {
  margin-top: 32px;
}
.tbl-btm .pagenum {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.tbl-btm .pagenum button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  width: 28px;
  height: 28px;
  padding: 0 4px;
  border-radius: 4px;
  background: transparent;
  white-space: nowrap;
}
.tbl-btm .pagenum button.page-nav {
  width: auto;
  min-width: 44px;
  padding: 0 10px;
}
.tbl-btm .pagenum button.active {
  background: rgba(55, 83, 118, 0.3);
}
.tbl-btm .pagenum button:disabled {
  opacity: 0.5;
}

.space-gap {
  display: flex;
  align-items: center;
  gap: 30px;
}
.space-gap.column {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.space-gap.xs {
  gap: 5px;
}
.space-gap.sm {
  gap: 20px;
}
.space-gap.lg {
  gap: 50px;
}

details summary {
  list-style-type: none;
}
details summary::-webkit-details-marker {
  display: none;
}

ul.tree {
  padding-right: 8px;
}
ul.tree ul {
  display: none;
  padding-left: 30px;
}
ul.tree i.arrow {
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 24px;
  cursor: pointer;
  background: url(../img/icon_arrow.svg) no-repeat center;
  transform: rotate(0);
  margin-right: 2px;
  position: relative;
}
ul.tree span {
  display: inline-block;
  vertical-align: middle;
  height: 36px;
  line-height: 36px;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  max-width: 75%;
  position: relative;
  cursor: pointer;
}
ul.tree span::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  background: url(../img/icon_folder.svg) no-repeat center;
  margin-right: 4px;
}
ul.tree .ibtn {
  position: relative;
}
ul.tree li {
  font-size: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
ul.tree li ul {
  flex: 0 0 100%;
}
ul.tree li.open > span::before {
  background-image: url(../img/icon_folder_open.svg);
}
ul.tree li.open > ul {
  display: block;
}
ul.tree li.open > i.arrow {
  transform: rotate(90deg);
}
ul.tree li:not(:has(ul)) > i.arrow {
  background: none;
  width: 18px;
}
ul.tree li:not(:has(ul)) > i.arrow::after {
  content: "-";
  font-size: 15px;
}
ul.tree li:not(:has(ul)) > span::before {
  background-image: url(../img/icon_cctv.svg);
}
ul.tree li.leaf {
  display: flex;
  align-items: center;
}
ul.tree li.leaf i.arrow {
  cursor: auto;
}
ul.tree li.leaf i.icon {
  position: relative;
  background: url(../img/icon_focus.svg) no-repeat center;
  margin-left: auto;
}
ul.tree li.leaf i.icon.disabled {
  background-image: url(../img/icon_focus_disabled.svg);
}
ul.tree li.active {
  position: relative;
}
ul.tree li.active > span {
  font-weight: 500;
}
ul.tree li.active::before {
  content: "";
  width: calc(100% + 308px);
  height: 36px;
  position: absolute;
  left: -300px;
  top: 0;
  background-color: #1f3660;
}

.btn-toggle {
  font-size: 0;
  width: 42px;
  height: 22px;
  border-radius: 42px;
  background-color: var(--blue);
  box-shadow: inset 0 0 2px rgba(29, 41, 64, 0.45);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}
.btn-toggle::after {
  content: "";
  width: 18px;
  height: 18px;
  background-color: #fff;
  border-radius: 100px;
  box-shadow: 0 2px 4px rgba(39, 39, 39, 0.1);
  position: absolute;
  left: 21px;
  transition: all 0.3s;
}
.btn-toggle.off {
  background-color: #7d848d;
}
.btn-toggle.off::after {
  left: 3px;
}

.btn-close {
  font-size: 0;
  width: 24px;
  height: 24px;
  background: url(../img/icon_close.svg) no-repeat center/contain;
}

.btn-search {
  font-size: 0;
  width: 24px;
  height: 24px;
  background: url(../img/icon_search.svg) no-repeat center/contain;
}

.btn-fullscreen {
  font-size: 0;
  width: 32px;
  height: 32px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.45) url(../img/icon_fullscreen.svg) no-repeat center;
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
}
.btn-fullscreen:hover {
  background-color: var(--blueD);
}
.btn-fullscreen.exit {
  background-image: url(../img/icon_fullscreen_exit.svg);
}

.btn-tooltip {
  font-size: 0;
  width: 16px;
  height: 16px;
  background: url(../img/icon_tip.svg) no-repeat center;
  vertical-align: top;
  margin-left: 6px;
}

.player-area {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.player-area video {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0;
}
.player-area .btn-control {
  font-size: 0;
  width: 54px;
  height: 54px;
  border-radius: 100px;
  background: url(../img/btn_play.png) no-repeat center/contain;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.player-area .btn-control.pause {
  background-image: url(../img/btn_pause.png);
}

ul.list01 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
ul.list01 li {
  display: grid;
  gap: 8px 12px;
  align-items: center;
  padding-right: 12px;
}
ul.list01 li .img {
  grid-area: 1/1/3/2;
  width: 130px;
  aspect-ratio: 13/9;
  border: 1px solid #7d848d;
}
ul.list01 li .img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0;
}
ul.list01 li .txt01 {
  grid-area: 1/2/2/3;
  font-size: 15px;
  font-weight: 500;
  color: var(--textColorMain);
  line-height: 1;
  align-self: flex-end;
  margin-top: 5px;
}
ul.list01 li .txt02 {
  grid-area: 2/2/3/3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  align-self: flex-start;
}
ul.list01 li .txt02 strong {
  font-weight: 700;
  color: var(--orange);
}
ul.list01 li i {
  grid-area: 1/3/3/4;
}
ul.list01 li:not(:first-of-type) {
  border-top: 1px solid rgba(110, 126, 146, 0.2);
  padding-top: 12px;
}

i.accident {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 80px;
  height: 80px;
  font-weight: 500;
  font-size: 13px;
  color: var(--textColorMain);
  background-color: #000;
  border-radius: 100px;
  flex-shrink: 0;
}
i.accident::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
i.accident.warnning {
  background-color: var(--red);
}
i.accident.warnning::before {
  background-image: url(../img/icon_warnning.svg);
}
i.accident.ok {
  background-color: var(--green);
}
i.accident.ok::before {
  background-image: url(../img/icon_ok.svg);
}

.no-result {
  padding: 97px 0 0 0 !important;
  text-align: center;
  font-size: 15px;
  color: var(--textColorMain);
  background: url(../img/noresult_box.png) no-repeat center top;
}
.no-result.image {
  padding-top: 160px !important;
  background: url(../img/no_img.png) no-repeat center top;
  transform: translateY(-19px);
}
.no-result.video {
  width: 80px;
  height: 80px;
  padding: 0 !important;
  background: url(../img/icon_cctv_disconnect.svg) no-repeat center/contain;
}

p.total {
  font-size: 0.875em;
}
p.total strong {
  font-weight: 500;
  color: var(--orange);
}

#wrapper {
  min-width: var(--siteWidth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

#header {
  flex-shrink: 0;
  border: 1px solid transparent;
  background: linear-gradient(#1f232b, #1f232b) padding-box, linear-gradient(to bottom, #64758b, #1f232b) border-box;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  position: relative;
  z-index: 20;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.18);
}
#header h1 {
  width: 73px;
  height: 36px;
  font-size: 0;
  background: url(../img/logo.png) no-repeat center/contain;
}
#header h1 a {
  display: block;
  width: 100%;
  height: 100%;
}
#header .time {
  margin-left: auto;
  margin-right: 72px;
  font-size: 18px;
  font-weight: 700;
}
#header .user {
  display: flex;
  align-items: center;
  gap: 16px;
}
#header .user .notification {
  position: relative;
}
#header .user .notification dt {
  width: 24px;
  height: 24px;
  font-size: 0;
  background: url(../img/icon_bell.svg) no-repeat center;
}
#header .user .notification dd {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 4px;
  height: 17px;
  border-radius: 100px;
  background-color: var(--red);
  color: var(--textColorMain);
  font-size: 11px;
  font-weight: 700;
  line-height: 0;
  min-width: 17px;
  position: absolute;
  right: -4px;
  top: -4px;
}
#header .user strong {
  font-weight: 500;
  text-decoration: underline;
}
#header .user .btn-logout {
  font-size: 0;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #3f4f63 url(../img/icon_logout.svg) no-repeat center;
}
#header .user .btn-logout:hover {
  background-color: #4ea1ff;
}
#header .gnb {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
#header .gnb > ul {
  display: flex;
  align-items: center;
  gap: 30px;
}
#header .gnb > ul > li {
  position: relative;
  color: #d8e1e6;
}
#header .gnb > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding-right: 36px;
  padding-left: 8px;
  height: 40px;
  position: relative;
}
#header .gnb > ul > li > a:hover {
  color: var(--textColorMain);
}
#header .gnb > ul > li > a::after {
  content: "";
  width: 20px;
  aspect-ratio: 1/1;
  background-color: #a6b4c5;
  -webkit-mask-image: url(../img/icon_down.svg);
          mask-image: url(../img/icon_down.svg);
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
  position: absolute;
  right: 8px;
}
#header .gnb > ul > li ul {
  position: absolute;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid var(--blueD);
  background-color: #262b36;
  border-radius: 4px;
  padding: 4px 0;
  width: auto;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s;
}
#header .gnb > ul > li ul a {
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 20px;
  line-height: 1.2;
  white-space: nowrap;
  font-size: 15px;
}
#header .gnb > ul > li ul a:hover {
  background-color: var(--blueD);
  color: var(--textColorMain);
}
#header .gnb > ul > li ul li.on a {
  font-weight: 500;
  color: var(--textColorMain);
}
#header .gnb > ul > li:hover ul {
  max-height: 500px;
  opacity: 1;
}
#header .gnb > ul > li.on > a {
  font-weight: 500;
  color: var(--textColorMain);
}

#main {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow-y: auto;
}

.badge-cctv {
  position: absolute;
  z-index: 10;
  padding-top: 44px;
  background: url(../img/badge_cctv.png) no-repeat center top;
  transform: translate(-50%, -24px);
  cursor: pointer;
}
.badge-cctv span {
  font-size: 14px;
  border-radius: 500px;
  display: flex;
  align-items: center;
  height: 24px;
  background-color: rgba(93, 97, 103, 0.7);
  padding: 0 10px;
  min-width: 78px;
  color: var(--textColorMain);
  border: 1px solid #a6b4c5;
  font-weight: 500;
}
.badge-cctv.active {
  background-image: url(../img/badge_cctv_active.png);
}
.badge-cctv.active::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 100px;
  box-shadow: 0 2px 12px rgba(176, 0, 192, 0.65);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.badge-cctv.active span {
  background-color: rgba(6, 22, 53, 0.7);
  color: var(--textColorMain);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  border-color: var(--blue);
}
.badge-cctv.select {
  background-image: url(../img/badge_cctv_select.png);
}
.badge-cctv.select span {
  background-color: rgba(6, 22, 53, 0.7);
  color: var(--textColorMain);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  border-color: var(--blue);
}
.badge-cctv.disconnect {
  pointer-events: none;
  background-image: url(../img/badge_cctv_disconnect.png);
}
.badge-cctv.disconnect span {
  background-color: rgba(85, 91, 102, 0.8);
}
.badge-cctv:not(.disconnect, .active):hover {
  background-image: url(../img/badge_cctv_select.png);
}
.badge-cctv:not(.disconnect, .active):hover span {
  background-color: rgba(6, 22, 53, 0.7);
  color: var(--textColorMain);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  border-color: var(--blue);
}

.cctv-viewer {
  box-shadow: 0 4px 12px rgba(31, 35, 43, 0.8);
}
.cctv-viewer header {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 12px;
  background-color: rgba(58, 131, 204, 0.13);
}
.cctv-viewer header h2 {
  font-weight: 400;
}
.cctv-viewer header h2 strong {
  font-weight: 500;
}
.cctv-viewer header .btn-close {
  margin-left: auto;
}

.main-view {
  overflow-y: auto;
  overflow-x: hidden;
  flex-grow: 1;
}
.main-view .map-area {
  position: relative;
}
.main-view .aside-left {
  position: absolute;
  z-index: 10;
  left: 10px;
  top: 8px;
  width: 280px;
  height: calc(100% - 240px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.main-view div.details {
  box-shadow: 0 0 18px rgba(31, 35, 43, 0.8);
  display: flex;
  flex-direction: column;
}
.main-view div.details summary {
  cursor: pointer;
  flex-shrink: 0;
  border: 1px solid transparent;
  background: linear-gradient(to bottom, #2b426a, #223351) padding-box, linear-gradient(179deg, #6592e3, #223351) border-box;
  height: 42px;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--textColorMain);
  padding: 0 8px 0 12px;
  box-shadow: 0 2px rgba(0, 0, 0, 0.18);
}
.main-view div.details summary::after {
  content: "";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: url(../img/icon_down.svg) no-repeat center/contain;
  margin-left: auto;
}
.main-view div.details .con {
  background: rgba(31, 35, 43, 0.8);
  border: 1px solid rgba(50, 60, 74, 0.3);
  padding: 12px;
  padding-bottom: 10px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.main-view div.details.open {
  flex-grow: 0;
}
.main-view div.details.open summary::after {
  transform: rotate(180deg);
}
.main-view div.details.open .con {
  display: none;
}
.main-view .event-situation .value {
  display: flex;
  gap: 24px;
  padding: 3px 10px;
  border-bottom: 1px solid #4b5362;
  padding-bottom: 10px;
  margin-bottom: 18px;
}
.main-view .event-situation .value dl {
  flex: 1 1 0;
}
.main-view .event-situation .value dl dt {
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
}
.main-view .event-situation .value dl dd {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1;
  gap: 3px;
  text-align: right;
}
.main-view .event-situation .value dl dd strong {
  color: var(--textColorMain);
  font-weight: 700;
  font-size: 28px;
  vertical-align: middle;
  margin-right: 3px;
}
.main-view .event-situation .value dl:first-of-type dd strong {
  color: var(--orange);
}
.main-view .cctv-situation {
  flex-grow: 1;
  overflow: hidden;
}
.main-view .cctv-situation .con {
  flex-grow: 1;
  overflow: hidden;
}
.main-view .cctv-situation .tree {
  height: 100%;
  overflow-y: auto;
  scrollbar-gutter: stable;
  margin-right: -9px;
  margin-left: -12px;
  padding-left: 5px;
}
.main-view .aside-right {
  position: absolute;
  z-index: 10;
  right: 10px;
  top: 8px;
  width: 500px;
  height: calc(100% - 240px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.main-view .cctv-viewer {
  border: 2px solid transparent;
  background: linear-gradient(to bottom, #262b36, #262b36) padding-box, linear-gradient(to right bottom, #2cffce, #4d9eff, #d15cff) border-box;
  border-radius: 8px;
}
.main-view .cctv-viewer header {
  background-color: #262b36;
  border-radius: 6px 6px 0 0;
}
.main-view .cctv-viewer header .history {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--textColorMain);
  cursor: pointer;
}
.main-view .cctv-viewer header .btn-close {
  margin-left: 0;
}
.main-view .cctv-viewer .player-area {
  border-radius: 0 0 6px 6px;
  aspect-ratio: 500/320;
}
.main-view .history-list {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.main-view .history-list header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 12px;
  background: #283142;
}
.main-view .history-list header h2 {
  font-weight: 400;
  font-size: 15px;
}
.main-view .history-list header h2 strong {
  font-weight: 500;
}
.main-view .history-list header span {
  margin-left: auto;
  font-size: 15px;
  color: var(--textColorMain);
  font-size: 14px;
}
.main-view .history-list header span strong {
  font-weight: 500;
  color: var(--orange);
}
.main-view .history-list .con {
  flex-grow: 1;
  overflow: hidden;
  background: rgba(31, 35, 43, 0.8);
  padding: 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.main-view .history-list .con ul {
  height: 100%;
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding-right: 3px;
  margin-right: -12px;
}

.main-slide {
  flex: 0 0 250px;
  position: relative;
  padding: 15px 12px;
  width: 100%;
  background-color: #262b36;
}
.main-slide .main-slide-nav {
  position: absolute;
  top: 50%;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 72px;
  margin-top: 0;
  border: 1px solid rgba(239, 239, 239, 0.24);
  border-radius: 8px;
  background: rgba(10, 14, 22, 0.78);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.main-slide:hover .main-slide-nav,
.main-slide:focus-within .main-slide-nav {
  opacity: 1;
  pointer-events: auto;
}
.main-slide .main-slide-nav:hover,
.main-slide .main-slide-nav:focus-visible {
  border-color: rgba(77, 158, 255, 0.75);
  background: rgba(18, 26, 39, 0.92);
  outline: none;
}
.main-slide .main-slide-nav-prev {
  left: 10px;
}
.main-slide .main-slide-nav-next {
  right: 10px;
}
.main-slide .main-slide-nav::after {
  content: "";
  display: none;
}
.main-slide .main-slide-nav::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}
.main-slide .main-slide-nav-prev::before {
  transform: rotate(-135deg);
  margin-left: 5px;
}
.main-slide .main-slide-nav-next::before {
  transform: rotate(45deg);
  margin-right: 5px;
}
.main-slide .main-slide-nav.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}
.main-slide .swiper-slide {
  width: 280px;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-start;
  align-items: stretch;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: #2a303d;
}
.main-slide .swiper-slide::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.main-slide .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  background: none;
  pointer-events: none;
}
.main-slide .swiper-slide .thumb-location,
.main-slide .swiper-slide .thumb-name {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  color: var(--textColorMain);
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.main-slide .swiper-slide .thumb-location {
  flex: 0 0 20px;
  color: rgba(239, 239, 239, 0.68);
  font-size: 13px;
  font-weight: 400;
}
.main-slide .swiper-slide .thumb-name {
  flex: 0 0 24px;
  font-size: 15px;
  font-weight: 500;
}
.main-slide .swiper-slide .thumb-media {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #1a1a2e;
}
.main-slide .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0;
}
.main-slide .swiper-slide img.disconnect {
  width: 60px;
  height: 60px;
  margin-top: 32px;
}
.main-slide .swiper-slide.on {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}
.main-slide .swiper-slide.on::before {
  content: "";
  display: none;
}
.main-slide .swiper-slide.on .thumb-name {
  color: #fff;
}
.main-slide .swiper-slide.on::after {
  padding: 1px;
  background: linear-gradient(to bottom right, #2cffce, #4d9eff, #d15cff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: xor;
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

#main.sub-layout {
  flex-direction: row;
}

.sub-left {
  flex: 0 0 280px;
  background-color: rgba(31, 35, 43, 0.8);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  --btnHeight: 28px;
}
.sub-left .ibtn {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 400;
  gap: 4px;
}
.sub-left .ibtn i {
  margin-left: -6px !important;
}
.sub-left .ibtn i.icon.plus {
  width: 16px;
  height: 16px;
  background-image: url(../img/icon_plus_sm.svg);
}
.sub-left .ibtn i.icon.minus {
  width: 16px;
  height: 16px;
  background-image: url(../img/icon_minus_sm.svg);
}
.sub-left .sub-left-header {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 39px;
  padding: 0 12px;
  background: linear-gradient(to bottom, #2b426a, #223351);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}
.sub-left .sub-left-header h2 {
  color: var(--textColorMain);
  font-weight: 700;
  font-size: 15px;
}
.sub-left .h3-header {
  display: flex;
  align-items: center;
  height: 42px;
  gap: 12px;
  border-bottom: 1px solid rgba(110, 126, 146, 0.2);
  flex-shrink: 0;
  padding: 0 8px 0 10px;
  margin-left: -5px;
}
.sub-left .h3-header h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.sub-left .h3-header button {
  margin-left: auto;
}
.sub-left .con {
  padding: 8px 0;
  border: 1px solid rgba(50, 60, 74, 0.3);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sub-left .con .grow {
  overflow-y: auto;
  padding-left: 5px;
}
.sub-left .tree > li:not(:first-of-type) {
  margin-top: 8px;
}
.sub-left .tree span {
  height: 38px;
  line-height: 38px;
}
.sub-left .tree li.active::before {
  height: 38px;
}
.sub-left .player-list {
  padding: 0 8px 0 3px;
}
.sub-left .player-list summary {
  line-height: 32px;
  position: relative;
  padding-right: 30px;
  cursor: pointer;
}
.sub-left .player-list summary::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url(../img/icon_down.svg) no-repeat center/contain;
}
.sub-left .player-list:open summary::after {
  transform: translateY(-50%) rotate(180deg);
}
.sub-left .player-list ul li {
  margin-bottom: 12px;
}
.sub-left .player-list ul header {
  display: flex;
  align-items: center;
  height: 32px;
  background-color: #3f4f63;
  padding: 0 12px;
}
.sub-left .player-list ul header p {
  font-size: 0.9375em;
  font-weight: 500;
  line-height: 1;
}
.sub-left .player-list ul header .btn-toggle {
  margin-left: auto;
}
.sub-left .player-list ul .player-area {
  border: 2px solid #3f4f63;
  border-top: 0;
}
.sub-left .player-list:not(:first-of-type) {
  border-top: 1px solid #4b5362;
  margin-top: 8px;
  padding-top: 8px;
}

.sub-contents {
  padding: 20px 60px 63px 60px;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: auto;
  scrollbar-gutter: stable;       /* 스크롤바 영역 미리 확보 → 콘텐츠 변동 시 가로 폭 들썩거림 방지 */
}
.sub-contents.narrow {
  padding-bottom: 20px;
}

.sub-contents-header {
  display: flex;
  align-items: center;
  height: 66px;
  border-bottom: 2px solid #4b5362;
  flex-shrink: 0;
  --btnHeight: 42px;
  --btnRadius: 4px;
}
.sub-contents-header h2 {
  font-size: 32px;
  color: var(--textColorMain);
  line-height: 1;
}
.sub-contents-header .tooltip-area {
  margin-top: -11px;
}
.sub-contents-header .btns {
  margin-left: auto;
}
.sub-contents-header .ibtn {
  min-width: 108px;
}

.tooltip-area {
  position: relative;
}
.tooltip-area .btn-tooltip {
  margin-left: 8px;
}

.pop-tooltip {
  position: absolute;
  z-index: 10;
  width: 203px;
  padding: 8px 12px;
  background-color: rgba(47, 55, 65, 0.9);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  font-size: 15px;
  right: -220px;
  top: -17px;
  display: none;
}
.pop-tooltip::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: rgba(47, 55, 65, 0.9);
  transform: rotate(45deg);
  left: -5px;
  top: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.pop-tooltip header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 5px;
}
.pop-tooltip header h3 {
  color: var(--textColorMain);
}
.pop-tooltip header .btn-close {
  margin-left: auto;
  width: 20px;
  height: 20px;
}
.pop-tooltip p {
  word-break: keep-all;
}

.contents-area {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;       /* 스크롤바 영역 미리 확보 → 들썩거림 방지 */
}

.h3-header {
  --btnHeight: 28px;
  display: flex;
  align-items: center;
  height: 28px;
  flex-shrink: 0;
  margin-bottom: 8px;
}
.h3-header.border {
  border-bottom: 1px solid rgba(110, 126, 146, 0.2);
  height: 40px;
}
.h3-header h3 {
  color: var(--textColorMain);
  line-height: 1;
}
.h3-header .tooltip-area {
  margin-top: 7px;
}
.h3-header .ibtn {
  font-size: 14px;
  font-weight: 400;
  gap: 3px;
}
.h3-header i.icon {
  width: 18px;
  height: 18px;
}
.h3-header i.icon.plus {
  margin-left: -6px;
}

.p-header {
  display: flex;
  align-items: center;
  height: 30px;
  margin-bottom: 8px;
}

.guide-refer {
  font-size: 0.9375em;
  color: #4faff3;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}
.guide-refer::before {
  content: "";
  width: 18px;
  height: 18px;
  background-color: #4faff3;
  -webkit-mask-image: url(../img/icon_guide.svg);
          mask-image: url(../img/icon_guide.svg);
}

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

.layout-2col {
  display: flex;
  gap: 32px;
  overflow: hidden;
}
.layout-2col > section {
  display: flex;
  flex-direction: column;
}
.layout-2col > section:first-child {
  flex: 0 0 480px;
}
.layout-2col > section:last-child {
  flex: 1 1 0;
}
.layout-2col.sub0202 {
  height: 100%;
}
.layout-2col.sub0202 > section:first-child {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.layout-2col.sub0202 > section:last-child {
  flex: 0 0 532px;
  border-left: 1px solid rgba(110, 126, 146, 0.2);
  padding-left: 16px;
}
.layout-2col.sub0202 .top-search {
  margin-bottom: 24px;
}
.layout-2col.sub0202 .accident-value {
  margin-bottom: 24px;
}
.layout-2col.sub0202 .tab-con {
  display: flex;
  flex-direction: column;
}
.layout-2col.sub0202 .tab-con > section {
  height: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.layout-2col.sub0202 .calendar-area {
  margin-bottom: 14px;
  margin-top: -12px;
}

.calendar-area {
  display: flex;
  flex-direction: column;
}

.calendar-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  height: 44px;
}
.calendar-header .btn-month {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  font-size: 0;
  background: url(../img/icon_left.svg) no-repeat center/contain;
  margin-right: 0;
}
.calendar-header .btn-month.next {
  transform: rotate(180deg);
  margin-right: 0;
  margin-left: 0;
}
.calendar-jump {
  position: relative;
  flex-shrink: 0;
}
.calendar-title {
  min-width: 118px;
  height: 32px;
  padding: 0 34px 0 12px;
  border: 0;
  border-radius: 4px;
  background: transparent url(../img/icon_down.svg) no-repeat right 10px center;
  color: var(--textColorMain);
  font-size: 1.125em;
  font-weight: 600;
  cursor: pointer;
}
.calendar-title:hover,
.calendar-title[aria-expanded=true] {
  background-color: #1a1d22;
}
.calendar-jump-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  z-index: 30;
  width: 224px;
  padding: 10px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  background-color: #1a1d22;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.42);
  transform: translateX(-50%);
}
.calendar-jump-panel[hidden] {
  display: none;
}
.calendar-jump-panel select {
  width: 100%;
  height: 32px;
  margin-bottom: 8px;
  border: 1px solid #4b5362;
  border-radius: 4px;
  background-color: #262d35;
  color: #fff;
}
.calendar-month-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.calendar-month-grid button {
  height: 30px;
  border-radius: 4px;
  background-color: #262d35;
  color: #fff;
  font-weight: 500;
}
.calendar-month-grid button:hover,
.calendar-month-grid button.active {
  background-color: var(--blue);
}

.calendar .th {
  border-top: 1px solid #4b5362;
  border-bottom: 1px solid #4b5362;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.calendar .th .item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 28px;
  font-size: 0.8125em;
}
.calendar .td {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: clamp(52px, 6.8vh, 70px);
  background-color: #2f3741;
  margin-left: 1px;
  margin-top: 1px;
}
.calendar .td .item {
  margin-left: -1px;
  margin-top: -1px;
  min-height: 0;
  padding: 3px 4px;
  border: 1px solid transparent;
  border-bottom: 1px solid rgba(110, 126, 146, 0.2);
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}
.calendar .td .item.ex span {
  opacity: 0.5;
}
.calendar .td .item.today {
  background-color: rgba(0, 0, 0, 0.18);
  border: 1px solid #4b5362;
}
.calendar .td .item.today span {
  background-color: #3f4f63;
  font-weight: 700;
}
.calendar .td .item.active {
  background-color: #1a1d22;
  border: 1px solid #00b2ff;
}
.calendar .td .item.active span {
  background-color: var(--blue);
  font-weight: 700;
}
.calendar-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-width: 0;
  flex-shrink: 0;
}
.calendar .td span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  font-size: 0.8125em;
}
.calendar-total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background-color: rgba(0, 178, 255, 0.18);
  color: #8fd8ff;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.calendar .td .item.ex .calendar-total {
  opacity: 0.55;
}
.calendar .td ul {
  min-height: 0;
  font-size: 0.75em;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
  padding-left: 0;
  padding-right: 2px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 12px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 12px), transparent);
}
.calendar .td ul::-webkit-scrollbar {
  display: none;
}
.calendar .td li {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  line-height: 1.1;
}
.calendar .td i.badge {
  height: 16px;
  min-width: 24px;
  padding: 0 4px;
  font-size: 11px;
}
.calendar .td li em {
  min-width: 0;
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.event-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  flex-grow: 1;
}
.event-detail .img-area {
  background-color: rgba(55, 83, 118, 0.3);
  border: 2px solid #4b5362;
  width: 100%;
  aspect-ratio: 516/330;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.event-detail .img-area img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0;
}
.event-detail .player-area {
  background-color: rgba(57, 66, 83, 0.2);
  border: 2px solid #4b5362;
  aspect-ratio: 516/320;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.event-detail .rows {
  display: flex;
  align-items: center;
  padding: 12px 0;
  font-size: 0.9375em;
  flex-shrink: 0;
}
.event-detail .toggle-area label {
  color: var(--textColorMain);
}
.event-detail label.check {
  margin-left: auto;
}
.event-detail .action {
  flex-shrink: 0;
}
.event-detail .action h3 {
  font-weight: 400;
  line-height: 1;
  margin-bottom: 8px;
}
.event-detail .action .input-wrapper {
  width: 100%;
}
.event-detail .action .ibtn {
  flex: 0 0 80px;
}
.event-detail.disabled .no-result {
  color: #7d848d;
}
.event-detail.disabled .rows,
.event-detail.disabled .action {
  opacity: 0.6;
  pointer-events: none;
}

.tab-menu {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid rgba(110, 126, 146, 0.2);
  height: 40px;
  margin-bottom: 32px;
}
.tab-menu a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  min-width: 120px;
  color: #7d848d;
  background-color: rgba(57, 66, 83, 0.25);
  border: 1px solid rgba(110, 126, 146, 0.2);
}
.tab-menu a.on {
  background-color: var(--blueD);
  color: var(--textColorMain);
  border-color: transparent;
  font-weight: 500;
}

.accident-value {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.accident-value dl {
  flex: 0 0 calc((100% - 36px) / 4);
  background-color: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(110, 126, 146, 0.2);
  position: relative;
  padding: 16px 20px 16px 92px;
  height: 88px;
}
.accident-value dl::before {
  content: "";
  width: 56px;
  height: 56px;
  border-radius: 100px;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(90, 110, 216, 0.7) url(../img/icon_accident00.svg) no-repeat center/28px;
  border: 1px solid var(--accidentColor01);
}
.accident-value dl:nth-of-type(1) dd strong {
  color: var(--orange);
}
.accident-value dl:nth-of-type(1)::before {
  background-color: #f02a2a;
  border-color: transparent;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.8);
}
.accident-value dl:nth-of-type(2)::before {
  background-color: rgba(90, 110, 216, 0.7);
  border-color: var(--accidentColor01);
  background-image: url(../img/icon_accident01.svg);
}
.accident-value dl:nth-of-type(3)::before {
  background-color: rgba(71, 184, 248, 0.7);
  border-color: var(--accidentColor02);
  background-image: url(../img/icon_accident02.svg);
}
.accident-value dl:nth-of-type(4)::before {
  background-color: rgba(255, 83, 83, 0.7);
  border-color: var(--accidentColor03);
  background-image: url(../img/icon_accident03.svg);
}
.accident-value dl:nth-of-type(5)::before {
  background-color: rgba(45, 178, 139, 0.7);
  border-color: var(--accidentColor04);
  background-image: url(../img/icon_accident04.svg);
}
.accident-value dl:nth-of-type(6)::before {
  background-color: rgba(247, 52, 99, 0.7);
  border-color: var(--accidentColor05);
  background-image: url(../img/icon_accident05.svg);
}
.accident-value dl:nth-of-type(7)::before {
  background-color: rgba(255, 133, 46, 0.7);
  border-color: var(--accidentColor06);
  background-image: url(../img/icon_accident06.svg);
}
.accident-value dt {
  font-weight: 400;
  font-size: 0.875em;
  line-height: 1.3;
}
.accident-value dd {
  margin-top: 8px;
  font-size: 0.9375em;
  line-height: 1;
  text-align: right;
}
.accident-value dd strong {
  font-size: 1.8667em;
  margin-right: 5px;
  vertical-align: -2px;
}

i.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 6px;
  min-width: 30px;
  border-radius: 100px;
  color: var(--textColorMain);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}
i.badge.accident01 {
  background-color: var(--accidentColor01);
}
i.badge.accident02 {
  background-color: var(--accidentColor02);
}
i.badge.accident03 {
  background-color: var(--accidentColor03);
}
i.badge.accident04 {
  background-color: var(--accidentColor04);
}
i.badge.accident05 {
  background-color: var(--accidentColor05);
}
i.badge.accident06 {
  background-color: var(--accidentColor06);
}

.scroll-area {
  flex-grow: 1;
  overflow-y: auto;
}

p.label {
  margin-bottom: 8px;
  line-height: 1;
}

.select-wrapper {
  position: relative;
  width: 100%;
}
.select-wrapper select {
  display: none;
}
.select-wrapper .select-display {
  height: var(--btnHeight);
  line-height: calc(var(--btnHeight) - 2px);
  background: var(--gray900) url(../img/icon_down.svg) no-repeat right 8px center;
  padding: 0 var(--btnPadding);
  padding-right: 34px;
  border-radius: var(--btnRadius);
  border: 1px solid #1f2326;
  color: #fff;
  cursor: pointer;
}
.select-wrapper .select-display.active {
  background-color: #1a1d22;
  border-color: var(--blue);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.45);
}
.select-wrapper .select-options {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  width: 100%;
  display: none;
  z-index: 10;
  max-height: 180px;
  overflow-y: auto;
  background-color: #1a1d22;
  border: 1px solid var(--blue);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.45);
  border-radius: 2px;
}
.select-wrapper .select-options li {
  height: var(--btnHeight);
  line-height: calc(var(--btnHeight) - 2px);
  padding: 0 var(--btnPadding);
  background: #262d35;
  color: #fff;
  cursor: pointer;
}
.select-wrapper .select-options li:hover {
  background: #253a61;
}
.select-wrapper .select-options li.active {
  background: #1f3660;
}

.top-search {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  background-color: #2f3741;
  margin-bottom: 32px;
}
.top-search span.label {
  font-weight: 500;
  margin-right: 10px;
  flex-shrink: 0;
}
.top-search span.label:not(:first-of-type) {
  margin-left: 32px;
}
.top-search .btn-submit {
  margin-left: auto;
  flex-shrink: 0;
}

.drawing-area {
  position: relative;
  background-color: #1a1d22;
  border: 2px solid #4b5362;
  overflow: hidden;
  flex-grow: 1;
}
.drawing-area .bg img {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.drawing-area .badge-cctv::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 24px;
  background: var(--red) url(../img/icon_minus_sm.svg) no-repeat center/20px;
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(calc(-50% + 24px));
}
.drawing-area .no-drawing {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.no-drawing {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}
.no-drawing button {
  border: 1px solid #4b5362;
  background: rgba(55, 83, 118, 0.3) url(../img/no_addimg.png) no-repeat center;
  font-size: 0;
  width: 314px;
  height: 250px;
}

.toggle-area {
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-accident {
  width: 108px;
  height: 108px;
  border-radius: 108px;
  background-color: #f02a2a;
  color: var(--textColorMain);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 0 0 15px rgba(240, 42, 42, 0.45);
}
.badge-accident p {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.input-alert {
  margin-top: 12px;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
}
.input-alert::before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: var(--red);
  -webkit-mask-image: url(../img/icon_warnning.svg);
          mask-image: url(../img/icon_warnning.svg);
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
}

.login-layout {
  width: 100%;
  height: 100%;
  min-height: 800px;
  background: url(../img/login_bg.png) no-repeat center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
}
.login-layout .logo {
  width: 130px;
  aspect-ratio: 130/64;
  background: url(../img/logo.png) no-repeat center/contain;
  font-size: 0;
  margin: 0 auto 48px auto;
}
.login-layout form {
  display: contents;
}
.login-layout fieldset {
  width: 576px;
  padding: 60px 108px;
  border-radius: 24px;
  background-color: #2f3741;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  font-size: 15px;
}
.login-layout fieldset p {
  font-size: 15px;
}
.login-layout fieldset p.label:not(:first-of-type) {
  margin-top: 32px;
}
.login-layout fieldset .input-wrapper {
  width: 100%;
}
.login-layout fieldset input:not([type=checkbox], [type=radio], [type=submit]) {
  height: 48px;
  line-height: 46px;
  font-size: 16px;
}
.login-layout fieldset label.check {
  margin-top: 32px;
  margin-bottom: 8px;
}
.login-layout fieldset button.full {
  height: 54px;
  font-size: 18px;
}
.login-layout fieldset .links {
  margin-top: 32px;
  display: flex;
  padding: 0 16px;
  gap: 12px;
}
.login-layout fieldset .links a {
  display: flex;
  align-items: center;
  gap: 12px;
}
.login-layout fieldset .links a:nth-of-type(2)::before {
  content: "";
  width: 1px;
  height: 16px;
  background-color: #7d848d;
}
.login-layout fieldset .links a.btn-signup {
  margin-left: auto;
  color: #00b2ff;
}
.login-layout .text-area {
  text-align: center;
}
.login-layout .text-area h2 {
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
}
.login-layout .text-area h2 strong {
  font-weight: 700;
  color: #00b2ff;
  font-size: 32px;
}
.login-layout .text-area p {
  color: var(--textColorMain);
  margin-top: 16px;
}

.realtime-layout .p-header .total {
  margin-left: auto;
}
.realtime-layout .list {
  display: flex;
  gap: 24px 32px;
  flex-wrap: wrap;
}
.realtime-layout .cctv-viewer {
  flex: 0 0 calc((100% - 32px) / 2);
}
.realtime-layout .player-area {
  aspect-ratio: 744/389;
}

.img-upload-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.img-upload-area .upload-area {
  background-color: rgba(57, 66, 83, 0.25);
  border: 1px dashed #4b5362;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 205px;
}
.img-upload-area .upload-area:hover {
  border-color: var(--blue);
}
.img-upload-area .upload-area button {
  font-size: 0;
  width: 160px;
  height: 160px;
  background: url(../img/no_addimg.png) no-repeat center/contain;
}
.img-upload-area .list-area {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.img-upload-area .list-area .item {
  position: relative;
  width: 128px;
  aspect-ratio: 128/92;
  border-radius: 2px;
  background-color: rgba(55, 83, 118, 0.3);
  border: 1px solid #4b5362;
}
.img-upload-area .list-area .item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0;
}
.img-upload-area .list-area .item .btn-delete {
  position: absolute;
  top: 6px;
  right: 6px;
}

.progress-container {
  position: relative;
  width: 100%;
  height: 22px;
  display: flex;
  align-items: center;
}
.progress-container .track {
  position: relative;
  width: 100%;
  height: 8px;
  background-color: rgba(0, 0, 0, 0.18);
  border: 1px solid #141719;
  border-radius: 10px;
  height: 8px;
}
.progress-container .fill {
  background-image: linear-gradient(to bottom, #2c70d4, #23549c);
  height: calc(100% + 2px);
  width: 50%;
  position: absolute;
  left: -1px;
  top: -1px;
  border-radius: 10px 0 0 10px;
}
.progress-container .thumb {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  background: #1a1e21;
  border: 5px solid var(--blue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.progress-container input {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0 !important;
  top: 0;
  padding: 0 !important;
}

.event-setting-layout {
  display: flex;
  gap: 40px;
  height: 100%;
}
.event-setting-layout .btn-area {
  flex: 0 0 196px;
  display: none;
}
.event-setting-layout .btn-area.is-active {
  display: block;
}
.event-setting-layout .btn-area button {
  border-radius: 4px;
  background-color: #3f4f63;
  color: var(--textColorMain);
  border: 1px solid rgba(0, 0, 0, 0.18);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 0;
}
.event-setting-layout .btn-area button:hover {
  background-color: var(--blue);
}
.event-setting-layout .btn-area button:disabled {
  opacity: 0.6;
  pointer-events: none;
}
.event-setting-layout .btn-area button:disabled::after {
  opacity: 0.3;
}
.event-setting-layout .btn-area .directions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.event-setting-layout .btn-area .directions button {
  aspect-ratio: 1/1;
}
.event-setting-layout .btn-area .directions button::after {
  content: "";
  width: 24px;
  height: 24px;
  background: url(../img/ptz_arrow.svg) no-repeat center/contain;
}
.event-setting-layout .btn-area .directions button.direction7::after {
  transform: rotate(-135deg);
}
.event-setting-layout .btn-area .directions button.direction8::after {
  transform: rotate(-90deg);
}
.event-setting-layout .btn-area .directions button.direction9::after {
  transform: rotate(-45deg);
}
.event-setting-layout .btn-area .directions button.direction4::after {
  transform: rotate(-180deg);
}
.event-setting-layout .btn-area .directions button.direction1::after {
  transform: rotate(135deg);
}
.event-setting-layout .btn-area .directions button.direction2::after {
  transform: rotate(90deg);
}
.event-setting-layout .btn-area .directions button.direction3::after {
  transform: rotate(45deg);
}
.event-setting-layout .btn-area .directions label {
  aspect-ratio: 1/1;
  background-color: rgba(57, 66, 83, 0.25);
  color: rgba(239, 239, 239, 0.7);
  font-size: 1.125em;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
}
.event-setting-layout .btn-area .zooms {
  display: flex;
  gap: 4px;
}
.event-setting-layout .btn-area .zooms button {
  flex: 1;
  height: 42px;
}
.event-setting-layout .btn-area .zooms button::after {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--textColorMain);
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
}
.event-setting-layout .btn-area .zooms button.zoom-out::after {
  -webkit-mask-image: url(../img/icon_minus.svg);
          mask-image: url(../img/icon_minus.svg);
}
.event-setting-layout .btn-area .zooms button.zoom-in::after {
  -webkit-mask-image: url(../img/icon_plus.svg);
          mask-image: url(../img/icon_plus.svg);
}
.event-setting-layout .btn-area h3 {
  font-weight: 500;
  line-height: 1;
  margin: 32px 0 8px 0;
}
.event-setting-layout .con-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  overflow-y: auto;
}
.event-setting-layout .con-area .scene {
  width: 100%;
  aspect-ratio: 1284/635;
  border: 2px solid #3f4f63;
  position: relative;
  overflow: hidden;
  flex-grow: 1;
}
.event-setting-layout .con-area .scene .stream-layer {
  position: absolute;
  inset: 0;
  background: #0b1118;
}
.event-setting-layout .con-area .scene iframe,
.event-setting-layout .con-area .scene video,
.event-setting-layout .con-area .scene .stream-placeholder,
.event-setting-layout .con-area .scene canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.event-setting-layout .con-area .scene iframe {
  border: 0;
  display: none;
}
.event-setting-layout .con-area .scene video {
  object-fit: contain;
  object-position: center center;
}
.event-setting-layout .con-area .scene .stream-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(239, 239, 239, 0.72);
  background: #0b1118;
  font-size: 0.9375em;
  text-align: center;
}
.event-setting-layout .con-area .scene canvas {
  z-index: 5;
  cursor: default;
}
.event-setting-layout .con-area .scene canvas.drawing {
  cursor: crosshair;
}
.event-setting-layout .con-area .scene label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  height: 33px;
  padding: 0 10px;
  border-radius: 4px;
  border: 1px solid #ff2d55;
  background-color: #1a1d22;
  font-size: 0.9375em;
}
.event-setting-layout .con-area .rows {
  display: flex;
  gap: 24px;
  flex: 0 0 227px;
}
.event-setting-layout .con-area .rows .events {
  flex: 0 0 110px;
  background-color: rgba(55, 83, 118, 0.3);
  padding: 12px;
  border-radius: 4px;
  font-size: 0.9375em;
}
.event-setting-layout .con-area .rows .events h3 {
  line-height: 1;
  padding-bottom: 8px;
  font-weight: 500;
}
.event-setting-layout .con-area .rows .events .labels {
  padding-top: 10px;
  border-top: 1px solid #4b5362;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.event-setting-layout .con-area .table-area {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.event-setting-layout .con-area .table-area .tbl-top {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-start;
  gap: 8px;
}
.event-setting-layout .con-area .table-area .tbl-top .btns {
  margin-left: 0;
  display: flex;
  gap: 8px;
}
.event-setting-layout .con-area .table-area .tbl-top .btns:last-child {
  margin-left: auto;
}
.event-setting-layout .con-area .table-area .tbl-top .ibtn {
  height: 42px;
  min-width: 108px;
  border-radius: 4px;
  font-size: var(--tBasic);
}
.event-setting-layout .con-area .table-area tr.active td {
  background-color: rgba(0, 181, 255, 0.18);
}
.event-setting-layout .con-area .table-area tr.empty td {
  text-align: center;
  color: rgba(239, 239, 239, 0.6);
}
.event-setting-layout .con-area .table-area .event-zone-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}
.event-setting-layout .con-area .table-area .event-zone-table th,
.event-setting-layout .con-area .table-area .event-zone-table td {
  box-sizing: border-box;
  height: 38px;
  padding: 6px 10px;
  text-align: center;
  vertical-align: middle;
}
.event-setting-layout .con-area .table-area .event-zone-table th:nth-child(1),
.event-setting-layout .con-area .table-area .event-zone-table td:nth-child(1) {
  width: 60px;
  padding-left: 0;
  padding-right: 0;
}
.event-setting-layout .con-area .table-area .event-zone-table th:nth-child(2),
.event-setting-layout .con-area .table-area .event-zone-table td:nth-child(2) {
  width: 180px;
}
.event-setting-layout .con-area .table-area .event-zone-table th:nth-child(4),
.event-setting-layout .con-area .table-area .event-zone-table td:nth-child(4),
.event-setting-layout .con-area .table-area .event-zone-table th:nth-child(5),
.event-setting-layout .con-area .table-area .event-zone-table td:nth-child(5) {
  width: 160px;
}
.event-setting-layout .con-area .table-area .event-zone-table input[type=checkbox] {
  display: block;
  margin: 0 auto;
}
.event-setting-layout .con-area .table-area .event-zone-table .zone-cell {
  cursor: pointer;
  position: relative;
  min-height: 38px;
  text-align: center;
}
.event-setting-layout .con-area .table-area .event-zone-table .zone-cell-empty {
  min-width: 82px;
  height: 26px;
  padding: 0 8px;
  border: 1px solid rgba(239, 239, 239, 0.24);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.16);
  color: rgba(239, 239, 239, 0.76);
  font-size: 0.875em;
}
.event-setting-layout .con-area .table-area .event-zone-table .zone-chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  margin: 2px 4px 2px 0;
  overflow: hidden;
  border: 1px solid rgba(0, 181, 255, 0.56);
  border-radius: 4px;
  background: rgba(0, 181, 255, 0.14);
  color: #fff;
  vertical-align: middle;
}
.event-setting-layout .con-area .table-area .event-zone-table .zone-chip.active {
  border-color: #facc15;
  background: rgba(250, 204, 21, 0.18);
}
.event-setting-layout .con-area .table-area .event-zone-table .zone-chip-label,
.event-setting-layout .con-area .table-area .event-zone-table .zone-chip-remove {
  height: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.875em;
  line-height: 1;
}
.event-setting-layout .con-area .table-area .event-zone-table .zone-chip-label {
  padding: 0 8px;
}
.event-setting-layout .con-area .table-area .event-zone-table .zone-chip-remove {
  width: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
}
.event-setting-layout .con-area .table-area .event-zone-table .zone-picker {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: min(220px, 100%);
  margin-top: 6px;
  margin-right: auto;
  margin-left: auto;
  padding: 6px;
  border: 1px solid rgba(110, 126, 146, 0.42);
  border-radius: 4px;
  background: #1f2730;
}
.event-setting-layout .con-area .table-area .event-zone-table .zone-picker.empty {
  color: rgba(239, 239, 239, 0.64);
  font-size: 0.875em;
}
.event-setting-layout .con-area .table-area .event-zone-table .zone-picker-option {
  height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(110, 126, 146, 0.32);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.16);
  color: #fff;
  font-size: 0.875em;
  text-align: left;
}
.event-setting-layout .con-area .table-area .event-zone-table .zone-picker-option.selected {
  border-color: rgba(250, 204, 21, 0.72);
  background: rgba(250, 204, 21, 0.16);
}

label.accident {
  display: inline-flex;
  height: 28px;
  border-radius: 28px;
  align-items: center;
  padding: 0 12px;
  font-size: 0.9375em;
  gap: 6px;
  border: 1px solid #4b5362;
  background-color: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}
label.accident input {
  display: none;
}
label.accident::before {
  content: "";
  width: 16px;
  height: 16px;
  background-color: #7d848d;
  -webkit-mask-image: url(../img/icon_ok.svg);
          mask-image: url(../img/icon_ok.svg);
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
}
label.accident:has(input:checked) {
  border-color: transparent;
  font-weight: 500;
}
label.accident:has(input:checked)::before {
  background-color: var(--textColorMain);
}
label.accident.accident01:has(input:checked) {
  background-color: var(--accidentColor01);
}
label.accident.accident02:has(input:checked) {
  background-color: var(--accidentColor02);
}
label.accident.accident03:has(input:checked) {
  background-color: var(--accidentColor03);
}
label.accident.accident04:has(input:checked) {
  background-color: var(--accidentColor04);
}
label.accident.accident05:has(input:checked) {
  background-color: var(--accidentColor05);
}
label.accident.accident06:has(input:checked) {
  background-color: var(--accidentColor06);
}

.error-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: 10px;
}
.error-layout h2 {
  line-height: 1;
  font-size: 48px;
  color: var(--orange);
  padding-top: 152px;
  background: url(../img/img_error.png) no-repeat center top/180px;
}
.error-layout h3 {
  line-height: 1;
  font-size: 18px;
  color: var(--orange);
}
.error-layout p {
  line-height: 1.5;
  color: var(--textColorMain);
  text-align: center;
}

/***** Modal *****/
.pop-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
  z-index: 90;
  background: rgba(0, 0, 0, 0);
}

.pop-layer {
  width: 380px;
  background: #2f3741;
  border-radius: 8px;
  border: 1px solid #141719;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  z-index: 10;
  max-height: calc(100% - 150px);
  overflow: hidden;
}
.pop-layer .btm-btn-area {
  margin-top: 24px;
  padding-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #4b5362;
}
.pop-layer .btm-btn-area .ibtn {
  --btnHeight: 42px;
  --btnRadius: 4px;
  min-width: 200px;
  font-size: 16px;
}

.pop-header {
  position: relative;
  background-color: #262b36;
  padding: 12px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pop-header h2 {
  font-size: 18px;
  color: #eaeef0;
}
.pop-header .btn-close {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 0;
  width: 24px;
  height: 24px;
  background: url(../img/icon_close.svg) no-repeat center;
}

.pop-con {
  padding: 20px 16px 30px 16px;
  overflow: auto;
}

.pop-addr .pop-layer {
  width: 480px;
}
.pop-addr .pop-layer .result-area {
  margin-top: 24px;
}
.pop-addr .pop-layer .total {
  margin-bottom: 8px;
}
.pop-addr .pop-layer .scroll-area {
  height: 360px;
}
.pop-addr .pop-layer ul {
  display: flex;
  flex-direction: column;
}
.pop-addr .pop-layer li {
  padding: 12px 8px;
  display: grid;
  gap: 12px 24px;
  cursor: pointer;
  line-height: 1.2;
}
.pop-addr .pop-layer li:not(:first-of-type) {
  border-top: 1px solid rgba(110, 126, 146, 0.2);
}
.pop-addr .pop-layer li:hover {
  background-color: rgba(30, 124, 172, 0.5);
}
.pop-addr .pop-layer li .txt01 {
  grid-area: 1/1/2/2;
  color: var(--textColorMain);
  font-weight: 500;
}
.pop-addr .pop-layer li .txt02 {
  display: flex;
  align-items: center;
  gap: 8px;
  grid-area: 2/1/3/2;
  font-size: 15px;
}
.pop-addr .pop-layer li .txt02 i {
  width: 39px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  background-color: #3f4f63;
  font-weight: 500;
}
.pop-addr .pop-layer li .txt03 {
  grid-area: 1/2/3/3;
  color: #4fd4ee;
  font-weight: 500;
  text-align: right;
}

.pop-regist-cctv .pop-layer {
  width: 780px;
}

.pop-event-accident {
  background-color: rgba(31, 0, 0, 0.6);
}
.pop-event-accident .pop-layer {
  width: 780px;
}
.pop-event-accident .pop-header {
  background-color: #570000;
  border-bottom: 1px solid #141719;
  justify-content: flex-start;
}
.pop-event-accident .pop-header h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pop-event-accident .pop-header h2::before {
  content: "";
  width: 24px;
  height: 24px;
  background-color: var(--orange);
  -webkit-mask-image: url(../img/icon_warnning.svg);
          mask-image: url(../img/icon_warnning.svg);
}
.pop-event-accident .pop-con {
  display: grid;
  gap: 10px 24px;
  grid-template-columns: 312px 1fr;
  padding-bottom: 20px;
}
.pop-event-accident .pop-con .img {
  grid-area: 1/1/2/2;
  width: 100%;
  aspect-ratio: 312/216;
  border: 1px solid #7d848d;
}
.pop-event-accident .pop-con .img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0;
}
.pop-event-accident .pop-con .con {
  grid-area: 1/2/2/3;
  display: grid;
  grid-template-columns: 263px 1fr;
}
.pop-event-accident .pop-con .con dl {
  grid-area: 1/1/2/2;
  display: grid;
  grid-template-columns: max-content 1fr;
}
.pop-event-accident .pop-con .con dt,
.pop-event-accident .pop-con .con dd {
  border-bottom: 1px solid rgba(110, 126, 146, 0.2);
  display: flex;
  align-items: center;
  height: 42px;
}
.pop-event-accident .pop-con .con dt {
  padding-left: 8px;
  padding-right: 12px;
  font-weight: 400;
  color: #d8e1e6;
}
.pop-event-accident .pop-con .con dd {
  color: var(--textColorMain);
  font-weight: 500;
}
.pop-event-accident .pop-con .con .badge-area {
  display: flex;
  grid-area: 1/2/2/3;
  justify-content: flex-end;
  padding-right: 15px;
  align-items: center;
}
.pop-event-accident .pop-con .con .rows {
  border-top: 2px solid #4b5362;
  grid-area: 2/1/3/3;
  padding: 12px 0;
  display: flex;
  align-items: center;
  font-size: 15px;
}
.pop-event-accident .pop-con .con .rows label.check {
  margin-left: auto;
}
.pop-event-accident .pop-con .action {
  grid-area: 2/1/3/3;
}
.pop-event-accident .pop-con .action h3 {
  font-weight: 400;
  line-height: 1;
  margin: 8px 0;
}
.pop-event-accident .pop-con .action .input-wrapper {
  width: 100%;
}
.pop-event-accident .pop-con .action .ibtn {
  min-width: 80px;
}
/* 메인 미니뷰어 (c89cadb 보존) */
.main-slide .swiper-slide .thumb-stream {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.main-slide .swiper-slide .thumb-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a2e;
}
.main-slide .swiper-slide .thumb-placeholder span {
  color: #475569;
  font-size: 10px;
}

/* Datepicker fallback arrows when the jQuery UI icon sprite is unavailable. */
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  cursor: pointer;
}
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
  background-image: none !important;
  overflow: hidden;
}
.ui-datepicker .ui-datepicker-prev span::before,
.ui-datepicker .ui-datepicker-next span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #2f3a48;
  border-right: 2px solid #2f3a48;
}
.ui-datepicker .ui-datepicker-prev span::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}
.ui-datepicker .ui-datepicker-next span::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

/* Edge/IE 네이티브 비밀번호 표시·지우기 아이콘 숨김 — 커스텀 토글과 중복(눈 2개) 방지 */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear { display: none; }
