@charset "UTF-8";
.crm-quiz-main {
  position: relative;
  background: #ffffff;
  min-height: 100vh;
  overflow: hidden;
}

body[class*=page-crm-quiz] .header-redesigne,
body[class*=page-crm-quiz] .footer-redesigne,
body.single-crm_quiz_result .header-redesigne,
body.single-crm_quiz_result .footer-redesigne {
  display: none;
}

body.page-template-page-crm-quiz .otgs-development-site-front-end,
body.page-template-page-crm-quiz-php .otgs-development-site-front-end,
body.single-crm_quiz_result .otgs-development-site-front-end,
body[class*=page-crm-quiz] .otgs-development-site-front-end {
  display: none !important;
}

.crm-quiz-page {
  position: relative;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: #051322;
  background: #ffffff;
  overflow: hidden;
}

.crm-quiz-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 447px;
  background: #512d8d;
  z-index: 0;
}

.crm-quiz-page * {
  box-sizing: border-box;
}

.crm-quiz-shell {
  position: relative;
  z-index: 1;
  max-width: 888px;
  margin: 0 auto;
  padding: 52px 24px 96px;
}

.crm-quiz-page--results .crm-quiz-shell {
  max-width: 888px;
  padding-top: 52px;
  padding-bottom: 96px;
}

.crm-quiz-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 68px auto 48px;
  max-width: 768px;
  color: #ffffff;
}

.crm-quiz-header--results {
  margin-bottom: 32px;
}

.crm-quiz-badge,
.crm-quiz-saved-link {
  display: none;
}

.crm-quiz-header h1 {
  margin: 0 auto 16px;
  max-width: 690px;
  font-size: clamp(40px, 4vw, 54px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.crm-quiz-header p {
  margin: 0 auto;
  max-width: 690px;
  font-size: 18px;
  line-height: 1.56;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

.crm-quiz-progress {
  margin-bottom: 28px;
  animation: crmQuizFadeUp 0.55s 0.05s ease both;
}

.crm-quiz-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(5, 19, 34, 0.8);
}
.crm-quiz-progress-meta span:last-child {
  font-weight: 600;
}

.crm-quiz-progress-meta strong {
  font-weight: 600;
  color: #051322;
}

.crm-quiz-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: #eae9ed;
  overflow: hidden;
}

.crm-quiz-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: #0bbad5;
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.crm-quiz-card,
.crm-quiz-score-card,
.crm-quiz-recommendation,
.crm-quiz-summary,
.crm-quiz-lead-panel {
  background: #ffffff;
  border: 1px solid #edecf5;
  border-radius: 24px;
  box-shadow: 0 14px 25px rgba(28, 18, 39, 0.11);
}

.crm-quiz-card {
  width: min(768px, 100%);
  margin: 0 auto;
  padding: 48px;
}

.crm-quiz-card .crm-quiz-progress {
  margin-bottom: 30px;
}

.crm-quiz-question-number {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0bbad5;
}

.crm-quiz-question-text {
  margin-bottom: 26px;
  max-width: 660px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #051322;
}

.crm-quiz-multi-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(11, 186, 213, 0.08);
  border: 1px solid rgba(11, 186, 213, 0.18);
  font-size: 12px;
  font-weight: 600;
  color: #0bbad5;
}

.crm-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.crm-quiz-option {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 22px;
  min-height: 68px;
  border-radius: 14px;
  border: 2px solid #edecf5;
  background: #ffffff;
  color: #051322;
  cursor: pointer;
  user-select: none;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.crm-quiz-option:hover {
  transform: translateY(-1px);
  border-color: #d7d4e5;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.05);
}

.crm-quiz-option.is-selected {
  border-color: #0bbad5;
  background: rgba(11, 186, 213, 0.04);
}

.crm-quiz-option-dot,
.crm-quiz-option-check {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 0;
  border: 2px solid #d1d5dc;
  transition: inherit;
  position: relative;
}

.crm-quiz-option-dot {
  border-radius: 999px;
}

.crm-quiz-option-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: inherit;
  background: #0bbad5;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: inherit;
}

