
@namespace svg 'http://www.w3.org/2000/svg';

.yepcode-form-wrapper *:not(svg|*),
.yepcode-form-wrapper *:not(svg|*)::before,
.yepcode-form-wrapper *:not(svg|*)::after {
  all: revert;
}

/* Wrapper and typo */

.yepcode-form-wrapper {
  font-family: var(--ycf-form-font-family);
  background-color: var(--ycf-form-background-color);
  border-radius: var(--ycf-form-border-radius);
  border: var(--ycf-form-border-width) solid var(--ycf-form-border-color);
  max-width: var(--ycf-form-max-width);
  box-sizing: border-box;
  text-align: initial;
}

@media (max-width: 991px) {
  .yepcode-form-wrapper > .yepcode-loading-overlay-root,
  .yepcode-form-wrapper > .yepcode-form-outer {
    padding: 2rem 1rem;
  }
}

@media (min-width: 992px) {
  .yepcode-form-wrapper > .yepcode-loading-overlay-root,
  .yepcode-form-wrapper > .yepcode-form-outer {
    /* padding: 2rem; */
  }
}

.yepcode-form h5,
.yepcode-form h5 p {
  margin: 0;
}

.yepcode-form [id^='root_'][id$='__title'] h5 {
  font-family: var(--ycf-form-font-family);
  font-size: var(--ycf-form-title-size);
}

.yepcode-form [id^='root_'][id$='__title'] {
  margin-bottom: var(--ycf-form-title-margin-bottom);
}

/* FIXME after adding a dynamic root id, the #root__title doesn't exists, so we need to fix these selection */
/*
.yepcode-form [id^='root_'][id$='__title']:not(#root__title) h5 {
  font-family: var(--ycf-form-font-family);
  font-size: var(--ycf-form-group-title-size);
}
*/

.yepcode-form [id^='root_'][id$='__title'] h5 + hr {
  background-color: var(--ycf-form-group-title-border-color);
}

.yepcode-form hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
}

.yepcode-form a {
  color: var(--ycf-link-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.yepcode-form a:focus-visible {
  outline: solid var(--ycf-field-border-color-focus) !important;
}

.yepcode-form em {
  font-style: italic;
}

.yepcode-form strong {
  font-weight: bold;
}

.yepcode-form ul,
.yepcode-form ol {
  padding-left: 1.1rem;
}

.yepcode-form li + li {
  margin-top: 0.5rem;
}

/* helper classes */

.yepcode-form .d-flex {
  display: flex;
}

.yepcode-form .flex-row {
  flex-direction: row;
}

.yepcode-form .align-items-center {
  align-items: center;
}

.yepcode-form .d-none,
.yepcode-form .hidden {
  display: none !important;
}

.yepcode-form .border-0 {
  border: none !important;
}

/* container */

.yepcode-form .container-fluid {
  width: 100%;
  padding-right: var(--ycf-base-x-spacing);
  padding-left: var(--ycf-base-x-spacing);
  margin-right: auto;
  margin-left: auto;
}

.yepcode-form .container {
  width: 100%;
  padding-right: var(--ycf-base-x-spacing);
  padding-left: var(--ycf-base-x-spacing);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .yepcode-form .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .yepcode-form .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .yepcode-form .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .yepcode-form .container {
    max-width: 1140px;
  }
}

/* spacing */

.yepcode-form .m-0 {
  margin: 0;
}

.yepcode-form .my-1 {
  margin-top: 0.25rem;
}

.yepcode-form .mt-2 {
  margin-top: 0.5rem;
}

.yepcode-form .mb-2 {
  margin-bottom: 0.5rem;
}

.yepcode-form .mb-3 {
  margin-bottom: 0.75rem;
}

.yepcode-form .mb-4 {
  margin-bottom: 1rem;
}

.yepcode-form .ml-1 {
  margin-left: 0.25rem;
}

.yepcode-form .p-0 {
  padding: 0;
}

.yepcode-form .py-4 {
  padding-block: 1.5rem;
}

/* row */

body .yepcode-form .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* col */

.yepcode-form .col {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}

.yepcode-form .col-3,
.yepcode-form .col-9,
.yepcode-form .col-12,
.yepcode-form .col,
.yepcode-form .col-auto,
.yepcode-form .col-lg-3,
.yepcode-form .col-lg-9 {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: var(--ycf-base-x-spacing);
  padding-left: var(--ycf-base-x-spacing);
}

.yepcode-form .col-3 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%;
}

.yepcode-form .col-9 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 75%;
  flex: 0 0 75%;
  max-width: 75%;
}

