@import url(http://fonts.googleapis.com/earlyaccess/notosanskr.css);
@import "./reset.css";

html,
body {
  padding: 0;
  margin: 0;
  overflow: hidden;
  font-family: "Noto Sans KR", sans-serif;
  background-color: #111111;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.device_label .label-icon {
  position: relative;
  background: url(../assets/images/label/label.png) no-repeat center center /
    100% 100%;
  width: 60px;
  height: 60px;
}

.device_label.on .label-icon {
  background-image: url(../assets/images/label/label_on.png);
}

.device_label.on .label-icon::after {
  z-index: -1;
  position: absolute;
  top: 50%;
  left: 21px;
  transform: translateY(-50%);
  width: max-content;
  padding: 6px 29px 5px 45px;
  border-radius: 21px;
  border: solid 1.5px #f86d0e;
  background-color: #fff;
  font-family: "Pretendard";
  font-size: 18px;
  color: #f86d0e;
}
.device_label.on.d06_PQ3834 .label-icon::after {
  content: "PQ3834";
}
.device_label.on.d05_SD5000 .label-icon::after {
  content: "SD5000";
}
.device_label.on.d15_SM6000 .label-icon::after {
  content: "SM6000";
}
.device_label.on.d10_TR2439 .label-icon::after {
  content: "TR2439";
}
.device_label.on.d09_LR2750 .label-icon::after {
  content: "LR2750";
}

.main-title {
  font-size: 20px;
}

#txt1 {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 32px;
}
#loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background-color: #111111;
}

#loading.on {
  display: block;
}

#loading span {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  color: white;
  font-size: 40px;
}

.container {
  display: none;
  z-index: 980;
  cursor: move;
  position: absolute;
  top: 50%;
  right: 2.625rem;
  transform: translateY(-50%);
}
.container.con1-1 {
  bottom: 33%;
}
.container.on {
  display: block;
}

@media screen and (max-width: 500px) {
  body {
    font-size: 6px;
  }
  .container {
    width: 20rem;
    height: 25rem;
    padding: 4px 5px 6px 5px;
    /* top: 5rem; */
    transform: translate(50%);
    bottom: 5rem;
    right: 50%;
  }

  .con1-1 .inspect-box > div {
    padding: 5px 15px;
  }

  .con1-1 .table-list {
    font-size: 8px;
  }

  .con1-1 .table-list td {
    padding: 4px 5px;
  }
  .con1-1 .table-list tr .th-name {
    padding: 5px 0;
  }

  .con1-2 {
    height: auto;
  }

  .con1-3 {
    height: auto;
  }

  .con1-4 {
    height: auto;
  }

  .con1-4 .chart-wrapper {
    width: 29%;
  }

  .con1-4 .data-wrapper {
    width: 100%;
    justify-content: space-around;
    margin-left: 0px;
  }

  .con1-4 .weight-wrapper {
    display: none;
  }
}

/* ///////////////// chart ////////////////// */
.sd5000 #chart-sd5000 {
  padding: 0 24px 16px;
}
.sd5000 canvas {
  border-radius: 8px;
  -webkit-backdrop-filter: blur(28px);
  box-sizing: border-box;
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  background-image: linear-gradient(149deg, #01080d 24%, #030813 127%);
}
.sd5000 .toastui-chart-tooltip-container {
  position: absolute;
}
.pq3834 .toastui-chart-tooltip-container {
  position: absolute;
}
.lr2750 .toastui-chart-tooltip-container {
  position: absolute;
}
.sm6000 .toastui-chart-tooltip-container {
  position: absolute;
}

.deg-ui {
  color: #fff;
  text-shadow: 0 0 20px #ff005b;
}
.deg-ui.row {
  text-shadow: 0 0 20px #03b1ff;
}
.deg-ui::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 20px;
  z-index: -1;
  color: #ff005b;
  filter: blur(15px);
}
.deg-ui.row::after {
  color: #03b1ff;
}
.deg-ui:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: max-content;
  height: max-content;
  background: #fe3a80;
  z-index: -2;
  opacity: 0.5;
  filter: blur(40px);
}
.deg-ui.row::before {
  background: #03b1ff;
}
/* /////////////////////////////////////// */

.sensor-popup {
  position: absolute;
  width: max-content;
  height: max-content;
  color: #fff;
  box-shadow: 0 0 6px 0 #fff;
  border-radius: 8px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: solid 3px #000711;
  background-color: #222;
}
/* header */
.sensor-popup header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 6px 6px 0 0;
  background-image: linear-gradient(
    to bottom,
    rgba(248, 109, 14, 0.31),
    rgba(248, 107, 13, 0.32)
  );
}
.sensor-popup header .title {
  position: relative;
  padding-left: 35px;
  font-family: "Pretendard";
  font-size: 18px;
  font-weight: 600;
}
.sensor-popup header .title::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url("./images/icons/title.png") no-repeat center center;
}

.tr2439 .tab-menu-box {
  min-width: 80px;
}
.tab-menu-box {
  display: flex;
  column-gap: 8px;
  width: 64px;
  margin-left: auto;
  justify-content: flex-end;
}
.tab-menu-box button {
  width: 28px;
  height: 28px;
}
.tab-menu-box .btn-show-status {
  background: url("./images/icons/status_default.png") no-repeat center center;
}
.tab-menu-box .btn-show-status {
  background-image: url("./images/icons/status_on.png");
}
.tab-menu-box .btn-show-info {
  background: url("./images/icons/info_default.png") no-repeat center center;
}
.tab-menu-box .btn-show-info {
  background-image: url("./images/icons/info_on.png");
}

