/* =============================================================
   Better Manager — Manager Assessment Quiz
   Pixel-perfect implementation of Final_Quiz_Design PDFs
   ============================================================= */
@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@400;500;600;700&display=swap");

/* ---- Design Tokens ---- */
:root {
  --teal: #3b9494;
  --teal-dk: #2b7575;
  --teal-lt: #4dafaf;
  --orange: #e07828;
  --orange-dk: #c56620;
  --cream: #f5f0dc;
  --dark-navy: #1a2e2e;
  --card-bg: #2c3a3a;
  --card-r: 22px;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-card: 0 24px 64px rgba(0, 0, 0, 0.18), 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Wrapper — no max-width cap on stage so side peeks show */
.maq-wrapper {
  font-family: var(--sans);
  color: var(--dark-navy);
  width: 100%;
  padding-bottom: 80px;
}
.maq-screen.maq-screen-results {
  margin-top: 20px;
}
/* ============================================================
   SCREENS
   ============================================================ */
.maq-screen {
  display: none;
}
.maq-screen.is-active{
    margin-top:50px;
}
.maq-form-msg.ok {
  margin-bottom: 10px;
}
.maq-screen.is-active {
  display: block;
  animation: maqFadeUp 0.4s ease both;
}
@keyframes maqFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   WELCOME — PDF #13: Full viewport, centered serif heading
   ============================================================ */
.maq-welcome {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px;
}
.maq-welcome h1 {
  font-family: Playfair Display;
  font-size: 60px;
  font-weight: 800;
  color: var(--dark-navy);
  line-height: 1.13;
  margin-bottom: 24px;
  max-width: 950px;
}
.maq-welcome p {
  font-size: 18px;
  color: #0f172a;
  font-family: Open Sans;
  font-weight: 400;
  line-height: 28px;
  max-width: 950px;
  margin-bottom: 24px;
}
.maq-start-btn {
  background: #379e9e;
  color: #fff !important;
  font-family: Open Sans;
  line-height: 24px;
  font-size: 24px;
  font-weight: 600;
  padding: 16px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.22s,
    box-shadow 0.22s;
}
.maq-start-btn:hover {
  background: #379e9e;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(59, 148, 148, 0.35);
}

/* ============================================================
   QUIZ SCREEN
   ============================================================ */
.maq-quiz-screen {
  padding-top: 24px;
}

/* Stage — full width so peeking side cards are visible */
.maq-quiz-stage {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 0 0px;
  overflow: hidden; /* clip so only partial peek shows */
}

/* ---- Peeking side cards — PDF shows teal left, orange right ---- */
.maq-peek-prev,
.maq-peek-next {
  position: absolute;
  top: 28px;
  width: 320px;
  height: 515px;
  border-radius: var(--card-r);
  pointer-events: none;
  z-index: 0;
  box-shadow: var(--shadow-sm);
  transition: opacity 0.3s;
}
.maq-peek-prev {
  left: -275px; /* mostly hidden, just edge visible */
  transform: rotate(-2deg);
  background: var(--cream); /* top cream section showing */
}
.maq-peek-prev .maq-peek-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  border-radius: 0 0 var(--card-r) var(--card-r);
  background: var(--teal);
}
.maq-peek-next {
  right: -283px; /* mostly hidden */
  transform: rotate(-2deg);
  background: var(--cream);
}
.maq-peek-next .maq-peek-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  border-radius: 0 0 var(--card-r) var(--card-r);
  background: var(--orange);
}

/* ---- Active question card — PDF: clockwise tilt ~2° ---- */
.maq-question {
  position: absolute;
  width: 100%;
  max-width: 480px;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transform: translateX(90px) rotate(0deg);
  transition:
    opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}
.maq-question.q-active {
  margin-top: 37px;
  margin-bottom: 10px;
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) rotate(-2deg); /* clockwise tilt — matches PDFs exactly */
}
.maq-question.q-exit-left {
  opacity: 0;
  transform: translateX(-90px) rotate(-2deg);
}
.maq-question.q-enter-right {
  opacity: 0;
  transform: translateX(90px) rotate(2deg);
}

/* Card shell */
.maq-card {
  border-radius: var(--card-r);
  overflow: hidden;
  box-shadow: 0px 3.46px 11.88px 0px #00000066;
}