.yepcode-form .col-12 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (min-width: 992px) {
  .yepcode-form .col-lg {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }
  .yepcode-form .col-lg-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .yepcode-form .col-lg-9 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }
}

/* form resets */

.yepcode-form * {
  box-sizing: border-box;
}

.yepcode-form input,
.yepcode-form button,
.yepcode-form select,
.yepcode-form optgroup,
.yepcode-form textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.yepcode-form button,
.yepcode-form input {
  overflow: visible;
}

.yepcode-form button,
.yepcode-form select {
  text-transform: none;
}

.yepcode-form button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

.yepcode-form button,
.yepcode-form [type='button'],
.yepcode-form [type='reset'],
.yepcode-form [type='submit'] {
  appearance: button;
  -webkit-appearance: button;
}

.yepcode-form button::-moz-focus-inner,
.yepcode-form [type='button']::-moz-focus-inner,
.yepcode-form [type='reset']::-moz-focus-inner,
.yepcode-form [type='submit']::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

.yepcode-form ::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
  cursor: pointer;
}

/* input defaults */

.yepcode-form input[type='text'],
.yepcode-form input[type='number'],
.yepcode-form input[type='password'],
.yepcode-form input[type='email'],
.yepcode-form select,
.yepcode-form textarea {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ycf-field-text-color);
  background-color: var(--ycf-field-background-color);
  background-clip: padding-box;
  border: var(--ycf-field-border-width) solid var(--ycf-field-border-color);
  border-radius: var(--ycf-field-border-radius);
  transition: border-color 0.15s ease-in-out;
}

.yepcode-form textarea {
  resize: vertical;
}

/* focus state */

.yepcode-form input[type='text']:focus,
.yepcode-form input[type='number']:focus,
.yepcode-form input[type='password']:focus,
.yepcode-form input[type='email']:focus,
.yepcode-form input[type='color']:focus,
.yepcode-form select:focus,
.yepcode-form textarea:focus {
  border-color: var(--ycf-field-border-color-focus);
}

/* readonly state */

.yepcode-form input[type='text']:read-only,
.yepcode-form input[type='number']:read-only,
.yepcode-form input[type='password']:read-only,
.yepcode-form input[type='email']:read-only,
.yepcode-form input[type='color']:read-only,
.yepcode-form select:read-only,
.yepcode-form textarea:read-only {
  border-color: var(--ycf-field-border-color) !important;
}

/* disabled state */

input[disabled],
textarea[disabled] {
  background-color: inherit !important;
  pointer-events: none;
  color: var(--ycf-light-text-color) !important;
}

/* autocomplete */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 50px var(--ycf-field-background-color) inset !important;
  -webkit-text-fill-color: var(--ycf-field-text-color) !important;
  font-size: 1rem !important;
  border-radius: var(--ycf-field-border-radius);
}

/* type color */

.yepcode-form input[type='color'] {
  width: 100px;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  border: var(--ycf-field-border-width) solid var(--ycf-field-border-color);
  border-radius: var(--ycf-field-border-radius);
  background-color: var(--ycf-field-background-color);
  transition: border-color 0.15s ease-in-out;
  cursor: pointer;
}

/* type radio/checkbox */

.yepcode-form input[type='radio'],
.yepcode-form input[type='checkbox'] {
  display: initial;
  opacity: 0;
  pointer-events: none;
  box-sizing: border-box;
  padding: 0;
}

/* type file */

.yepcode-form input[type='file'] {
  background-color: var(--ycf-field-background-color);
  border: var(--ycf-field-border-width) solid var(--ycf-field-border-color) !important;
  border-radius: var(--ycf-field-border-radius);
  padding: 0.375rem 0.75rem !important;
  cursor: pointer;
}

.yepcode-form input[type='file']::file-selector-button {
  appearance: none;
  padding: 0.375rem 0.75rem;
  border: 0;
  border-radius: var(--ycf-button-border-radius);
  background-color: var(--ycf-button-primary-background-color);
  color: var(--ycf-button-primary-text-color);
  margin-right: 0.75rem;
}

.yepcode-form input[type='file'][disabled]::file-selector-button {
  opacity: 0.65;
}

