@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
/* ========================================
   Typography - Pretendard Font Styles (Mixins)
   ======================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}
.modal-dim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
.modal-popup {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transform: none;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  padding: 0px;
  background-color: #ffffff;
  overflow-y: auto;
}
@media (min-width: 1280px) {
  .modal-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 540px;
    max-height: 90vh;
    border-radius: 5px;
    padding: 40px;
    height: fit-content;
  }
}
.modal-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  width: 100%;
  padding: 14px 16px;
}
@media (min-width: 1280px) {
  .modal-header {
    padding: 0px;
    justify-content: space-between;
  }
}
.modal-header .modal-title {
  display: none;
}
@media (min-width: 1280px) {
  .modal-header .modal-title {
    display: block;
    font-family: Pretendard;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.5px;
    color: #000000;
    flex: 1;
  }
}
.modal-header .modal-close {
  width: 32px;
  height: 32px;
  cursor: pointer;
  margin-left: auto;
}
.modal .modal-content {
  padding: 0px 16px 120px;
}
@media (min-width: 768px) and (max-width: 1279px) {
  .modal .modal-content {
    padding: 0px 40px 200px;
  }
}
@media (min-width: 1280px) {
  .modal .modal-content {
    padding: 0;
  }
}
.modal .modal-footer {
  padding: 20px 16px;
  margin-top: 0;
  position: fixed;
  bottom: 0;
  width: 100%;
}
@media (min-width: 1280px) {
  .modal .modal-footer {
    position: static;
    padding: 0px;
    margin-top: 40px;
  }
}
