body {
  background-color: #0d0d0d;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  padding: 20px;
}

h1 {
  text-align: center;
  color: #90ffb3;
}

.quiz-container {
  max-width: 600px;
  margin: 0 auto;
  background: #111;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 10px #0f3d2e;
}

.question {
  margin-bottom: 15px;
}

.options button {
  width: 100%;
  background: #0f3d2e;
  border: none;
  color: #fff;
  padding: 12px;
  margin: 5px 0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s;
}

.options button:hover {
  background: #1b5e3d;
  transform: scale(1.02);
}

.correct {
  background: #1e7e34 !important;
}

.wrong {
  background: #a10f0f !important;
}

/* --- İleri/Geri Butonları (Duolingo tarzı) --- */
.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  padding: 0 10px;
}

.nav-btn {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  font-family: 'Montserrat', sans-serif;
}

.nav-btn:hover {
  background: linear-gradient(135deg, #66BB6A, #388E3C);
  transform: translateY(-2px);
}

/* Orta kısımda soru sayacı (progress) */
.progress {
  color: #ccc;
  font-size: 0.95rem;
  font-weight: 500;
}

/* --- Footer kısmı --- */
footer {
  text-align: center;
  margin-top: 60px;
  font-size: 0.9rem;
  color: #999;
  opacity: 0.9;
}

footer img {
  width: 55px;              /* Küçük logo */
  height: auto;
  opacity: 0.6;
  display: block;
  margin: 10px auto 5px;
  transition: opacity 0.2s ease;
}

footer img:hover {
  opacity: 0.9;
}

footer p {
  margin: 4px 0 0;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}


/* --- Çözüm Alanı (Matematik İçin) --- */
.solve-area {
  margin-top: 25px;
  background-color: #1c1c1c;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 12px;
}

/* Yeni toolbar ikonları */
.draw-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

/* ikon stilleri */
.tool-btn {
  background: #2b2b2b;
  color: #00d37f;
  border: none;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
  font-size: 1rem;
}

.tool-btn:hover {
  background: #00d37f;
  color: #111;
}

.tool-btn.danger {
  color: #ff5252;
}

#drawCanvas {
  width: 100%;
  height: 420px; /* daha büyük çizim alanı */
  background-color: #2b2b2b;
  border-radius: 8px;
  cursor: crosshair;
  touch-action: none;
}

/* "Temizle" butonu (ekstra güvenliğe gerek kalmadı) */
#clearCanvas {
  display: none; /* tool ikonları artık onu kapsıyor */
}

.note {
  background: rgba(0, 211, 127, 0.1);
  border-left: 3px solid #00d37f;
  color: #aaa;
  font-size: 0.9rem;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 6px;
}