.wlc-quiz-wrapper {
  max-width: 860px;
  margin: 40px auto;
  padding: 0 10px;
}

.wlc-card {
  background: #f5f6f8;
  border-radius: 16px;
  padding: 48px;
  font-family: Arial, sans-serif;
  color: #172033;
}

.wlc-eyebrow {
  text-align: center;
  letter-spacing: 2px;
  color: #1685c8;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.wlc-title {
  text-align: center;
  font-family: Georgia, serif;
  font-size: 46px;
  line-height: 1.15;
  margin: 0 0 28px;
}

.wlc-progress-row {
  display: flex;
  justify-content: space-between;
  color: #6a7690;
  font-size: 14px;
  margin-bottom: 10px;
}

.wlc-progress-bar {
  height: 6px;
  background: #dbe4ea;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 42px;
}

.wlc-progress-bar span {
  display: block;
  height: 100%;
  background: #1685c8;
  border-radius: 999px;
}

.wlc-question {
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 28px;
}

.wlc-options,
.wlc-field-group {
  margin-bottom: 16px;
}

.wlc-option,
.wlc-field-group input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #d4dae1;
  background: #fff;
  min-height: 64px;
  padding: 16px 20px;
  text-align: left;
  font-size: 18px;
  box-sizing: border-box;
  margin-bottom: 10px !important;
  color: #000000 !important;
}

.wlc-option {
  cursor: pointer;
  transition: all 0.2s ease;

  /* added fix */
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.4;
  height: auto;
  display: block;
}

.wlc-option * {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.wlc-option:hover,
.wlc-option.active {
  border-color: #1685c8;
  background: #eef7fd;
}

.wlc-field-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
}

.wlc-subtitle {
  color: #667086;
  font-size: 18px;
  margin: -8px 0 28px;
}

.wlc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 34px;
}

.wlc-back,
.wlc-next {
  border: none;
  border-radius: 12px;
  min-width: 140px;
  min-height: 52px;
  padding: 12px 24px;
  font-size: 18px;
  cursor: pointer;
}

.wlc-back {
  background: transparent;
  color: #7a869b;
}

.wlc-next {
  background: #1685c8;
  color: #fff;
}

.wlc-back,.wlc-next:hover{
  background: #09609D !important;
}

.wlc-back.hidden {
  visibility: hidden;
}

.wlc-error,
.wlc-success {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
}

.wlc-error {
  background: #fdecec;
  color: #a32626;
}

.wlc-success {
  background: #ecfaf2;
  color: #136c3e;
}

.wlc-thankyou {
  text-align: center;
}

@media (max-width: 768px) {
  .wlc-card {
    padding: 28px 18px;
  }

  .wlc-title {
    font-size: 32px;
    line-height: 1.15;
  }

  .wlc-question {
    font-size: 22px;
    line-height: 1.3;
  }

  .wlc-option,
  .wlc-field-group input {
    min-height: auto;
    height: auto;
    padding: 14px 16px;
    font-size: 16px;
  }

  .wlc-footer {
    gap: 12px;
    flex-wrap: wrap;
  }

  .wlc-back,
  .wlc-next {
    min-width: 0;
    width: calc(50% - 6px);
  }
}