.modal {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: max-content;
   height: fit-content;
   overflow: hidden;
   justify-content: center;
   align-items: center;
   padding: 12px;
   border-radius: 8px;
}

.modal::-webkit-scrollbar {
    display: none;
}

.modal {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

dialog::backdrop {
  background-color: rgb(120, 120, 120, 0.5);
}