/* Cream top — question text */
.maq-card-top {
  background: var(--cream);
  padding: 10px 20px !important;
  font-family: Playfair Display;
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
  color: #212222;
  min-height: 125px;
  display: flex;
  align-items: center;
}

/* Options body */
.maq-card-body {
  padding: 20px;
}
.maq-card--teal .maq-card-body {
  background: var(--teal);
}
.maq-card--orange .maq-card-body {
  background: linear-gradient(180deg, #e67834 0%, #de6e2a 18%, #d86422 100%);
}

/* Subtle bokeh circles on options bg — visible in PDFs */
.maq-card-body {
  position: relative;
  overflow: hidden;
}

/* Background layer */
.maq-card.maq-card--orange .maq-card-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(https://bettermanager.dev.diginnovators.site/wp-content/uploads/2026/03/quiz_orange_Icons.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 0;
}

.maq-card.maq-card--teal .maq-card-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(https://bettermanager.dev.diginnovators.site/wp-content/uploads/2026/03/quiz_bg_Icons.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 0;
}

/* Content layer */
.maq-card-body > * {
  position: relative;
  z-index: 1;
}
/* .maq-card-body::before {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  top: -40px; right: -40px;
  pointer-events: none;
} */
/* .maq-card-body::after {
  content: '';
  position: absolute;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  bottom: -30px; left: 20px;
  pointer-events: none;
} */

/* ---- Option rows ---- */
.maq-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
  margin-bottom: 8px;
  transition: background 0.17s;
  user-select: none;
  z-index: 1;
  box-shadow: -4px 4px 4px 0px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(9px);
}
.maq-opt:last-child {
  margin-bottom: 0;
}
.maq-opt:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Selected */
.maq-opt.q-selected {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4);
}
.maq-opt.q-selected .maq-opt-num {
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark-navy);
  border-color: transparent;
}

/* Number circle — white-ish bg, dark number — MATCHES PDF exactly */
.maq-opt-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ebebeb;
  border: 1.5px solid #ebebeb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 21px;
  flex-shrink: 0;
  color: #000;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}
.maq-opt-body {
  display: flex;
  flex-direction: column;
  gap: 4.74px;
  z-index: 1;
}
.maq-opt-label {
  opacity: 1;
  font-family: Open Sans;
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
  color: #f4f1d0;
}
.maq-opt-desc {
  font-family: Open Sans;
  font-size: 15px;
  opacity: 1;
  line-height: 20px;
  font-weight: 400;
  color: #f4f1d0;
}

/* Thin separator line between options — subtle, visible in PDFs */
/* .maq-opt:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50px; right: 12px;
  height: 1px;
  background: rgba(255,255,255,.12);
} */

/* ============================================================
   PROGRESS BAR — PDF: White rounded pill at BOTTOM
   "Question X of 13" centered, percentage right-aligned
   ============================================================ */
