main {
  background: var(--main-black-color);
  padding-top: 60px;
  min-width: 100vw;
}

body {
  overflow-x: hidden;
}

.top__header .container__layout {
  padding: 6px 40px;
}

main>.container__layout {
  background: var(--main-black-color);
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 60px);
  display: flex;
  gap: 12px;
}

.left__side {
  min-width: 160px;
  max-width: 160px;
  padding: 8px 0;
  background: #202020;
  border-right: 1px solid #36363c;
}

.menu__list {
  display: block;
}

.menu__list .menu__item {
  padding: 12px 16px;
  color: var(--main-white-color);
  font-size: 14px;
  line-height: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all linear 0.3s;
}

.menu__list .menu__item.active,
.menu__list .menu__item:hover {
  background: #36363c;
  transition: all linear 0.3s;
}

.btn__list {
  padding: 8px 16px;
}

.btn__list>button {
  min-width: 128px;
  padding: 8px 10px;
  min-height: 32px;
  border-radius: 5px;
  background: #36363c;
  color: #aaaaaa;
  border: 0;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}

.popup__menu {
  top: 50%;
  left: 50%;
  opacity: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all linear 0.3s;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
}

.popup__menu .popup__menu--wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #2c2c2c;
  padding: 16px;
  min-width: 300px;
  border-radius: 10px;
  transform: scale(0);
  transition: all linear 0.3s;
}

.popup__menu.active {
  opacity: 1;
  visibility: visible;
  transition: all linear 0.3s;
  transform: translate(-50%, -50%) scale(1);
}

.popup__menu.active .popup__menu--wrapper {
  opacity: 1;
  visibility: visible;
  transition: all linear 0.3s;
  transform: scale(1);
}

.popup__menu--title {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  min-height: 24px;
}

.popup__menu--title>p,
.input__checkbox--title {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--main-white-color);
}

.popup__menu--close {
  width: 20px;
  height: 20px;
  background: #36363c;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.popup__menu--close img {
  width: 10px;
  height: 10px;
  object-fit: cover;
}

.popup__menu--btn>button {
  background: var(--primary-color);
  color: var(--main-white-color);
  font-size: 16px;
  line-height: 22px;
  padding: 4px 24px;
  min-width: 85px;
}

.popup__menu--body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input__range--group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.input__range--title,
.input__switch--wrapper p {
  font-size: 10px;
  line-height: 14px;
  font-weight: 400;
  color: #aaaaaa;
}

.input__range--wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input__range--label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.input__range--label>label,
.input__range--label>p,
.popup__menu--total>p {
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: #dddddd;
}

.input__range {
  appearance: none;
  width: 100%;
  height: 4px;
  background: #36363c;
  border-radius: 5px;
  outline: none;
}

.input__range::-webkit-slider-thumb {
  appearance: none;
  background: var(--primary-color);
  cursor: pointer;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.popup__menu--total {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.popup__menu--body .select__box {
  max-width: unset;
  padding: 9px 16px 9px 16px;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  height: unset;
}

.popup__menu--body .select__box--selected {
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: var(--white-color);
}

.popup__menu--body .select__box--selected::before {
  background-image: url(/images/page/simulate/chevron_down_white.svg);
  transform: rotate(0);
  width: 14px;
  height: 6px;
  right: 0px;
  top: 8px;
}

.template .popup__menu--body .select__box {
  min-width: 480px;
}

.template .select__list {
  width: calc(100% + 3px);
  top: -2px;
  left: -1px;
  border: 1px solid var(--primary-color);
  max-height: 300px;
  overflow: auto;
  border-radius: 4px;
}

.template .select__list .select__value {
  transition: all linear 0.3s;
  cursor: pointer;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 22px;
}

.right__side {
  width: 100%;
  position: relative;
}

.right__side--total {
  width: 100%;
  position: fixed;
  top: 70px;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: all linear 0.3s;
}

.right__side--total > .container__layout{
  display: flex;
  gap: 8px;
  padding-left: 172px;
}

.right__side--total.active {
  opacity: 1;
  visibility: visible;
  transition: all linear 0.3s;
}

.right__side--total .total__item {
  border: 1px solid #36363c;
  min-width: 120px;
  max-width: 120px;
  min-height: 58px;
  max-height: 58px;
  padding: 8px;
  border-radius: 4px;
}

.right__side--total .total__value {
  display: flex;
  gap: 4px;
  align-items: end;
}

.right__side--total .total__item>span,
.right__side--total .total__value>span {
  font-size: 10px;
  line-height: 14px;
  font-weight: 400;
  color: var(--white-color);
}

.right__side--total .total__value>span {
  padding-bottom: 3px;
}

.right__side--total .total__value>p {
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  color: var(--primary-color);
}

.result__table {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all linear 0.3s;
}

.result__table > .container__layout{
  display: flex;
  overflow: hidden;
  padding-left: 172px;
}

.result__table.active {
  opacity: 1;
  visibility: visible;
  transition: all linear 0.3s;
}

.result__table .left,
.result__table .right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid #36363c;
  background: #202020;
}

.result__table .left {
  width: 40%;
  border-radius: 4px 0 0 4px;
}

.result__table .right {
  width: 60%;
  border-radius: 0 4px 4px 0;
}

.result__table .left>p,
.result__table .right>p {
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  color: #aaaaaa;
}

.result__table .left .content {
  background-color: #2c2c2c;
  padding: 4px 8px;
  max-height: 180px;
  overflow: hidden;
}

.result__table .left .content .text {
  padding-bottom: 20px;
  overflow: hidden;
  position: relative;
  max-height: 180px;
  min-height: 180px;

}

.result__table .left .content .text>p {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: var(--main-white-color);
  white-space: pre-line;
  transition: all linear 0.3s;
}

.result__table .left .content .text>p.none__transition {
  transition: none;
}

.result__table .right .tabulator .tabulator-header .tabulator-col {
  min-height: 30px;
  max-height: 30px;
  background-color: var(--main-black-color);
  border: 1px solid #2c2c2c;
  border-radius: 0px;
  padding: 0 10px;
}

.result__table .right .tabulator .tabulator-alert {
  display: none;
}

.result__table .right .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title {
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  color: #aaaaaa;
}

.result__table .right .tabulator-row {
  min-height: 30px;
  max-height: 30px;
}

.result__table .right .tabulator .tabulator-row .tabulator-cell {
  min-height: 30px;
  max-height: 30px;
  background-color: var(--main-black-color);
  border: 1px solid #2c2c2c;
  border-radius: 0px;
  font-size: 11px;
  line-height: 16px;
  font-weight: 400;
  color: var(--main-white-color);
  padding: 0 10px;
}

.result__table .right .tabulator .tabulator-row .tabulator-cell p {
  font-size: 11px;
  line-height: 16px;
  font-weight: 400;
  color: var(--main-white-color);
}

.result__table .right .tabulator .tabulator-row .tabulator-cell[irxset="progress"] {
  padding: 0;
}

.right__content {
  width: 100%;
  height: 100%;
}

.right__content .diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.automation .popup__menu--body {
  display: block;
}

.automation .popup__menu--body * {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--main-white-color);
}

