.dialog {
  position: relative;
}

.dialog__trigger {
  cursor: pointer;
  transition: opacity 150ms ease;
}

.dialog__trigger:hover {
  opacity: 0.85;
}

.dialog__content-wrapper {
  width: 100%;
  padding: 10px;
  z-index: 99;
}

.dialog__content {
  width: 90%;
  background-color: #fff;
  position: relative;
  box-shadow: 0px 16px 80px #1e191908, 0px 32px 48px #1e191908, 0px 16px 32px #1e191908, 0px 8px 24px #1e191908, 0px 4px 16px #1e191908, 0px 2px 8px #1e191908, 0px 1px 4px #1e191908;
  display: flex;
  flex-direction: column;
  border-radius: 2.5rem;
  gap: 1rem;
  overflow-y: hidden;
}

.dialog__body {
  overflow-y: auto;
  max-height: 80vh;
  padding: 1.25rem;
}

.dialog__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 999;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 9999px;
  background-color: var(--white);
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2024%2024%22%20stroke-width%3D%221.5%22%20stroke%3D%22currentColor%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%0A%20%20%3Cline%20x1%3D%2218%22%20y1%3D%226%22%20x2%3D%226%22%20y2%3D%2218%22%20%2F%3E%0A%20%20%3Cline%20x1%3D%226%22%20y1%3D%226%22%20x2%3D%2218%22%20y2%3D%2218%22%20%2F%3E%0A%3C%2Fsvg%3E');
  background-position: center;
  background-repeat: no-repeat;
}


@media screen and (min-width: 768px) {
  .dialog__body {
    padding: 2.5rem;
  }
}
@media screen and (min-width: 1024px) {
  .dialog__body {
    padding: 3.75rem;
  }
}