.maq-progress-pill {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  padding: 16px;
  width: -webkit-fill-available;
  max-width: 465px;
}
.maq-progress-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 10px;
}
.maq-progress-label {
  font-size: 12px;
  font-weight: 600;
  color: #000;
  text-align: center;
}
.maq-progress-label strong {
  color: var(--teal);
}
.maq-progress-pct {
  position: absolute;
  right: 0;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
}
.maq-progress-track {
  height: 8px;
  background: rgba(47, 110, 121, 0.2);
  border-radius: 4px;
  overflow: hidden;
}
.maq-progress-fill {
  height: 100%;
  background: #2f6e79;
  border-radius: 10px;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Nav buttons */
.maq-quiz-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.maq-nav-btn {
  height: fit-content;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.maq-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.maq-nav-back {
  background: rgba(255, 255, 255, 0.75);
  color: #3a5050;
  backdrop-filter: blur(6px);
}
.maq-nav-back:hover:not(:disabled) {
  background: #fff;
}
.maq-nav-next {
  background: var(--teal);
  color: #fff;
  margin-left: auto;
  box-shadow: 0 4px 14px rgba(59, 148, 148, 0.32);
}
.maq-nav-next:hover:not(:disabled) {
  background: var(--teal-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(59, 148, 148, 0.42);
}

/* ============================================================
   LOADING — Orbiting dots spinner
   ============================================================ */
.maq-loading-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 40px 20px;
}
.maq-loading-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  padding: 64px 80px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.maq-loading-box p {
  margin-top: 24px;
  font-size: 15px;
  font-weight: 500;
  color: #3a5050;
}
.maq-orbit {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto;
}
.maq-orbit-center {
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--teal);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.maq-orbit-arm {
  position: absolute;
  inset: 0;
  animation: maqSpin 1s linear infinite;
}
.maq-orbit-arm:nth-child(2) {
  animation-delay: -0.125s;
}
.maq-orbit-arm:nth-child(3) {
  animation-delay: -0.25s;
}
.maq-orbit-arm:nth-child(4) {
  animation-delay: -0.375s;
}
.maq-orbit-arm:nth-child(5) {
  animation-delay: -0.5s;
}
.maq-orbit-arm:nth-child(6) {
  animation-delay: -0.625s;
}
.maq-orbit-arm:nth-child(7) {
  animation-delay: -0.75s;
}
.maq-orbit-arm:nth-child(8) {
  animation-delay: -0.875s;
}
.maq-orbit-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--dark-navy);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
@keyframes maqSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   RESULTS CARD — PDF #12 pixel-perfect
   Dark #2C3A3A card, large ring, cream unscored + orange scored
   Buttons OUTSIDE/BELOW the dark card
   ============================================================ */
.maq-results-outer {
  max-width: 595px;
  margin: 0 auto;
}
.maq-results-card {
  background: #2c3a3a;
  border-radius: 22px;
  padding: 20px 34px 20px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
/* Bokeh circles — matching dark overlapping circles in PDF */
.maq-results-card::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.038);
  top: -55px;
  left: -45px;
  pointer-events: none;
}
.maq-results-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.028);
  bottom: -80px;
  right: -70px;
  pointer-events: none;
}
.maq-bokeh-mid {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  top: 35%;
  right: 5%;
  pointer-events: none;
}
.maq-bokeh-mid2 {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  top: 15%;
  left: 55%;
  pointer-events: none;
}

.maq-results-heading {
  font-family: Playfair Display;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 20px;
  line-height: 100%;
  margin-bottom: 20px;
  position: relative;
  color: #f4f1d0 !important;
  z-index: 1;
}

/* ---- Score ring — PDF: large, cream unscored arc, orange scored arc ---- */
.maq-ring-wrap {
  position: relative;
  display: inline-block;
  width: 175px;
  height: 175px;
  margin-bottom: 10px;
  z-index: 1;
}
/* CSS-based ring that uses a conic gradient; percentage set via JS */
.maq-ring-css {
  /* inherits .maq-ring-wrap sizing */
  /* default: no filled arc (0deg) but colored fill uses #F6B43A */
  background: conic-gradient(#f6b43a 0deg 0deg, #f0e8cc 0deg 360deg);
  border-radius: 50%;
  position: relative;
  transition: background 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}
/* inner hole to create a donut shape */
.maq-ring-css::after {
  content: "";
  position: absolute;
  inset: 10%; /* thickness of ring = 60% of container */
  background: #2c3a3a; /* match results card background */
  border-radius: 50%;
  z-index: 1;
}
/* deprecated SVG ring styles - replaced by .maq-ring-css conic gradient */
/*.maq-ring-svg {
  width: 210px;
  height: 210px;
  transform: rotate(-90deg);
}
.maq-ring-bg {
  fill: none;
  stroke: #1e2c2c;
  stroke-width: 2.6;
}
.maq-ring-cream {
  fill: none;
  stroke: #f0e8cc;
  stroke-width: 2.8;
  opacity: 0.55;
}
.maq-ring-prog {
  fill: none;
  stroke: #f5a623;
  stroke-width: 2.8;
  stroke-linecap: butt;
  stroke-dasharray: 0 100;
  transition: stroke-dasharray 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}*/
.maq-score-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  font-weight: 600;
  color: #f4f1d0;
  line-height: 1;
  z-index: 2;
}
.maq-rating-label {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: Open Sans;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 14px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #f4f1d0 !important;
}
/* ---- STEP category bars ---- */
.maq-cats {
  text-align: left;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 428px;
  margin: 0 auto;
}
.maq-cat-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 9px;
}
.maq-cat-row:last-child {
  margin-bottom: 0;
}
/* Letter badge — rounded square matching PDF badges */
.maq-cat-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #f4f1d0;
  flex-shrink: 0;
}
.maq-cat-right {
  flex: 1;
  min-width: 0;
}
.maq-cat-name {
  font-family: Open Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  color: #f4f1d0 !important;
  margin-bottom: 6px;
}
.maq-cat-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.maq-cat-bar {
  flex: 1;
  height: 7px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: visible;
  position: relative;
}
.maq-cat-bar-fill {
  height: 100%;
  border-radius: 5px;
  width: 0;
  transition: width 1.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
/* White tick/marker at end of fill bar — visible in PDF */
.maq-cat-bar-fill::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  width: 2px;
  height: 13px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 8px;
}
.maq-cat-pct {
  font-family: Open Sans;
  font-weight: 700;
  font-style: Bold;
  font-size: 14px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  min-width: 38px;
  text-align: right;
}