.yepcode-form input[type='file']::file-selector-button:hover {
  background-color: var(--ycf-button-primary-background-color-hover);
}

.yepcode-form input[type='file']:focus-visible {
  border-color: var(--ycf-field-border-color-focus) !important;
  outline: 0;
}

/* type number */

input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type='number'] {
  -moz-appearance: textfield;
}

/* form groups */

.yepcode-form .form-group {
  margin-bottom: 1rem;
}

.yepcode-form .input-group {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  width: 100%;
}

/* form texts */

.yepcode-form .form-text {
  margin-top: 0.25rem;
  font-size: 80%;
  color: var(--ycf-field-helper-text-color);
}

.yepcode-form .text-muted {
  color: var(--ycf-field-helper-text-color) !important;
}

.yepcode-form .form-label {
  display: inline-block;
  margin-bottom: 0.75rem;
}

/* fields (object, array, string...) */

.yepcode-form .field {
  display: block;
  width: 100%;
  font-size: 1rem;
  line-height: 1;
  color: var(--ycf-field-text-color);
  background-clip: padding-box;
  border-radius: 0.25rem;
  transition: border-color 0 0.15s ease-in-out;
}

.yepcode-form .field-object,
.yepcode-form .field-array {
  margin-bottom: 1rem;
}

.yepcode-form .field-string,
.yepcode-form .field-integer,
.yepcode-form .field-number {
  resize: vertical;
}

.yepcode-form .field-boolean {
  display: inline-block;
  margin-right: 0.5rem;
}

/* Field array arrange buttons */

.yepcode-form .field-array .col-lg-9.col-9::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  border-right: 1px solid var(--ycf-field-border-color);
}

.yepcode-form .field-array .form-group .d-flex div.m-0.p-0 + div.m-0.p-0 {
  margin-left: 0.25rem !important;
}

/* custom checkbox and radio (form-check) */

.yepcode-form .form-check {
  position: relative;
  display: block;
  padding-left: 1.75rem;
}

.yepcode-form .form-check + .form-check {
  margin-top: 0.75rem;
}

.yepcode-form .form-check-input {
  position: absolute;
  display: none;
}

.yepcode-form .form-check-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 0;
}

.yepcode-form .form-check-label::before,
.yepcode-form .form-check-label::after {
  content: '';
  position: absolute;
  left: 0;
  display: block;
  width: 1rem;
  height: 1rem;
}

.yepcode-form .form-check-input[type='checkbox'] ~ .form-check-label::before,
.yepcode-form .form-check-input[type='checkbox'] ~ .form-check-label::after {
  border-radius: var(--ycf-boolean-field-border-radius) !important;
  top: 0;
}

.yepcode-form .form-check-input[type='radio'] ~ .form-check-label::before,
.yepcode-form .form-check-input[type='radio'] ~ .form-check-label::after {
  border-radius: 50%;
}

.yepcode-form .form-check-label::before {
  pointer-events: none;
  user-select: none;
  background-color: var(--ycf-boolean-field-background-color);
  border: var(--ycf-field-border-width) solid
    var(--ycf-boolean-field-border-color);
}

.yepcode-form .form-check-input:focus-visible ~ .form-check-label::before {
  outline: 0;
  box-shadow: var(--ycf-form-background-color) 0 0 0 2px,
    var(--ycf-field-border-color-focus) 0 0 0 4px, rgba(0, 0, 0, 0) 0 0 0 0;
}

.yepcode-form .form-check-input:checked ~ .form-check-label::before {
  border-color: var(--ycf-field-border-color-focus);
  background-color: var(--ycf-boolean-field-background-color-checked);
}

.yepcode-form
  .form-check-input[type='radio']:checked
  ~ .form-check-label::after {
  background-image: url("data:image/svg+xml;base64, PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNMjU2IDhDMTE5IDggOCAxMTkgOCAyNTZzMTExIDI0OCAyNDggMjQ4IDI0OC0xMTEgMjQ4LTI0OFMzOTMgOCAyNTYgOHoiLz48L3N2Zz4=");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 6px;
  border: 1px solid transparent;
}

.yepcode-form
  .form-check-input[type='checkbox']:checked
  ~ .form-check-label::after {
  top: 0;
  border: var(--ycf-field-border-width) solid
    var(--ycf-field-border-color-focus);
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 8 8%27%3E%3Cpath fill=%27%23fff%27 d=%27M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50%;
}

