:root {
    --color__accent: #df2b7d;
}
.floating {
  margin-bottom: 2rem;
  /* background-color: var(--field__background); */
  transition: background-color 0.2s ease;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.floating__input::placeholder {
  color: rgba(0, 0, 0, 0);
}

.floating__label {
  display: block;
  position: relative;
  max-height: 0;
  font-size: 16px;
  font-weight: 400;
  pointer-events: none;
  margin: 0;
}

.floating__label::before {
  color: #777777;
  content: attr(data-content);
  display: inline-block;
  /* filter: blur(0); */
  backface-visibility: hidden;
  transform-origin: right top;
  transition: transform 0.2s ease;
  right: 1rem;
  position: relative;
}

.floating__label::after {
  bottom: 1rem;
  content: "";
  height: 0.1rem;
  position: absolute;
  transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 180ms cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
  opacity: 0;
  left: 0;
  top: 100%;
  margin-top: -0.1rem;
  transform: scale3d(0, 1, 1);
  width: 100%;
}

.floating__input:focus + .floating__label::after {
  transform: scale3d(1, 1, 1);
  opacity: 1;
}

.floating__input:placeholder-shown + .floating__label::before {
  transform: translate3d(0, -2.4rem, 0) scale3d(1, 1, 1);
}

.floating__label::before, .floating__input:focus + .floating__label::before {
  transform: translate3d(0, -3.2rem, 0) scale3d(0.82, 0.82, 1);
}

.floating__input:focus + .floating__label::before {
  color: var(--color__accent);
}



.hidden--visually {
  border: 0;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

@media(max-width:575.98px){
  .floating__label{font-size: 14px;}
}