/* ---- Buttons below results card — PDF: same width, teal filled + teal outline ---- */
.maq-result-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.maq-btn-what,
.maq-btn-retake {
  flex: 1;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  letter-spacing: 0.01em;
}
button.maq-btn-retake {
  border: 2px solid #379e9e !important;
  border-radius: 8px;
  padding: 10px 24px;
  color: #379e9e !important;
}
/* "What Can I Do?" — solid teal, white text */
.maq-btn-what {
  background: var(--teal);
  color: #fff !important;
  border: 2px solid var(--teal);
  box-shadow: 0 4px 16px rgba(59, 148, 148, 0.32);
}
.maq-btn-what:hover {
  background: var(--teal-dk);
  border-color: var(--teal-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 148, 148, 0.42);
}
/* "Retake Assessment" — teal outline, matches PDF exactly */
.maq-btn-retake {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.maq-btn-retake:hover {
  color: #fff !important;
}
.maq-btn-retake:hover {
  background: var(--teal);
  color: #fff !important;
}

.maq-alone {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: start;
  padding: 8px 0 0;
}
@media (max-width: 640px) {
  .maq-alone {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
/* ---- Left: "You are not alone" stats ---- */
.maq-alone-left h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 4.8vw, 42px);
  font-weight: 700;
  color: #0f172a !important;
  margin-bottom: 15px;
  line-height: 1.12;
}
.maq-stats {
  list-style: none;
}
.maq-stat-item {
  padding: 0px 0 0px 20px;
  border-left: 3.5px solid var(--teal);
  margin-bottom: 22px;
}
.maq-stat-item:last-child {
  margin-bottom: 0;
}
.maq-stat-item p {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--dark-navy);
  line-height: 1.3;
  margin-bottom: 5px;
}
.maq-stat-item cite {
  color: #667085;
  font-style: normal;
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 24px;
  letter-spacing: 0%;
}

/* ---- Right: Yellow form card ---- */
.maq-alone-right {
  background: #fff3a6
    url("https://bettermanager.dev.diginnovators.site/wp-content/uploads/2026/03/quiz-email-Icons.png")
    no-repeat center top;
  background-size: cover;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
/* Rocket illustration area */
.maq-rocket-area {
  background: #fff3a6;
  padding: 24px 20px 8px;
  text-align: center;
  position: relative;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Two large white blurred circles behind rocket — visible in PDF */
.maq-rocket-area::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  top: -60px;
  left: -60px;
}
.maq-rocket-area::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  bottom: -50px;
  right: -30px;
}
.maq-rocket-inner {
  position: relative;
  z-index: 1;
}
.maq-rocket-inner svg {
  max-height: 170px;
  max-width: 100%;
}
/* Form area */
.maq-alone-form {
  padding: 16px 24px 4px 24px;
}
.maq-form-intro {
  font-family: Playfair Display;
  font-weight: 500;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 28px;
  letter-spacing: 0px;
  color: #0f172a !important;
  margin-bottom: 10px;
}
.maq-field {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid #aaaaaa !important;
  border-radius: 8px !important;
  font-size: 14px;
  font-family: var(--sans);
  background: #fff;
  color: var(--dark-navy);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  display: block;
  margin-bottom: 10px;
}
.maq-field:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(59, 148, 148, 0.12);
}
.maq-field::placeholder {
  color: #aababa;
}
.maq-dl-btn {
  width: 100%;
  background: var(--teal);
  color: #fff !important;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  padding: 8px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 10px;
  display: block;
  text-align: center;
}
.maq-dl-btn:hover:not(:disabled) {
  background: var(--teal-dk);
  transform: translateY(-1px);
}
.maq-dl-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  background: #a0a0a0;
}
.maq-strategy-btn {
  width: 100%;
  background: transparent;
  color: #2f8d8d !important;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  padding: 8px 24px;
  border: 2px solid #2f8d8d !important;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: block;
  text-align: center;
  text-decoration: none;
}
.maq-strategy-btn:hover {
  background: #2f8d8d;
  color: #fff !important;
}
.maq-form-msg {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  min-height: 18px;
}
.maq-form-msg.ok {
  color: #1a8a5a;
}
.maq-form-msg.err {
  color: #c0392b;
}

