/* =============================== */
/* 💃 DANSEN PAGINA – FILTERS      */
/* =============================== */

.filters {
  margin: 20px 0;
  text-align: center;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1em;
  max-width: 700px;
  margin: 2em auto;
  padding: 1.5em;
  background: linear-gradient(135deg, #fffaf0, #f9f0ff);
  border: 3px solid #ffa500;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: 'Quicksand', sans-serif;
  overflow: hidden;
  box-sizing: border-box;
}

/* Labels netjes boven velden */
.filters label {
  font-weight: bold;
  font-size: 1.05em;
  margin-bottom: 0.3em;
  display: block;
}

/* 🎉 Label icoontjes */
label[for="zoekveld"]::before { content: "🔍 "; color: #20b2aa; }
label[for="niveauFilter"]::before { content: "⭐ "; color: #ffa500; }
label[for="choreoFilter"]::before { content: "🎶 "; color: #4b0082; }

/* 🌈 Velden met kleuraccenten */
#zoekveld,
#niveauFilter,
#choreoFilter {
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;  /* zorgt dat padding niet de breedte oprekt */
}

#zoekveld { border: 2px solid #20b2aa; }
#niveauFilter { border: 2px solid #ffa500; }
#choreoFilter { border: 2px solid #4b0082; }

/* Hover */
#zoekveld:hover,
#niveauFilter:hover,
#choreoFilter:hover {
  box-shadow: 0 0 8px rgba(75,0,130,0.3);
  border-color: #ff6600;
}

/* Teller */
#dansTeller {
  text-align: center;
  font-weight: bold;
  margin-top: 1em;
}

/* Filterknop */
.filters button {
  background-color: #6a4da6;
  color: white;
  border: none;
  padding: 0.6em 1.2em;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.filters button:hover {
  background-color: #ff6600;
}

/* Mobiel */
@media screen and (max-width: 600px) {
  .filters {
    padding: 1em;
  }
  #dansTeller {
    text-align: left;
  }
}

/* =============================== */
/* 📊 DANSEN TABEL                 */
/* =============================== */

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}

th, td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: left;
}

thead {
  background-color: #f8f0ff;
  color: #4b0082;
}

tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Mobiel tabel */
@media screen and (max-width: 768px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  thead {
    display: none; 
  }
  tr {
    margin-bottom: 1em;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #fff;
  }
  td {
    position: relative;
    padding-left: 50%;
    border: none;
    border-bottom: 1px solid #eee;
  }
  td::before {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 45%;
    white-space: nowrap;
    font-weight: bold;
    color: #555;
  }
  td:nth-child(1)::before { content: "Naam"; }
  td:nth-child(2)::before { content: "Niveau"; }
  td:nth-child(3)::before { content: "Type"; }
  td:nth-child(4)::before { content: "Tellen"; }
  td:nth-child(5)::before { content: "Choreograaf"; }
  td:nth-child(6)::before { content: "Muziek"; }
  td:nth-child(7)::before { content: "Video"; }
}

/* Legenda */
.niveau-legenda {
  background-color: #f9f9f9;
  padding: 10px;
  border-left: 5px solid #ccc;
  font-family: sans-serif;
  font-size: 0.95em;
}

/* =============================== */
/* ⭐ UITGELICHTE DANSEN           */
/* =============================== */

.uitgelichte-dansen h3 {
  color: #cc6600;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.3em;
}

.uitgelichte-dansen ul {
  list-style-type: square;
  padding-left: 1.5em;
}

.stemknop {
  background: none;
  border: none;
  font-size: 1.2em;
  cursor: pointer;
  margin-left: 10px;
  transition: transform 0.2s;
}



