/* =========================
   QARI LAYOUT — DEFINITIEF
   ========================= */

/* Zorg dat de card breed mag zijn */
.qari-page {
  align-items: stretch !important;
}

/* ✅ Eerste 2 rijen: exact 4 per rij */
.qari-grid {
  display: grid;
  grid-template-columns: repeat(4, 180px);
  gap: 28px;
  justify-content: center;
  margin-bottom: 28px;
}

/* ✅ Derde rij: altijd midden */
.qari-last-row {
  display: flex;
  justify-content: center;
  gap: 28px;
}

/* Kaart */
.qari-card {
  width: 180px;
  text-align: center;
  cursor: pointer;
}

/* Foto */
.qari-card img {
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 16px;
}

/* Naam */
.qari-card p {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.3;
}

/* Actief */
.qari-card.active img {
  outline: 0,5px solid #2563eb;   /* ✅ dunner */
  outline-offset: 0;            /* ✅ GEEN witte rand */
}


/* 📱 Mobile: dit ontwerp is DESKTOP-ONLY
   (want jouw eis is 4-4-1/2/3) */
@media (max-width: 900px) {
  .qari-grid {
    grid-template-columns: repeat(2, 180px);
  }
}







/* =========================
   AUDIO PLAYER – CARD DESIGN
   ========================= */

.audio-player-card {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

/* Titel boven */
.audio-player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.audio-player-header h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
}

/* Foto in midden */
.audio-qari-image img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  display: block;
  margin: 0 auto;
}

/* Naam */
.audio-qari-name {
  margin: 16px 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
}

/* Zwarte lijn */
.audio-divider {
  height: 4px;
  width: 80%;
  background: #000;
  margin: 16px auto 20px;
  border-radius: 4px;
}

/* Controls */
.audio-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.audio-controls button {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.play-btn svg {
  fill: white;
}


.play-btn svg {
  fill: #ffffff;
}












/* =========================
   AUDIO PLAYER – YOUTUBE STYLE
   ========================= */

.audio-player-card {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}

.audio-player-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}





.audio-qari-image img {
  width: 360px;              /* ✅ groter */
  height: 360px;             /* ✅ groter */
  object-fit: cover;

  border-radius: 28px;       /* iets ronder */
  box-shadow: 0 20px 60px rgba(0,0,0,0.30);

  margin: 0 auto;
  display: block;

  transform: translateY(-24px); /* ✅ beetje hoger, maar subtiel */
}



.audio-qari-name {
  margin: 18px 0 22px;
  font-size: 1.25rem;
  font-weight: 700;
}

/* Progress bar */
.audio-progress-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.audio-progress-wrapper span {
  font-size: 0.85rem;
  font-weight: 600;
 min-width: 64px;   /* ✅ genoeg voor hh:mm:ss */
}






.audio-progress-wrapper input[type="range"] {
  flex: 1;
  accent-color: #000;
}

/* Play button */
.audio-main-control {
  margin: 22px 0;
}




.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;

  background: #000;
  color: #fff;

  display: flex;              /* ✅ */
  align-items: center;        /* ✅ */
  justify-content: center;    /* ✅ */

  font-size: 28px;
  line-height: 1;             /* ✅ voorkomt springen */
  padding: 0;                 /* ✅ extra veiligheid */

  cursor: pointer;
}



/* Skip */
.audio-skip-controls {
  display: flex;
  justify-content: space-between;
}

.audio-skip-controls button {
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}











.audio-main-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 22px 0;
}

.skip-btn {
  background: none;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  background: #000;
  color: #fff;
}
``









/* =========================
   PROGRESS BAR – YOUTUBE LOOK
   ========================= */

.audio-progress-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.audio-progress-wrapper span {
  font-size: 0.85rem;
  font-weight: 600;
  width: 42px;
  text-align: center;
}

.audio-progress-wrapper input[type="range"] {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #e5e7eb;
  appearance: none;
}

.audio-progress-wrapper input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #000;
  cursor: pointer;
}
``













@media (max-width: 600px) {
  .audio-qari-image img {
    width: 180px !important;
    height: 180px !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25) !important;
    transform: none !important;
  }
}
