body {
  font-family: Arial, sans-serif;
  background-color: #fff6ed;
  margin: 0;
  padding: 0;
  text-align: center;
  color: #333;
}

.container {
  padding: 20px;
}

.logo {
  width: 200px;
  max-width: 80%;
  margin: 20px auto;
  display: block;
}

.card {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.card h2 {
  margin-top: 0;
  color: #e74c3c;
}

ul#leaderboard-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul#leaderboard-list li {
  padding: 8px 0;
  font-size: 1.1em;
}

/* Wing Commandments */
.wing-text p {
  margin-bottom: 12px;
  line-height: 1.6;
}

/* Modern button */
.modern-btn,
#signInBtn,
#signOutBtn {
  margin-top: 12px;
  padding: 10px 16px;
  font-size: 14px;
  background: linear-gradient(to right, #f08c00, #ffb347);
  color: white;
  border: none;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

.modern-btn:hover,
#signInBtn:hover,
#signOutBtn:hover {
  background: linear-gradient(to right, #e07c00, #ffaa33);
  transform: translateY(-1px);
}

/* Auth buttons spacing */
#authSection {
  margin: 20px 0;
}

#signInBtn,
#signOutBtn {
  margin: 10px 5px 0;
}

/* Chat message styles */
.chat-message {
  text-align: left;
  margin-bottom: 10px;
}

.chat-message .reactions {
  margin-top: 4px;
  font-size: 0.9em;
  color: #777;
}

.chat-message .reply-btn {
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  font-size: 0.9em;
  margin-top: 4px;
}

.chat-reply {
  margin-left: 20px;
  border-left: 2px solid #ddd;
  padding-left: 10px;
  margin-top: 8px;
  font-size: 0.9em;
}

#chatMessages {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 10px;
  text-align: left;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1);
}

#chatMessages div {
  margin-bottom: 10px;
}

.chat-input-container {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  width: 100%;
  max-width: 100%;
}

#messageInput {
  flex: 1;
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 8px;
  height: 44px; /* Match button height */
  box-sizing: border-box;
}

#sendMessage {
  height: 44px; /* Same as input */
  padding: 0 16px;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

#sendMessage {
  margin-top: 0; /* Ensure no offset from vertical alignment */
}
