/* Style global du conteneur de quiz */
:root {
  --bg: #0e3a5b;
  --panel: #ffffff;
  --soft: #f4f7fb;
  --accent: #2e7df6;
  --ok: #0db27f;
  --warn: #ffae00;
  --text: #0d1b2a;
  --muted: #546079;
  --border: #e6ecf5;
  --shadow: 0 12px 30px rgba(13, 27, 42, 0.12);
  --radius: 16px;
}
* {
  box-sizing: border-box;
}

/* Layout de base (desktop) */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
}
.card {
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.left,
.right {
  padding: 22px 22px 26px;
}
.left header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0b5;
  background: #eafff6;
  border: 1px solid #bff2de;
  padding: 4px 8px;
  border-radius: 999px;
 
}
.h1 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
}
.intro-text {
  text-align: center;
  margin-bottom: 15px;
}
.hipay-modal-subtitle {
  text-align: center;
}
.preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 6px;
}
.score {
  background: linear-gradient(180deg, #f9fbff, #f1f6ff);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.kpi {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
}
.kpi b {
  font-size: 2.2rem;
}
.kpi small {
  color: var(--muted);
}
.bar {
  height: 10px;
  background: #e9eef8;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}
.bar span {
  display: block;
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, #2e7df6, #6aa7ff);
}
.tips {
  border: 1px dashed #cfe0ff;
  background: #f7fbff;
  border-radius: 14px;
  padding: 14px;
}
.tips h4 {
  margin: 0 0 10px 0;
  font-size: 1rem;
}
.tip {
  display: flex;
  gap: 10px;
  margin: 8px 0;
  color: var(--muted);
}
.blur {
  position: relative;
}

.blur-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(3px);
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0b3351;
  text-align: center;
  padding: 0 10px;
}
/* Blur filter */
.score-value {
  filter: blur(7px);
   pointer-events: none !important;
  user-select: none !important;
}
.score-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  justify-content: center;
  border: 1px dashed #cfe0ff;
  background: #f0fbff;
  border-radius: 14px;
  padding: 14px;
}
.level-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.level-chip {
  padding: 10px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 22px;
  border: 1px solid #c8f2df;
  background: #e9fbf2;
  color: #083;
  filter: blur(7px);
   pointer-events: none !important;
  user-select: none !important;
}
#niveau-estime {
  filter: blur(7px);
  pointer-events: none !important;
  user-select: none !important;
}
.level-chip.a1 {
  background: #fff2e6;
  color: #a24d00;
  border-color: #ffd7b0;
}
.level-chip.a2 {
  background: #fff7d6;
  color: #8a6d00;
  border-color: #ffe9a3;
}
.level-chip.b1 {
  background: #eaf5ff;
  color: #0b5;
  border-color: #cfe6ff;
}
.level-chip.b2 {
  background: #e8f0ff;
  color: #1f4fbf;
  border-color: #cfe0ff;
}
.level-chip.c1 {
  background: #efe9ff;
  color: #5b2ab3;
  border-color: #dfd0ff;
}
.level-chip.c2 {
  background: #f7e9ef;
  color: #9b2455;
  border-color: #f3cfe0;
}
.bar {
  height: 10px;
  background: #e9eef8;
  border-radius: 999px;
  overflow: hidden;
  width: 100%;
}
.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2e7df6, #17c4a6);
  transition: width 0.35s ease;
}
.blur {
  position: relative;
}
.blur-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(3px);
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0b3351;
  text-align: center;
  padding: 0 10px;
  pointer-events: none;
}

.benefits {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.benefit {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}
.benefit b {
  display: block;
}
.icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: #eef4ff;
  color: #2e7df6;
  font-weight: 900;
}

.right header {
  margin-bottom: 8px;
}
.price {
  border: 2px solid #dbe7ff;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #f8fbff;
  margin: 2px 0 14px;
}
.price .today {
  color: var(--muted);
  font-size: 0.95rem;
}
.price .amount {
  font-size: 1.4rem;
  font-weight: 800;
}
.pay-providers {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7a99;
  font-size: 0.9rem;
}

