/* ===============================
   Rytmin kuuntelu – tyyli
   =============================== */

body {
  font-family: "Marker Felt", sans-serif;
  text-align: center;
  background: #fafafa;
  margin: 0;
  padding: 20px;
}

#rytmi-app {
  max-width: 800px;
  margin: 0 auto;
}

/* ---------------------------------
   TEHTÄVÄNAPIT
--------------------------------- */
#task-buttons {
  margin: 20px 0;
}
.task-btn {
  background: #ccc;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  margin: 4px;
  font-size: 16px;
  cursor: pointer;
  font-family: "Marker Felt", sans-serif;
  box-shadow: none;
  transition: background 0.2s, color 0.2s;
}
.task-btn:hover {
  background: #bbb;
}
.task-btn.active {
  background: #2196F3;
  color: white;
}

/* ---------------------------------
   PLAYER-NAPIT
--------------------------------- */
#player-controls {
  margin: 15px 0;
}
#player-controls button {
  background: #e0e0e0;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  margin: 3px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
}
#player-controls button:hover {
  background: #ccc;
}
#player-controls button:active {
  background: #2196F3;
  color: white;
}

/* ---------------------------------
   NUOTTINAPIT / EDITORIN PAINIKKEET
--------------------------------- */
#note-buttons {
  margin-top: 20px;
}
#note-buttons button {
  background: #ddd;
  border: none;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 4px;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
}
#note-buttons button:hover {
  background: #ccc;
}
#note-buttons button:active {
  background: #4CAF50;
  color: white;
}

/* ---------------------------------
   ABC-NOTAATIO JA STATUS
--------------------------------- */
#abcName {
  font-size: 20px;
  color: #1976d2;
  margin-top: 15px;
  font-weight: bold;
}

#paperUser {
  margin: 20px auto;
  display: inline-block;
  background: white;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  transform: scale(1.5);
  transform-origin: top center;
}

#status {
  margin-top: 20px;
  font-size: 18px;
  color: #333;
}

/* ---------------------------------
   NUOTTIEN OIKEIN / VÄÄRIN
--------------------------------- */
.abcjs-note.correct {
  fill: #4CAF50 !important;
  stroke: #4CAF50 !important;
}
.abcjs-note.wrong {
  fill: #f44336 !important;
  stroke: #f44336 !important;
}

/* ---------------------------------
   TÄHTIARVIOINTI
--------------------------------- */
#stars {
  margin-top: 12px;
  font-size: 60px;
  color: gold;
  letter-spacing: 4px;
}

/* ---------------------------------
   MISC
--------------------------------- */
button:focus {
  outline: none;
}

#note-buttons button.active {
  background: #4CAF50;
  color: white;
  box-shadow: 0 0 6px #4CAF50;
}

#rytmipaperUser, #rytmiA-paperUser {
  display: none;   /* 🧩 piilossa aluksi */
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 14px rgba(0,0,0,0.15);
  padding: 50px;
  margin: 40px auto;
  width: 95%;
  max-width: 1400px;
  overflow-x: auto;
}