.yepcode-form .form-check-input:disabled:checked ~ .form-check-label::before {
  opacity: 0.4;
}

.yepcode-form .form-check-input:disabled ~ .form-check-label {
  color: var(--ycf-light-text-color) !important;
}

/* custom checkbox (custom-control) */

.yepcode-form .custom-control {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 1.75rem;
}

.yepcode-form .custom-control-input {
  position: absolute;
  z-index: -1;
}

.yepcode-form
  .custom-checkbox
  .custom-control-input:checked
  ~ .custom-control-label::after {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 8 8%27%3E%3Cpath fill=%27%23fff%27 d=%27M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z%27/%3E%3C/svg%3E");
}

.yepcode-form
  .custom-checkbox
  .custom-control-input:disabled
  ~ .custom-control-label {
  color: var(--ycf-light-text-color) !important;
}

.yepcode-form .custom-checkbox + .custom-checkbox {
  margin-top: 0.75rem;
}

.yepcode-form .custom-control-label {
  cursor: pointer;
}

.yepcode-form .custom-control-label::before,
.yepcode-form .custom-control-label::after {
  content: '';
  position: absolute;
  left: 0;
  display: block;
  width: 1rem;
  height: 1rem;
  border-radius: var(--ycf-boolean-field-border-radius) !important;
  border-width: var(--ycf-field-border-width);
  border-style: solid;
}

.yepcode-form .custom-control-label::after {
  top: 0 !important;
  left: 0 !important;
}

.yepcode-form .custom-checkbox label::before {
  border-color: transparent;
  pointer-events: none;
  user-select: none;
  background-color: var(--ycf-boolean-field-background-color);
}

.yepcode-form .custom-checkbox label::after {
  border-color: var(--ycf-boolean-field-border-color);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
}

.yepcode-form .custom-checkbox input:focus-visible ~ label::after {
  outline: 0;
  box-shadow: var(--ycf-form-background-color) 0 0 0 2px,
    var(--ycf-field-border-color-focus) 0 0 0 4px, rgba(0, 0, 0, 0) 0 0 0 0;
}

.yepcode-form .custom-checkbox input:checked ~ label::after {
  border-color: var(--ycf-field-border-color-focus);
  background-color: var(
    --ycf-boolean-field-background-color-checked
  ) !important;
}

/* custom select */

.yepcode-form .custom-select {
  cursor: pointer;
  display: inline-block;
  width: 100%;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  line-height: 1.5;
  color: var(--ycf-field-text-color);
  vertical-align: middle;
  background: var(--ycf-field-background-color)
    url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBpZD0iNTJjNjg4YzIiPgogICAgPHBhdGggaWQ9ImJjNGNhYjg0IiBkPSJNMTkgOUwxMiAxNkw1IDkiIHN0cm9rZT0iIzg4ODg4OCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvcGF0aD4KICA8L2c+Cjwvc3ZnPg==)
    no-repeat right 0.75rem center;
  background-size: 1rem;
  border: var(--ycf-field-border-width) solid var(--ycf-field-border-color);
  border-radius: var(--ycf-field-border-radius);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.yepcode-form .custom-select:focus {
  border-color: var(--ycf-field-border-color-focus);
  outline: 0;
}

.yepcode-form .custom-select:focus::-ms-value {
  color: var(--ycf-field-text-color);
  background-color: var(--ycf-field-background-color);
}

.yepcode-form .custom-select:disabled {
  color: var(--ycf-light-text-color);
}

/* datalist */

.yepcode-form input::-webkit-calendar-picker-indicator {
  display: none !important;
}

/* json Field */

.yepcode-form .text-danger {
  color: var(--ycf-danger-color);
}

.yepcode-form .text-danger a {
  color: inherit;
}

.yepcode-form .field-error.has-error.has-danger .form-control:focus {
  border-color: var(--ycf-danger-color);
}

.yepcode-form .field-error.has-error.has-danger .list-group {
  padding: 0;
  margin-top: 0.25rem;
  margin-left: 0.25rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  list-style: none;
}

.yepcode-form .root {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  position: relative;
}

.yepcode-form .yepcode-field-json .wrapper {
  position: relative;
  overflow: hidden;
  flex: 1;
}

.yepcode-form .yepcode-field-json .textarea,
.yepcode-form .yepcode-field-json .shadow {
  font-family: var(--ycf-form-font-family-monospace);
  white-space: pre;
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  font-size: 0.938rem;
}

