/* ===================================================================================================
======================================================================================================
    Loading
======================================================================================================
=================================================================================================== */
*,
*::before,
*::after {
  box-sizing: inherit;
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 7777777;
  width: 100%;
  height: 100%;
}
#loading-overlay.background {
  background-color: rgba(0, 0, 0, 0.7);
}
.loader-container {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1060;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.hexagon-wrap {
  display: flex;
  height: 15%;
  width: 15%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-30deg);
  opacity: 1;
}
.loader-container .hexagon {
  position: relative;
  width: 1.9375rem;
  height: 1.6625rem;
  background-color: rgba(255, 255, 255, 0);
  margin: 0.83125rem 0;
  border-left: solid 0.5rem #b4b1b8;
  border-right: solid 0.5rem #b4b1b8;
  float: left;
  transition: all 0.3s ease-in-out;
}

.loader-container .hexagon.gray .inner-line:before,
.loader-container .hexagon.blue .inner-line:before {
  content: '';
  position: absolute;
  z-index: 1;
  width: 0.28125rem;
  height: 0.39375rem;
  -webkit-transform: scaleY(0.5774) rotate(-45deg);
  -ms-transform: scaleY(0.5774) rotate(-45deg);
  transform: scaleY(0.5774) rotate(-45deg);
  background-color: rgba(255, 255, 255, 0);
  border-radius: 0.3125rem;
  opacity: 0.6;
}

.loader-container .hexagon.gray .inner-line:before {
  bottom: 0.0625rem;
  left: 0.61875rem;
  border-bottom: solid 0.5rem #e8e6eb;
  border-left: solid 0.5rem #e8e6eb;
}
.loader-container .hexagon.blue .inner-line:before {
  top: 0.0625rem;
  left: 0.61875rem;
  border-top: solid 0.5rem #e8e6eb;
  border-right: solid 0.5rem #e8e6eb;
}

.loader-container .hexagon .hexagon-line {
  position: absolute;
  background-color: #b4b1b8;
  border-radius: 0.3125rem;
}
.loader-container .hexagon.hex2 .hexagon-line {
  width: 0.5625rem;
  height: 1.1875rem;
  left: -0.875rem;
  bottom: -0.6875rem;
  transform: rotate(59deg);
}
.loader-container .hexagon.hex3 .hexagon-line {
  width: 0.5625rem;
  height: 1.1875rem;
  bottom: -0.6875rem;
  left: -0.875rem;
  transform: rotate(60deg);
}
.loader-container .hexagon.hex4 .hexagon-line.line1 {
  width: 0.5625rem;
  height: 1.1875rem;
  bottom: -1.5625rem;
  left: 0.625rem;
}
.loader-container .hexagon.hex4 .hexagon-line.line2 {
  width: 1.1875rem;
  height: 0.5625rem;
  top: 1.4375rem;
  right: -1.1875rem;
  transform: rotate(30deg);
}
.loader-container .hexagon.hex4 .hexagon-line.line3 {
  width: 1.1875rem;
  height: 0.5625rem;
  bottom: -0.375rem;
  left: -1.25rem;
  transform: rotate(-30deg);
}
.loader-container .hexagon .hexagon-line.blue {
  background-color: #3488fc;
}

.loader-container .hexagon:before,
.loader-container .hexagon:after {
  content: '';
  position: absolute;
  z-index: 1;
  width: 1.34375rem;
  height: 1.33125rem;
  -webkit-transform: scaleY(0.5774) rotate(-45deg);
  -ms-transform: scaleY(0.5774) rotate(-45deg);
  transform: scaleY(0.5774) rotate(-45deg);
  background-color: rgba(255, 255, 255, 0);
  left: -0.06875rem;
}

.loader-container .hexagon:before {
  top: -1.0625rem;
  border-top: solid 0.75rem #b4b1b8;
  border-right: solid 0.75rem #b4b1b8;
}
.loader-container .hexagon:after {
  bottom: -1.0625rem;
  border-bottom: solid 0.75rem #b4b1b8;
  border-left: solid 0.75rem #b4b1b8;
}

.loader-container .hexagon.blue {
  border-left: solid 0.5rem #3488fc;
  border-right: solid 0.5rem #3488fc;
  z-index: 2;
}
.loader-container .hexagon.blue:before {
  border-top: solid 0.75rem #3488fc;
  border-right: solid 0.75rem #3488fc;
}
.loader-container .hexagon.blue:after {
  border-bottom: solid 0.75rem #3488fc;
  border-left: solid 0.75rem #3488fc;
}

