* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #1e1e1e;
  color: #e0e0e0;
}

.layout {
  display: flex;
  height: 100vh;
}

.statement {
  width: 40%;
  padding: 24px;
  overflow-y: auto;
  border-right: 1px solid #3a3a3a;
  line-height: 1.5;
}

.statement pre {
  background: #2a2a2a;
  padding: 8px;
  overflow-x: auto;
}

.workspace {
  width: 60%;
  display: flex;
  flex-direction: column;
}

.editor {
  flex: 1;
}

.controls {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-top: 1px solid #3a3a3a;
}

#submit-btn {
  background: #0e639c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

#submit-btn:disabled {
  background: #555;
  cursor: default;
}

.verdict {
  font-weight: 600;
}

.verdict.success { color: #4caf50; }
.verdict.wrong_answer,
.verdict.runtime_error,
.verdict.compile_error { color: #e05252; }
.verdict.time_limit { color: #e0a352; }
.verdict.pending { color: #9e9e9e; }
