:root {
  --bg-color: #121212;
  --card-bg: #1e1e1e;
  --accent: #3584e4;
  --text: #eeeeee;
  --border: #2e2e2e;
}

body {
  background: var(--bg-color);
  color: var(--text);
  font-family: system-ui, "Cantarell", "Ubuntu", "DejaVu Sans", sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  max-width: 1100px;
  width: 100%;
}

.left {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: none;
}

h3 {
  margin-top: 0;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  color: var(--accent);
}

label {
  display: block;
  margin: 15px 0 5px;
  font-size: 0.85rem;
  color: #aaa;
}

select, input {
  width: 100%;
  height: 36px;
  padding: 6px 8px;
  line-height: 1.2;
  box-sizing: border-box;
  background: #333;
  border: 1px solid var(--border);
  color: white;
  border-radius: 4px;
  outline: none;
}

select:focus, input:focus {
  border-color: var(--accent);
}

#preview {
  background-image: linear-gradient(
    rgba(255,255,255,0.02) 1px,
    transparent 1px
  );
  background-size: 100% 2px;
}

.left,
.terminal-window {
  border-radius: 4px;
  box-shadow: none;
  margin-bottom: 20px;
}

.terminal-header {
  background: #333;
  padding: 10px;
  display: flex;
  gap: 6px;
}

textarea {
  width: 100%;
  height: 250px;
  background: #1e1e1e;
  color: #9cdcfe;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 15px;
  font-family: system-ui, "Cantarell", "Ubuntu", "DejaVu Sans", sans-serif;
  resize: vertical;
}

button {
  margin-top: 15px;
  margin-top: 10px;
  width: auto;
  align-self: flex-start;
  padding: 8px 12px;
  font-size: 0.9rem;
  height: 36px;
  background: #2b2b2b;
  border: 1px solid #444;
  color: #ddd;
  font-weight: normal;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #3a3a3a;
}

footer.footer {
  display: block;
  width: 100%;
  margin-top: 40px;
  text-align: center;
  border-top: 1px solid #2e2e2e;
  padding-top: 15px;
  color: #888;
  font-size: 0.8rem;
}

footer.footer a {
  color: #888;
  text-decoration: none;
}

footer.footer a:hover {
  color: #bbb;
  text-decoration: underline;
}
