.dialog {
  background-color: var(--Base-Surface-Primary-light-Normal);
  border-radius: var(--Corner-radius-Large);

  display: flex;
  flex-direction: column;
  left: 0;
  list-style: none;
  overflow-y: auto;
  padding: var(--Spacing-x2) var(--Spacing-x3);
  position: fixed;
  top: 170px;
  width: 100%;
  height: calc(100% - 200px);
  z-index: 10010;
}

.default {
  gap: var(--Spacing-x1);
}

.error {
  gap: var(--Spacing-x-half);
}

.search {
  gap: var(--Spacing-x3);
}

@media (min-width: 768px) {
  .dialog {
    position: absolute;
    width: 360px;
    /** 
   * var(--Spacing-x4) to account for padding inside 
   * the bookingwidget and to add the padding for the
   * box itself 
   */
    top: calc(100% + var(--Spacing-x4));
    z-index: 99;
    box-shadow: 0 0 14px 6px rgba(0, 0, 0, 0.1);
    max-height: 380px;
    height: auto;
  }
}
