:root {
  --primary-color: #2b72e3;
  --secondary-color: #f0f8ff;
  --accent-color: #ffcc00;
  --bg-color: #f8f9fa;
  --text-color: #333;
  --card-bg: #ffffff;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: bold;
  background-color: var(--bg-color);
  color: var(--text-color);
}

.site-header {
  background: var(--primary-color);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .logo {
  font-size: 1.5rem;
  font-weight: 600;
}

.room-info {
  font-size: 0.95rem;
}

.main-container {
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
}

#onlineUsers {
  padding: 10px;
  background: #e9f5ff;
  border-radius: 5px;
  margin-bottom: 10px;
}

#chatbox {
  width: 100%;
  height: 250px;
  border: 1px solid #ddd;
  overflow-y: auto;
  padding: 10px;
  background: #fff;
  margin-bottom: 10px;
  border-radius: 5px;
}

.message {
  padding: 8px 12px;
  margin: 8px 0;
  border-radius: 15px;
  max-width: 75%;
  line-height: 1.4;
  position: relative;
}

.message.user {
  background-color: #cce5ff;
  align-self: flex-end;
  margin-left: auto;
}

.message.bot {
  background-color: #e6f0ff;
  align-self: flex-start;
}

.original {
  font-weight: bold;
}

.translated {
  font-style: italic;
  color: #007bff;
}

.timestamp {
  font-size: 10px;
  color: #777;
  margin-top: 5px;
}

.input-area {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

input, select {
	font-size: 10px;
  flex: 1;
  padding: 3px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #1f5fc5;
}

#audioToggleContainer {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

#autoPlayAudio {
  margin-right: 5px;
}

footer {
  margin-top: 50px;
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 0.95rem;
}
