/* CSS */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;500;700;900&display=swap');


/*** CSS RESET **/

/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margin */
* {
    margin: 0;
    padding: 0;
    font: inherit;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

html, body {
    height: 100%;
}

strong {
    font-weight: 700;
}

/* Set core root defaults */
html:focus-within {
    scroll-behavior: smooth;
}

/* Set core body defaults */
body {
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img, picture, svg {
    max-width: 100%;
    display: block;
}

body {
    font-family: 'Red Hat Display', sans-serif !important;
    background-color: #888;
    display: flex;
    align-items: flex-start;
}

    body.flex-center {
        align-items: center !important;
    }

/*menu*/
#check {
    display: none;
}

label #btn, label #cancel {
    cursor: pointer;
    position: absolute;
    border-radius: 4px;
    width: 48px;
    height: 48px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 1rem;
    background-color: #fff;
    transition: all .5s ease;
}

label #btn {
    background-image: url(../imagens/bars-solid.svg);
}

label #cancel {
    background-image: url(../imagens/xmark-solid.svg);
}

label #cancel {
    opacity: 0;
    visibility: hidden;
}

#check:checked ~ .sidebar {
    right: 0;
}

#check:checked ~ label #btn {
    opacity: 0;
    visibility: hidden;
}

#check:checked ~ label #cancel {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    width: 280px;
    right: -280px;
    background: #777;
    transition: all .5s ease;
    margin-top: 60px;
    border-radius: 8px 0 0 8px;
    box-shadow: 15px 10px 12px -1px rgba(0,0,0,.4)
}

    .sidebar a {
        font-size: .89rem;
        padding: 12px 0 12px 12px;
        border-bottom: 1px solid #9f9f9f;
        text-transform: uppercase;
        transition: all .5s ease;
        display: block;
        color: #fff;
        text-decoration: none;
        text-align: left;
    }

        .sidebar a:last-child {
            border-bottom: none;
        }


.box {
    display: block;
    background: #d5d1d1;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    margin: 10px;
    width: 100%;
    box-shadow: 0 8px 5px -5px rgba(0,0,0,.3);
}

    .box .header {
        display: grid;
        grid-template-columns: 1.5fr .7fr;
        line-height: 1.4rem;
        margin-bottom: 1.2rem;
    }

        .box .header h2 {
            padding: 6px 6px 6px 0;
            text-align: left;
            font-size: 1.4rem;
            font-weight: 500;
            display: flex;
        }

        .box .header p {
            background: #fff3db;
            border-radius: 6px;
            padding: 6px;
            font-size: 1.4rem;
            font-weight: 900;
        }

            .box .header p span {
                font-size: 1rem;
                font-weight: 500;
            }

        .box .header .btn-cadastro {
            border-radius: 6px;
            padding: 6px 6px 6px 30px;
            font-size: 1rem;
            text-align: center;
            text-decoration: none;
            color: #000;
            background-color: #ececec;
            background-image: url(../imagens/user-plus-solid.svg);
            background-repeat: no-repeat;
            background-position: 6px center;
            background-size: 20px;
        }

            .box .header .btn-cadastro:hover {
                background-color: #fff;
            }

        .box .header .btn-voltar {
            border-radius: 6px;
            padding: 6px 6px 6px 30px;
            font-size: 1rem;
            text-align: center;
            text-decoration: none;
            color: #000;
            background-color: #ececec;
            background-image: url(../imagens/arrow-left-solid.svg);
            background-repeat: no-repeat;
            background-position: 6px center;
            background-size: 20px;
        }

            .box .header .btn-voltar:hover {
                background-color: #fff;
            }

    .box .usuario-dados {
        background: #fff;
        padding: 6px;
        border-radius: 6px;
        margin: 0 0 15px 0;
        display: grid;
        grid-template-columns: 1.5fr .5fr;
        box-shadow: 0 5px 3px -4px rgba(0,0,0,.3)
    }

        .box .usuario-dados div {
            font-size: 1rem;
            line-height: 1.2rem;
            font-weight: 400;
            color: #000;
            text-align: left;
        }

            .box .usuario-dados div span {
                font-size: .75rem;
                line-height: 1rem;
                font-weight: 500;
                display: block;
                color: #9f9f9f;
                text-align: left;
                margin-bottom: 3px;
            }

            .box .usuario-dados div:first-child {
                font-weight: 600;
            }

    .box h3.title {
        font-size: 1.1rem;
        text-align: center;
        margin: 2rem 0 1rem;
    }

    .box h3.title-left {
        font-size: 1.1rem;
        text-align: left;
        margin: 2rem 0 .5rem;
    }

        .box h3.title-left div {
            width: 22px;
            margin: 0 3px 0 0;
            height: 18px;
        }

    .box .btn-group {
        display: grid;
        grid-template-rows: 1fr;
        grid-gap: .5rem;
    }

        .box .btn-group .btn-cadastro-operador,
        .box .btn-group .btn-cadastro-atendente {
            border-radius: 6px;
            padding: 10px 10px 10px 41px;
            font-size: 1.2rem;
            text-align: center;
            text-decoration: none;
            color: #000;
            background-color: #ececec;
            background-image: url(../imagens/user-cog-solid.svg);
            background-repeat: no-repeat;
            background-position: 46px center;
            background-size: 24px;
        }

            .box .btn-group .btn-cadastro-operador:hover {
                background-color: #fff;
            }

        .box .btn-group .btn-cadastro-atendente {
            background-image: url(../imagens/person-chalkboard-solid.svg);
            background-position: 41px center;
            background-size: 26px;
            padding: 10px 10px 10px 41px;
        }

            .box .btn-group .btn-cadastro-atendente:hover {
                background-color: #fff;
            }

