/* ================= BODY LOCK WENN MODAL OFFEN ================= */
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ================= MODAL ================= */
.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(5,8,15,0.92);
  display: none;
  align-items:center;
  justify-content:center;
  z-index: 3000;
}

.modal-overlay.active{
  display:flex;
}

.modal-box{
  background: linear-gradient(180deg, var(--cardTop), var(--cardBot));
  max-width: 640px;
  width: 92%;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 16px;
  padding: 22px 20px;
  position: relative;
  border: 1px solid var(--line);
}

.modal-close{
  position:absolute;
  top: 10px;
  right: 12px;
  font-size: 26px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}