.icf {
  width: 100%;
  color: #202020;
}

.icf__form {
  display: grid;
  gap: 16px;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

.icf__step-header {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: #1f2329;
}

.icf__steps {
  display: grid;
  gap: 16px;
}

.icf__step {
  display: grid;
  gap: 16px;
}

.icf__step[hidden] {
  display: none !important;
}

.icf__field {
  display: block;
}

.icf__group {
  display: grid;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(31, 35, 41, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
}

.icf__label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  color: #1f2329;
}

.icf__description {
    font-size: 0.75em;
    color: var(--muted);
    font-weight: 300;
}

.icf__required {
  color: #ff3b30;
}

.icf__input, .icf__textarea {
    display: block;
    width: 100%;
    border: 1px solid rgba(31, 35, 41, 0.14);
    background: #ffffff;
    color: var(--text);
    font-family: inherit;
    font-size: 16px !important;
    line-height: 1.35em;
    padding: 10px 14px;
    outline: none;
    border-radius: 8px !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.icf__input::placeholder,
.icf__textarea::placeholder {
  color: #90949a;
  opacity: 1;
}

.icf__input:hover,
.icf__textarea:hover {
  border-color: rgba(31, 35, 41, 0.22);
}

.icf__input:focus,
.icf__textarea:focus {
  border-color: #1f66cb;
  box-shadow: 0 0 0 4px rgba(31, 102, 203, 0.1);
}

.icf__textarea {
  resize: none;
}

.icf__range-control {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.icf__range {
  --icf-range-progress: 0%;
  flex: 1 1 auto;
  min-width: 120px;
  height: 28px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.icf__range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, #f26522 0 var(--icf-range-progress), #e5e7eb var(--icf-range-progress) 100%);
}

.icf__range::-moz-range-track {
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: #e5e7eb;
}

.icf__range::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: #f26522;
}

.icf__range::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  margin-top: -9px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: #f26522;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

.icf__range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #f26522;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

.icf__range:focus-visible {
  outline: none;
}

.icf__range:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.18);
}

.icf__range-value {
  min-width: 2.5ch;
  color: inherit;
  font-size: 1.5em;
  line-height: 1;
  font-weight: 700;
  text-align: right;
}

.icf__range-suffix {
  flex: 0 0 auto;
  color: inherit;
  font-size: 1em;
  white-space: nowrap;
}

.icf__range-number {
  max-width: 180px;
}

.icf__field--checkbox {
  margin-top: -2px;
}

.icf__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: #1f2329;
}

.icf__checkbox input[type="checkbox"] {
  margin: 2px 0 0;
  flex: 0 0 auto;
}

.icf__field--toggle {
  margin-top: -2px;
}

.icf__toggle-row {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.icf__toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex: 0 0 auto;
  cursor: pointer;
}

.icf__toggle-switch input[type="checkbox"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.icf__toggle-switch-background {
  position: absolute;
  inset: 0;
  background: #dddddd;
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px #cccccc;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.icf__toggle-switch-handle {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease;
}

.icf__toggle-switch input[type="checkbox"]:checked + .icf__toggle-switch-background {
  background: #05c46b;
  box-shadow: inset 0 0 0 2px #04b360;
}

.icf__toggle-switch input[type="checkbox"]:checked + .icf__toggle-switch-background .icf__toggle-switch-handle {
  transform: translateX(24px);
}

.icf__toggle-switch input[type="checkbox"]:focus-visible + .icf__toggle-switch-background {
  box-shadow: inset 0 0 0 2px #04b360, 0 0 0 4px rgba(5, 196, 107, 0.16);
}

.icf__toggle-switch-label {
  font-size: 14px;
  line-height: 1.5;
  color: #1f2329;
}

.icf__field--acceptance .icf__toggle-switch-label a,
.icf__field--acceptance .icf__toggle-switch-label a:visited {
  color: var(--accent, #1f66cb);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-thickness 0.2s ease;
}

.icf__field--acceptance .icf__toggle-switch-label a:hover,
.icf__field--acceptance .icf__toggle-switch-label a:focus-visible {
  color: var(--accent, #1f66cb);
  text-decoration-thickness: 2px;
}

.icf__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.icf__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.icf__submit,
.icf__step-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 30px;
  background: rgb(33 33 34);
  border: none;
  border-radius: 40px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.icf__step-button {
  background: #ffffff;
  border: 1px solid rgba(31, 35, 41, 0.18);
  color: #202020;
}

.icf__submit:hover {
  background: rgba(0, 0, 0, 1);
}

.icf__step-button:hover {
  border-color: rgba(31, 35, 41, 0.32);
  background: #f7f7f8;
}

.icf__submit:active {
  transform: translateY(0);
}

.icf__submit-icon {
    width: 12px;
    height: 12px;
    line-height: 1;
}

.icf__submit:disabled,
.icf__step-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.icf__submit[hidden],
.icf__step-button[hidden] {
  display: none !important;
}

.icf__response {
  display: none;
  font-size: 15px;
  line-height: 1.5;
}

.icf__response.is-success,
.icf__response.is-error {
  display: block;
  margin-top: 2px;
}

.icf__response.is-success {
  color: #14804a;
}

.icf__response.is-error {
  color: #c62828;
}

.icf__field.is-hidden-by-condition {
  display: none;
}

.icf__group[hidden],
.icf__group.is-hidden-by-condition {
  display: none !important;
}

.icf__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(31, 35, 41, 0.1);
  justify-content: center;
}

.icf__footer a {
  color: #7a7f87;
  font-size: 10px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.icf__footer a:hover {
  color: #1f2329;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .icf__form {
    gap: 20px;
  }

  .icf__label {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .icf__input,
  .icf__textarea {
    font-size: 16px;
    padding: 14px 16px;
    border-radius: 14px;
  }

  .icf__textarea {
    min-height: 120px;
  }

  .icf__range-control {
    gap: 12px;
    flex-wrap: wrap;
  }

  .icf__range {
    flex-basis: calc(100% - 80px);
  }

  .icf__submit,
  .icf__step-button {
    min-height: 56px;
    font-size: 18px;
    padding: 14px 20px;
  }

  .icf__footer {
    gap: 12px;
    flex-direction: column;
  }

  .icf__footer a {
    font-size: 13px;
  }
}
.icf__captcha {
  margin: 20px 0 0;
}

.icf__captcha .g-recaptcha,
.icf__captcha .smart-captcha {
  max-width: 100%;
}
