body {
  font-size: 1.2em;
  background-color: #f9fbfd;
  color: #333;
  font-family: sans-serif;
}

.matriz-table {
  border-collapse: separate;
  border-spacing: 2px;
  margin-bottom: 20px;
  perspective: 600px;
}

.matriz-table th, .matriz-table td {
  padding: 5px;
  text-align: center;
}

.matriz-table td {
  border: 1px solid #ccc;
  min-width: 30px;
  cursor: pointer;
  transition: transform 0.08s ease-out, box-shadow 0.08s ease-out;
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,0.10);
  border-radius: 3px;
}

.matrix-cell.active-cell {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
  z-index: 10;
  position: relative;
}

.interval-header {
  font-weight: bold;
  color: #666;
}

.play-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9em;
  padding: 4px;
  color: #a3b8cc; /* Low contrast light grayish-blue */
  transition: all 0.2s ease;
  position: relative;
}

.play-btn:hover {
  background: #f0f4f8;
  color: #7a9bb8;
  border-radius: 4px;
}

.play-btn.playing {
  color: #55799c;
  transform: scale(1.2);
  animation: pulse 0.3s ease-in-out infinite;
}

/* Add a subtle animation keyframe for the playing state */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

h1, h2, #heading {
  text-align: center;
  width: 100%;
}

.inputs-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-bottom: 15px;
}

.note {
  width: 40px;
  text-align: center;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.program {
  width: 200px;
  padding: 10px;
  font-size: 1.1em;
  background-color: #a3b8cc;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 15px;
  transition: background-color 0.2s;
}

.program:hover {
  background-color: #7a9bb8;
}

.bemoles-label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
