:root { --step-size: 38px; --step-line: #e9ecef; --step-active: #0d6efd; }
body { background: linear-gradient(180deg, #f8fafc, #fff); }
.quiz-card { max-width: 720px; }

/* Stepper */
.stepper {
  position: relative; display: flex; justify-content: space-between; align-items: center;
  padding: 8px 4px 0; margin-bottom: .75rem;
}
.stepper::before {
  content:""; position:absolute; left: calc(var(--step-size)/2); right: calc(var(--step-size)/2);
  top: calc(var(--step-size)/2 - 2px); height:4px; background: var(--step-line); border-radius: 4px;
}
.step { position: relative; z-index: 1; text-align: center; width: 25%; }
.step .bubble {
  width:20px; height:20px; line-height:18px;
  border-radius: 50%; background: #fff; border:1px solid var(--step-line);
  color: #6c757d; margin: 0 auto; font-weight: 600; transition: all .2s ease; font-size: 16px;
}
.step .label { font-size: 16px; margin-top: .35rem; color: #6c757d; white-space: nowrap; }
.step.active .bubble,
.step.completed .bubble {
  border-color: var(--step-active); color: var(--step-active);
  box-shadow: 0 0 0 4px rgba(13,110,253,.08);
}
.step.completed .bubble { background: var(--step-active); color: #fff; }

/* Progress bar thin */
.progress.progress-thin { height: 6px; background: #eef2f7; }

/* Panes */
.pane { display: none; }
.pane.active { display: block; animation: fade .18s ease-in; }
@keyframes fade { from {opacity:.4; transform: translateY(4px);} to {opacity:1; transform:none;} }

/* Dropzone look */
.dropzone {
  border: 2px dashed #cbd5e1; border-radius: .75rem; padding: 18px; text-align: center;
  background: #f8fafc;
}
.preview-img {
  max-width: 100%; height: auto; display: none; border-radius: .5rem; margin-top: .75rem;
}

/* Summary */
.summary dt { color: #6c757d; font-weight: 500; }
.summary dd { margin-bottom: .5rem; }

.fs-6 {
    font-size: 16px !important;
}


/* === Inline Preloader === */
.preloader-inline{
  text-align:center;
  padding: 16px 0 24px;
}
.preloader-spinner{
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background:
    conic-gradient(from 0turn,
      var(--bs-primary) 0 10%,
      transparent 10% 55%,
      var(--bs-primary) 55% 60%,
      transparent 60% 100%);
  -webkit-mask: radial-gradient(circle 48px at 50% 50%, transparent 46px, #000 47px);
          mask: radial-gradient(circle 48px at 50% 50%, transparent 46px, #000 47px);
  animation: preloaderSpin 1s linear infinite;
  box-shadow: 0 0 24px rgba(13,110,253,.2);
  display:inline-block;
}
@keyframes preloaderSpin { to { transform: rotate(360deg); } }


.text-bg-primary {background-color: #0d6efd1f !important;}


/* Desktop QR screen */
.desktop-qr-screen {
  display: none;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  body > .text-bg-primary,
  body > .container.py-4.py-md-5,
  #cookieBar {
    display: none !important;
  }

  .desktop-qr-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    padding: 40px;
    text-align: center;
  }

  .desktop-qr-screen__card {
    max-width: 760px;
    width: 100%;
    background: #fff;
    border-radius: 18px;
    padding: 48px 40px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  }

  .desktop-qr-screen__logo {
    max-height: 76px;
    margin-bottom: 44px;
  }

  .desktop-qr-screen__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 36px;
  }

  .desktop-qr-screen__qr {
    width: 190px;
    height: 190px;
    margin-bottom: 40px;
  }

  .desktop-qr-screen__link-text {
    font-size: 21px;
    margin-bottom: 44px;
  }

  .desktop-qr-screen__link {
    color: #222;
    font-weight: 700;
    text-decoration: underline;
  }

  .desktop-qr-screen__support {
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
  }

  .desktop-qr-screen__thanks {
    font-size: 15px;
    color: #555;
    margin-bottom: 18px;
  }

  .desktop-qr-screen__heart {
    font-size: 28px;
    line-height: 1;
    color: #333;
  }
}