body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f4f8;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

.app {
  margin-top: 40px;
  background: #ffffff;
  padding: 24px 28px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  max-width: 640px;
  width: 100%;
}

h1 {
  margin-top: 0;
  margin-bottom: 16px;
}

#question-number {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}

#question-text {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

#options-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.option-btn {
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #e8f0ff; /* or whatever background you chose */
  color: #000000;       /* <-- force black text */
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}


.option-btn:hover {
  background: #d6e4ff;
  border-color: #777;
  color: #000000; /* keep text black on hover */
}


.option-btn.correct {
  background-color: #4CAF50 !important;
  color: white;
  border-color: #3e8e41;
}

.option-btn.incorrect {
  background-color: #f44336 !important;
  color: white;
  border-color: #b71c1c;
}

.controls {
  display: flex;
  justify-content: flex-end;
}

button {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: #4a57ff;
  color: #fff;
  font-weight: 500;
  transition: background 0.15s, opacity 0.15s;
}

button:disabled {
  opacity: 0.5;
  cursor: default;
}

button:hover:not(:disabled) {
  background: #343fd1;
}

.hidden {
  display: none;
}

#result-screen p {
  margin: 8px 0;
}