.form-grupo {
    display: grid;
    grid-template-rows: 1fr;
}

    .form-grupo div {
        padding: 4px 0;
        text-align: left;
    }

    .form-grupo label {
        padding: 4px 0;
        text-align: left;
        font-size: .85rem;
        font-weight: 500;
        display: block;
    }

    .form-grupo input {
        padding: 10px;
        border: 1px solid #fff;
        font-size: 1rem;
        font-weight: 400;
        border-radius: 6px;
        background: #fff;
        color: #444;
        width: 100%;
        box-sizing: border-box;
        box-shadow: 0 5px 3px -4px rgba(0,0,0,.3);
    }

        .form-grupo input:focus {
            border-color: #666;
            background: #eee;
            outline: none;
        }

    .form-grupo button.btn-cadastro {
        border-radius: 6px;
        padding: 10px 13px;
        font-size: 1.2rem;
        line-height: 1.2rem;
        text-align: left;
        text-decoration: none;
        color: #000;
        border: 1px solid #888;
        background: linear-gradient(0deg, rgb(221, 221, 221) 0%, rgb(255, 255, 255) 40%);
        margin: 6px 0 0 0;
        display: block;
        font-weight: 500;
    }

        .form-grupo button.btn-cadastro:hover {
            background: #fff;
            cursor: pointer;
        }

        .form-grupo button.btn-cadastro div {
            width: 20px;
            margin: 0;
            padding: 0;
            display: inline-block;
            height: 16px;
        }

.icon-user,
.icon-user2,
.icon-user3,
.icon-user4,
.icon-login,
.icon-calendar,
.icon-user-central,
.lista-atendentes .icon-user {
    background-position: center center;
    background-repeat: no-repeat;
    display: inline-block;
    padding: 0;
}

.icon-user {
    background-image: url(../imagens/person-chalkboard-solid.svg);
    width: 31px;
    height: 24px;
    margin-right: 6px;
}

.icon-user2 {
    background-image: url(../imagens/user-cog-solid.svg);
    width: 31px;
    height: 24px;
    margin-right: 6px;
}

.icon-user3 {
    background-image: url(../imagens/house-user-solid.svg);
    width: 31px;
    height: 24px;
    margin-right: 6px;
}

.icon-user4 {
    background-image: url(../imagens/user-solid.svg);
    width: 31px;
    height: 24px;
    margin-right: 6px;
}

.icon-user-central {
    background-image: url(../imagens/building-user-solid.svg);
    width: 31px;
    height: 24px;
    margin-right: 6px;
}

.icon-login {
    background-image: url(../imagens/arrow-right-to-bracket-solid.svg);
    width: 31px;
    height: 24px;
    margin-right: 6px;
}