.loader-container .hexagon.hex1 {
  -webkit-animation: hex1 4s ease 1.5s infinite both;
  animation: hex1 4s ease 1.5s infinite;
  opacity: 0;
}
.loader-container .hexagon.hex2 {
  -webkit-animation: hex2 4s ease 0s infinite both;
  animation: hex2 4s ease 0s infinite;
  transform: rotate(60deg);
  opacity: 0;
}
.loader-container .hexagon.hex3 {
  margin-left: 1.25rem;
  -webkit-animation: hex3 4s ease 1s infinite both;
  animation: hex3 4s ease 1s infinite;
  transform: rotate(-120deg);
}
.loader-container .hexagon.hex4 {
  -webkit-animation: hex4 4s ease 0.5s infinite both;
  animation: hex4 4s ease 0.5s infinite;
  opacity: 0;
}

@keyframes hex1 {
  0%,
  100% {
    transform: translateY(-0.3125rem);
    opacity: 0;
  }
  40%,
  60% {
    transform: translateY(1.25rem);
    opacity: 1;
  }
}

@keyframes hex2 {
  0%,
  100% {
    transform: translateX(-0.625rem) rotate(60deg);
    opacity: 0;
  }
  40.5%,
  72.5% {
    transform: translateX(0.8125rem) rotate(60deg);
    opacity: 1;
  }
}

@keyframes hex3 {
  0%,
  100% {
    transform: translateX(0) rotate(-120deg);
  }
  30%,
  65% {
    transform: translateX(-0.8125rem) rotate(-120deg);
  }
}

@keyframes hex4 {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }
  26%,
  67% {
    transform: translateY(-1.25rem);
    opacity: 1;
  }
}

.loader-container .progress-wrap {
  position: relative;
  width: 15.625rem;
  height: 1.125rem;
  margin-top: 2.1875rem;
  background-color: #b4b1b8;
  border-radius: 0.625rem;
  overflow: hidden;
  text-align: center;
  color: #fff;
  font-size: 0.6875rem;
  line-height: 1.125rem;
}
.loader-container .progress-wrap .progress-text {
  position: absolute;
  right: 0.5625rem;
  /*top: 50%;*/
  /*left: 50%;*/
  /*transform: translate(-50%, -50%);*/
}
.loader-container .progress-wrap .progress-bar {
  width: 0;
  height: 100%;
  background-color: #33d0ad;
  /*animation: loading 10s infinite;*/
}
/*@keyframes loading {*/
/*  0% { width: 0; }*/
/*  100% { width: 100%; }*/
/*}*/

/* ===================================================================================================
======================================================================================================
    Modal
======================================================================================================
=================================================================================================== */
.s2-modal {
  position: fixed; /* 화면 전체를 덮도록 설정 */
  z-index: 7700;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* 필요에 따라 스크롤바 표시 */
  background-color: rgba(0, 0, 0, 0.5);
  display: flex; /* Flexbox 사용 */
  justify-content: center; /* 수평 가운데 정렬 */
  align-items: center; /* 수직 가운데 정렬 */
}

.s2-modal > .modal-content {
  display: flex; /* Flexbox 사용 */
  flex-direction: column; /* 수직 방향으로 요소 배치 */
  max-height: 90vh; /* 브라우저 창 높이의 90%로 최대 높이 설정 */
  background-color: #fff;
  border-radius: 0.625rem;
  box-shadow: 0.25rem 0.25rem 0.5rem 0.125rem #0000000f;
  font-family: 'Pretendard', sans-serif;
}

.s2-modal > .modal-content > .modal-header {
  display: flex;
  position: relative;
  padding: 0.625rem;
  background-color: #1a5df4;
  border-top-left-radius: 0.625rem;
  border-top-right-radius: 0.625rem;
  color: #fff;
  align-items: center;
  background-image: url(../images/SEEK_logo.png);
  background-repeat: no-repeat;
  background-position: top 1.0625rem left 1.25rem;
  background-size: 5rem;
}

/* ===================================================================================================
======================================================================================================
    Toast
======================================================================================================
=================================================================================================== */
.s2-toast {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 18.75rem;
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow: hidden;
  animation: toast-slide-in 0.5s ease-out;
  transition: all 0.3s ease;
}

.s2-toast .flex-sty04 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0.9375rem;
  background-color: #f0f0f0;
  border-bottom: 0.0625rem solid #e0e0e0;
}

.s2-toast .flex-sty04 strong {
  font-size: 0.875rem;
  color: #333;
}

.s2-toast .fa-close {
  color: #888;
  text-decoration: none;
  font-size: 1.125rem;
  cursor: pointer;
  transition: color 0.2s;
}

.s2-toast .fa-close:hover {
  color: #333;
}

.s2-toast .ma-t15 {
  padding: 0.9375rem;
  font-size: 0.875rem;
  color: #555;
}

.s2-toast.fade-out {
  opacity: 0;
  transform: translateX(1.25rem);
}

.s2-toast .close-btn {
  position: relative;
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

.s2-toast .close-btn::before,
.s2-toast .close-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.75rem;
  height: 0.125rem;
  background: #333;
  transform: translate(-50%, -50%) rotate(45deg);
}

.s2-toast .close-btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@keyframes toast-slide-in {
  from {
    opacity: 0;
    transform: translateX(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
