:root {
  --primary: #8ab4f8;
  --primary-hover: #aecbfa;
  --bg: #0b0e14;
  --surface: #17191d;
  --border: #3c4043;
  --text-main: #e8eaed;
  --text-sub: #9aa0a6;
  --accent: #c2e7ff;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.6;
}

a {
  color: #ff9800;
}

h1 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

#progress {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--primary);
  background: rgba(138, 180, 248, 0.1);
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 24px;
}

textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--surface);
  color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  font-family: "Fira Code", "Courier New", monospace;
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.2s;
  margin-bottom: 20px;
}

textarea:focus {
  outline: none;
  border-color: var(--primary);
}

#question {
  height: 200px;
}

#output {
  height: 250px;
  background: #000; /* Darker terminal look for output */
  color: #d1d1d1;
  border-color: #2a2a2a;
}

button {
  background: var(--primary);
  color: #041e49; /* Dark text for high contrast on light blue */
  border: none;
  border-radius: 24px; /* Pill shape for modern look */
  padding: 12px 28px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: block;
  margin-bottom: 30px;
}

button:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(138, 180, 248, 0.3);
}

button:active {
  transform: scale(0.98);
}

/* Custom Scrollbar for a cleaner look */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-sub);
}
