/home/bdqbpbxa/demo-subdomains/billine.goodface.com.ua/css/forms-elements.css
.input {
  position: relative;
}

.input.-input label {
  position: absolute;
  left: 16px;
  top: 20px;

  font-family: "Onest", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 120%;
  color: var(--shades-600);

  -webkit-transform-origin: left center;
  transform-origin: left center;
  pointer-events: none;
  opacity: 0.3;

  -webkit-transition: transform 0.4s;
  transition: transform 0.4s;
}

.input.-input input,
.input.-input textarea {
  width: 100%;
  padding: 29px 15px 9px;

  border: 1px solid transparent;
  background-color: #e1f0ff;
  -webkit-border-radius: 10px;
  border-radius: 10px;

  font-family: "Onest", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 120%;
  color: var(--shades-600);
}

.input.-input input[type="text"] {
  height: 56px;
  padding-right: 36px;
}

.input.-input textarea {
  min-height: 112px;
}

.input .input__invalid {
  display: none;
  margin-top: 4px;
}

.input .input__invalid *,
.input .input__invalid {
  font-family: "Onest", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 120%;
  color: var(--danger-500);
}

.input.-input[data-important]:after {
  content: "";
  position: absolute;
  top: 18px;
  right: 16px;

  display: block;
  width: 20px;
  height: 20px;

  background-color: var(--danger-500);

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;

  opacity: 0;
  pointer-events: none;
}

/* File */

.input.-file label {
  display: block;
  margin-bottom: 8px;
}

.input.-file label p {
  font-family: "Onest", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 120%;
  color: var(--shades-600);
}

.input.-file label span {
  display: block;
  font-family: "Onest", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 120%;
  color: var(--shades-400);

  margin-top: 8px;
}

.input.-file .input__box {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 330px;
  height: 56px;

  border: 1px solid transparent;
  -webkit-border-radius: 10px;
  border-radius: 10px;

  -webkit-transition: border-color 0.4s;
  transition: border-color 0.4s;
}

.input.-file input[type="file"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.input.-file .input__file-button {
  width: 100%;
}

.input.-file .input__file-button .default-button__icon {
  width: 16px;
  min-width: 16px;
  height: 16px;
  background-color: var(--shades-600);
}

.input.-file .input__file-info {
  display: none;

  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 13px;
}

.input.-file .file-info__left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.input.-file .file-info__icon {
  width: 20px;
  min-width: 20px;
  aspect-ratio: 1 / 1;
  margin-right: 8px;
  background-color: var(--shades-250);
}

.input.-file .file-info__info-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
  overflow: hidden;
}

.input.-file .file-info__info-box *,
.input.-file .file-info__info-box {
  font-family: "Onest", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 120%;
}

.input.-file .file-info__info-box p {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--shades-600);
}

.input.-file .file-info__info-box span {
  margin-left: 5px;
  white-space: nowrap;

  color: var(--shades-250);
}

.input.-file .file-info__remove-icon {
  width: 20px;
  min-width: 20px;
  aspect-ratio: 1 / 1;
  margin-left: 8px;

  background-color: var(--shades-600);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;

  -webkit-transition: background-color 0.4s;
  transition: background-color 0.4s;
}

.input.-file.-fill .input__file-button {
  display: none;
}

.input.-file.-fill .input__box {
  border-color: var(--primary-blue-50);
}

.input.-file.-fill .input__file-info {
  display: flex;
}

/* Checkbox */

.--checkbox input {
  display: none;
}

.--checkbox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.--checkbox .checkbox__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  min-width: 24px;
  aspect-ratio: 1 / 1;
  margin-right: 12px;

  background-color: transparent;
  border: 1px solid var(--shades-600);
  -webkit-border-radius: 6px;
  border-radius: 6px;

  -webkit-transition: background-color 0.4s;
  transition: background-color 0.4s;
}

.--checkbox .checkbox__button:before {
  content: "";
  display: block;
  width: 16px;
  aspect-ratio: 1 / 1;

  background-color: var(--shades-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath vector-effect='non-scaling-stroke' d='M27 9L13 23L6 16' stroke='%231F2021' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
    no-repeat center;
  mask: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath vector-effect='non-scaling-stroke' d='M27 9L13 23L6 16' stroke='%231F2021' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
    no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;

  opacity: 0;

  -webkit-transition: opacity 0.4s, background-coblor 0.4s;
  transition: opacity 0.4s, background-color 0.4s;
}

.--checkbox .checkbox__text *,
.--checkbox .checkbox__text {
  font-family: "Onest", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
}

.--checkbox.-checked .checkbox__button {
  background-color: var(--shades-600);
}

.--checkbox.-checked .checkbox__button:before {
  opacity: 1;
  background-color: var(--white);
}

.-apple .--checkbox .checkbox__button {
  margin-top: -1px;
}

/* Focus */

.input.-input.-focus label {
  -webkit-transform: scale(0.8122) translateY(-14px);
  transform: scale(0.8122) translateY(-14px);
}

/* Invalid */

.input.-input.-invalid input,
.input.-input.-invalid textarea {
  border-color: var(--danger-500);
}

.input.-input[data-important].-invalid:after {
  background-color: var(--danger-500);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath vector-effect='non-scaling-stroke' d='M25 7L7 25' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M25 25L7 7' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  mask-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath vector-effect='non-scaling-stroke' d='M25 7L7 25' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M25 25L7 7' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  opacity: 1;
}

.input.-invalid .input__invalid {
  display: block;
}

.input.-invalid .input__invalid:before {
  content: attr(data-fill-text);
}

.input.-fill.-invalid .input__invalid:before {
  content: attr(data-correct-text);
}

.input.-file.-invalid .input__box {
  border-color: var(--danger-500);
}

/* Valid */

.input.-input[data-important].-valid:after {
  opacity: 1;
  background-color: var(--success-500);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath vector-effect='non-scaling-stroke' d='M27 9L13 23L6 16' stroke='%231F2021' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  mask-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath vector-effect='non-scaling-stroke' d='M27 9L13 23L6 16' stroke='%231F2021' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

@media screen and (max-width: 1024px) {
  .input.-file .input__box {
    max-width: calc(100vw - 56px);
  }
}