body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10vh;
  pointer-events: none;
  z-index: 99999;
}
.modal-overlay.fullscreen {
  padding-top: 0;
}
.modal-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.modal-overlay .modal-dialog {
  position: relative;
  z-index: 1;
  width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  background: #fefefe;
  padding: 15px;
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  scrollbar-width: none;
}
.modal-overlay .modal-dialog::-webkit-scrollbar {
  display: none;
}
.modal-overlay .modal-dialog.fullscreen {
  max-width: 100% !important;
  width: 100%;
  max-height: 100vh;
  height: 100vh;
  border-radius: 0;
  padding: 0;
}
.modal-overlay .modal-dialog .modal-close {
  border: none;
  appearance: none;
  outline: none;
  background: #ebebeb;
  font-size: 18px;
  color: #656565;
  cursor: pointer;
  position: sticky;
  top: 0;
  margin-left: auto;
  float: right;
  z-index: 99;
  padding: 10px 15px;
}
.modal-overlay .modal-dialog .modal-close:hover {
  color: #212121;
}
.modal-overlay.modal-drawer {
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  padding-top: 0;
}
.modal-overlay.modal-drawer .modal-dialog {
  width: 100%;
  max-width: 100%;
  max-height: max(var(--drawer-height, 80vh), 80vh);
  height: auto;
  border-radius: 16px 16px 0 0;
  opacity: 1;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}
.modal-overlay.show {
  pointer-events: all;
}
.modal-overlay.show::before {
  opacity: 1;
}
.modal-overlay.show .modal-dialog {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.modal-overlay.show.modal-drawer .modal-dialog {
  transform: translateY(0);
}

.dark-theme .modal-dialog {
  background: #1a1a1a;
}
.dark-theme .modal-dialog .modal-close {
  background: #252525;
  color: #c0c0c0;
}
.dark-theme .modal-dialog .modal-close:hover {
  color: #fefefe;
}/*# sourceMappingURL=Modal.css.map */