div[is="code-editor"] {
  display: block;
  margin-bottom: 30px;
}

.editor-container {
  width: 100%;
  background-color: #424242;
  padding: 15px;
  box-sizing: border-box;
  border-radius: 4px;
}

.controls-container {
  margin-bottom: 15px;
}

.controls-container button {
  margin-right: 10px;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary {
  background-color: #4CAF50;  /* Green */
  color: white;
}

.btn-primary:hover {
  background-color: #45a049;
}

.btn-primary:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.btn-danger {
  background-color: #f44336;  /* Red */
  color: white;
}

.btn-danger:hover {
  background-color: #da190b;
}

.btn-danger:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.editor {
  width: 97%;
  height: 200px;
  border: 1px solid #555;
  background-color: #1e1e1e;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", monospace;
  font-size: 16px;
  border-radius: 4px;
  margin-bottom: 15px;
}

.ace_editor {
  padding: 10px;
  font-size: 16px !important;
}

.ace_content {
  width: calc(100% - 20px) !important;
}

.input-output-container {
  display: flex;
  gap: 20px;
  background-color: #424242;
  padding: 0;
  border-radius: 4px;
  height: 120px;
}

.input-container,
.output-container {
  flex: 1;
  height: 100%;
  min-width: 0;
}

.input {
  width: 100%;
  height: 100%;
  resize: none;
  background-color: #1e1e1e;
  border: 1px solid #555;
  color: #c4c4c4;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", monospace;
  font-size: 16px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 4px;
}

.output-container {
  flex: 1;
  height: 100%;
  min-width: 0;
  background-color: #1e1e1e;
  border: 1px solid #555;
  border-radius: 4px;
}

.output {
  width: 100%;
  height: 100%;
  margin: 0;
  color: #c4c4c4;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", monospace;
  font-size: 16px;
  padding: 10px;
  box-sizing: border-box;
  overflow-y: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
} 