.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  height: 100dvh;
  z-index: 11;
  backdrop-filter: blur(10px);
}

.wrapper {
  position: absolute;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--gradient-amethyst);
  color: var(--typography-100);
  bottom: 0;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

.content {
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  user-select: none;
  font-size: 24px;
  line-height: 24px;
  outline: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  background: transparent;
  flex: 0 0 auto;
  overflow: visible;
  border-radius: 50%;
  padding: 0;
  border: none;
  color: var(--secondary-300);
  position: absolute;
  right: 16px;
  top: 16px;
  cursor: pointer;

  & > svg {
    fill: currentColor;
    transition: fill 0.3s ease-in-out, opacity 0.3s ease-in-out;
    flex-shrink: 0;
    display: inline-block;
    user-select: none;
    width: 1em;
    height: 1em;
  }
}

.body {
  padding-right: 15px;
  padding-left: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  max-width: 360px;
  margin: 50px auto 20px;
  text-align: left;
}