.yepcode-form .yepcode-field-json .textarea {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100% !important;
  resize: none;
  overflow: hidden;
}

.yepcode-form .yepcode-field-json .shadow {
  width: 100%;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  min-height: calc(2.25rem + calc(var(--ycf-field-border-width) * 2));
}

/* buttons */

.yepcode-form .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--ycf-button-border-radius);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.yepcode-form .btn:hover,
.yepcode-form .btn:focus {
  text-decoration: none;
}

.yepcode-form .btn:focus,
.yepcode-form .btn.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem var(--ycf-button-primary-focus-visible-color);
}

.yepcode-form .btn.disabled,
.yepcode-form .btn:disabled {
  opacity: 0.65;
}

.yepcode-form .btn:not(:disabled):not(.disabled) {
  cursor: pointer;
}

/* button primary */

.yepcode-form .btn-primary {
  color: var(--ycf-button-primary-text-color);
  background-color: var(--ycf-button-primary-background-color);
  border-color: var(--ycf-button-primary-border-color);
}

.yepcode-form .btn-primary:hover {
  color: var(--ycf-button-primary-text-color);
  background-color: var(--ycf-button-primary-background-color-hover);
  border-color: var(--ycf-button-primary-border-color-hover);
}

.yepcode-form .btn-primary:focus,
.yepcode-form .btn-primary.focus {
  box-shadow: 0 0 0 0.2rem var(--ycf-button-primary-focus-visible-color);
}

.yepcode-form .btn-primary.disabled,
.yepcode-form .btn-primary:disabled {
  color: var(--ycf-button-primary-text-color);
  background-color: var(--ycf-button-primary-background-color-disabled);
  border-color: var(--ycf-button-primary-border-color-disabled);
}

/* button danger */

.yepcode-form .btn-danger {
  color: var(--ycf-button-danger-text-color);
  background-color: var(--ycf-button-danger-background-color);
  border-color: var(--ycf-button-danger-border-color);
}

.yepcode-form .btn-danger:hover {
  color: var(--ycf-button-danger-text-color);
  background-color: var(--ycf-button-danger-background-color-hover);
  border-color: var(--ycf-button-danger-border-color-hover);
}

.yepcode-form .btn-danger:focus,
.yepcode-form .btn-danger.focus {
  box-shadow: 0 0 0 0.2rem var(--ycf-button-danger-focus-visible-color);
}

.yepcode-form .btn-danger.disabled,
.yepcode-form .btn-danger:disabled {
  color: var(--ycf-button-danger-text-color);
  background-color: var(--ycf-button-danger-background-color-disabled);
  border-color: var(--ycf-button-danger-border-color-disabled);
}

/* button light */

.yepcode-form .btn-light {
  color: var(--ycf-button-light-text-color);
  background-color: var(--ycf-button-light-background-color);
  border-color: var(--ycf-button-light-border-color);
}

.yepcode-form .btn-light:hover {
  color: var(--ycf-button-light-text-color);
  background-color: var(--ycf-button-light-background-color-hover);
  border-color: var(--ycf-button-light-border-color-hover);
}

.yepcode-form .btn-light:focus,
.yepcode-form .btn-light.focus {
  box-shadow: 0 0 0 0.2rem var(--ycf-button-primary-focus-visible-color);
}

.yepcode-form .btn-light.disabled,
.yepcode-form .btn-light:disabled {
  color: var(--ycf-button-light-text-color);
  background-color: var(--ycf-button-light-background-color-disabled);
  border-color: var(--ycf-button-light-border-color-disabled);
}

/* button sizes */

.yepcode-form .btn-sm,
.yepcode-form .btn-group-sm > .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

/* form control */

.yepcode-form .form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ycf-field-text-color);
  background-color: var(--ycf-field-background-color);
  background-clip: padding-box;
  border: var(--ycf-field-border-width) solid var(--ycf-field-border-color);
  border-radius: var(--ycf-field-border-radius);
  transition: border-color 0.15s ease-in-out;
}

.yepcode-form .form-control::-ms-expand {
  background-color: transparent;
  border: 0;
}

.yepcode-form .form-control:focus {
  color: var(--ycf-field-text-color);
  background-color: var(--ycf-field-background-color);
  border-color: var(--ycf-field-border-color-focus);
  outline: 0;
  box-shadow: none;
}

