div#FLAT {
  grid-column: 1 / -1;
}

/*START_REG_NUMBER*/
div#REG_NUMBER {
  display: none;
}
/*END_REG_NUMBER*/
div#FILES {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 100%;
  min-width: 100%;
  height: 100px;
  gap: 20px;
  padding:0;
  background: transparent;
  overflow:unset;
  position:relative;
  > br,label{
    display:none;
  }
  .bx-input-file-desc{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    color:white;
    display: flex;
    z-index: 9999;
  }
  .inputfile {
    width: 70%;
    height: 100px;
    overflow:unset;
    border: 1px dashed #FFFFFF;
    opacity: 1;
    border-radius: 24px;
    position:relative;
    cursor:pointer;
    &::file-selector-button{
      background:transparent;
      color:rgba(0, 0, 0, 0);
      border:unset;
      box-shadow:unset;
    }
    &:after{
      content: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4V20' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4 12H20' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      color: white;
      position: absolute;
      top: 30%;
      left: 43%;
      width: 24px;
      height: 24px;
      font-size: 2rem;
      right: auto;
    }
  }
  .inputfile.uploaded{
    border: 1px solid #FFFFFF;
    position:relative;
    &:after{
      content:unset;
    }
  }
  .delete-file{
    width: 30px;
    height: 30px;
    z-index:999;
    cursor:pointer;
    x-position:absolute;
    left: 10px;
    top: 10px;
    &:after{
      content:url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 5L5 19M5 5L19 19' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }
  }
}
div#FIND {
  width: 100%;
    #form_dropdown_FIND {
      position: relative;
      top: -5px;
      height: 70px;
      width: 100%;
    }
    .form__label {
      top: 10px;
  }

  &.form__field-error #form_dropdown_FIND {
    outline: 2px solid #E30613;
    outline-offset: -2px;
  }
}

div#CATS.form__field-error,
div#DOGS.form__field-error {
  outline: 2px solid #E30613;
  outline-offset: 2px;
  border-radius: 16px;
}
input[name=form_file_30].inputfile.uploaded + span{left: 12% !important;}
input[name=form_file_31].inputfile.uploaded + span{left: 45%!important;}
input[name=form_file_32].inputfile.uploaded + span{left: 80% !important;}
.form-category__fields.find {
  display: flex!important;
  width: 100%;
}


font {
  display: none;
}

/* Блок ошибок формы (дубликат телефона и др.) */
.form_banner_v2__errors {
  margin-bottom: 20px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(227, 6, 19, 0.15);
  border: 1px solid rgba(227, 6, 19, 0.5);
  color: #ffffff;
  font-size: 16px;
  line-height: 1.4;
}

.form_block_full {
  width: 100%;
  max-width: 100%;
  min-width: 300px;
}

.form_block_full > form {
  height: inherit;
  margin: 0;
}

.form_block_content {
  display: flex;
  align-items: center;
  padding: 50px;
  height: inherit;
  background: linear-gradient(98.93deg, #1C1D43 -16.84%, #303161 91.13%);
  justify-content: center;
  border-radius: 42px;
  position: relative;
  overflow: hidden;
}

.form_block_info {
  display: flex;
  gap: clamp(25px,3vw,100px);
  justify-content:space-between;
  flex-flow: row wrap;

  .form_block_content__info {
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    width: 100%;
    max-width: 366px;
    .content_info{
      .title {
        margin-bottom:14px;
        font-family: Inter Tight;
        font-weight: 500;
        font-size: clamp(30px, 3vw, 54px);
        line-height: 100%;
        letter-spacing: 0;
        color: rgba(255, 255, 255, 1);
      }
      .desc {
        font-family: Inter Tight;
        font-weight: 400;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: 0;
        color: rgba(255, 255, 255, 1);
      }
    }
    .content_info__img{
      position: absolute;
      left: 0;
      bottom: 0;
      @media screen and (width <= 768px) {
        display: none;
      }
    }
  }
}

.form_inputs {
  display: flex;
  gap: 30px;
  width: 100%;
  flex-direction: column;
  max-width: 650px;

  .form-category {
    .form-category__title {
      font-family: Inter Tight;
      font-weight: 500;
      font-size: 20px;
      line-height: 100%;
      letter-spacing: 0;
      color: rgba(255, 255, 255, 1);
      margin-bottom: 16px;
    }

    .form-category__fields {
      display: grid;
      gap: 16px;
      grid-template-columns: repeat(auto-fill, minmax(300px, 3fr));
      .inputs {
        position: relative;
        padding: 10px 24px;
        border-radius: 30px;
        background: white;
        height: 60px;
        overflow: hidden;

        &:has(input[type=checkbox]) {
          background: transparent;
          position: relative;
          display: flex;
          align-items: flex-start;
          color: white;
          padding: 0 10px 0;
          justify-content: flex-start;
          gap: 13px;
          overflow: initial;
        }

        .inputtext {
          &::placeholder {
            color: transparent;
            font-weight: 400;
            font-size: 18px;
            color: rgba(47, 43, 67, 0.50);
          }
        }

        .form__label {
          position: absolute;
          top: 20px;
          left: 24px;
          display: block;
          transition: 0.2s;
          font-size: 14px;
          color: rgba(47, 43, 67, 0.50);
          transform-origin: left top;
          pointer-events: none;
        }
      }
    }
    .form-category__fields.documents{
      display: flex;
    }
  }
}

form input {
  background: transparent;
  border: none;
  display: block;
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  color: #140A32;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

input:focus + .form__label,
input:not(:placeholder-shown) + .form__label {
  transform: translateY(-80%) scale(1.05);
  color: rgba(47, 43, 67, 0.50);
  font-size: 14px;
  font-weight: 400;
  z-index: 1;
}

.inputs:has(input[type=checkbox]) > input {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.inputs:has(input[type=checkbox]) > .form__label {
  transform: unset;
  position: static!important;
  color: white!important;
  font-family: Inter Tight;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0;

}

.politics_inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
}

.politicks {
  display: flex;
  gap: 13px;
}

.politicks > .checkbox_politicks {
  width: 20px !important;
  height: auto;
  display: block;
  max-width: 20px !important;
  min-width: 20px !important;
}

.politicks > p,
.politicks > p > a {
  color: #FFF;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.from_btn_send {
  padding: 19px 24px;
  border-radius: 9999px;
  background: #E30613;
  color: white;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
}

.politicks > a {
  text-decoration: none;
  color: #1292DB;
}

.form_block_full.success {
  width: 100%;
  max-width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  z-index: 999;
  left: 0;
  background: rgba(20, 10, 50, 0.60);
  right: 0;
}

.form_success {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  padding: 40px;
  background: white;
  border-radius: 36px;

  .form_success_content {
    position: relative;

    .close_succes_form {
      position: absolute;
      top: 0;
      right: 0;
      left: auto;
      z-index: 99999;
      cursor: pointer;
    }

    .title {
      color: #140A32;
      font-size: clamp(22px, 3.5vw, 4.5vw);
      font-style: normal;
      font-weight: 500;
      line-height: normal;
      text-wrap: balance;
      width:90%;
    }

    .desc {
      margin: 19px 0;
      color: #140A32;
      font-size: 18px;
      font-style: normal;
      font-weight: 400;
      line-height: 150%;
    }

    .img_success {

    }
  }
}

/* @media screen and (min-width: 769px) and (max-width:1199px){

} */
@media screen and (max-width: 768px) {
  .politicks {
    text-align: center;
  }
  .form_inputs {
    justify-content: center;
  }
}