.crm-quiz-option-check {
  border-radius: 4px;
}

.crm-quiz-option-check::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.4);
  transition: inherit;
}

.crm-quiz-option.is-selected .crm-quiz-option-dot,
.crm-quiz-option.is-selected .crm-quiz-option-check {
  border-color: #0bbad5;
  background: #0bbad5;
}

.crm-quiz-option.is-selected .crm-quiz-option-dot::after,
.crm-quiz-option.is-selected .crm-quiz-option-check::after {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.crm-quiz-option-label {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  color: #051322;
}

.crm-quiz-actions,
.crm-quiz-results-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}

.crm-quiz-results-actions--center {
  justify-content: center;
  margin-top: 18px;
}
@media (max-width: 992px) {
  .crm-quiz-results-actions--center .crm-quiz-btn--primary {
    margin-right: auto;
  }
}

.crm-quiz-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.crm-quiz-btn:hover {
  transform: translateY(-1px);
}

.crm-quiz-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.crm-quiz-btn--primary {
  padding-right: 70px;
  background: #ee502a;
  margin-left: auto;
  color: #ffffff;
}

.crm-quiz-btn--primary::after {
  content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="17" height="14" viewBox="0 0 17 14" fill="none"><path d="M0.75 6.89796H15.7783M9.63038 13.0459L15.7783 6.89796L9.63038 0.75" stroke="%23051322" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  position: absolute;
  right: 8px;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #ffffff;
  color: #051322;
  font-size: 18px;
  line-height: 1;
}

.crm-quiz-btn--secondary {
  padding-right: 22px;
  padding-left: 61px;
  background: #ffffff;
  border-color: #eae9ed;
  color: #051322;
  box-shadow: none;
}
@media (max-width: 680px) {
  .crm-quiz-btn--secondary {
    padding-left: 22px;
  }
}

.crm-quiz-btn--secondary::before {
  content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="17" height="14" viewBox="0 0 17 14" fill="none"><path d="M15.7773 6.89794L0.749007 6.89794M6.89696 0.749985L0.749007 6.89794L6.89696 13.0459" stroke="%23051322" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  position: absolute;
  left: 8px;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  border-radius: 50%;
  color: #051322;
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 680px) {
  .crm-quiz-btn--secondary::before {
    display: none;
  }
}

.crm-quiz-btn--ghost {
  padding-right: 22px;
  padding-left: 22px;
  background: transparent;
  border-color: transparent;
  color: rgba(5, 19, 34, 0.64);
  box-shadow: none;
}

.crm-quiz-btn--secondary::after,
.crm-quiz-btn--ghost::after {
  display: none;
}

.crm-quiz-results {
  width: 840px;
  max-width: 100%;
  margin: 0 auto;
}

.crm-quiz-results--standalone {
  margin-top: 4px;
}

.crm-quiz-results-card {
  display: flex;
  flex-direction: column;
  gap: 42px;
  width: 100%;
  margin: 0 auto;
  padding: 48px;
  transform: none;
  border-radius: 24px;
}

.crm-quiz-results-card .crm-quiz-header--results {
  margin: 0;
  max-width: none;
  text-align: center;
  color: #051322;
}

.crm-quiz-results-card .crm-quiz-header--results h1 {
  margin: 0 auto;
  max-width: none;
  font-size: 38px;
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.05em;
}
@media (max-width: 680px) {
  .crm-quiz-results-card .crm-quiz-header--results h1 {
    font-size: 32px;
  }
}

.crm-quiz-results-card .crm-quiz-results-actions {
  margin-top: 0;
}

.crm-quiz-results .crm-quiz-results-actions > .crm-quiz-btn--primary:not(.crm-quiz-btn--result-cta),
.crm-quiz-results .crm-quiz-results-actions > .crm-quiz-btn--ghost,
.crm-quiz-results .crm-quiz-lead-panel {
  display: none;
}

.crm-quiz-score-wrap {
  display: flex;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 0;
  padding-top: 0;
}