.field {
  margin-bottom: 12px;
}
.label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--muted);
}
.input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 12px;
  font-size: 1rem;
  outline: none;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cta {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 800;
  font-size: 1rem;
  color: white;
  background: linear-gradient(90deg, #10b981, #17c4a6);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}
.cta:hover {
  filter: brightness(1.05);
}
.mini {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}
.badges {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.badge {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: #f1f6ff;
  border: 1px solid #dbe7ff;
  color: #2b4c7e;
  font-size: 0.88rem;
}
.oneclick {
  display: flex;
  gap: 10px;
  margin: 10px 0 14px;
  flex-wrap: wrap;
}
.oc-btn {
  flex: 1;
  min-width: 140px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  font-weight: 700;
}
.oc-btn span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.legal {
  font-size: 0.75rem;
  color: #6b7a99;
  border-top: 1px dashed #e3e8ef;
  padding-top: 12px;
  margin-top: 14px;
}
.trust {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.trust .t {
  display: flex;
  gap: 10px;
  background: #fbfdfc;
  border: 1px solid #e5f2ec;
  padding: 12px;
  border-radius: 12px;
  color: #0a3d2e;
}
.trust .t .ic {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  background: #e7fbf3;
  border-radius: 6px;
}

/* Loader */
.score.loading {
  position: relative;
}
.score.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7) url("https://i.imgur.com/llF5iyg.gif")
    center center no-repeat;
  background-size: 32px 32px;
  border-radius: inherit;
}

/* ---------- Breakpoints ---------- */

/* ≤ 1024px : réduit les gaps, titres un peu plus petits */
@media (max-width: 1024px) {
  .wrap {
    gap: 22px;
    padding: 0 12px;
  }
  .h1 {
    font-size: 1.3rem;
  }
  .kpi b {
    font-size: 2rem;
  }
}
@media (max-width: 980px) {
  
  #custom-loading .et_pb_row {
        display: flex !important;
    flex-direction: column;
  }
  .secure-payment .img-wrap img {
    height: 40px !important;
    width: 40px !important;
  }
}
/* ≤ 900px : passe la grille en 1 colonne, preview en 2 colonnes si place */
@media (max-width: 900px) {
  .wrap {
    grid-template-columns: 1fr;
  }
  .right {
    order: 2;
  }
  .left {
    order: 1;
  }
 
}

/* ≤ 768px : preview et benefits en 1 colonne, champs empilés */
@media (max-width: 768px) {
  .preview {
    grid-template-columns: 1fr;
  }
  .benefits {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .price {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .pay-providers {
    margin-top: 6px;
  }
  .kpi b {
    font-size: 1.8rem;
  }
  .left,
  .right {
    padding: 18px;
  }
}

/* ≤ 480px : compacter typographies/marges, boutons pleine largeur */
@media (max-width: 480px) {
  .h1 {
    font-size: 1.15rem;
  }
  .chip {
    font-size: 0.7rem;
  }
  .kpi {
    gap: 8px;
  }
  .kpi b {
    font-size: 1.6rem;
  }
  .tips {
    padding: 12px;
  }
  .benefit {
    padding: 10px;
  }
  .oc-btn {
    min-width: unset;
    flex: 1 1 100%;
  }
  .cta {
    padding: 13px 14px;
    font-size: 0.95rem;
  }
  .mini {
    font-size: 0.8rem;
  }
  .legal {
    font-size: 0.72rem;
  }
  .trust {
    grid-template-columns: 1fr;
  }
}

body,
html {
  background: linear-gradient(135deg, #3a7bd5, #3a6073);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden !important;
}
#custom-test {
  padding: 0px !important;
}
.hidden {
  display: none !important;
}

/* Éléments décoratifs de fond */
.qsm-quiz-container::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  top: 10%;
  left: -5%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 1)
  );
  border-radius: 50%;
  animation: float-slow 15s ease-in-out infinite;
  z-index: -1;
  user-select: none;
}
.qsm-progress-bar {
  display: none !important;
}
.qsm-quiz-container::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: 60%;
  right: -3%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 1)
  );
  border-radius: 50%;
  animation: float-medium 12s ease-in-out infinite reverse;
  z-index: -1;
  user-select: none;
}

/* Bulles supplémentaires */
.qsm-quiz-container .qsm-quiz-form::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  top: 30%;
  right: 10%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 1)
  );
  border-radius: 50%;
  animation: float-fast 8s ease-in-out infinite;
  z-index: -1;
  user-select: none;
}

/* Conteneur principal de la question */
.qsm-question-wrapper {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 40px !important;
  max-width: 700px;
  margin: 0 auto !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 10;
}

