/* Room header and connection status */

.room-header svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.room-settings-button svg {
  stroke-width: 1.9;
}

.room-header {
  height: var(--room-header-height);
  min-height: var(--room-header-height);
  padding: 0 16px 0 var(--room-gutter);
  border-bottom: 1px solid #30333a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #17191e;
}

.room-title {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.2px;
}

.room-header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

@media (max-width: 960px) {
  .room-header {
    padding-right: 10px;
  }
}

.room-title-and-participants {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.room-title-and-participants .room-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.room-presence {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  color: #9ca6b5;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.room-presence svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.room-title-and-participants .members-toggle {
  box-sizing: border-box;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 4px 6px;
  height: 30px;
  min-height: 30px;
  color: #9ca6b5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.room-title-and-participants .members-toggle:hover,
.room-title-and-participants .members-toggle[aria-expanded="true"] {
  color: #edf0f5;
  background: #262931;
  border: 0;
}

.room-title-and-participants .members-toggle:focus-visible,
.log-out-button:focus-visible {
  outline: 2px solid #9daec9;
  outline-offset: -2px;
}

.room-header-actions button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  color: #aab4c1;
}

.room-header-actions button:hover,
.room-header-actions button[aria-expanded="true"] {
  background: #262b33;
  color: #f2f4f8;
}

.connection-status {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 12px;
  border-bottom: 1px solid #30333b;
  background: var(--panel-background);
  font-size: 13px;
}
