
/* Zentrale CSS-Regeln für iPad-Optimierung und Designvereinheitlichung */

/* Schriftart konsistent */
body, input, button, textarea, select {
  font-family: 'Courier New', Courier, monospace;
}

/* Einheitliches Button-Design */
button {
  background-color: #00ff00;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #00cc00;
}

/* Modal-Schaltflächen vereinheitlichen */
.modal-buttons button.btn-yes {
  background-color: #00ff00;
  color: #000;
}

.modal-buttons button.btn-no {
  background-color: transparent;
  color: #00ff00;
  border: 2px solid #00ff00;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }

  .container, .modal-content, .sprechblase {
    padding: 1rem;
    font-size: 1rem;
  }

  .tabelle-und-safe {
    flex-direction: column !important;
    align-items: center;
  }

  .lernspur-table input,
  .safe-inputs input,
  .buchstaben-eingabe {
    font-size: 1.2rem;
    padding: 0.6rem;
    width: 3rem;
  }

  .header-info {
    gap: 0.3rem;
    padding: 0.4rem;
  }

  .safe {
    transform: scale(0.9);
  }

  button {
    font-size: 1.1rem;
    padding: 0.8rem 1.2rem;
  }
}

/* Optional: Eingabefeld-Styling konsistent */
input[type="text"], input[type="number"], textarea {
  background: #000;
  color: #00ff00;
  border: 1px solid #00ff00;
  border-radius: 4px;
  padding: 0.5rem;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

/* Tabelle: Lesbarkeit auf kleinen Geräten */
.lernspur-table td, .lernspur-table th {
  padding: 0.3rem;
  font-size: 0.9rem;
  min-width: 30px;
}

/* Sprechblasen-Text lesbar halten */
.sprechblase {
  word-wrap: break-word;
  max-width: 100%;
}

/* Modal-Box zentriert auf kleineren Bildschirmen */
.modal-content {
  max-width: 90%;
}
