input[type="file"] {
  text-overflow: none;
}

.form-control:focus {
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.form-content input:-webkit-autofill,
.form-content input:-webkit-autofill:hover,
.form-content input:-webkit-autofill:focus,
.form-content input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px rgb(233, 236, 239) inset !important;
}

.login-group input:-webkit-autofill,
.login-group input:-webkit-autofill:hover,
.login-group input:-webkit-autofill:focus,
.login-group input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #373a3c inset !important;
  -webkit-text-fill-color: white;
}

/* .login-group .form-control {
  color: white !important;
} */

.form-group {
  position: relative;
  padding: 15px 0 0;
  margin-top: 10px;
}
.form__field {
  font-family: inherit;
  width: 100%;
  border: 0;
  border-bottom: 2px solid #9b9b9b;
  outline: 0;
  color: black;
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;
}
.form__field::placeholder {
  color: transparent;
}
.form__field:placeholder-shown ~ .form__label {
  cursor: text;
  top: 26px;
}
.form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  color: #9b9b9b;
}
.form__field:focus {
  border-width: 3px;
  border-image: linear-gradient(to right, #ff7518, #ff9955);
  border-image-slice: 1;
}
.form__field:focus ~ .form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 1rem;
  color: #ff7518;
  font-weight: 700;
}
/* reset input */
.form__field:required,
.form__field:invalid {
  box-shadow: none;
}

.custom-select {
  font-family: inherit;
  width: 100%;
  border: 0;
  border-bottom: 2px solid #9b9b9b;
  outline: 0;
  color: black;
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;
}

.custom-select ~ .form__label {
  cursor: text;
  top: 26px;
}

.custom-select:focus ~ .form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 1rem;
  color: #ff7518;
  font-weight: 700;
}

.custom-select:focus {
  padding-bottom: 6px;
  border-width: 3px;
  border-image: linear-gradient(to right, #ff7518, #ff9955);
  border-image-slice: 1;
  border-color: rgba(255, 255, 255, 0);
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}
.custom-select:focus ~ .form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 1rem;
  color: #ff7518;
  font-weight: 700;
}
/* reset input */
.custom-select:required,
.custom-select:invalid {
  box-shadow: none;
}

option[value=""][disabled] {
  display: none;
}
option {
  color: black;
}

@media screen and (min-width: 992px) {
  .form-content {
    width: 50% !important;
  }
}

.login-group .form__field:focus {
  padding-bottom: 6px;
  border-width: 3px;
  border-image: linear-gradient(to right, #3fb618, #18b640);
  border-image-slice: 1;
  border-color: rgba(255, 255, 255, 0);
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.login-group .form__field:placeholder-shown ~ .form__label {
  cursor: text;
  top: 22px;
}

.login-group .form__field:focus ~ .form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 1rem;
  color: #3fb618;
  font-weight: 700;
}

.login-group .form-control {
  color: white !important;
}

input:-webkit-autofill ~ label {
  top: -2px !important;
}

@media screen and (max-width: 786px) {
  .login-group .form__field:placeholder-shown ~ .form__label {
    cursor: text;
    top: 70px;
  }
  .login-group .form__field:focus ~ .form__label {
    position: absolute;
    top: 45px;
    display: block;
    transition: 0.2s;
    font-size: 1rem;
    color: #3fb618;
    font-weight: 700;
  }

  .login-group .form__label {
    position: absolute;
    top: 45px;
    display: block;
    transition: 0.2s;
    color: #9b9b9b;
  }

  .success-button {
    background-color: #3fb618 !important;
  }
}

@media screen and (max-width: 786px) {
  .w-50 {
    width: 100% !important;
  }
}
