﻿.content {
    padding: 30px;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 10% auto;
    max-width: 300px;
    background-color: black;
    border-radius: 15px;
    color: white;
    text-align: center;
}

input {
    background-color: black;
}

.label-float {
    position: relative;
    padding-top: 13px;
}

    .label-float input {
        border: 1px solid white;
        border-radius: 5px;
        outline: none;
        min-width: 250px;
        padding: 15px 20px;
        font-size: 16px;
        transition: all .1s linear;
        -webkit-transition: all .1s linear;
        -moz-transition: all .1s linear;
        -webkit-appearance: none;
        color: white;
    }

        .label-float input:focus {
            border: 5px solid white;
        }

        .label-float input::placeholder {
            color: transparent;
        }

    .label-float label {
        pointer-events: none;
        position: absolute;
        top: calc(50% - 8px);
        left: 15px;
        transition: all .1s linear;
        -webkit-transition: all .1s linear;
        -moz-transition: all .1s linear;
        background-color: black;
        padding: 5px;
        box-sizing: border-box;
    }

    .label-float input:required:invalid + label {
        color: white;
    }

    .label-float input:focus:required:invalid {
        border: 5px solid white;
    }

    .label-float input:required:invalid + label:before {
        content: '';
    }

    .label-float input:focus + label,
    .label-float input:not(:placeholder-shown) + label {
        font-size: 13px;
        top: 0;
        color: white;
    }


/* Cor de fundo do autocomplete */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px black inset;
}

/* Cor do texto do autocomplete */
input:-webkit-autofill {
    -webkit-text-fill-color: white !important;
}

.form-label-group input:not(:placeholder-shown) ~ label,
.form-label-group input:-webkit-autofill ~ label /* <<<< Add these */ {
    padding-top: .25rem;
    padding-bottom: .25rem;
    font-size: 12px;
    color: #777;
}

.access-button {
    margin-top: 10px;
    margin-bottom: 10px;
}
