@font-face {
  font-family: 'EliceDigitalBaeum';
  src: url('/fonts/EliceDigitalBaeum-Bd.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

:root {
  --swiper-pagination-color: #b5e0e0;
  --primary-color: #c8a7e8;
  --bg-primary: #556ee6;
  --bg-secondary: #74788d;
  --bg-success: #34c38f;
  --bg-info: #50a5f1;
  --bg-warning: #f1b44c;
  --bg-danger: #f46a6a;
  --bg-pink: #e83e8c;
  --bg-light: #eff2f7;
  --bg-dark: #343a40;
}

body {background:#eee; margin:0; -webkit-tap-highlight-color: #fff0;}
body * {box-sizing: border-box; -webkit-tap-highlight-color: #fff0; font-family: 'Pretendard';}
.swal2-container * {box-sizing: unset;}
h1, h2, h3, h4, h5, h6 {font-family: 'EliceDigitalBaeum';}
h1, h2, h3, h4, h5, h6, p, figure, label, input {margin:0; color: #333;}
a {color: #333; text-decoration: none; outline: none}
a:hover, a:active {text-decoration: none; color: inherit;}
img {max-width:100%; height:100%;}
div:where(.swal2-container) {z-index: 100000;}
div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {background-color: var(--bg-primary);}

.btn {
  display: inline-block;
  font-weight: 400;
  color: #495057;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: #eff2f7;
  border: 1px solid transparent;
  padding: 0.47rem 0.75rem;
  font-size: .8125rem;
  word-break: keep-all;
  border-radius: 0.25rem;
  -webkit-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
}
.btn.btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #eff2f7;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap:5px;
  margin-bottom:15px;
}
.form-group input {
  padding: 7px 12px;
  height: 36px;
  background: #e8f0ff;
  border: 1px solid #ced4da;
  border-radius: 5px;
  font-size: 16px;
}


#app {
  position: relative;
  max-width: 1366px;
  margin:0 auto;
  background: #fff;
  height: 100dvh;
  overflow: hidden;
}


#app header {
  position: absolute;
  left:0; top:0; width:100%; height:55px;
  background: #fff;
  box-shadow: 0 0 3px 0 #0005;
  z-index: 9999;
}
#app header > h1 {
  position: absolute;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
#app header > h1 > a {
  display: flex;
  justify-content: center; align-items: center;
  padding: 10px 0;
}
#app header > h1 > a > img {
  max-height:40px;
}
#menu-btn {
  position: absolute;
  right: 10px; top: 50%; transform: translate(0, -50%);
  width:30px; height: 30px;
  border: none;
  background: transparent;
}
#menu-btn::before,
#menu-btn::after {
  position: absolute;
  right:5px;
  height:2px;
  background:#333;
  content: '';
}
#menu-btn::before {
  top:11px;
  width:20px;
}
#menu-btn::after {
  bottom:11px;
  width:15px;
}
#side-bar {
  position: absolute;
  right:0; top:0; width:300px; height:100%;
  transform: translateX(100%);
  background: #fff;
  box-shadow: 0 0 3px 0 #0005;
  z-index: 9999;
}
#side-bar.active {
  transform: translateX(0);
}


#app .container {
  padding-top: 55px;
  padding-bottom: 70px;
  height: 99.8dvh;
}
#app-body,
#new-app {
  position: relative;
  padding-bottom:30px;
  height:100%;
  overflow-y: auto;
}
#new-app {
  position: absolute;
  left:0; top:50px; width:100%; height:calc(100% - 50px - 70px);
  transform: translateY(calc(100% + 50px));
  z-index: 9;
}
#app-body section {
  margin-top: 40px;
  padding:0 15px;
}
#app-body section:first-child {
  margin:0;
}
#app-body section.full-section {
  padding:0;
}

#app footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  padding:0 30px;
  left:0; bottom:0; width:100%; height:70px;
  box-shadow: 0 0 3px 0 #0005;
  z-index: 9999;
}
#app footer .footer-bg {
  position: absolute;
  left:0; top:0; width:100%; height:100%;
  background: #fff;
}
#app footer .footer-btn {
  display: block;
}
#app footer .footer-main-btn-shadow,
#app footer .footer-main-btn {
  position: absolute;
  left:50%; bottom: 0; width:90px; height:90px; transform: translate(-50%, -10px);
  border-radius: 50%;
}
#app footer .footer-main-btn-shadow {
  box-shadow: 0 0 5px 0 #0005;
}
#app footer .footer-main-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  border:5px solid #fff; 
  background: var(--primary-color);
}
#app footer .footer-main-btn > figure {
  height: 50px;
}
#app footer .footer-btn {
  position: relative;
  display: flex;
  gap: 3px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#app footer .footer-btn > figure {
  height: 30px;
}
#app footer .footer-btn > span {
  font-size:13px;
}



/* 모달 */
#modal-section {
  position: fixed;
  left:0; top:0; width:100%; height:100%;
  transform: translateX(100%);
  transition-delay: .3s;
  z-index: 99999;
}
#modal-section .close-area {
  position: absolute;
  left:0; top:0; width:100%; height:100%;
  background: #0005;
  opacity: 0;
  transition:.3s;
  z-index: 2;
}
#modal-section.active {
  transform: translateX(0);
  transition-delay: 0s;
}
#modal-section.active .close-area {
  opacity:1;
}

#modal-section .modal {
  position: absolute;
  left: 50%; top: 60%; transform: translate(-50%, -50%);
  width:80%; height:50%;
  background: #fff;
  box-shadow: 1px 1px 5px 0 #9997;
  border-radius: 10px;
  opacity: 0;
  transition:.3s;
  z-index: 1;
}

#modal-section .modal > .close {
  position: absolute;
  top:5px; right:5px; width: 25px; height: 25px;
  padding: 0;
  border: none;
  background: transparent;
}

#modal-section .modal.active {
  top: 50%;
  opacity: 1;
  z-index: 9;
}
#modal-section .modal .modal-body {
  padding:15px 0;
  height: 100%;
}
#modal-section .modal .modal-body .modal-content {
  height: 100%;
  overflow: auto;
}


/* 하단모달 */
#modal-section .modal.modal-bottom {
  top: unset; bottom:0; transform: translate(-50%, 100%);
  border-radius: 10px 10px 0 0;
  width: 100%; height: 40%;
  min-height:300px
}
#modal-section .modal.modal-bottom.active {
  bottom:0; transform: translate(-50%, 0);
}



/* 토스트 메시지 */
#toast-message {
  position: fixed;
  left:50%; 
  background: #000b;
  padding: 6px 20px;
  border-radius: 50px;
  box-shadow: 1px 1px 3px #0005;
  opacity: 0;
  transition: .3s;
  z-index: 99999;
}
#toast-message.active {
  opacity: 1;
}

#toast-message.top {
  top:0; transform: translate(-50%, 70%);
}
#toast-message.top.active {
  top:0; transform: translate(-50%, 100%)
}
#toast-message.bottom {
  bottom:0; transform: translate(-50%, -70%);
}
#toast-message.bottom.active {
  bottom:0; transform: translate(-50%, -100%)
}
#toast-message > p {
  font-size:13px;
  text-wrap: nowrap;
  color:#fff
}