.character-creation-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.character-creation-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  padding: 2rem;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.character-creation-card h1 {
  font-size: 2rem;
  color: #646cff;
  text-align: center;
  margin-bottom: 0.5rem;
}

.subtitle {
  text-align: center;
  color: #888;
  margin-bottom: 2rem;
}

.form-section {
  margin-bottom: 2rem;
}

.form-section h2 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1rem;
}

.input-hint {
  font-size: 0.85rem;
  color: #888;
  margin-top: 0.25rem;
}

.points-remaining {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 1rem;
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.points-complete {
  color: #51cf66;
}

.points-over {
  color: #ff6b6b;
}

.stats-grid {
  display: grid;
  gap: 1rem;
}

.stat-input {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 1rem;
}

.stat-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.stat-icon {
  font-size: 1.5rem;
}

.stat-header label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.stat-control {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.stat-control input {
  flex: 1;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0.5rem;
  margin: 0;
}

.stat-button {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: none;
  background-color: #646cff;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-button:hover:not(:disabled) {
  background-color: #535bf2;
}

.stat-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.stat-description {
  font-size: 0.85rem;
  color: #888;
  margin: 0;
}

.character-preview {
  background: linear-gradient(135deg, rgba(100, 108, 255, 0.1) 0%, rgba(83, 91, 242, 0.1) 100%);
  border: 1px solid rgba(100, 108, 255, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.preview-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.preview-label {
  font-weight: 600;
  color: #aaa;
}

.preview-value {
  font-size: 1.2rem;
  font-weight: bold;
  color: #646cff;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.form-actions button {
  flex: 1;
}

@media (max-width: 768px) {
  .character-creation-container {
    padding: 1rem;
  }
  
  .character-creation-card {
    padding: 1.5rem;
  }
  
  .character-creation-card h1 {
    font-size: 1.5rem;
  }
  
  .stat-control input {
    font-size: 1rem;
  }
  
  .preview-stats {
    grid-template-columns: 1fr;
  }
}
