/* styles.css - Basic CSS for game UI */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #f0f0f0;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1, h2, h3 {
  margin-bottom: 10px;
}

#roomCode {
  font-size: 32px;
  font-weight: bold;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
}

#status {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
}

#players {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

#players li {
  padding: 10px;
  background-color: #e9ecef;
  margin-bottom: 5px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
}

#players li .status {
  font-style: italic;
}

#gameArea {
  margin-top: 20px;
}

#prompt {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

#timer {
  text-align: center;
  font-size: 18px;
  margin-bottom: 20px;
}

#answerInput {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 10px;
}

#answerInput:disabled,
button:disabled {
  background-color: #f1f1f1;
  color: #6c757d;
  cursor: not-allowed;
}

.submit-status {
  margin-top: 12px;
  font-size: 16px;
  color: #343a40;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 5px;
}

button.primary {
  background-color: #007bff;
  color: white;
}

button.secondary {
  background-color: #6c757d;
  color: white;
}

#results {
  list-style: none;
  padding: 0;
}

#results li {
  background-color: #f8f9fa;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
}

#results li .answer {
  font-weight: bold;
}