.box .periodo {
    margin-bottom: 1rem;
    box-shadow: 0 5px 3px -4px rgba(0,0,0,.3);
}

    .box .periodo h2 {
        border-bottom: 1px solid #ccc;
        background: #eee;
        border-radius: 6px 6px 0 0;
        text-align: center;
        font-size: 1rem;
        display: flex;
        justify-content: center;
        align-items: baseline;
        padding: 6px;
    }

.icon-calendar {
    background-image: url(../imagens/calendar-days-solid.svg);
    width: 14px;
    height: 16px;
    margin-right: 6px;
}

.box .periodo .dados {
    background: #fff;
    border-radius: 0 0 6px 6px;
    text-align: center;
    display: grid;
    grid-template-columns: .5fr 1fr .3fr 1fr .5fr;
    padding: 6px;
    font-size: 1.2rem;
}

    .box .periodo .dados div:last-child {
        justify-self: end;
    }

    .box .periodo .dados div a.anterior,
    .box .periodo .dados div a.proximo {
        background-position: center center;
        background-repeat: no-repeat;
        background-color: #eee;
        border-radius: 4px;
        text-decoration: none;
        padding: 14px;
        background-size: .85rem;
        display: block;
        width: .8rem;
        height: .8rem;
    }

    .box .periodo .dados div a.anterior {
        background-image: url(../imagens/arrow-left-solid.svg);
    }

    .box .periodo .dados div a.proximo {
        background-image: url(../imagens/arrow-right-solid.svg);
    }

    .box .periodo .dados .centro {
        padding: 0 8px;
    }

.tabela {
    margin-bottom: 1rem;
    box-shadow: 0 5px 3px -4px rgba(0,0,0,.3);
}

    .tabela .saldo {
        border-bottom: 1px solid #ccc;
        border-radius: 6px 6px 0 0;
        padding: 10px;
        background: #eff2e3;
    }

        .tabela .saldo h3 {
            font-weight: 500;
            font-size: 1.1rem;
            line-height: 1.3rem;
            text-transform: uppercase;
        }

        .tabela .saldo p {
            font-weight: 700;
            font-size: 1.6rem;
            line-height: 1.6rem;
        }

    .tabela ul.lista, .tabela ul.lista-maquinas {
        list-style-type: none;
        border-radius: 6px;
        background: #e8e8e8;
        text-align: left;
    }

        .tabela ul.lista li, .tabela ul.lista-maquinas li {
            display: grid;
            grid-template-columns: 1fr 1fr;
            border-bottom: 1px solid #ccc;
        }

        .tabela ul.lista-maquinas li {
            grid-template-columns: 1fr 1fr;
        }

            .tabela ul.lista-maquinas li.header {
                font-size: 14px;
                font-weight: 700;
                text-align: right;
                margin: 0;
                background: #f7f7f7;
                border-radius: 6px 6px 0 0;
            }

            .tabela ul.lista li:last-child,
            .tabela ul.lista-maquinas li:last-child {
                border-bottom: none;
            }

            .tabela ul.lista li div,
            .tabela ul.lista-maquinas li div {
                padding: 6px;
            }

            .tabela ul.lista-maquinas li div {
                text-align: right;
            }

                .tabela ul.lista li div:first-child,
                .tabela ul.lista-maquinas li div:first-child {
                    display: flex;
                    align-items: center;
                }

        .tabela ul.lista li div:last-child {
            font-weight: 500;
            text-align: right;
        }

        .tabela ul.lista li div.icons {
            background-position: left center;
            background-repeat: no-repeat;
            display: inline-block;
            width: 17px;
            height: 13px;
            padding: 0;
        }

        .tabela ul.lista-maquinas li div.icons {
            background-position: center center;
            background-repeat: no-repeat;
            display: inline-block;
            width: 15px;
            height: 13px;
            padding: 0;
        }

        .tabela ul.lista li div.icons.icon-up {
            background-image: url(../imagens/up-long-solid.svg);
        }

        .tabela ul.lista li div.icons.icon-down {
            background-image: url(../imagens/down-long-solid.svg);
        }

        .tabela ul.lista li div.icons.icon-wallet {
            background-image: url(../imagens/wallet-solid.svg);
        }

        .tabela ul.lista li div.entrada {
            color: #008700;
        }

        .tabela ul.lista li div.saida {
            color: #d50000;
        }

        .tabela ul.lista-maquinas li div.fisica {
            color: #0c5fb7;
        }

        .tabela ul.lista-maquinas li div.online {
            color: #e85801;
        }

