/* Quiz Influenceur Kar'Ma — Scoped Styles (Namespaced quizp-) */
.quiz-pro-wrapper *,
.quiz-pro-wrapper *::before,
.quiz-pro-wrapper *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.quiz-pro-wrapper {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #1a1a1a;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem 1rem 4rem;
}

.quiz-pro-wrapper #quiz-pro-wrap {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 24px #ccc;
  padding: 2.5rem 2rem;
  max-width: 660px;
  width: 100%;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

#quiz-pro-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.quiz-pro-wrapper .quizp-header {
  text-align: center;
  margin-bottom: 2rem;
}

.quiz-pro-wrapper .quizp-header .quizp-logo {
  display: inline-block;
  background: #056987;
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.quiz-pro-wrapper .quizp-header h2 {
  font-size: 26px;
  font-weight: 700;
  color: #E42576;
  margin-bottom: 8px;
  line-height: 1.25;
}

.quiz-pro-wrapper .quizp-header p {
  font-size: 15px;
  color: #666;
}

/* PROGRESS */
.quiz-pro-wrapper .quizp-progress-wrap {
  margin-bottom: 1.75rem;
}

.quiz-pro-wrapper .quizp-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #999;
  margin-bottom: 6px;
}

.quiz-pro-wrapper .quizp-progress-bar {
  background: #f0ece8;
  border-radius: 99px;
  height: 6px;
  overflow: hidden;
}

.quiz-pro-wrapper .quizp-progress-fill {
  height: 6px;
  background: #E42576;
  border-radius: 99px;
  transition: width 0.4s ease;
}

/* QUESTION */
.quiz-pro-wrapper .quizp-question-text {
  font-size: 19px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.quiz-pro-wrapper .quizp-options {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.quiz-pro-wrapper .quizp-opt-btn {
  background: #ffffff;
  border: 1.5px solid #e0dbd5;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  color: #1a1a1a;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.1s;
  font-family: inherit;
  line-height: 1.45;
  position: relative;
  overflow: hidden;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  user-select: none;
}

.quiz-pro-wrapper .quizp-star {
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.2s, transform 0.2s;
  font-size: 16px;
}

.quiz-pro-wrapper .quizp-opt-btn:hover {
  border-color: #E42576;
  background: #fdf0f4;
  color: #993556;
}

.quiz-pro-wrapper .quizp-opt-btn:hover .quizp-star,
.quiz-pro-wrapper .quizp-opt-btn.selected .quizp-star {
  opacity: 1;
  transform: translateX(0);
}

.quiz-pro-wrapper .quizp-opt-btn.selected {
  border-color: #E42576;
  background: #fdf0f4;
  color: #993556;
  font-weight: 600;
}

/* NAV */
.quiz-pro-wrapper .quizp-nav-row {
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: auto;
  padding-top: 1rem;
}

.quiz-pro-wrapper .quizp-btn-next {
  background: #E42576;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  opacity: 0.3;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.1s;
  user-select: none;
  display: inline-block !important;
}

.quiz-pro-wrapper .quizp-btn-next.active {
  opacity: 1;
  pointer-events: all;
  box-shadow: 0 4px 12px rgba(228, 37, 118, 0.25);
}

.quiz-pro-wrapper .quizp-btn-next:hover {
  opacity: 0.85;
}

.quiz-pro-wrapper .quizp-btn-next:active {
  transform: scale(0.97);
}

/* RESULT */
.quiz-pro-wrapper .quizp-result-icon {
  font-size: 48px;
  text-align: center;
  margin-bottom: 1rem;
}

.quiz-pro-wrapper .quizp-result-tag {
  display: block;
  text-align: center;
  margin-bottom: 0.75rem;
}

.quiz-pro-wrapper .quizp-result-tag span {
  display: inline-block;
  background: #fdf0f4;
  color: #993556;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quiz-pro-wrapper .quizp-result-title {
  font-size: 22px;
  font-weight: 700;
  color: #E42576;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.quiz-pro-wrapper .quizp-result-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 1.5rem;
}

.quiz-pro-wrapper .quizp-result-strat {
  background: #056987;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.quiz-pro-wrapper .quizp-result-strat h3 {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}

.quiz-pro-wrapper .quizp-result-strat ul {
  list-style: none;
  padding: 0;
}

.quiz-pro-wrapper .quizp-result-strat li {
  font-size: 14px;
  color: #ffffff;
  padding: 5px 0 5px 1.5em;
  position: relative;
  line-height: 1.5;
}

.quiz-pro-wrapper .quizp-result-strat li::before {
  content: "→";
  position: absolute;
  left: 0;
  font-weight: 600;
}

.quiz-pro-wrapper .quizp-result-budget {
  background: #f7f5f2;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.75rem;
}

.quiz-pro-wrapper .quizp-result-budget h3 {
  font-size: 12px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
}

.quiz-pro-wrapper .quizp-result-budget p {
  font-size: 15px;
  color: #1a1a1a;
  font-weight: 500;
}

.quiz-pro-wrapper .quizp-result-cta {
  text-align: center;
  padding-top: 0.5rem;
  border-top: 1px solid #f0ece8;
}

.quiz-pro-wrapper .quizp-result-cta p {
  font-size: 14px;
  color: #888;
  margin-bottom: 1rem;
}

.quiz-pro-wrapper .quizp-btn-cta {
  display: inline-block;
  background: #E42576;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  transition: opacity 0.2s;
}

.quiz-pro-wrapper .quizp-btn-cta:hover {
  opacity: 0.85;
  color: white;
}

.quiz-pro-wrapper .quizp-btn-restart {
  display: block !important;
  background: transparent;
  border: 1.5px solid #e0dbd5;
  border-radius: 10px;
  padding: 10px 24px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  color: #888;
  margin: 0 auto;
  transition: background 0.15s;
  user-select: none;
  text-align: center;
  width: fit-content;
}

.quiz-pro-wrapper .quizp-btn-restart:hover {
  background: #f7f5f2;
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .quiz-pro-wrapper #quiz-pro-wrap {
    padding: 1.75rem 1.25rem;
    min-height: auto;
  }

  .quiz-pro-wrapper .quizp-header h2 {
    font-size: 22px;
  }

  .quiz-pro-wrapper .quizp-question-text {
    font-size: 17px;
  }

  .quiz-pro-wrapper .quizp-opt-btn {
    font-size: 14px;
    padding: 12px 14px;
  }
}