/* =====================================================================
   MENACOM Quiz – Flat Clean Design
   Dark base · Montserrat · White text only
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

#menacom-quiz-root *,
#menacom-quiz-root *::before,
#menacom-quiz-root *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#menacom-quiz-root {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  display: flex;
}

/* ---------- Wrapper ---------- */
.mqz-wrap {
  width: min(750px, 100%);
}

/* ---------- Screen transition ---------- */
.mqz-screen {
    animation: fade-up 0.3s ease both;
    row-gap: 30px;
    display: flex;
    flex-direction: column;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Name screen ---------- */
.mqz-name-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 48px;
  line-height: 1.2;
}

.mqz-input-label {
  font-size: 16px;
  font-weight:400;
  text-transform: uppercase;
  display: block;
  color:#FFF;
}

.mqz-input {
    display: block;
    width: 100% !important;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.70) !important;
    padding: 12px 20px !important;
    color: #fff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s !important;
    border-radius:35px !important;
}

.mqz-input::placeholder { color: rgba(255,255,255,0.5); font-weight: 400; }
.mqz-input:focus { border-bottom-color: rgba(255,255,255,0.6); }

/* ---------- Buttons ---------- */
.mqz-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #111;
    border: none;
    padding: 12px 30px !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: pointer !important;
    transition: opacity 0.2s;
    border-radius: 55px;
    justify-content: center;
}

.mqz-btn:hover  { background: #CCC;opacity: 0.8; color: #fff;}
.mqz-btn:active { background: #CCC;opacity: 0.6; color: #fff;}

.mqz-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
  padding: 13px 25px !important;
  border-radius:50px;
}

.mqz-btn-ghost:hover { background: #333; color: rgba(255,255,255,0.6); }

/* ---------- Progress ---------- */
.mqz-progress-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

.mqz-progress-track {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.5);
}

.mqz-progress-fill {
  height: 1px;
  background: rgba(255,255,255,0.6);
  transition: width 0.4s ease;
}

.mqz-progress-num {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
}

/* ---------- Question ---------- */
.mqz-question-text {
  font-size: clamp(24px, 3vw, 21px);
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  margin-bottom: 40px;
}

/* ---------- Options ---------- */
.mqz-options {
  display: flex;
  flex-direction: column;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  margin-bottom: 48px;
}

.mqz-option {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 17px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  transition: opacity 0.15s;
}

.mqz-option:hover { opacity: 0.65; }
.mqz-option input[type="radio"] { display: none; }

.mqz-option-letter {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  width: 18px;
  flex-shrink: 0;
  transition: color 0.15s;
}

.mqz-option-text {
  font-size: 18px;
  font-weight: 500;
  text-transform: none !important;
  letter-spacing:0 !important;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
  transition: color 0.15s;
}

.mqz-option.selected .mqz-option-letter { color: #67bbdd; }
.mqz-option.selected .mqz-option-text   { color: #67bbdd; font-weight: 600; }
.mqz-option.selected                    { opacity: 1; }

/* ---------- Navigation ---------- */
.mqz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------- Error ---------- */
.mqz-error {
    font-size: 16px;
    font-weight: 400;
    display: none;
}

/* ---------- Result ---------- */
.mqz-result-eyebrow {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
}

.mqz-result-title {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  color: #67bbdd;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.mqz-result-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
  margin-bottom: 48px;
}

.mqz-divider-line {
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin-bottom: 24px;
}

.mqz-toxic-label {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
}

.mqz-toxic-text {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 48px;
}

/* Answers summary */
.mqz-answers-row {
  display: flex;
  gap: 28px;
  margin-bottom: 48px;
}

.mqz-chip { display: flex; flex-direction: column; gap: 5px; }

.mqz-chip-q {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.75);
}

.mqz-chip-a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}

/* ---------- Loading ---------- */
.mqz-loading {
  padding: 80px 0;
}

.mqz-loading-dots {
  display: flex;
  gap: 7px;
  margin-bottom: 24px;
}

.mqz-loading-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  animation: dot-blink 1.2s ease-in-out infinite;
}

.mqz-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.mqz-loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-blink {
  0%, 80%, 100% { opacity: 0.25; }
  40%           { opacity: 1; }
}

.mqz-loading p {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  #menacom-quiz-root { padding: 40px 24px; }
  .mqz-answers-row   { gap: 18px; flex-wrap: wrap; }
}
