/* themes */

:root {
  --theme-primary: #1964FF;
  --theme-primary-rgb: 25, 100, 255;
  --theme-bg-active: #F4F8FF;
  --theme-border-active: #D6E4FF;
  --theme-shadow-focus: 0 0 0 6px rgba(var(--theme-primary-rgb), 0.12), 0 0 0 1px var(--theme-primary);
  --theme-primary-text: #1964FF;
  --theme-button-text: #fff;
}

.theme-green {
  --theme-primary: #06D05C;
  --theme-primary-rgb: 6, 208, 92;
  --theme-bg-active: #EEFFF5;
  --theme-border-active: #C5F1D8;
  --theme-shadow-focus: 0 0 0 6px rgba(var(--theme-primary-rgb), 0.12), 0 0 0 1px var(--theme-primary);
  --theme-primary-text: #0B8C43;
}

.theme-pink {
  --theme-primary: #FF228C;
  --theme-primary-rgb: 255, 34, 140;
  --theme-bg-active: #FFF0F7;
  --theme-border-active: #F9D1E4;
  --theme-shadow-focus: 0 0 0 6px rgba(var(--theme-primary-rgb), 0.12), 0 0 0 1px var(--theme-primary);
  --theme-primary-text: #FF007B;
}

.theme-purple {
  --theme-primary: #7109ff;
  --theme-primary-rgb: 101, 98, 255;
  --theme-bg-active: #f8f3ff;
  --theme-border-active: #e6dbf6;
  --theme-shadow-focus: 0 0 0 6px rgba(var(--theme-primary-rgb), 0.12), 0 0 0 1px var(--theme-primary);
  --theme-primary-text: #7109ff;
}

.theme-black {
  --theme-primary: #000;
  --theme-primary-rgb: 0, 0, 0;
  --theme-bg-active: #F1F1F1;
  --theme-border-active: #DDD;
  --theme-shadow-focus: 0 0 0 6px rgba(var(--theme-primary-rgb), 0.12), 0 0 0 1px var(--theme-primary);
  --theme-primary-text: #000;
}

.theme-orange {
  --theme-primary: #FF7A06;
  --theme-primary-rgb: 255, 122, 6;
  --theme-bg-active: #FFF6EF;
  --theme-border-active: #F6DECA;
  --theme-shadow-focus: 0 0 0 6px rgba(var(--theme-primary-rgb), 0.12), 0 0 0 1px var(--theme-primary);
  --theme-primary-text: #793800;
}

.theme-grey {
  --theme-primary: #8285A5;
  --theme-primary-rgb: 130, 133, 165;
  --theme-bg-active: #F2F2FC;
  --theme-border-active: #DEDFEB;
  --theme-shadow-focus: 0 0 0 6px rgba(var(--theme-primary-rgb), 0.12), 0 0 0 1px var(--theme-primary);
  --theme-primary-text: #050C57;
}

.theme-yellow {
  --theme-primary: #FFE01B;
  --theme-primary-rgb: 255, 224, 27;
  --theme-bg-active: #FFFCEC;
  --theme-border-active: #EDEADD;
  --theme-shadow-focus: 0 0 0 6px rgba(var(--theme-primary-rgb), 0.20), 0 0 0 1px var(--theme-primary);
  --theme-primary-text: #5A4300;
  --theme-button-text: #000;
}

.theme-red {
  --theme-primary: #FA0015;
  --theme-primary-rgb: 250, 0, 21;
  --theme-bg-active: #FFF5F6;
  --theme-border-active: #F2DDDF;
  --theme-shadow-focus: 0 0 0 6px rgba(var(--theme-primary-rgb), 0.12), 0 0 0 1px var(--theme-primary);
  --theme-primary-text: #900;
}

.theme-light-blue {
  --theme-primary: #00D0FA;
  --theme-primary-rgb: 0, 208, 250;
  --theme-bg-active: #E8FBFF;
  --theme-border-active: #CEECF3;
  --theme-shadow-focus: 0 0 0 6px rgba(var(--theme-primary-rgb), 0.12), 0 0 0 1px var(--theme-primary);
  --theme-primary-text: #076B7F;
}





/* forms */

.survey-form-wrapper {
  float: left;
  width: 100%;
}

