/* imagem nos inputs
--------------------*/

.has-search .form-control {
    padding-left: 2.0rem;
}

.has-search .form-control-feedback {
    top: 5px;
    bottom: 5px;
    left: 10px;
    position: absolute;
    z-index: 3;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    pointer-events: none;
    color: rgb(0, 0, 0);
}


/* layout form
--------------*/

html {
    --bg: #ffffff;
    --bg-panel: #ffffff;
    --color-headings: #6e6c6c;
    --color-text: #000000;
}

body {
    width: 100%;
    justify-content: center;
    background-color: var(--bg);
}

form {
    justify-content: center;
    width: 350px;
    padding: 30px;
    background: #ffc107;
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(0, 0, 0);
}

form .form-row img {
    position: absolute;
    top: 20px;
    right: 1px;
    transform: translateY(-50%);
}

form .form-row img {
    cursor: pointer;
}

footer {
    justify-content: center;
}

input[type=text]::placeholder,
input[type=password]::placeholder {
    color: black;
}

input[type=checkbox] {
    color: black;
    height: 0;
    width: 0;
}

label {
    cursor: pointer;
    text-indent: -9999px;
    width: 52px;
    height: 27px;
    background: grey;
    float: right;
    border-radius: 100px;
    position: relative;
}

label::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 90px;
    transition: 0.3s;
}


/* darkmode
-----------*/

input:checked+label {
    background-color: var(--color-headings);
}

input:checked+label::after {
    left: calc(100% - 5px);
    transform: translateX(-100%);
}

label:active:after {
    width: 45px;
}


/* ----------- */