.dialog {
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  background-color: var(--Base-Background-Primary-Normal);
  z-index: 200;
  overflow: auto;

  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.header {
  display: flex;
  justify-content: center;
}

.content {
  width: 100%;
  height: 100%;
  padding: var(--Spacing-x4);
  display: flex;
  flex-direction: column;
  gap: var(--Spacing-x4);
}

.closeButton {
  position: absolute;
  top: var(--Spacing-x4);
  right: var(--Spacing-x4);
}

.roomsSection {
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.rowContainer {
  padding: var(--Spacing-x2) 0;
  display: flex;
  flex-direction: column;
  gap: var(--Spacing-x1);
}

.roomContainer:first-child {
  padding-top: 0;
}

.roomContainer:last-child {
  padding-bottom: 0;
}

.priceRow {
  display: flex;
  justify-content: space-between;
}

.updatedPrice {
  display: flex;
  align-items: center;
  gap: var(--Spacing-x1);
}

.footer {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  gap: var(--Spacing-x2);
  padding-top: var(--Spacing-x6);
  margin-top: auto;
}

@media screen and (min-width: 1367px) {
  .dialog {
    padding: var(--Spacing-x6);
    align-items: center;
  }

  .header {
    justify-content: flex-start;
  }

  .content {
    width: 512px;
    height: fit-content;
    padding: 0;
  }

  .footer {
    flex-direction: row;
    padding: var(--Spacing-x6) 0;
  }
}
