input {
    font-size: 14px;
    outline: none;
    background: transparent;
}

input:focus {
    border-color: #007BFF;
}

label {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    transition: 0.3s ease;
    color: #999;
    pointer-events: none;
    font-weight: normal;
}

input:focus + label, input:not(:placeholder-shown) + label {
    top: 0px;
    left: 20px;
    font-size: 12px;
    color: #007BFF;
    padding: 0 5px;
    border-radius: 4px;
    background-color: #fff;
}

input:not(:placeholder-shown) + label > span {
    display: none;
}

.labelOverride {
    position: inherit;
    top: inherit;
    left: inherit;
    transform: inherit;
    transition: inherit;
    color: inherit;
    pointer-events: inherit;
    font-weight: inherit;
    cursor: pointer;
    margin-bottom: 0;
    padding-left: 0px !important;
}

span.required {
    color: rgb(179, 34, 94);
    margin-left: 2px;
}

select:invalid {
    border: 1px rgb(179, 34, 94) solid;
}