.playground-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
}

.playground-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.language-selector select {
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.playground-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.editor-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.code-editor {
  width: 100%;
  height: 400px;
  padding: 1rem;
  font-family: monospace;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid #ddd;
  border-radius: 4px;
  resize: vertical;
}

.run-button {
  padding: 0.75rem 1.5rem;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.run-button:hover {
  background-color: #45a049;
}

.output-section {
  padding: 1rem;
  background-color: #f5f5f5;
  border-radius: 4px;
  min-height: 400px;
}

.error-output {
  color: #d32f2f;
}

.success-output {
  color: #2e7d32;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0;
  padding: 1rem;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #ddd;
}
