.frame-inner > form.escb-trial {
  margin-bottom: 9rem;
}

.escb-trial {
  max-width: 680px;
  margin: 0 auto;
  color: #111;
  font-family: Roboto, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

.escb-trial-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px 10px;
  margin: 0 0 20px;
}

.escb-trial-row.is-2 {
  grid-template-columns: 1fr 1fr;
}

.escb-trial-row.is-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.escb-trial-field {
  position: relative;
  display: block;
  box-sizing: border-box;
  height: 45px;
  margin: 0;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 4px;
  background: #fff;
}

.escb-trial-field.is-invalid {
  border-color: #c0392b;
}

.escb-trial-field span {
  position: absolute;
  top: 13px;
  left: 13px;
  color: rgba(17, 17, 17, 0.5);
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
  pointer-events: none;
}

.escb-trial-field input,
.escb-trial-field select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 13px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: transparent;
  font-family: Roboto, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
  box-shadow: none;
  appearance: none;
}

.escb-trial-field input::placeholder {
  color: transparent;
}

.escb-trial-field input:focus,
.escb-trial-field select:focus {
  outline: 0;
}

.escb-trial-field:focus-within {
  border-color: #111;
}

.escb-trial-field.is-filled span,
.escb-trial-field:has(input:not([type="date"]):not(:placeholder-shown)) span,
.escb-trial-field.is-select:has(option:checked:not([value=""])) span {
  opacity: 0;
}

.escb-trial-field.is-filled input,
.escb-trial-field:focus-within input,
.escb-trial-field:has(input:not([type="date"]):not(:placeholder-shown)) input,
.escb-trial-field.is-select:has(option:checked:not([value=""])) select {
  color: #111;
}

.escb-trial-field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
}

.escb-trial-field.is-filled input[type="date"]::-webkit-calendar-picker-indicator,
.escb-trial-field:focus-within input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 1;
}

.escb-trial-field input[type="date"]::-webkit-datetime-edit {
  color: transparent;
}

.escb-trial-field.is-filled input[type="date"]::-webkit-datetime-edit,
.escb-trial-field:focus-within input[type="date"]::-webkit-datetime-edit {
  color: #111;
}

.escb-trial-field.is-select select {
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23111' d='M6.7 8.7a1 1 0 0 1 1.4 0L12 12.6l3.9-3.9a1 1 0 1 1 1.4 1.4l-4.6 4.6a1 1 0 0 1-1.4 0L6.7 10.1a1 1 0 0 1 0-1.4Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  cursor: pointer;
}

.escb-trial-field select option {
  color: #111;
}

.escb-trial-field small {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  color: #c0392b;
  font-size: 12px;
  line-height: 1.3;
}

.escb-trial-error {
  display: block;
  margin: 4px 0 0;
  color: #c0392b;
  font-size: 12px;
  line-height: 1.3;
}

.escb-trial h3 {
  margin: 10px 0 8px;
  color: #111;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.escb-trial-question {
  margin: 12px 0 8px;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.escb-trial-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 12px;
  margin: 0 0 8px;
}

.escb-trial-choices.is-days {
  grid-template-columns: repeat(3, 1fr);
}

.escb-trial-choice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: #111;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
}

.escb-trial-choice input {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 3px;
  background: #fff;
  appearance: none;
}

.escb-trial-choice input:checked {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23111' stroke-width='3' d='M5 12.5 9.2 17 19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.escb-trial-consent {
  margin: 8px 0 16px;
}

.escb-trial-consent.is-invalid span {
  color: #c0392b;
}

.escb-trial-terms {
  margin: 0 0 12px;
  padding-left: 1.2rem;
  color: #111;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.escb-trial-terms li {
  margin: 0 0 0.85rem;
}

.escb-trial-terms strong {
  display: block;
  font-weight: 700;
}

.escb-trial-submit {
  display: inline-block;
  box-sizing: border-box;
  height: 34px;
  margin: 4px 0 0;
  padding: 0 20px;
  border: 1px solid rgb(87, 87, 87);
  border-radius: 4px;
  background: transparent;
  color: rgb(87, 87, 87);
  font-family: Roboto, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 32px;
  appearance: none;
  box-shadow: none;
  cursor: pointer;
}

.escb-trial-submit:hover,
.escb-trial-submit:focus {
  border-color: #111;
  background: transparent;
  color: #111;
}

@media (max-width: 700px) {
  .escb-trial-row.is-2,
  .escb-trial-row.is-3,
  .escb-trial-choices.is-days {
    grid-template-columns: 1fr;
  }
}