/* Header avec numéro et catégorie */
.top-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.question-number,
.question-number-custom {
  background: linear-gradient(135deg, #3a7bd5, #3a6073);
  color: white;
  padding: 8px 16px !important;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}


.question-categ {
  background: linear-gradient(135deg, #3a7bd5, #3a6073);
  color: white;
  padding: 8px 16px !important;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Style de la question */
.mlw_qmn_new_question {
  font-size: 20px;
  font-weight: 600 !important;
  color: #2d3748;
  line-height: 1.5;
  margin-bottom: 35px !important;
  text-align: center;
}
.fieldset {
  margin-top: 50px !important;
}

/* Conteneur des réponses en grid 2x2 */
.qmn_radio_answers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

/* Style des réponses */
.qmn_mc_answer_wrap {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.qmn_mc_answer_wrap:hover {
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

/* Style quand la réponse est sélectionnée */
.qmn_mc_answer_wrap.checked {
  border-color: #667eea;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1),
    rgba(118, 75, 162, 0.1)
  );
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2),
    0 8px 25px rgba(102, 126, 234, 0.25);
  animation: glow-pulse 2s ease-in-out infinite;
}

.qmn_mc_answer_wrap.checked::before {
  content: "✓";
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #3a7bd5, #3a6073);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

/* Masquer les inputs radio */
.qmn_quiz_radio {
  display: none;
}

/* Style des labels */
.qsm-input-label {
  display: block;
  width: 100%;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #2d3748;
  text-align: center;
}

/* Style de la pagination */
.qmn_pagination {
  background: transparent;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  max-width: 700px;
  margin: 0 auto !important;
  margin-top: 50px !important;
}

/* Boutons de navigation */
#custom-test .qmn_btn {
  background: white !important;
  color: #3a6073 !important;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.qmn_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
  text-decoration: none;
  color: white;
}

.qmn_btn:active {
  transform: translateY(0);
}

/* Barre de progression personnalisée */
.qsm-progress-bar {
  margin: 15px 0;
  position: relative;
}

.progressbar-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 600;
  color: #667eea;
  font-size: 14px;
  z-index: 2;
}

/* Messages de progression */
.qmn_page_message,
.qmn_page_counter_message {
  color: #4a5568;
  font-weight: 500;
  margin: 10px 0;
}

/* Animations pour les bulles flottantes */
@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
    opacity: 0.15;
  }
  25% {
    transform: translateY(-30px) translateX(20px) scale(1.1);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-10px) translateX(-15px) scale(0.9);
    opacity: 0.1;
  }
  75% {
    transform: translateY(-40px) translateX(10px) scale(1.05);
    opacity: 0.18;
  }
}

@keyframes float-medium {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
    opacity: 0.12;
  }
  33% {
    transform: translateY(-25px) translateX(-20px) rotate(120deg);
    opacity: 0.18;
  }
  66% {
    transform: translateY(-15px) translateX(25px) rotate(240deg);
    opacity: 0.08;
  }
}

@keyframes float-fast {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
    opacity: 0.1;
  }
  20% {
    transform: translateY(-20px) translateX(15px) scale(1.2);
    opacity: 0.15;
  }
  40% {
    transform: translateY(-35px) translateX(-10px) scale(0.8);
    opacity: 0.5;
  }
  60% {
    transform: translateY(-10px) translateX(20px) scale(1.1);
    opacity: 0.12;
  }
  80% {
    transform: translateY(-25px) translateX(-5px) scale(0.9);
    opacity: 0.08;
  }
}

/* Animation glowing pour sélection */
@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2),
      0 8px 25px rgba(102, 126, 234, 0.25);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(102, 126, 234, 0.3),
      0 12px 35px rgba(102, 126, 234, 0.35);
  }
}

/* Styles pour les hints audio */
.qsm-hint {
  display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .qsm-question-wrapper {
    padding: 20px !important;
  }

  .qmn_radio_answers {
    grid-template-columns: 1fr;
  }

  .mlw_qmn_new_question {
    font-size: 18px;
  }

  .top-banner {
    flex-direction: column;
    gap: 15px;
  }

  .qmn_pagination {
    padding: 15px;
    margin-top: 20px !important;
  }
}

/* Cacher les éléments non nécessaires */
.quiz_begin,
.quiz_end {
  display: none !important;
}

