/* ====== Container ====== */
.ssp-sound-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
  position: relative;
}

/* ====== Sound Buttons ====== */
.ssp-sound-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background-color: #eee;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  transform: scale(1);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Enlarge briefly when pressed */
.ssp-sound-btn:active,
.ssp-sound-btn.ssp-touch-active {
  transform: scale(1.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Horizontal buttons container */
.ssp-horizontal-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

/* Image container */
.ssp-image-container {
  position: relative;
  text-align: center;
}

/* Image style */
.ssp-image, 
.ssp-image-clickable {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto 8px auto;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

/* Feedback overlay */
.ssp-feedback {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  color: white;
  pointer-events: none;
  z-index: 100;
}

.ssp-columns-wrapper {
  display: flex;
  gap: 20px;
  /* Add a fixed height and enable vertical scrolling */
  height: 400px; /* Adjust this value as needed */
  overflow-y: auto;
  flex-wrap: nowrap; /* Prevent columns from wrapping to a new line */
  
  /* Add padding to prevent the scrollbar from overlapping content */
  padding-right: 15px; 
}

.ssp-column {
  flex: 1 1 300px;
  /* Enable vertical scrolling for each column */
  overflow-y: auto;
  /* Add padding to prevent the scrollbar from overlapping content */
  padding-right: 15px;
}

/* First column bigger */
.ssp-columns-wrapper .ssp-column:first-child {
  flex: 3 1 0;
}

/* Second column smaller */
.ssp-columns-wrapper .ssp-column:last-child {
  flex: 1 1 0;
  max-width: 200px;
}

/* Dim / gray out after correct selection */
.ssp-item.ssp-completed .ssp-image {
  opacity: 0.5;
  filter: grayscale(80%);
}

.ssp-item.ssp-completed .ssp-sound-btn {
  opacity: 0.5;
  pointer-events: none;
}

/* Optional: responsive adjustments */
@media (max-width: 600px) {
  .ssp-sound-btn {
    width: 60px;
    height: 60px;
    font-size: 18px;
  }
  .ssp-horizontal-buttons {
    gap: 6px;
  }
}

/* ====== Color Variants ====== */
.ssp-purple-btn {
  background-color: #7e57c2; /* Purple */
  color: #fff;
}

.ssp-turquoise-btn {
  background-color: #26c6da; /* Turquoise */
  color: #fff;
}

.ssp-orange-yellow-btn {
  background-color: #ffb74d; /* Orange-Yellow */
  color: #fff;
}