.survey-inner .survey-question-group-wrapper {
  float: left;
  width: 100%;
  margin-bottom: 100px;
}

.survey-inner .survey-question-group-wrapper:last-child {
  margin-bottom: 0px;
}

.survey-input-wrapper {
  float: left;
  width: 100%;
  margin-bottom: 10px;
  position: relative;
}

.survey-input-wrapper:last-child {
  margin-bottom: 0px;
}

.survey-input-wrapper.inline {
  float: left;
  width: auto;
  margin-bottom: 10px;
  margin-right: 35px;
}


/* --- Checkbox --- */
.survey-input-wrapper.checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.survey-input-wrapper.checkbox {
  margin-bottom: 15px;
}

.survey-input-wrapper.checkbox label {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 13px 16px 13px 48px;
  border-radius: 14px;
  border: 1px solid #EEE;
  background: #FBFBFB;
  font-size: 14.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
  color: #0A213E;
  transition: all 0.3s ease;
}

.survey-input-wrapper.checkbox .checkbox-mark {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 7px;
  border: 1px solid #E4E4E4;
  background: #FFF;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.survey-input-wrapper.checkbox .checkbox-mark::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='11' viewBox='0 0 11 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.16732 2.75L4.12565 7.79167L1.83398 5.5' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.survey-input-wrapper.checkbox input[type="checkbox"]:checked + label .checkbox-mark::after {
  transform: scale(1);
}

.survey-input-wrapper.checkbox input[type="checkbox"]:checked + label {
  border-color: var(--theme-border-active);
  background-color: var(--theme-bg-active);
  color: var(--theme-primary-text);
  font-weight: 500;
}

.survey-input-wrapper.checkbox input[type="checkbox"]:checked + label .checkbox-mark {
  background: var(--theme-primary);
  border-color: var(--theme-primary);
}




/* --- Radio --- */
.survey-input-wrapper.radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.survey-input-wrapper.radio {
  margin-bottom: 15px;
}

.survey-input-wrapper.radio label {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 13px 16px 13px 48px;
  border-radius: 14px;
  border: 1px solid #EEE;
  background: #FBFBFB;
  font-size: 14.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
  color: #0A213E;
  transition: all 0.3s ease;
}

.survey-input-wrapper.radio .radio-mark {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #E4E4E4;
  background: #FFF;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.survey-input-wrapper.radio .radio-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #FFF;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.survey-input-wrapper.radio input[type="radio"]:checked + label .radio-mark::after {
  transform: translate(-50%, -50%) scale(1);
}

.survey-input-wrapper.radio input[type="radio"]:checked + label {
  border-color: var(--theme-border-active);
  background-color: var(--theme-bg-active);
  color: var(--theme-primary-text);
  font-weight: 500;
}

.survey-input-wrapper.radio input[type="radio"]:checked + label .radio-mark {
  background: var(--theme-primary);
  border-color: var(--theme-primary);
}




/* --- Select menu --- */

/* fallback */
.survey-input-wrapper select {
  font-family: 'Inter', sans-serif;
  background: #FFFFFF;
  border: 1px solid #D2D2D2;
  box-shadow: 0px 3px 4px rgb(0 0 0 / 6%);
  border-radius: 14px;
  width: 100%;
  float: left;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  padding: 11px 15px 11px 15px;
  outline: none;
  -webkit-appearance: none;
  transition: border 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
  height: 43px;
  color: #19385D;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='13' height='9' viewBox='0 0 13 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_1_2883)'%3E%3Cpath d='M7.61923 7.74563C7.02279 8.41409 5.97721 8.41409 5.38077 7.74563L1.36826 3.24866C0.505676 2.28193 1.19188 0.75 2.48749 0.75L10.5125 0.75C11.8081 0.75 12.4943 2.28193 11.6317 3.24866L7.61923 7.74563Z' fill='%23565D64'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_1_2883'%3E%3Crect width='13' height='9' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px top 16.5px;
  color: #BEBEBE;
}




