* {
  font-family: 'Courier New', monospace;
  box-sizing: border-box;
}

body {
  background-color: #1a1a1a;
  color: #e0e0e0;
  margin: 20px;
}

.header-container {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
}

.logo {
  height: 50px;
  position: absolute;
  left: 10px;
}

h1 {
  width: 100%;
  text-align: center;
  margin: 0;
}

#messages {
  border: 1px solid #333;
  background-color: #252525;
  height: 300px;
  overflow-y: scroll;
  padding: 15px;
  margin-top: 15px;
  border-radius: 4px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

#messages::-webkit-scrollbar { width: 8px; }
#messages::-webkit-scrollbar-track { background: #1a1a1a; }
#messages::-webkit-scrollbar-thumb { background: #444; border-radius: 4px; }

.controls {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}

input[type="text"] { 
  flex-grow: 1; 
  padding: 10px; 
  background-color: #333;
  border: 1px solid #444;
  color: #fff;
  border-radius: 4px;
  outline: none;
}

input[type="text"]:focus {
  border-color: #00ff9d;
}

button { 
  padding: 10px 20px; 
  cursor: pointer; 
  white-space: nowrap;
  background-color: #00ff9d;
  border: none;
  color: #1a1a1a;
  font-weight: bold;
  border-radius: 4px;
  transition: opacity 0.2s;
}

button:hover {
  opacity: 0.8;
}

button:disabled {
  background-color: #444;
  color: #777;
  cursor: not-allowed;
}

#status {
  margin-top: 10px;
  font-size: 0.9em;
  color: #888;
}

.clickable-anagram {
  cursor: pointer;
  color: #00ff9d;
}

.clickable-anagram:hover {
  text-decoration: underline;
  background-color: rgba(0, 255, 157, 0.1);
}

small {
  color: #666;
}