.popup__menu--body .item__auto {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 0;
}

.item__auto input {
  border-bottom: 1px solid #8a8a8a;
}

.item__auto .schedule__file--name {
  max-width: 50px;
}

.item__auto .schedule__file--type {
  max-width: 50px;
}

.item__auto .schedule__file--size {
  max-width: 40px;
  text-align: end;
}

.select__text {
  position: relative;
}

.select__text .select__text--selected {
  position: relative;
  cursor: pointer;
  border-bottom: 1px solid #8a8a8a;
  min-width: 20px;
}

.select__text.file__same--type .select__text--selected {
  min-width: 103px;
}

.select__text.file__size--type .select__text--selected {
  min-width: 36px;
}

.select__text.time__type .select__text--selected {
  min-width: 82px;
}

.select__text.time__day .select__text--selected {
  min-width: 75px;
}

.select__text.time__file--type .select__text--selected {
  min-width: 58px;
}

.select__text.time__date .select__text--selected,
.select__text.time__hour .select__text--selected {
  text-align: end;
}

.select__text .select__text--list {
  display: none;
  position: absolute;
  top: 0;
  left: -1px;
  max-height: 200px;
  overflow: auto;
  z-index: 9;
}

.select__text--list::-webkit-scrollbar {
  width: 3px;
}

.select__list::-webkit-scrollbar {
  width: 5px;
}

.select__text--list::-webkit-scrollbar-track,
.select__list::-webkit-scrollbar-track {
  background-color: #191919;
}

.select__text--list::-webkit-scrollbar-thumb,
.select__list::-webkit-scrollbar-thumb {
  background-color: #474747;
}

.select__text .select__text--list.active {
  display: block;
  background: #2c2c2c;
  border: 1px solid var(--primary-color);
  width: max-content;
  border-radius: 4px;
}

.select__text .select__text--list .select__text--option {
  padding: 3px 6px;
  cursor: pointer;
}

.select__text .select__text--list .select__text--option:hover {
  background-color: var(--primary-color);
}

.right__popup--completed {
  opacity: 0;
  visibility: hidden;
  transition: all linear 0.3s;
  position: fixed;
  display: flex;
  background-color: rgba(95, 92, 92, 0);
  width: calc(100%);
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 99;
  top: 0px;
  left: 0px;
  flex-direction: column;
  backdrop-filter: blur(4px);
}

.right__popup--completed.active {
  opacity: 1;
  visibility: visible;
  transition: all linear 0.3s;
}

.popup__completed--btn .common__square--blue--btn {
  padding: 8px 10px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  min-width: 100px;
}

.popup__completed--main {
  padding: 16px;
  border-radius: 8px;
  min-width: 384px;
  width: max-content;
  background-color: rgba(54, 54, 60, 0.8);
}

.popup__completed--title {
  font-size: 32px;
  line-height: 44px;
  font-weight: bold;
  color: var(--main-white-color);
  margin-bottom: 40px;
}

.popup__completed--main-row {
  display: flex;
  column-gap: 4px;
}

.popup__completed--main-row .popup__completed--main-row-title {
  color: var(--main-white-color);
  font-size: 16px;
  line-height: 20px;
  font-weight: bold;
  margin-bottom: 12px;
}

.popup__completed--main-row span {
  color: var(--main-white-color);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.popup__completed--main-row p {
  color: var(--main-white-color);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.popup__completed--btn {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  width: max-content;
  margin-top: 40px;
}

.popup__completed--btn .common__square--blue--btn {
  min-width: 120px;
}

.popup__completed--btn .common__square--blue--btn.not__active {
  background: #36363c;
}


.input__switch--wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}


.input__switch--list {
  display: flex;
  background-color: #2C2C2C;
  border: 1px solid #2C2C2C;
  border-radius: 3px;


}

.input__switch--item {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--main-black-color);
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: var(--main-white-color);
  height: 100%;
  min-height: 40px;
  cursor: pointer;
  transition: all linear 0.3s;
}

.input__switch--item.active {
  background: var(--primary-color);
  transition: all linear 0.3s;
}