.form-control {
  font-family: "silkamedium", Helvetica, Arial, sans-serif;
  font-weight: 500;
  color: #0A152E;
  font-style: normal;
  letter-spacing: -0.5px;
  font-size: 14px;
  line-height: 22px;
  background-color: white;
  border-width: 1px;
  border-style: solid;
  border-color: #d1d1d1;
  box-shadow: none;
}
.form-control:not(:placeholder-shown) {
  border-color: #000000;
}
.form-control:hover {
  border-color: #464646;
}
.form-control:focus {
  box-shadow: none;
  border-color: #1b1b1b;
  outline-offset: 2px;
  outline-width: 2px;
  outline-style: solid;
  outline-color: #1B6CF9;
}
.form-control:disabled {
  background-color: #ecedef;
  border-color: #ecedef;
}
.form-control:disabled span::after {
  border-color: #ecedef;
  background-color: #ecedef;
}

select.form-control,
input:not([type=radio]):not([type=checkbox]):not([type=button]).form-control {
  height: 56px;
  padding-block: 8px;
  padding-inline: 12px;
}

.labelholder.has-labelholder:before {
  transition: none;
}
.labelholder.has-labelholder input.form-control:not([type=radio]):not([type=checkbox]):not([type=button]):not(:placeholder-shown) {
  padding-block-start: 24px;
}

.labelholder.has-labelholder.floating::before {
  position: absolute;
  top: 9px !important;
  left: 12px !important;
  font-family: "silkamedium", Helvetica, Arial, sans-serif;
  font-weight: 500;
  color: #0A152E;
  font-style: normal;
  letter-spacing: -0.4px;
  color: #464646;
  opacity: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
  height: 22px;
  width: calc(100% - 32px);
}
@media (min-width: 992px) {
  .labelholder.has-labelholder.floating::before {
    font-size: 11px;
    line-height: 18px;
  }
}
@media (max-width: 991.98px) {
  .labelholder.has-labelholder.floating::before {
    font-size: 14px;
    letter-spacing: -0.5px;
    line-height: 22px;
    font-style: normal;
  }
}

textarea.form-control {
  padding-block-start: 16px;
  padding-block-end: 16px;
  padding-inline: 12px;
  border-radius: 8px;
}

.labelholder.has-labelholder textarea.form-control:not(:placeholder-shown) {
  padding-block-start: 24px;
  padding-block-end: 8px;
}

select.form-control {
  background-image: url("/assets/images/icons/arrow-down-black.svg");
  background-repeat: no-repeat;
  background-position: center right 24px;
  background-size: 14px 8px;
}
select.form-control:not(:disabled) {
  cursor: pointer;
}

.labelholder.has-labelholder select.form-control:not(:placeholder-shown) {
  padding-block-start: 24px;
  padding-block-end: 8px;
}

.form-control::placeholder {
  color: #464646;
}

.form-group.has-error .form-control,
.form-group:has(.has-error) .form-control {
  border-color: #FA3A1B;
  background-color: rgba(250, 58, 27, 0.05);
}
.form-group.has-error .labelholder.has-labelholder.floating::before,
.form-group:has(.has-error) .labelholder.has-labelholder.floating::before {
  color: #FA3A1B;
}
.form-group.has-error ::placeholder,
.form-group:has(.has-error) ::placeholder {
  color: #FA3A1B;
}
.form-group.has-error .help-block.with-errors,
.form-group.has-error .help-block.has-error,
.form-group:has(.has-error) .help-block.with-errors,
.form-group:has(.has-error) .help-block.has-error {
  display: flex;
  align-items: start;
  gap: 8px;
  margin-block-start: 8px;
  font-family: "silkamedium", Helvetica, Arial, sans-serif;
  font-weight: 500;
  color: #0A152E;
  font-style: normal;
  letter-spacing: -0.4px;
  font-size: 12px;
  line-height: 22px;
  color: #FA3A1B;
}
.form-group.has-error .help-block.with-errors::before,
.form-group.has-error .help-block.has-error::before,
.form-group:has(.has-error) .help-block.with-errors::before,
.form-group:has(.has-error) .help-block.has-error::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("/assets/images/icons/form-failed.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  translate: 0 1px;
}
.form-group.has-error .help-block.with-errors :where(ul, li),
.form-group.has-error .help-block.has-error :where(ul, li),
.form-group:has(.has-error) .help-block.with-errors :where(ul, li),
.form-group:has(.has-error) .help-block.has-error :where(ul, li) {
  padding-inline-start: 0;
  margin-block-end: 0;
  list-style: none;
}