.blok:nth-child(1) { order: 1; border-left: 6px solid #6a4da6; }/* Nieuwste Dansen → rechts */
.blok:nth-child(2) { order: 2; border-left: 6px solid #6a4da6; }/* Dans van de Maand → midden */
.blok:nth-child(3) { order: 3; } /* Favorieten van de Groep → links */

.blok:hover {
  transform: scale(1.02);
}

/* =============================== */
/* 🎵 LESAVOND PLAYLISTS           */
/* =============================== */

.lesavond-blok {
  position: relative;
  background-color: #fff;
  padding: 1.5em;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
  border-left: 6px solid #6a4da6;
  margin-bottom: 1.5em; 
  overflow: hidden;
}

.lesavond-blok h4 {
  font-size: 1.4em;
  color: #ff6600;  /* Oranje titel */
  margin-bottom: 0.8em;
}

.lesavond-blok ul {
  list-style-type: disc;
  padding-left: 1.2em;
  margin-bottom: 1em;
  max-height: 300px;
  overflow-y: auto;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/*====================================================*/
/* 💃🏻🎵 Scrollbare danslijst binnen het lesavond-blok */
/*====================================================*/

.lesavond-blok ul::-webkit-scrollbar {
  width: 8px; 
}
	
.lesavond-blok ul::-webkit-scrollbar-thumb {
  background-color: #6a4da6;
  border-radius: 4px;
}

.lesavond-blok ul::-webkit-scrollbar-track {
  background-color: #f0f0f0;
}


/* Knoppen */
.lesavond-knoppen {
  display: flex;
  gap: 1em;
  margin-top: 1em; /*in css is dit 0.5em*/
}

.lesavond-knoppen a,
.lesavond-knoppen button {
  background-color: #6a4da6;
  color: #fff;
  border: none;
  padding: 0.5em 1em;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95em;
  cursor: pointer;
}

.lesavond-knoppen a:hover,
.lesavond-knoppen button:hover {
  background-color: #ff6600;
}

/* Toggle */
.toggle-knop {
  width: 100%;
  text-align: left;
  background-color: #6a4da6;
  color: #fff;
  border: none;
  padding: 0.8em 1em;
  font-size: 1.1em;
  cursor: pointer;
}

.toggle-knop:hover {
  background-color: #ff6600;
}

/* Inhoud standaard verborgen */
.lesavond-inhoud {
  display: none;
  padding: 1em 1.5em;
}

/* Inhoud zichtbaar als 'open' class actief is */
.lesavond-inhoud.open {
  display: block;
}




/* =============================== */
/* 🎼 Watermerk via pseudo-element */
/* =============================== */

.playlist-container {
  position: relative;
  padding: 0,1em;
}

/* Watermerk-afbeelding */
.playlist-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px; /* of 100% als je het volledig mee wilt laten schalen */
    height: 600px;
  background-image: url('../Afbeeldingen/dansen_musical-background-vector.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

@media screen and (max-width: 768px) {
  .playlist-container::before {
    display: none;
  }
}

/* =============================== */
/* 🔠 LETTERBLOKKEN                */
/* =============================== */

.letterblok h2 {
  cursor: pointer;
  background-color: #eee;
  padding: 10px;
  border-radius: 6px;
  margin-top: 1em;
  transition: background-color 0.3s ease; /*???*/
}

.letterblok h2:hover {
  background-color: #ddd;
}

.dansblok {
  padding: 10px;
  background-color: #f9f9f9;
  border-left: 4px solid #ccc;
  border-radius: 6px;
}

/* =============================== */
/* 📱 Mobielvriendelijke layout   */
/* =============================== */

@media (max-width: 600px) {
  .letterblok {
    width: 100%;
    margin-bottom: 10px;
  }
  .letterblok summary {
    padding: 1em;
    font-size: 1.2em;
  }
}

/* =============================== */
/* ✨ TOOLTIP                      */
/* =============================== */

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltiptext {
  visibility: hidden;
  width: 250px;
  background-color: #6a4da6;
  color: #fff;
  text-align: center;
  font-style: italic;
  font-size: 0.9em; /*In css 0,2em*/
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

