.ww-image-background {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
}

.ww-media-video-container {
  aspect-ratio: 16/9;
}

.ww-hidden {
  display: none;
}

.ww-input {
  padding: 8px 14px;
  width: 100%;
  font-size: 20px;
  box-sizing: border-box;
  margin-bottom: 0;
  height: 48px;
  line-height: 48px;
  border-radius: 8px;
  border: 1px solid #CCC;
}

.ww-input[disabled] {
  background-color: #F1F1F1;
}

.ww-input::placeholder {
  line-height: 48px;
  height: 48px;
}

.ww-error-container {
  font-size: 14px;
  padding: 20px;
  text-align: center;
  color: #DA0000;
  background-color: #FEFDF2;
  border-radius: 4px;
}

.ww-slider-pagination {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1rem;
  z-index: 2;
  display: flex;
  gap: 1rem;
}

.ww-slider-pagination-button {
  border: none;
  border-radius: 50%;
  width: 1rem;
  height: 1rem;
  padding: 0;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  opacity: 0.8;
}

.ww-slider-pagination-button.active {
  background: #000;
}

.ww-form-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.ww-form-image {
  height: 280px;
  display: flex;
  justify-self: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.ww-form-start-button,
.ww-form-finish-button {
  font-size: 20px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 0;
  width: 100%;
  transition: filter 0.4s;
  cursor: pointer;
  background-color: #0085BD;
  color: #FFF;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.ww-form-start-button:hover,
.ww-form-finish-button:hover {
  filter: brightness(1.2);
}

.ww-form-question-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  margin-top: 10px;
  font-weight: 500;
  height: 5rem;
}

.ww-form-question-image {
  margin-top: 10px;
  margin-bottom: 10px;
  height: 200px;
  display: flex;
  justify-self: center;
  margin-left: auto;
  margin-right: auto;
}

.ww-form-answer-container {
  margin-bottom: 10px;
}
.ww-form-answer-container label {
  display: flex;
  margin-bottom: 10px;
  font-size: 18px;
}

.ww-form-back-button {
  padding: 5px 0;
  background-color: #FFF;
  border: 0;
  font-size: 14px;
  transition: filter 0.4s;
  cursor: pointer;
  color: #0085BD;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ww-form-next-button:hover {
  filter: brightness(1.2);
}

.ww-form-next-button {
  padding: 12px 14px;
  background-color: #0085BD;
  border-radius: 12px;
  border: 1px solid #CCC;
  font-size: 18px;
  transition: filter 0.4s;
  cursor: pointer;
  width: 100%;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ww-form-back-button:hover {
  filter: brightness(1.2);
}

.ww-form-summary-container {
  font-size: 18px;
}

.ww-form-error-container {
  height: 20px;
  line-height: 20px;
  font-size: 14px;
  text-align: center;
  color: #DA0000;
  margin-bottom: 10px;
}

.ww-form-step-container {
  width: 100%;
  height: 3px;
  background-color: #F1F1F1;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.ww-form-step-container .ww-form-step {
  height: 100%;
  display: inline-block;
  background-color: #0085BD;
  position: absolute;
  border-radius: 14px;
  transition: width 0.5s;
}

.ww-checkbox,
.ww-radio {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  margin-right: 8px;
  padding: 16px 8px;
}

.ww-checkbox input,
.ww-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.ww-checkbox .checkboxmark {
  display: inline-block;
  width: 28px;
  height: 28px;
  background-color: #eee;
  border-radius: 4px;
  /* Rounded corners for checkbox */
  margin-right: 8px;
  transition: background-color 0.2s;
  position: relative;
}

.ww-radio .radiomark {
  width: 28px;
  height: 28px;
  background-color: #eee;
  border-radius: 50%;
  /* Fully round for radio */
  margin-right: 8px;
  transition: background-color 0.2s;
  position: relative;
  display: inline-block;
}

.ww-checkbox input:checked ~ .checkboxmark {
  background-color: #0085BD;
}

.ww-checkbox .checkboxmark::after {
  content: " ";
  position: absolute;
  display: none;
}

.ww-checkbox input:checked ~ .checkboxmark::after {
  display: block;
}

.ww-checkbox .checkboxmark::after {
  left: 10px;
  top: 4px;
  width: 6px;
  height: 14px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.ww-radio input:checked ~ .radiomark {
  background-color: #0085BD;
}

.ww-radio .radiomark::after {
  content: "";
  position: absolute;
  display: none;
}

.ww-radio input:checked ~ .radiomark::after {
  display: block;
}

.ww-radio .radiomark::after {
  top: 7px;
  left: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
}

@-webkit-keyframes ww_rotate {
  0% {
    -webkit-transform: rotate(359deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
  }
}
.ww-loading {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  line-height: 1rem;
}

.ww-loading::after {
  content: " ";
  display: block;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid #1f6fe7;
  border-color: #36527e transparent #36527e transparent;
  animation: ww_rotate 0.8s linear infinite;
}