﻿html, body {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

form {
    padding: 1rem;
    width: 20rem;
    text-align: center;
    position: relative;
}

    form > div {
        width: 100%;
        justify-content: center !important;
    }

        form > div:first-child {
            margin-bottom: 1rem;
        }

        form > div:last-of-type{
            margin-bottom: 1rem;
        }

    form .input-field > input {
        /*padding-right: 3rem !important;*/
    }
i {
    cursor: pointer !important;
    outline: none;
    user-select: none;
    right:0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover {
    -webkit-box-shadow: inset 0 0 0 10rem #212121 !important;
    -webkit-text-fill-color: rgba(255,255,255,.87);
    caret-color: rgba(255,255,255,.87);
}

    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        -webkit-box-shadow: inset 0 0 0 10rem #212121 !important;
        -webkit-text-fill-color: rgba(255,255,255,.87);
        caret-color: rgba(255,255,255,.87);
    }