/* Style pour les sections cachées */
.qsm-auto-page-row[style*="display: none"] {
  display: none !important;
}
/* Questions groupées pour l'audio */
.audio-questions-group {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.quiz_section {
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.category-section-id-c9 .quiz_section::before {
  content: counter(question-counter);
  counter-increment: question-counter;
  position: absolute;
  top: -12px;
  left: 25px;
  background: linear-gradient(135deg, #3a7bd5, #3a6073);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.audio-questions-group {
  counter-reset: question-counter;
}

.quiz_section:not(.category-section-id-c9):hover {
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.15);
}

/* Style de la question */
.mlw_qmn_new_question {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  line-height: 1.5;
  margin-bottom: 25px;
  padding-left: 0px !important;
}

/* Conteneur des réponses en grid 2x2 */
.qmn_radio_answers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
#progress {
  background: red;
}
/* Style des réponses */
.qmn_mc_answer_wrap {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.qmn_mc_answer_wrap:hover {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

/* Style quand la réponse est sélectionnée */
.qmn_mc_answer_wrap.checked {
  border-color: #667eea;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1),
    rgba(118, 75, 162, 0.1)
  );
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2),
    0 4px 20px rgba(102, 126, 234, 0.25);
}

.qmn_mc_answer_wrap.checked::after {
  content: "✓";
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #3a7bd5, #3a6073);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

/* Masquer les inputs radio */
.qmn_quiz_radio {
  display: none;
}

/* Style des labels */
.qsm-input-label {
  display: block;
  width: 100%;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #2d3748;
  text-align: center;
}

/* NOUVEAU: Conteneur spécial pour les sections audio */
.qsm-auto-page-row.audio-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 28px;
  padding: 50px 40px;
  max-width: 850px;
  margin: 30px auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 10;
}

/* Header audio avec design spécial */
.top-banner-audio {
  background: linear-gradient(145deg, #f8fafc, #e2e8f0);
  border-radius: 20px 20px 0px 0;
  padding: 20px;
  margin: 0 auto !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  max-width: 1000px;
}

.question-number-custom,
.question-categ {
  color: white;
  font-weight: 700;
  margin: 0;
  position: relative;
  z-index: 2;
}

.question-categ {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-section-id-c9 .question-categ::before {
  content: "🎧";
  font-size: 18px;
}

.category-section-id-c9.qsm-question-wrapper {
  border-radius: 0px !important;
  box-shadow: unset;
  max-height: 300px;
  padding-bottom: 0px !important;
  max-width: 1000px !important;
}
/* Border separator bottom */
.category-section-id-c9::before {
  content: "";
  background: linear-gradient(145deg, #f8fafc, #e2e8f0);
  height: 4px;
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  z-index: 1;
}
/* Player audio custom */
.custom-audio-player {
  background: linear-gradient(145deg, #f8fafc, #e2e8f0);
  border-radius: 0 0 20px 20px;
  padding: 25px;
  max-width: 1000px;
  margin: 0 auto !important;
  margin-bottom: 40px !important;
  position: relative;
}

.icon-audio {
  text-align: center;
  margin-bottom: 20px;
}

.icon-audio img {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 4px 8px rgba(58, 123, 213, 0.3));
  animation: audio-bounce 2s ease-in-out infinite;
}

.player {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.controls button {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* .controls button:hover {
  background: #667eea;
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
}

.controls button:hover img {
  filter: brightness(0) invert(1);
} */

#playpause {
  width: 55px;
  height: 55px;
  background: white;
  border-color: #667eea;
}

.volume-controller {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}

#volume-slider,
#progress {
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  outline: none;
}

#progress {
  flex: 1;
}

#volume-slider {
  width: 80px;
}

#volume-slider::-webkit-slider-thumb,
#progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a7bd5, #3a6073);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.duration {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}
/* Responsive */
@media (max-width: 768px) {
  .qsm-auto-page-row.audio-section {
    margin: 20px;
    padding: 30px 25px;
  }

  .custom-audio-player {
    padding: 20px;
  }

  .controls {
    flex-wrap: wrap;
    gap: 10px;
  }

  .volume-controller {
    margin-left: 0;
    order: 3;
    flex-basis: 100%;
    justify-content: center;
  }

  .qmn_radio_answers {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mlw_qmn_new_question {
    font-size: 16px;
  }

  .top-banner-audio {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    overflow: visible;
    background: linear-gradient(359deg, #f8fafc, #eaf3ff) !important;
  }

  .audio-questions-group {
    gap: 25px;
  }
  .qmn_pagination {
    justify-content: space-between !important;
  }
  .category-section-id-c9.qsm-question-wrapper {
    max-height: 100% !important;
  }
  .mlw_qmn_new_question {
    padding: 0px !important;
  }
  .logo-site img {
    max-width: 150px !important;
  }
  html:has(#custom-test) #trp-floater-ls,
  html:has(#custom-test-sec) #trp-floater-ls,
  html:has(.mlw_qmn_quiz) #trp-floater-ls {
    display: none !important;
  }
  .qmn_mc_answer_wrap {
    padding: 10px !important;
  }
  .question-number, .question-number-custom {
    position: absolute !important;
    top: -25px !important;
    left: 20px !important;
    background: linear-gradient(135deg, #284061, #3a6073) !important;
  }
  .question-categ {
    position: absolute !important;
    top: -25px !important;
    right: 20px !important;
    background: linear-gradient(135deg, #284061, #3a6073) !important;
  }
  .english-test {
    margin-top: 60px !important;
  }
}