.crm-quiz-score-item {
  position: relative;
  display: flex;
  flex: 1;
  padding-top: 33px;
}

.crm-quiz-score-card {
  width: 100%;
  padding: 24px;
  min-height: 158px;
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: visible;
  box-shadow: none;
}

.crm-quiz-score-card.is-winner {
  background: #512d8d;
  border-color: #512d8d;
  color: #ffffff;
  box-shadow: none;
}

.crm-quiz-score-card.is-winner.is-winner-d365 {
  background: #512d8d;
  border-color: #512d8d;
}

.crm-quiz-winner-badge {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  min-height: 64px;
  padding: 5px 18px;
  border-radius: 22px 22px 0 0;
  background: #af87f8;
  border: 2px solid #af87f8;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
}

.crm-quiz-score-card.is-winner .crm-quiz-score-label,
.crm-quiz-score-card.is-winner .crm-quiz-score-name,
.crm-quiz-score-card.is-winner .crm-quiz-score-number,
.crm-quiz-score-card.is-winner .crm-quiz-score-pts {
  color: #ffffff;
}

.crm-quiz-score-card:not(.is-winner) .crm-quiz-score-label,
.crm-quiz-score-card:not(.is-winner) .crm-quiz-score-name,
.crm-quiz-score-card:not(.is-winner) .crm-quiz-score-number,
.crm-quiz-score-card:not(.is-winner) .crm-quiz-score-pts {
  color: #000000;
  opacity: 0.6;
}

.crm-quiz-score-label {
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}

.crm-quiz-score-name {
  margin-bottom: 2px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.crm-quiz-score-number {
  font-size: 52px;
  font-weight: 650;
  line-height: 1;
}

.crm-quiz-score-pts {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  opacity: 0.6;
}

.crm-quiz-bar-track {
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: #eae9ed;
  overflow: hidden;
}

.crm-quiz-score-card.is-winner .crm-quiz-bar-track {
  background: #7748c5;
}

.crm-quiz-bar-fill {
  height: 100%;
  border-radius: inherit;
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.crm-quiz-bar-fill--winner {
  background: #0bbad5;
}

.crm-quiz-bar-fill--muted {
  background: #b0acbb;
}

.crm-quiz-recommendation {
  padding: 24px;
  margin-bottom: 0;
  box-shadow: none;
}

.crm-quiz-recommendation--smart {
  background: #ffffff;
}

.crm-quiz-recommendation--d365 {
  background: #ffffff;
}

.crm-quiz-recommendation--tie {
  background: #ffffff;
}

.crm-quiz-rec-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.crm-quiz-results-card .crm-quiz-rec-header {
  display: none;
}

.crm-quiz-rec-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 186, 213, 0.08);
  font-size: 20px;
  flex: 0 0 40px;
}

.crm-quiz-rec-title {
  font-size: 24px;
  line-height: 1.1;
  font-weight: 600;
  color: #051322;
}

.crm-quiz-rec-desc {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.25;
  color: rgba(0, 0, 0, 0.8);
}

.crm-quiz-rec-desc strong {
  font-weight: 600;
}

.crm-quiz-rec-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.crm-quiz-rec-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(5, 19, 34, 0.8);
}

.crm-quiz-rec-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: #0bbad5;
  position: relative;
  flex: 0 0 18px;
}