ul.lista2 {
    list-style-type: none;
    border-radius: 6px;
    background: #e8e8e8;
    text-align: left;
    box-shadow: 0 5px 3px -4px rgba(0,0,0,.3);
    margin-bottom: 1rem;
}

    ul.lista2 li {
        display: grid;
        grid-template-columns: 2fr 1fr;
        border-bottom: 1px solid #ccc;
    }

        ul.lista2 li:last-child {
            border-bottom: none;
        }

        ul.lista2 li div {
            padding: 6px;
        }

            ul.lista2 li div:last-child {
                font-weight: 700;
                text-align: right;
            }

.lista-atendentes, .lista-clientes {
    text-align: left;
    box-shadow: 0 5px 3px -4px rgba(0,0,0,.3);
    margin-bottom: 1rem;
}

    .lista-atendentes .header,
    .lista-clientes .header,
    .lista-atendentes .header2 {
        border-radius: 6px 6px 0 0;
        background: #b9b5b5;
        display: grid;
        grid-template-columns: 3fr 1.5fr .6fr .5fr;
        border-bottom: 1px solid #ccc;
        font-size: 12px;
        font-weight: 500;
        margin: 0;
    }

    .lista-clientes .header {
        grid-template-columns: 3.5fr 1.5fr .5fr;
    }

    .lista-atendentes .header2 {
        border-radius: 0;
        background: #ddd;
    }


        .lista-atendentes .header2 div,
        .lista-clientes .header div,
        .lista-atendentes .item div, .lista-clientes .item div {
            padding: 4px 5px;
            text-align: center;
        }

    .lista-clientes .header div {
        text-align: left !important;
        padding: 4px 5px;
    }

        .lista-clientes .header div:first-child,
        .lista-atendentes .header div:first-child,
        .lista-atendentes .header2 div:first-child,
        .lista-atendentes .item div:first-child {
            text-align: left;
        }

    .lista-atendentes .item, .lista-clientes .item {
        background: #e6f0f9;
        display: grid;
        grid-template-columns: 3fr 1.5fr .6fr .5fr;
        border-bottom: 1px solid #ccc;
        font-size: 12px;
    }

    .lista-clientes .item {
        grid-template-columns: 3.5fr 1.5fr .5fr;
    }

        .lista-clientes .item div {
            text-align: left;
        }

        .lista-atendentes .item:nth-child(odd),
        .lista-clientes .item:nth-child(odd) {
            background: #fff;
        }

    .lista-atendentes .header div:nth-child(2),
    .lista-clientes .header div:nth-child(2),
    .lista-atendentes .header2 div:nth-child(2),
    .lista-atendentes .item div:nth-child(2) {
        text-align: right;
    }

    .lista-atendentes .item:last-child,
    .lista-clientes .item:last-child {
        border-radius: 0 0 6px 6px;
    }

    .lista-atendentes .icon-user {
        background-image: url(../imagens/user-solid.svg);
        width: 12px;
        height: 14px;
        padding: 0 !important;
        margin: 3px 0 0;
    }

    .lista-atendentes .operador {
        display: grid;
        grid-template-columns: 2fr 1fr;
        border-bottom: 1px solid #ccc;
        background: #eceee4;
        border-radius: 6px 6px 0 0;
    }

        .lista-atendentes .operador div {
            padding: 6px;
        }

            .lista-atendentes .operador div:last-child {
                text-align: right;
            }

        .lista-atendentes .operador h5 {
            font-size: 12px;
            line-height: 16px;
        }

        .lista-atendentes .operador h2 {
            font-size: 15px;
            line-height: 20px;
            font-weight: 700;
        }

    .lista-atendentes p {
        font-size: 12px;
        line-height: 16px;
        font-weight: 400;
    }

    .lista-atendentes strong {
        font-weight: 500;
    }

strong.online {
    color: #e85801;
}

strong.fisica {
    color: #0c5fb7;
}


.btn-login {
    margin-bottom: 1.2rem;
    border-radius: 6px;
    padding: 6px 6px 6px 30px;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    color: #000;
    background-color: #ececec;
    background-image: url(../imagens/arrow-right-to-bracket-solid.svg);
    background-repeat: no-repeat;
    background-position: 6px center;
    background-size: 20px;
}