.yepcode-form .form-control::-webkit-input-placeholder {
  color: var(--ycf-field-placeholder-color);
  opacity: 1;
}

.yepcode-form .form-control::-moz-placeholder {
  color: var(--ycf-field-placeholder-color);
  opacity: 1;
}

.yepcode-form .form-control:-ms-input-placeholder {
  color: var(--ycf-field-placeholder-color);
  opacity: 1;
}

.yepcode-form .form-control::-ms-input-placeholder {
  color: var(--ycf-field-placeholder-color);
  opacity: 1;
}

.yepcode-form .form-control::placeholder {
  color: var(--ycf-field-placeholder-color);
  opacity: 1;
}

.yepcode-form .form-control-file,
.yepcode-form .form-control-range {
  display: block;
  width: 100%;
}

/* source code editor exception */

.yepcode-form .yepcode-field-sourceCode .form-control {
  padding: 0rem 0rem;
}

/* branding */

.yepcode-form-wrapper .powered-by-yepcode {
  display: flex;
  justify-content: center;
  mix-blend-mode: exclusion;
  filter: grayscale(1);
  margin-top: 2rem;
}

/* overlay */

.yepcode-loading-overlay-root {
  position: relative;
  font-family: var(--ycf-form-font-family);
  background-color: var(--ycf-form-background-color);
  max-width: var(--ycf-form-max-width);
}

.yepcode-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .yepcode-loading-overlay {
    padding: 2rem 1rem;
  }
}

@media (min-width: 992px) {
  .yepcode-loading-overlay {
    padding: 2rem;
  }
}

.yepcode-loading-overlay-root,
.yepcode-loading-overlay {
  border-radius: var(--ycf-form-border-radius);
}

.yepcode-loading-overlay-enter {
  opacity: 0;
  transform: scale(0.9);
}

.yepcode-loading-overlay-enter-active {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 200ms, transform 200ms;
}

.yepcode-loading-overlay-exit {
  opacity: 1;
}

.yepcode-loading-overlay-exit-active {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 200ms, transform 200ms;
}

.yepcode-loading-overlay-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 1rem;
}

.yepcode-loading-overlay-spinner {
  position: relative;
  width: 3rem;
  height: 3rem;
}

.yepcode-loading-overlay-spinner svg {
  animation: rotate360 2s linear infinite;
  height: 100%;
  transform-origin: center center;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.yepcode-loading-overlay-spinner circle {
  animation: spinnerDash 1.5s ease-in-out infinite;
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  stroke: var(--ycf-accent-color);
}

.yepcode-loading-overlay-content {
  font-family: var(--ycf-form-font-family);
  color: white;
  text-align: center;
  font-size: var(--ycf-form-title-size);
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spinnerDash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}

/* success message */

.yepcode-form-success-message {
  color: var(--ycf-base-text-color);
  text-align: center;
}

/* card */

.yepcode-form .card {
  border: 1px solid;
  padding: 1rem;
}

.yepcode-form .card.border-danger {
  border-color: var(--ycf-danger-color);
  color: var(--ycf-danger-color);
  background-color: var(--ycf-danger-color-lighten);
}

/* alert*/

.yepcode-form .alert-danger {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

/* error list */

.yepcode-form .container-fluid + [id^='root_'][id$='__error'] {
  padding-inline: 1rem !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
  border: 1px solid var(--ycf-danger-color);
  background-color: var(--ycf-danger-color-lighten);
  color: var(--ycf-danger-color);
}

/* modal */

.yepcode-modal-open {
  overflow: hidden;
}
.yepcode-modal-open .yepcode-modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.yepcode-modal-close-icon {
  padding: 0;
  position: fixed;
  right: 28px;
  width: 2rem;
  height: 2rem;
  border: none;
  background: none;
  color: #ececec;
  font-size: 5rem;
  font-family: monospace;
  line-height: 1;
  text-transform: none;
  cursor: pointer;
  outline: none;
  z-index: 1050;
}

.yepcode-modal-close-icon:hover {
  color: #fff;
}

.yepcode-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}

.yepcode-modal-dialog {
  margin-top: 0;
  margin-bottom: 0;
  display: -webkit-box;
  display: flex;
  height: 100%;
}

.yepcode-modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
}

.yepcode-modal-content {
  margin-top: auto;
  margin-bottom: auto;
  border: none;
}

