.simulation-center-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991px) {
  .simulation-center-wrapper {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    align-items: stretch;
  }
}

.feedback-correct {
  color: #218838;
  font-weight: 500;
}
.feedback-incorrect {
  color: #c82333;
  font-weight: 500;
}
.feedback-expected {
  color: #004085;
  font-size: 0.98em;
  margin-left: 0.5em;
}
.feedback-all-correct {
  color: #155724;
  font-weight: bold;
  margin-top: 0.5em;
}

body {
  background: #f8f9fa;
}

.simulation-container {
  max-width: 1200px;
}

.problem-statement {
  font-size: 1.1rem;
  background: #fff;
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  margin-bottom: 1rem;
}

.code-area {
  background: #23272f;
  color: #f8f8f2;
  border-radius: 6px;
  padding: 1rem 1.5rem;
  font-family: "Fira Mono", "Consolas", monospace;
  font-size: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.template-line {
  white-space: pre;
  margin-bottom: 0.1rem;
}

.blank-input,
.code-blank {
  width: 120px;
  margin: 0 4px;
  border-radius: 4px;
  border: 1px solid #ccc;
  padding: 2px 6px;
  font-family: inherit;
  font-size: 1rem;
  display: inline-block;
}

.output-area {
  background: #fff;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  margin-bottom: 1rem;
  min-height: 2.2em;
}

.hints-area {
  background: #fff;
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.hint {
  background: #e9ecef;
  border-radius: 4px;
  padding: 0.5em 0.75em;
  margin-bottom: 0.5em;
  font-size: 1rem;
  color: #333;
}

@media (max-width: 767px) {
  .code-area {
    padding: 0.7rem 0.5rem;
    font-size: 0.97rem;
  }
  .problem-statement,
  .hints-area {
    padding: 0.7rem 0.5rem;
    font-size: 1rem;
  }
  .blank-input,
  .code-blank {
    width: 90px;
    font-size: 0.97rem;
  }
}
