html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#players {
  height: 100%;
  width: 100%;
  display: flex;
}

#playerLayout {
  flex-grow: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.player {
  width: 100%;
  height: 100%;
  border: none;
  background: black;
}



.stream-grid-3 {
  display: grid;
  height: 100%;
  width: 100%;
  grid-template-rows: 50% 50%;
  grid-template-columns: 1fr 1fr;
}

.stream-grid-3 .player:nth-child(3) {
  grid-column: 1 / span 2;
}

.stream-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
}

.stream-wrapper .player {
  aspect-ratio: 16 / 9;
  height: 100%;
  object-fit: contain;
}

.hida {
  display: none;
}
.chat-container {
  display: flex;
  flex-direction: column-reverse;
  height: 100vh;
  max-width: 40vh;
  min-width: max-content;
}



#settings {
  background-color: #222; 
  flex-shrink: 0;
}

#chat {
  flex-grow: 1;
  border: none;
}
.chat {
  width: 100%;
  height: 100%;
  border: none;
}
.button-row {
  display: flex;
  width: 100%;
  height: 60px;
}

.dropdown {
  flex: 1;
  position: relative;
}

.dropdown-toggle.half-button {
  width: 100%;
  height: 100%;
  background-color: #1f1f1f;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dropdown-toggle.half-button:hover {
  background-color: #2e2e2e;
}

.dropdown-menu {
  background-color: #2c2c2c !important;
  border: none !important;
  border-radius: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.dropdown-item {
  color: white !important;
  padding: 10px 16px !important;
  font-size: 1rem;
}

.dropdown-item:hover {
  background-color: #444 !important;
  color: #fff !important;
}

