.elq { width: 100%; position: relative; }
.elq__progress { margin-bottom: 12px; opacity: .88; font-size: 14px; }
.elq__question { margin-bottom: 12px; font-weight: 700; }
.elq__answers { display: block; }
.elq__answer-label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(0,0,0,.08);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 180ms ease;
}
.elq__answer { margin: 0; }
.elq__answer-text { flex: 1; }
.elq__answer-indicator { width: 28px; height: 28px; display:flex; align-items:center; justify-content:center; overflow: visible; background-repeat:no-repeat; background-position:center; background-size:contain; }
.elq__indicator-img { max-width: 100%; max-height: 100%; display:block; opacity:1; }

.elq__controls { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.elq__btn { cursor: pointer; border: 1px solid rgba(0,0,0,.12); background: transparent; }

.elq__hint { margin-top: 12px; padding: 10px 12px; border: 1px dashed rgba(0,0,0,.2); }
.elq__msg { margin-top: 10px; font-weight: 700; min-height: 1.2em; }

.elq__done { display: none; padding: 16px; border: 1px solid rgba(0,0,0,.12); border-radius: 10px; position: relative; }
.elq__done-media { margin-bottom: 12px; }
.elq__done-img { max-width: 100%; height: auto; display: inline-block; }
.elq__done-header { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.elq__done-text { font-size: 16px; }

.elq__loader, .elq__result-loader{
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.75);
  z-index: 50;
}
.elq__result-loader{ border-radius: 10px; }

.elq__spinner{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 4px solid rgba(0,0,0,.15);
  border-top-color: rgba(0,0,0,.55);
  animation: elqSpin 800ms linear infinite;
}
@keyframes elqSpin { to { transform: rotate(360deg); } }

@keyframes elqShake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
  100% { transform: translateX(0); }
}
.elq.elq--shake { animation: elqShake 450ms ease; }

/* Correct glow celebration (adjustable via CSS vars from Elementor) */
.elq{
  --elq-glow-color: rgba(46, 204, 113, 0.85);
  --elq-glow-blur: 18px;
  --elq-glow-spread: 2px;
  --elq-glow-duration: 700ms;
}
.elq__answer-label.elq__answer-label--glow{
  position: relative;
  animation: elqGlowPulse var(--elq-glow-duration) ease-in-out infinite alternate;
  box-shadow: 0 0 var(--elq-glow-blur) var(--elq-glow-spread) var(--elq-glow-color);
}
@keyframes elqGlowPulse{
  from { filter: brightness(1); transform: translateY(0); }
  to   { filter: brightness(1.06); transform: translateY(-1px); }
}

/* Default correct/wrong styling (works even if Elementor styles are not set) */
.elq{
  --elq-correct-bg: rgba(46, 204, 113, 0.18);
  --elq-correct-border: rgba(46, 204, 113, 0.55);
  --elq-correct-text: inherit;

  --elq-wrong-bg: rgba(231, 76, 60, 0.16);
  --elq-wrong-border: rgba(231, 76, 60, 0.55);
  --elq-wrong-text: inherit;
}

.elq__answer-label.elq__answer-label--correct{
  background-color: var(--elq-correct-bg); !important;
  border-color: var(--elq-correct-border); !important;
  color: var(--elq-correct-text); !important;
}
.elq__answer-label.elq__answer-label--wrong{
  background-color: var(--elq-wrong-bg); !important;
  border-color: var(--elq-wrong-border); !important;
  color: var(--elq-wrong-text); !important;
}

/* Force indicator visibility even if theme styles override */
.elq__answer-indicator{ display:flex !important; width:28px; height:28px; }

/* Force indicator/icon visibility */
.elq__answer-indicator{ visibility: visible !important; opacity: 1 !important; }
.elq__answer-indicator img{ visibility: visible !important; opacity: 1 !important; display:block !important; }

/* Intro screen */
.elq__intro{ padding: 14px; border: 1px solid rgba(0,0,0,.08); border-radius: 10px; }
.elq__intro-title{ font-weight: 700; margin-bottom: 8px; }
.elq__intro-content{ margin-bottom: 12px; }
.elq__intro-actions .elq__btn--start{ cursor:pointer; }


.elq__quizui{ width:100%; }