/* nice select plugin */
.survey-input-wrapper .nice-select {
  cursor: pointer;
  display: block;
  font-family: 'Inter', sans-serif;
  background-color: #FFF;
  border: 1px solid #D2D2D2;
  border-radius: 14px;
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  clear: both;
  color: #19385D;
  float: left;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  height: 43px;
  line-height: 19px;
  outline: none;
  padding: 11px 15px;
  position: relative;
  text-align: left !important;
  transition: border 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
  white-space: normal;
  width: 100%;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.survey-input-wrapper .nice-select:hover {
  border-color: #dbdbdb;
}

/* Default State */
.survey-input-wrapper .nice-select:after {
  content: '';
  display: block;
  position: absolute;
  right: 16px;
  top: 50%;
  width: 13px;
  height: 9px;
  margin-top: -4px;
  pointer-events: none;
  background-color: #565D64;
  -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='13' height='9' viewBox='0 0 13 9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.61923 7.74563C7.02279 8.41409 5.97721 8.41409 5.38077 7.74563L1.36826 3.24866C0.505676 2.28193 1.19188 0.75 2.48749 0.75L10.5125 0.75C11.8081 0.75 12.4943 2.28193 11.6317 3.24866L7.61923 7.74563Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='13' height='9' viewBox='0 0 13 9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.61923 7.74563C7.02279 8.41409 5.97721 8.41409 5.38077 7.74563L1.36826 3.24866C0.505676 2.28193 1.19188 0.75 2.48749 0.75L10.5125 0.75C11.8081 0.75 12.4943 2.28193 11.6317 3.24866L7.61923 7.74563Z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: background-color 0.3s ease;
}

/* Active State */
.survey-input-wrapper .nice-select.open:after,
.survey-input-wrapper .nice-select.focus:after {
  /* Now you can easily inject your CSS variable! */
  background-color: var(--theme-primary);
}

.survey-input-wrapper .nice-select span {
  float: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 94%;
}

.survey-input-wrapper .nice-select .list {
  background-color: #FFF;
  border-radius: 12px;
  border: solid 1px #e4e4e4;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  left: -1px;
  margin-top: 0;
  max-height: 270px;
  opacity: 0;
  overflow-y: auto;
  padding: 0;
  pointer-events: none;
  position: absolute;
  top: 50px;
  transform-origin: top;
  transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  width: calc(100% + 2px);
  z-index: 4000;
  max-height: 175px;
}

.survey-input-wrapper .nice-select.open .list {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.survey-input-wrapper .nice-select .option {
  border-bottom: solid 1px #f1f1f1;
  color: #19385D;
  cursor: pointer;
  font-size: 15.5px;
  font-style: normal;
  font-weight: 500;
  line-height: inherit;
  list-style: none;
  min-height: 40px;
  outline: none;
  padding: 14px 18px;
  position: relative;
  text-align: left;
  transition: all 0.2s;
}

.survey-input-wrapper .nice-select .option:last-child {
  border-color: transparent;
}

.survey-input-wrapper .nice-select .list:hover .option:not(:hover) {
  background-color: transparent !important;
}

.survey-input-wrapper .nice-select.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.survey-input-wrapper .nice-select .option.disabled {
  background-color: transparent;
  color: #999;
  cursor: default;
}

.survey-input-wrapper .nice-select .option.disabled:hover {
  background-color: transparent;
  color: #999;
  cursor: default;
}

.survey-input-wrapper .nice-select .option.selected {
  color: #19385D;
  font-weight: 500;
}

.survey-input-wrapper .nice-select span.current.placeholder {
  color: #BEBEBE;
}

.survey-input-wrapper .nice-select .option.disabled {
  display: none;
}

.no-csspointerevents .survey-input-wrapper .nice-select .list {
  display: none;
}

.no-csspointerevents .survey-input-wrapper .nice-select.open .list {
  display: block;
}


/* Open & Focus States */
.survey-input-wrapper .nice-select.open {
  background-color: #FFF;
  border: 1px solid var(--theme-primary);
  box-shadow: var(--theme-shadow-focus);
  color: var(--theme-primary-text);
}

/* Option Hover & Focus States */
.survey-input-wrapper .nice-select .option:hover,
.survey-input-wrapper .nice-select .option.focus,
.survey-input-wrapper .nice-select .option.selected.focus,
.survey-input-wrapper .nice-select .option.selected:hover {
  background-color: #f6f6f6;
  color: var(--theme-primary-text);
}


/* --- Mood scale --- */
.survey-option-mood-scale {
  display: block;
  width: calc(100% - -60px);
  margin-left: -30px;
  padding: 7px 30px 10px 30px;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 0;
  -webkit-overflow-scrolling: touch;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0px, black 30px, black calc(100% - 30px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0px, black 30px, black calc(100% - 30px), transparent 100%);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.survey-input-wrapper.mood-scale {
  display: inline-block;
  vertical-align: top;
  width: max-content;
  max-width: 170px;
  min-width: 120px;
  position: relative;
  margin-right: 14px;
  white-space: normal;
  font-size: 13.5px;
  float: none;
  margin-bottom: 0px;
}

.survey-input-wrapper.mood-scale:last-child {
  margin-right: 0;
}

.survey-input-wrapper.mood-scale input[type="radio"] {
  opacity: 0;
  position: absolute;
  top: 0px;
  left: 0px;
}

.survey-input-wrapper.mood-scale label {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  border: 1px solid #ECECF4;
  background: #FFF;
  box-shadow: 0 7px 12px 0 rgba(0, 0, 0, 0.03);
  padding: 20px 12px 15px 12px;
  cursor: pointer;
  box-sizing: border-box;
}

.survey-input-wrapper.mood-scale p.emoji-wrapper {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 34px;
}

.survey-input-wrapper.mood-scale p.emoji-text {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 0px 0px 0px;
  color: #1A1919;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 535;
  font-variation-settings: 'wght' 535;
  line-height: normal;
  min-height: 26px;
}

.survey-input-wrapper.mood-scale .emoji-select-button-wrapper {
  clear: both;
  width: 100%;
  padding: 15px 0px 0px 0px;
  text-align: center;
}

.survey-input-wrapper.mood-scale .emoji-select-button {
  display: block;
  width: 100%;
  padding: 7px;
  border-radius: 10px;
  border: 1px solid #E9E9E9;
  background: #F3F3F3;
  color: #6D6D6D;
  font-size: 12px;
  font-style: normal;
  font-weight: 535;
  font-variation-settings: 'wght' 535;
  line-height: 18px;
  box-sizing: border-box;
}

.survey-input-wrapper.mood-scale input[type="radio"]:checked + label .emoji-select-button {
  border: 1px solid var(--theme-border-active);
  background: var(--theme-bg-active);
  color: var(--theme-primary-text);
}

.survey-input-wrapper.mood-scale input[type="radio"] + label .emoji-select-button .select-copy {
  display: block;
  animation: fadeInUpMedium;
  animation-duration: 0.4s;
}

.survey-input-wrapper.mood-scale input[type="radio"]:checked + label .emoji-select-button .select-copy {
  display: none;
}

.survey-input-wrapper.mood-scale input[type="radio"] + label .emoji-select-button .selected-copy {
  display: none;
}

.survey-input-wrapper.mood-scale input[type="radio"]:checked + label .emoji-select-button .selected-copy {
  display: block;
}

.survey-input-wrapper.mood-scale input[type="radio"] + label .emoji-select-button::after {
  position: absolute;
  content: "";
  top: -7px;
  right: -7px;
  height: 22px;
  width: 22px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='11' viewBox='0 0 11 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.16732 2.75L4.12565 7.79167L1.83398 5.5' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-color: var(--theme-primary);
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.survey-input-wrapper.mood-scale input[type="radio"]:checked + label .emoji-select-button::after {
  opacity: 1;
}




/* --- Textarea --- */
.survey-input-wrapper textarea {
  margin: 0;
  box-sizing: border-box;
  min-height: 110px;
  font-family: 'Inter', sans-serif;
  background: #FFFFFF;
  border: 1px solid #D2D2D2;
  box-shadow: 0px 3px 4px rgb(0 0 0 / 6%);
  border-radius: 14px;
  width: 100%;
  float: left;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  padding: 11px 15px 11px 15px;
  -webkit-appearance: none;
  transition: border 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  min-height: 110px !important;
  color: #fff;
  outline: none;
  resize: none;
}

.survey-input-wrapper textarea:focus {
  border: 1px solid var(--theme-primary);
  box-shadow: var(--theme-shadow-focus);
  color: #19385D;
  background-color: #FFF;
}

.survey-input-wrapper textarea::-webkit-input-placeholder {
  color: #BEBEBE;
}

.rx-container.rx-in-focus {
  border: 1px solid var(--theme-primary);
  box-shadow: var(--theme-shadow-focus);
  background-color: #FFF;
}

.rx-container.rx-in-focus .rx-editor a {
  outline: 0;
  text-decoration: underline;
  color: var(--theme-primary-text);
}

.rx-container.rx-in-focus .rx-editor {
  color: var(--theme-primary-text);
}




/* --- Text input --- */
.survey-input-wrapper input[type="text"], .survey-input-wrapper input[type="email"], .survey-input-wrapper input[type="date"] {
  font-family: 'Inter', sans-serif;
  background: #FFFFFF;
  border: 1px solid #D2D2D2;
  box-shadow: 0px 3px 4px rgb(0 0 0 / 6%);
  border-radius: 14px;
  width: 100%;
  float: left;
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  padding: 11px 15px 11px 15px;
  outline: none;
  -webkit-appearance: none;
  transition: border 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  height: 43px;
  color: #19385D;
}

.survey-input-wrapper input[type="text"]:focus, .survey-input-wrapper input[type="email"]:focus, .survey-input-wrapper input[type="date"]:focus {
  border: 1px solid var(--theme-primary);
  box-shadow: var(--theme-shadow-focus);
  color: var(--theme-primary-text);
  background-color: #FFF;
}

.survey-input-wrapper input[type="date"] {
  -webkit-appearance: auto;
  appearance: auto;
}

.survey-input-wrapper.survey-date-field input.survey-date-input {
  cursor: pointer;
  background: #FFFFFF;
  padding-right: 44px;
}

.survey-input-wrapper.survey-date-field:after {
  content: '';
  display: block;
  position: absolute;
  right: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  pointer-events: none;
  background-color: #565D64;
  -webkit-mask-image: url('../img/icon-calendar.svg');
  mask-image: url('../img/icon-calendar.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: background-color 0.3s ease;
  z-index: 1;
}

.survey-input-wrapper.survey-date-field.date-picker-open:after {
  background-color: var(--theme-primary);
}

/* Lightpick day hover uses the scheme text colour on the pale background */
.lightpick .lightpick__day:not(.is-disabled):not(.is-start-date):not(.is-end-date):hover {
  background-color: var(--theme-bg-active);
  color: var(--theme-primary-text);
}

/* Lightpick selected day and today indicator follow the survey colour */
.lightpick .lightpick__day.is-today {
  color: var(--theme-primary);
}

.lightpick .lightpick__day.is-today:after {
  background-color: var(--theme-primary);
}

.lightpick .lightpick__day.is-start-date,
.lightpick .lightpick__day.is-end-date,
.lightpick .lightpick__day.is-start-date:hover,
.lightpick .lightpick__day.is-end-date:hover,
.lightpick .lightpick__day.is-start-date.is-end-date {
  background-color: var(--theme-primary);
  background-image: none;
  color: var(--theme-button-text);
}

.survey-input-wrapper input[type="text"]::-webkit-input-placeholder, .survey-input-wrapper input[type="email"]::-webkit-input-placeholder {
  color: #BEBEBE;
}




/* --- Checkbox image --- */
.survey-input-wrapper.checkbox.image input[type="checkbox"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.survey-input-wrapper.checkbox.image {
  margin-bottom: 25px;
}

.survey-input-wrapper.checkbox.image label {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #EEE;
  background: #FBFBFB;
  transition: all 0.3s ease;
}

.survey-input-wrapper.checkbox.image .image-wrapper {
  display: block;
  width: 100%;
  margin: 0 0 16px 0;
  border-radius: 8px;
  overflow: hidden;
}

.survey-input-wrapper.checkbox.image .image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.survey-input-wrapper.checkbox.image .label-copy {
  position: relative;
  display: block;
  margin: 0;
  padding-left: 32px;
  font-size: 14.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
  color: #0A213E;
  transition: color 0.3s ease;
}

.survey-input-wrapper.checkbox.image .checkbox-mark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 7px;
  border: 1px solid #E4E4E4;
  background: #FFF;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.survey-input-wrapper.checkbox.image .checkbox-mark::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='11' viewBox='0 0 11 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.16732 2.75L4.12565 7.79167L1.83398 5.5' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.survey-input-wrapper.checkbox.image input[type="checkbox"]:checked + label .checkbox-mark::after {
  transform: scale(1);
}

.survey-input-wrapper.checkbox.image input[type="checkbox"]:checked + label {
  border-color: var(--theme-border-active);
  background-color: var(--theme-bg-active);
}

.survey-input-wrapper.checkbox.image input[type="checkbox"]:checked + label .label-copy {
  color: var(--theme-primary-text);
  font-weight: 500;
}

.survey-input-wrapper.checkbox.image input[type="checkbox"]:checked + label .checkbox-mark {
  background: var(--theme-primary);
  border-color: var(--theme-primary);
}





/* --- Radio image --- */
.survey-input-wrapper.radio.image p.image-wrapper img {
  border-radius: 12px;
}

.survey-input-wrapper.radio.image {
  margin-bottom: 25px;
}

.survey-input-wrapper.radio.image input[type="radio"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.survey-input-wrapper.radio.image label {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #EEE;
  background: #FBFBFB;
  transition: all 0.3s ease;
}

.survey-input-wrapper.radio.image .image-wrapper {
  display: block;
  width: 100%;
  margin: 0 0 16px 0;
  border-radius: 8px;
  overflow: hidden;
}

.survey-input-wrapper.radio.image .image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.survey-input-wrapper.radio.image .label-copy {
  position: relative;
  display: block;
  margin: 0;
  padding-left: 32px;
  font-size: 14.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
  color: #0A213E;
  transition: color 0.3s ease;
}

.survey-input-wrapper.radio.image .radio-mark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #E4E4E4;
  background: #FFF;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.survey-input-wrapper.radio.image .radio-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #FFF;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.survey-input-wrapper.radio.image input[type="radio"]:checked + label .radio-mark::after {
  transform: translate(-50%, -50%) scale(1);
}

.survey-input-wrapper.radio.image input[type="radio"]:checked + label {
  border-color: var(--theme-border-active);
  background-color: var(--theme-bg-active);
}

.survey-input-wrapper.radio.image input[type="radio"]:checked + label .label-copy {
  color: var(--theme-primary-text);
  font-weight: 500;
}

.survey-input-wrapper.radio.image input[type="radio"]:checked + label .radio-mark {
  background: var(--theme-primary);
  border-color: var(--theme-primary);
}






/* Buttons */
a.button, button.button {
  background: var(--theme-primary);
  border-radius: 14px;
  color: var(--theme-button-text);
  font-style: normal;
  font-weight: 535;
  font-variation-settings: 'wght' 535;
  font-size: 15px;
  line-height: 18px;
  text-align: center;
  padding: 14px 18px;
  float: left;
  text-align: center;
  outline: none;
  cursor: pointer;
  transition: opacity 0.5s ease;
  border: solid 1px var(--theme-primary);
}

.button.sml {
  font-size: 14px;
  line-height: 17px;
  padding: 13px 18px;
  border-radius: 12px;
}

.button.md {
  font-size: 15.5px;
  line-height: 18px;
  padding: 15px 22px;
}

.button.lrg {
  font-size: 16.5px;
  line-height: 20px;
  padding: 15px 21px;
  border-radius: 18px;
}


.button:hover {
  opacity: 0.7;
  color: #FFF;
}

.button.white {
  background: #FFFFFF;
  border: 1px solid #ECECF4;
  box-shadow: 0px 7px 12px rgba(0, 0, 0, 0.03);
  color: #4B617A;
}

.button.grey {
  background: #F0F0F0;
  border: 1px solid #F0F0F0;
  box-shadow: 0px 2px 4px #F3F3F3;
  color: #4F586D;
}

.button.no-shadow {
  box-shadow: none;
}

.button.full-width {
  width: 100%;
}

a.button.blank {
  background: transparent;
  border: none;
  box-shadow: none;
  color: #868B96;
}


.survey-inner label.error {
  color: #ff2e2e;
  font-size: 14.5px;
  font-style: normal;
  font-weight: 535;
  font-variation-settings: 'wght' 535;
  float: left;
  width: 100%;
  margin-top: 15px;
}

.survey-save-notice {
  color: #B00000;
  background-color: #FFCECE;
  padding: 14px 18px 13px 18px;
  border-radius: 9px;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  margin: 0 0 20px 0;
  box-sizing: border-box;
}


.survey-input-wrapper:last-child {
  margin-bottom: 0px !important;
}
