.bookingCodeFilter {
  display: flex;
  justify-content: flex-end;
}

.dialog {
  border-radius: var(--Corner-radius-md);
  background-color: var(--Surface-Primary-Default);
  box-shadow: var(--popup-box-shadow);
  max-width: 340px;
}

.radioGroup {
  display: grid;
  gap: var(--Space-x1);
  padding: 0;
}

.radio {
  padding: var(--Space-x1);
}

.radio[data-hovered] {
  cursor: pointer;
}
.radio[data-focus-visible]::before {
  outline: 1px auto var(--Border-Interactive-Focus);
}

.radio {
  display: flex;
  align-items: center;
}

.radio::before {
  flex-shrink: 0;
  content: "";
  margin-right: var(--Space-x15);
  background-color: var(--Surface-UI-Fill-Default);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--Base-Border-Normal);
}

.radio[data-selected]::before {
  box-shadow: inset 0 0 0 8px var(--Surface-UI-Fill-Active);
}

.modalOverlay {
  position: fixed;
  inset: 0;
  background-color: var(--Overlay-40);

  &[data-entering] {
    animation: overlay-fade 200ms;
  }

  &[data-exiting] {
    animation: overlay-fade 150ms reverse ease-in;
  }
}

.modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--Space-x2) var(--Space-x05);
  border-radius: var(--Corner-radius-md) var(--Corner-radius-md) 0 0;
  background-color: var(--Surface-Primary-Default);
  box-shadow: 0px 0px 14px 6px rgba(0, 0, 0, 0.1);

  &[data-entering] {
    animation: modal-anim 200ms;
  }

  &[data-exiting] {
    animation: modal-anim 150ms reverse ease-in;
  }
}

.modalDialog {
  display: grid;
  gap: var(--Space-x2);
  padding: 0 var(--Space-x1);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--Space-x1);
}

@media screen and (min-width: 768px) {
  .radioGroup {
    padding: var(--Space-x1);
  }

  .modalOverlay {
    display: none;
  }
}

@keyframes overlay-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modal-anim {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}