.btn-close-popup {
  width: 16px;
  height: 16px;
  margin-left: auto;
}
/* // header */

.tab-item-box .current-status {
  position: relative;
  display: none;
  padding: 33px 24px 0;
  padding-left: 36px;
  font-family: "Pretendard";
  font-size: 18px;
}
.tab-item-box .current-status-box.on .current-status {
  display: block;
}
.tab-item-box .current-status::after {
  content: "";
  position: absolute;
  top: calc(50% + 16.5px);
  left: 24px;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background-color: #f86d0e;
  border-radius: 50%;
}
.current-status span {
  font-weight: 600;
}

.current-status .status-0 {
  color: #03b1ff;
}

.tab-item-box .item {
  display: none;
  justify-content: flex-start;
}
.tab-item-box .item.col {
  flex-direction: column;
}
.tab-item-box .item {
  display: flex;
}

/* item-group */
.tab-item-box .item-group {
  min-width: 182px;
}
.tab-item-box .item-group + .item-group {
  margin-left: 39px;
}
.tab-item-box .item-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 31px 0 14px;
  border-radius: 8px;
  border: solid 2px rgba(255, 255, 255, 0.72);
  background-image: linear-gradient(to bottom, #062335, #030813);
  background-color: #222;
}
.tab-item-box .item-box .item-detail {
  display: block;
  margin-top: 5px;
  font-size: 18px;
  color: #ff6f00;
  font-weight: 300;
  line-height: 1.61;
}
.tab-item-box .status-box {
  margin-top: 12px;
  font-family: "Pretendard";
  font-size: 14px;
  font-weight: 600;
  line-height: 1.39;
  text-align: center;
  color: #fff;
}

.status {
  padding: 31px 0 0;
}
.status-bottom-box {
  display: flex;
  padding: 0 24px;
  column-gap: 12px;
}
.status-bottom-item {
  width: calc((100% - 24px) / 3);
  padding: 12px 24px 32px 12px;
  border-radius: 8px;
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  background-image: linear-gradient(149deg, #01080d 24%, #030813 127%);
}
.status-bottom-item > span {
  position: relative;
  display: block;
  padding-left: 12px;
  font-family: "Pretendard";
  font-size: 15px;
}
.status-bottom-item > span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background-color: #f86d0e;
  border-radius: 50%;
}
.status-data {
  margin-top: 24px;
  font-family: "Pretendard";
  font-size: 40px;
  font-weight: 500;
  text-align: center;
}
.status-data .data {
  display: inline-block;
  width: 85px;
}
.sm6000 .status-data .data.totalData {
  width: 179px;
  font-size: 27px;
}
.sd5000 .status-data .data.totalData {
  width: 120px;
  font-size: 18px;
}
.status-data .unit {
  font-size: 28px;
}
/* // item-group */

.info {
  display: flex;
  align-items: center;
  padding: 33px 20px 26.6px;
}

.info .info-title {
  position: relative;
  display: block;
  margin-bottom: 19px;
  padding-left: 24px;
  font-family: "Pretendard";
  font-weight: 600;
}
.info .info-title::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("./images/icons/sub_title.png") no-repeat center center;
}
.info ul li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 12px;
}
.info ul li::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background-color: #f86d0e;
  border-radius: 50%;
}
.info li p {
  font-family: "Pretendard";
  font-size: 14px;
  line-height: 1.14;
  color: #fff;
}

/* .pq3834 .status {
  padding: 0;
} */
.pq3834 .status-bottom-box {
  justify-content: center;
  align-items: center;
}
.pq3834 .status-bottom-item {
  width: 50%;
  padding: 0;
  background-image: none;
}
.pq3834 .status-data {
  font-family: "Pretendard";
  font-size: 64px;
  font-weight: 500;
}
.pq3834 .status-data .data {
  width: 120px;
}

.tr2439 .status-bottom-item {
  width: 100%;
  background: transparent;
}

.sm6000 .item-box-col {
  display: flex;
  flex-direction: column;
}
.sm6000 .status-bottom-item {
  width: 100%;
  padding-top: 0;
  background-image: none;
}
.sm6000 .status-bottom-item > span {
  white-space: nowrap;
}
.sm6000 .item-box-col .status-bottom-item:last-child {
  margin-top: 39px;
}
.sm6000 .info-text-group {
  display: flex;
  margin-bottom: 22px;
}
.sm6000 .info-text-group .status-bottom-item.flex {
  display: flex;
}
.sm6000 .info-text-group .status-bottom-item {
  display: inline-block;
  padding: 0;
}
.sm6000 .info-text-group .status-data {
  margin-top: 0;
  font-size: 18px;
}
.sm6000 .info-text-group .status-data .unit {
  font-size: 18px;
}

.obj-list {
  z-index: -1;
  position: absolute;
  bottom: 30px;
  left: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
}
.obj-list li {
  flex-shrink: 0;
  width: 164px;
  height: 164px;
  margin: 0 20px 0 0;
  padding: 7px;
  border-radius: 4px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: solid 1.5px rgba(255, 255, 255, 0.16);
  /* background-color: #222; */
  cursor: pointer;
}
.obj-list li img {
  display: block;
  width: 100%;
  height: 100%;
}