/* ============================================================
   TRANSITIONS: Results → Alone
   ============================================================ */
@keyframes maqSlideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(-105%) scale(0.92);
  }
}
@keyframes maqSlideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.is-exiting {
  animation: maqSlideOutLeft 0.38s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.is-entering {
  animation: maqSlideInRight 0.48s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

/* ============================================================
   CONTAINER HELPER — used inside shortcode output
   ============================================================ */
.maq-inner {
  display: flex;
  max-width: 750px;
  gap: 10px;
  align-items: center;
  margin: 0 auto;
  padding: 20px 16px;
}
.maq-inner-wide {
  max-width: 1224px;
  margin: 0 auto;
  padding: 0 0px;
}
.maq-alone-left,
.maq-alone-right {
  margin-top: 15px;
}

/* 	Media Query  */
@media screen and (min-width: 280px) and (max-width: 767px) {
  .maq-quiz-stage {
    margin-top: -20px;
  }
  .maq-inner {
    display: block;
    justify-items: center;
  }
  .maq-progress-pill {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .page-id-8064 .elementor-widget-shortcode {
    margin-top: -70px !important;
  }
}
/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .maq-alone-left h2 {
    font-weight: 600 !important;
  }
  .maq-peek-prev,
  .maq-peek-next {
    display: none !important;
  }
  .maq-quiz-stage {
    overflow: hidden;
  }
  .maq-peek-prev,
  .maq-peek-next {
    display: none;
  }
  .maq-question.q-active {
    transform: translateX(0) rotate(0deg);
  }
  .maq-card-top {
    padding: 22px 20px;
    font-size: 18px;
    min-height: auto;
  }
  .maq-ring-wrap,
  .maq-ring-css {
    width: 170px;
    height: 170px;
  }
  /* svg is no longer used */
  .maq-score-num {
    font-size: 54px;
  }
  .maq-results-card {
    padding: 28px 20px;
  }
  .maq-result-actions {
    flex-direction: column;
    padding: 0;
  }
  .maq-btn-what,
  .maq-btn-retake {
    flex: none;
    width: 100%;
  }
  .maq-loading-box {
    padding: 44px 32px;
  }
  .maq-inner-wide {
    padding: 0 14px;
  }
}

/* ============================================================
   BOOKING MODAL POPUP
   ============================================================ */
.maq-booking-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.maq-booking-modal.is-active {
  display: flex;
  opacity: 1;
}

.maq-booking-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.maq-booking-modal-content {
  position: relative;
  z-index: 10000;
  margin: auto;
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  animation: maqModalSlideIn 0.3s ease;
}

@keyframes maqModalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.maq-booking-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.maq-booking-modal-close:hover {
  color: #333;
}

.maq-booking-modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.maq-booking-modal-header h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-navy);
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.maq-booking-modal-header p {
  font-size: 16px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.maq-booking-modal-body {
  flex: 1;
  padding: 24px 32px;
  overflow-y: auto;
}

/* Ensure iframe is responsive */
.maq-booking-modal-body iframe {
  display: block;
  width: 100%;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .maq-booking-modal-content {
    width: 95%;
    max-height: 90vh;
  }

  .maq-booking-modal-header {
    padding: 16px 20px;
  }

  .maq-booking-modal-header h2 {
    font-size: 22px;
  }

  .maq-booking-modal-body {
    padding: 16px 20px;
  }

  .maq-booking-modal-body iframe {
    height: 600px !important;
  }
}
