.box:modal {
  border: 2px solid teal;
  padding: 1rem;
  background-color: white;
}

.box:modal::backdrop {
  background-color: rgb(0 0 0 / 0.35);
}