/* css/main.css
   Minimal, functional styling for now. Will be replaced once we design
   the game's actual visual identity (12000 BCE theme). */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #1a1a1a;
  color: #e8e8e8;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-container {
  width: 100%;
  max-width: 360px;
  background: #2a2a2a;
  border-radius: 8px;
  padding: 32px 24px;
}

.game-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.tab-switcher {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #444;
}

.tab-button {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  color: #888;
  font-size: 15px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.tab-button.active {
  color: #e8e8e8;
  border-bottom-color: #c9a14a;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-size: 13px;
  color: #aaa;
  margin-bottom: -6px;
}

input {
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #444;
  background: #1a1a1a;
  color: #e8e8e8;
  font-size: 15px;
}

input:focus {
  outline: none;
  border-color: #c9a14a;
}

.primary-button {
  margin-top: 8px;
  padding: 12px;
  border-radius: 4px;
  border: none;
  background: #c9a14a;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.primary-button:hover {
  background: #d9b35a;
}

.primary-button:disabled {
  background: #666;
  cursor: not-allowed;
}

.status-message {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}

.status-message.error {
  color: #e85d5d;
}

.status-message.success {
  color: #5dc97a;
}