:where(.nice-radio, .nice-checkbox) label {
  position: relative;
  padding-inline: 28px 0;
  cursor: pointer;
  font-family: "silkamedium", Helvetica, Arial, sans-serif;
  font-weight: 500;
  color: #0A152E;
  font-style: normal;
  letter-spacing: -0.5px;
  font-size: 14px;
  line-height: 22px;
}
:where(.nice-radio, .nice-checkbox) label:has(input[disabled]) {
  cursor: default;
}
:where(.nice-radio, .nice-checkbox) label > input[type=checkbox],
:where(.nice-radio, .nice-checkbox) label > input[type=radio] {
  position: absolute;
  left: -9999px;
}
:where(.nice-radio, .nice-checkbox) label > input[type=checkbox]:checked + span:after,
:where(.nice-radio, .nice-checkbox) label > input[type=radio]:checked + span:after {
  display: none;
}
:where(.nice-radio, .nice-checkbox) label > input[type=checkbox]:checked + span:before,
:where(.nice-radio, .nice-checkbox) label > input[type=radio]:checked + span:before {
  content: "";
  background-image: url("/assets/images/icons/check-white.svg");
  background-repeat: no-repeat;
  background-color: #1B6CF9;
  background-position: center center;
  background-size: 12px 10px;
  z-index: 2;
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
}
:where(.nice-radio, .nice-checkbox) label > span {
  position: absolute;
  top: 1px;
  left: 0;
}
:where(.nice-radio, .nice-checkbox) label > span::after {
  content: "";
  position: absolute;
  top: 10px;
  transform: translateY(-50%);
  transition: 200ms ease all;
  border-style: solid;
  border-width: 1px;
  border-color: #d1d1d1;
  width: 20px;
  height: 20px;
}

:where(.nice-radio, .nice-checkbox):hover span::after {
  border-color: #464646;
}

:where(.nice-radio, .nice-checkbox):has(input:disabled) span::after {
  background-color: #ecedef;
  border-color: #ecedef;
}

:where(.nice-checkbox, .nice-radio):has(input:not(:disabled)):not(:has(.label)) label {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 1px;
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: none;
  transition: 200ms ease all;
}
:where(.nice-checkbox, .nice-radio):has(input:not(:disabled)):not(:has(.label)) label:hover {
  text-decoration-color: currentColor;
}
:where(.nice-checkbox, .nice-radio):has(input:not(:disabled)):not(:has(.label)) label span::after {
  background-color: white;
}

:where(.nice-checkbox, .nice-radio):has(input:not(:disabled)):has(.label) .label {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 1px;
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: none;
  transition: 200ms ease all;
}
:where(.nice-checkbox, .nice-radio):has(input:not(:disabled)):has(.label):hover .label {
  text-decoration-color: currentColor;
}
:where(.nice-checkbox, .nice-radio):has(input:not(:disabled)):has(.label) span::after {
  background-color: white;
}

.form-group.has-error :where(.nice-radio, .nice-checkbox):has(.with-errors) label {
  color: #FA3A1B;
}
.form-group.has-error :where(.nice-radio, .nice-checkbox):has(.with-errors) label span::after {
  border-color: #FA3A1B;
}

:where(.nice-radio, .nice-checkbox) + :where(.nice-radio, .nice-checkbox) {
  margin-block-start: 16px;
}

.nice-checkbox label span::before, .nice-checkbox label span::after {
  border-radius: 4px;
}

.nice-radio label span::before, .nice-radio label span::after {
  border-radius: 50%;
}

.element--input-password {
  position: relative;
  display: block;
}
.element--input-password ::-ms-reveal {
  display: none;
}
.element--input-password input {
  padding-inline-end: 40px;
}
.element--input-password .toggle-password-btn,
.element--input-password button {
  position: absolute;
  inset: 4px 4px 4px auto;
  background: none;
  border: none;
  cursor: pointer;
  padding-inline: 8px;
  border-radius: 6px;
  margin-block-start: 0;
  height: calc(100% - 8px);
  line-height: 48px;
}
.element--input-password .toggle-password-btn:hover,
.element--input-password button:hover {
  background-color: #ECEDEF;
  text-decoration: underline;
}

.form-label {
  font-family: "silkamedium", Helvetica, Arial, sans-serif;
  font-weight: 500;
  color: #4B5159;
  font-style: normal;
  letter-spacing: -0.5px;
  font-size: 14px;
  line-height: 22px;
  line-height: 145%;
  letter-spacing: -0.7px;
  margin-bottom: 8px;
}

.panel-compact .g-lg-2 {
  --bs-gutter-y: 0;
}
.panel-compact .form-group {
  margin-bottom: 12px;
}

.input-group > .input-group-addon {
  min-width: 56px;
  background: #FFFFFF;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 0 1px #E7E9EE;
  border-radius: 8px 0 0 8px;
}
.input-group .labelholder {
  flex-grow: 1;
}
.input-group .form-control {
  flex-grow: 1;
  border-radius: 0 8px 8px 0;
}