.crm-quiz-rec-dot::after {
  content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="6" viewBox="0 0 8 6" fill="none"><path d="M7.4532 0.386154C7.42175 0.31028 7.37565 0.24135 7.31753 0.183304C7.25949 0.125194 7.19056 0.0790944 7.11468 0.0476418C7.03881 0.0161891 6.95748 0 6.87535 0C6.79321 0 6.71188 0.0161891 6.63601 0.0476418C6.56014 0.0790944 6.49121 0.125194 6.43316 0.183304L2.50035 4.1169L1.06753 2.6833C0.95026 2.56603 0.7912 2.50014 0.625347 2.50014C0.459495 2.50014 0.300435 2.56603 0.183159 2.6833C0.0658839 2.80058 0 2.95964 0 3.12549C0 3.29134 0.0658839 3.4504 0.183159 3.56768L2.05816 5.44268C2.1162 5.50079 2.18514 5.54689 2.26101 5.57834C2.33688 5.60979 2.41821 5.62598 2.50035 5.62598C2.58248 5.62598 2.66381 5.60979 2.73969 5.57834C2.81556 5.54689 2.88449 5.50079 2.94253 5.44268L7.31753 1.06768C7.37565 1.00963 7.42175 0.940703 7.4532 0.86483C7.48465 0.788956 7.50084 0.707626 7.50084 0.625492C7.50084 0.543357 7.48465 0.462027 7.4532 0.386154Z" fill="white"/></svg>');
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 6px;
  transform: translate(-50%, -58%);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.crm-quiz-summary {
  padding: 24px;
  margin-bottom: 20px;
}

.crm-quiz-summary h3 {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(5, 19, 34, 0.55);
}

.crm-quiz-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #edecf5;
}

.crm-quiz-summary-row:last-child {
  border-bottom: 0;
}

.crm-quiz-summary-question {
  flex: 1;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(5, 19, 34, 0.66);
}

.crm-quiz-summary-chip {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #edecf5;
  background: #f8f8fb;
  color: rgba(5, 19, 34, 0.78);
  font-size: 11px;
  font-weight: 600;
}

.crm-quiz-summary-chip.is-smart {
  border-color: rgba(11, 186, 213, 0.2);
  background: rgba(11, 186, 213, 0.08);
  color: #0bbad5;
}

.crm-quiz-summary-chip.is-d365 {
  border-color: rgba(177, 172, 187, 0.38);
  background: rgba(177, 172, 187, 0.14);
  color: #6f6a7f;
}

.crm-quiz-lead-panel {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  margin-bottom: 18px;
}

.crm-quiz-lead-copy {
  max-width: 560px;
}

.crm-quiz-lead-title {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #051322;
}

.crm-quiz-lead-descr {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(5, 19, 34, 0.7);
}

.crm-quiz-lead-state {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #edecf5;
  background: #f8f8fb;
  font-size: 12px;
  color: rgba(5, 19, 34, 0.74);
}

.crm-quiz-error {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 71, 87, 0.08);
  border: 1px solid rgba(255, 71, 87, 0.16);
  color: #d34a57;
  font-size: 13px;
}

@media (max-width: 860px) {
  .crm-quiz-shell {
    padding-left: 16px;
    padding-right: 16px;
  }
  .crm-quiz-score-wrap {
    flex-direction: column;
  }
  .crm-quiz-rec-features {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .crm-quiz-shell {
    padding-top: 28px;
    padding-bottom: 72px;
  }
  .crm-quiz-header {
    margin-bottom: 24px;
  }
  .crm-quiz-header h1 {
    font-size: clamp(32px, 10vw, 42px);
  }
  .crm-quiz-header p {
    font-size: 16px;
  }
  .crm-quiz-card,
  .crm-quiz-recommendation,
  .crm-quiz-summary,
  .crm-quiz-lead-panel,
  .crm-quiz-score-card {
    border-radius: 20px;
  }
  .crm-quiz-card {
    padding: 24px;
    transform: translateY(-10px);
  }
  .crm-quiz-question-text {
    font-size: 24px;
  }
  .crm-quiz-option {
    padding: 18px;
    gap: 16px;
  }
  .crm-quiz-option-label {
    font-size: 13px;
  }
  .crm-quiz-actions,
  .crm-quiz-results-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .crm-quiz-btn {
    width: 100%;
    justify-content: center;
  }
  .crm-quiz-btn--primary {
    padding-right: 24px;
  }
  .crm-quiz-btn--primary::after {
    display: none;
  }
  .crm-quiz-rec-title {
    font-size: 20px;
  }
  .crm-quiz-rec-desc {
    font-size: 15px;
  }
  .crm-quiz-score-name {
    font-size: 18px;
  }
  .crm-quiz-score-number {
    font-size: 44px;
  }
}