.roomContainer {
  background: var(--Base-Surface-Primary-light-Normal);
  border: 1px solid var(--Base-Border-Subtle);
  border-radius: var(--Corner-radius-lg);
  display: flex;
  flex-direction: column;
  padding: var(--Spacing-x3);
}

.header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.roomPanel,
.roomSelectionPanel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  height: 0;
  transition:
    opacity 0.3s ease,
    grid-template-rows 0.3s ease;
  transform-origin: bottom;
}

.roomPanel > * {
  overflow: hidden;
}

.roomSelectionPanel {
  gap: var(--Spacing-x2);
}

.roomSelectionPanelContainer.active .roomSelectionPanel,
.roomSelectionPanelContainer.selected .roomPanel {
  grid-template-rows: 1fr;
  height: auto;
  opacity: 1;
}

.roomSelectionPanelContainer.active .roomPanel {
  padding-top: var(--Spacing-x1);
}

.roomSelectionPanelContainer.selected .roomSelectionPanel {
  display: none;
}

@media (max-width: 767px) {
  .roomContainer {
    padding: var(--Spacing-x2);
  }
}
