@import "animations";

@import "variables";
@import "field";

//@import "input-text";
//@import "input-password";
//@import "input-select";
//@import "input-multi-select";
//@import "input-date";
//@import "input-radio";
//@import "input-file";
//@import "input-textarea";

.form-form__fieldset{
  padding: 20px 0;
  margin: 0;
  border: none;
}

.form-form__fieldset_loading{
  filter: blur(2px);
  transition: filter 0.2s ease-in-out;
}

.form-form{
  position: relative !important;
}

.form-form__preloader, .form-form__success{
  position: absolute;
  left: 0;
  right: 0;
  height: 100%;
  z-index: 1;
  align-items: center;
  justify-content: center;
  display: flex;
  border-radius: 3px;
}

.form-form__preloader-icon{
  background-color: #000;
  border-radius: 3px;
  padding: 15px;
  svg{
    height: 50px;
    stroke: #fff;
  }
}

.input-search{
  width: 100%;
  height: 100%;
  border: none;
  font-size: 1.2rem !important;
  &:focus, &:active{
    border: none;
    outline: none;
  }
}

.form-form__success-icon{
  border-radius: 50%;
  background-color: #fff;
  display: block !important;
  box-shadow: 0 0 2px #353535;
  animation: scaleIcon 0.25s ease-in-out;
  svg{
    width: 50px;
    height: 50px;
    .svg-success {
      stroke-width: 2px;
      stroke: #3de665;
      fill: none;
      path{
        stroke-dasharray: 17px, 17px;
        stroke-dashoffset: 0px;
        animation: checkmark 0.25s ease-in-out 0.4s backwards;
      }
      circle{
        stroke-dasharray: 76px, 76px;
        stroke-dashoffset: 0px;
        transform: rotate(-90deg);
        transform-origin: 50% 50%;
        animation: checkmark-circle 0.3s ease-in-out forwards;
      }
    }
  }
}

@keyframes scaleIcon {
  0% {
    transform: scale(0);
  }
  100% {
    transform: unset
  }
}


@keyframes checkmark {
  0% {
    stroke-dashoffset: 17px;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes checkmark-circle {
  0% {
    stroke-dashoffset: 76px;
  }
  100% {
    stroke-dashoffset: 0px;
  }
}
.form-form__success{
  left: -3px;
  right: -3px;
  top: -3px;
  bottom: -3px;
  z-index: 99;
  //background-color: rgba(83, 255, 98, 0.8);
}
//
//input[type="checkbox"] + label {
//  margin-left: 10px;
//  font-weight: bold;
//}

.sbxFormField__selectCustom-chevron{
  position: absolute;
  right: 10px;
}