.yepcode-modal.fade .yepcode-modal-dialog {
  -webkit-transition: -webkit-transform 0.3s ease-out;
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  -webkit-transform: translate(0, -50px);
  transform: translate(0, -50px);
}
@media (prefers-reduced-motion: reduce) {
  .yepcode-modal.fade .yepcode-modal-dialog {
    -webkit-transition: none;
    transition: none;
  }
}
.yepcode-modal.show .yepcode-modal-dialog {
  -webkit-transform: none;
  transform: none;
}

.yepcode-modal-content {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-clip: padding-box;
  outline: 0;
}

.yepcode-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}
.yepcode-modal-backdrop.fade {
  opacity: 0;
}
.yepcode-modal-backdrop.show {
  opacity: 0.5;
}

.yepcode-modal-body {
  position: relative;
  -webkit-box-flex: 1;
  flex: 1 1 auto;
  padding: 1.75rem;
}

@media (min-width: 576px) {
  .yepcode-modal-dialog {
    max-width: 540px;
    margin: 1.75rem auto;
  }
  .yepcode-modal-sm {
    max-width: 360px;
  }
}

@media (min-width: 992px) {
  .yepcode-modal-lg,
  .yepcode-modal-xl {
    max-width: 800px;
  }
}

@media (min-width: 1200px) {
  .yepcode-modal-xl {
    max-width: 1140px;
  }
}


.yepcode-form .yepcode-widget-checkboxes .form-group .form-group, .yepcode-form .yepcode-widget-radio .form-group .form-group {
  display: flex
;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 1.5rem;
}
.form-group.field.field-object.yepcode-type-object.yepcode-widget-default.yepcode-field-default .form-group .p-0.container-fluid {
  display: flex
;
  align-items: flex-end;
}

.form-group.field.field-object.yepcode-type-object.yepcode-widget-default.yepcode-field-default > .form-group .row:first-of-type {
  width: 30%;
}

.form-group.field.field-object.yepcode-type-object.yepcode-widget-default.yepcode-field-default > .form-group .row:last-of-type {
  width: 70%;
}
:root{
  --ycf-field-border-radius: 0.5rem;
}
.form-group.field.field-object.yepcode-type-object.yepcode-widget-default.yepcode-field-default .form-group.field.field-string.yepcode-type-string.yepcode-widget-default.yepcode-field-default select {
  border-radius: var(--ycf-field-border-radius) 0 0 var(--ycf-field-border-radius);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 1.75rem !important;
  height: 33px;
}
.landingads2025 .formulario .row select, .landingads2025 .formulario .row input {
  color: var(--Color-3, #0071EB);
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border: 1px solid #FFFFFF;
  background: transparent;
  border-radius: 4px;
  border: 1px solid var(--Color, #0071EB);
}
.form-group.field.field-object.yepcode-type-object.yepcode-widget-default.yepcode-field-default .form-group.field.field-string.yepcode-type-string.yepcode-widget-default.yepcode-field-default input {
  border-radius: 0 var(--ycf-field-border-radius) var(--ycf-field-border-radius) 0;
  border-left: none;
}
:root {
  --ycf-accent-color: #007aff;
  --ycf-accent-color-darker: #007aff;
  --ycf-base-text-color: #6f6f6f;
  --ycf-light-text-color: #c8ccd3;
  --ycf-danger-color: #fe5672;
  --ycf-danger-color-lighten: #f7cfd3;
  --ycf-danger-color-darker: rgb(254 86 114 / 20%);
  --ycf-base-border-color: #e0e6f0;
  --ycf-form-max-width: 500px;
  --ycf-form-background-color: transparent;
  --ycf-form-border-radius: 0;
  --ycf-form-border-width: 0;
  --ycf-link-color: #007aff;
  --ycf-field-text-color: #323d47;
  --ycf-field-background-color: #f7f9fc;
  --ycf-field-border-color-focus: #8e8e8e;
  --ycf-field-border-radius: 0.5rem;
  --ycf-boolean-field-border-color: #e0e6f0;
  --ycf-boolean-field-background-color: var(--ycf-field-background-color);
  --ycf-button-border-radius: 1.688rem;
}
.yepcode-form .form-check-label::before {
  pointer-events: none;
  user-select: none;
  background-color: var(--ycf-boolean-field-background-color);
  border: var(--ycf-field-border-width) solid var(--ycf-boolean-field-border-color);
}