form .field {
  margin-bottom: 50px;
  width: 100%;
}

label {
  font-size: 16px;
}

input[type="submit"] {
  width: auto;
}

input[type="email"],
input[type="number"],
input[type="password"],
input[type="reset"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select {
  border-radius: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--e-global-color-febf284);
  margin-top: 8px;
  width: 100%;
}

textarea {
  background: none;
  border-color: var(--e-global-color-febf284);
  margin-top: 8px;
  border-radius: 8px;
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="reset"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="url"]:focus,
select:focus {
  background: rgba(255, 255, 255, 0.6);
  border: 0;
  border-bottom: 1px solid var(--e-global-color-febf284) !important;
}

textarea:focus {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--e-global-color-febf284) !important;
}

.hs-fieldtype-booleancheckbox ul {
  padding: 0;
  list-style: none;
}

.hs-form-booleancheckbox label {
  display: flex;
  align-items: baseline;
  font-size: 16px;
  gap: 10px;
}

.hs-form-booleancheckbox span {
  margin: 0 !important;
}

/* Checkbox and Radio styling */

[type="radio"]:checked,
[type="radio"]:not(:checked),
[type="checkbox"]:checked,
[type="checkbox"]:not(:checked) {
  position: absolute;
  left: -9999px;
}

[type="radio"]:checked + span,
[type="radio"]:not(:checked) + span,
[type="checkbox"]:checked + span,
[type="checkbox"]:not(:checked) + span {
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  display: inline-block;
}

[type="radio"]:checked + span:before,
[type="radio"]:not(:checked) + span:before,
[type="checkbox"]:not(:checked) + span:before,
[type="checkbox"]:checked + span:before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1px solid var(--e-global-color-febf284);
}

[type="radio"] + span:before,
[type="radio"]:checked + span:after {
  border-radius: 100%;
}

[type="radio"]:checked + span:after,
[type="checkbox"]:checked + span:after {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--e-global-color-febf284);
  position: absolute;
  top: 1px;
  left: 5px;
}

/* Required / Errors */
.hs-form-required {
  color: var(--e-global-color-d3306c9);
}

.hs-error-msgs {
  list-style: none;
  padding: 0 !important;
  color: var(--e-global-color-d3306c9);
}

.hs-error-msg {
  font-size: 16px;
}

input.error,
select.error {
  border-bottom-color: var(--e-global-color-d3306c9);
  background: var(--e-global-color-efebdfe);
}

textarea.error {
  border-color: var(--e-global-color-d3306c9);
  background: var(--e-global-color-efebdfe);
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.hs-fieldtype-select .input {
  position: relative;
}

.hs-fieldtype-select .input:after {
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  color: var(--e-global-color-febf284);
  font-size: 25px;
  position: absolute;
  right: 20px;
  top: calc(50% - 5px);
  z-index: 1;
  text-align: center;
  pointer-events: none;
  box-sizing: border-box;
}