.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: var(--clr-surface-tonal-a0);
  border: 1px solid var(--clr-surface-tonal-a10);
  padding: 2rem;
  border-radius: var(--border-radius);
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.modal-close:hover {
  color: var(--clr-light-a10);
}
