input,textarea {
    width: 100%;
    height: 40px;
    font-size: var(--font_size_20);
    border: none;
    outline: none;
}
input::placeholder,
textarea::placeholder {
    color: var(--base_gray);
}
input:focus,
textarea:focus {
    outline: none;
}
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

div.i-text {
    position: relative;
}
input.i-text {
    position: relative;
    margin: 0;
    padding-right: 25px;
}
input.i-text.is-invalid {
    color: var(--base_red);
}
div.i-text .under-line {
    position: relative;
    border-top: solid 2px var(--base_gray);
}
div.i-text .under-line::before {
    content: '';
    position: absolute;
    width: 0px;
    height: 2px;
    bottom: 0px;
    left: 0px;
    background-color: black;
    transition: all .5s;
}
div.i-text input.i-text:focus + .under-line::before {
    width: 100%;
}
div.i-text img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    margin: auto;
    opacity: 0;
}
input.i-text.is-valid ~ img {
    opacity: 1;
    transition: all .3s;
}

div.i-text p.at {
    position: absolute;
    top: 0;
    bottom: 0;
    height: max-content;
    margin: auto;
    font-size: var(--font_size_20);
}
