html, body
{
    /*
    width: -webkit-fill-available;
    height: -moz-available;
    margin: 0;
    padding: 0;
    */
}

#module-stats {
    width: -webkit-fill-available;
    width: -moz-available;
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    line-height: 1.25;
}

#module-stats table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

#module-stats table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}

#module-stats table tr {
    /*background-color: #f8f8f8;*/
    border: 1px solid #ddd;
    padding: .35em;
}

#module-stats table th,
#module-stats table td {
    padding: .625em;
    text-align: center;
}

#module-stats table th {
    background-color: #f8f8f8;
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
}




#module-stats input, #module-stats select
{
    padding: 10px;
    border: 0;
    background-color: #f4f4f4;
}

#module-stats .input-set
{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

#module-stats .input-group
{
    display: flex;
    gap: 20px;
    align-items: center;
}

#module-stats .input-block
{
    display: flex;
    gap: 10px;
    align-items: center;
}

#module-stats .input-block-row
{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

#module-stats .input-buttons
{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

#module-stats .grafico
{
    width: 100%;
    height: 320px;
}

#tituloComparativo
{
    margin: auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: indianred;
    font-weight: bold;
}

#module-stats .modal
{
    width: -webkit-fill-available;
    width: -moz-available;
    height: -webkit-fill-available;
    height: -moz-available;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    inset: 0;
    border: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

#module-stats .modal-info
{
    margin: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: white;
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.25);
}

#module-stats .login-container
{
    max-width: 960px;
    margin: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#module-stats .login-info
{
    width: -webkit-fill-available;
    width: -moz-available;
    margin: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background-color: white;
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.25);
}

#module-stats .login-title
{
    text-align: center;
}

#module-stats .login-error
{
    color: indianred;
    text-align: center;
}

#module-stats .chart-container
{
    width: 100%;
    height: 240px;
}

#module-stats .btn
{
    padding: 10px;
    color: white;
    background-color: #010f47;
    border: 2px solid #010f47;
    transition: 0.25s;
}

#module-stats .btn:hover
{
    cursor: pointer;
    padding: 10px;
    color: #010f47;
    background-color: transparent;
    border: 2px solid #010f47;
}

#module-stats .btn-close
{
    padding: 10px;
    color: white;
    background-color: indianred;
    border: 2px solid indianred;
    transition: 0.25s;
}

#module-stats .btn-close:hover
{
    cursor: pointer;
    padding: 10px;
    color: indianred;
    background-color: transparent;
    border: 2px solid indianred;
}





.admin-header
{
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background-color: #010F47;
}

.admin-logo
{
    max-width: 180px;
    width: 100%;
}

.admin-padding
{
    padding: 20px !important;
}





@media screen and (max-width: 960px)
{
    #module-stats table {
        border: 0;
    }

    #module-stats table caption {
        font-size: 1.3em;
    }

    #module-stats table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    #module-stats table tr {
        border-bottom: 1px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    #module-stats table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
    }

    #module-stats table td::before {
        /*
        * aria-label has no advantage, it won't be read inside a table
        content: attr(aria-label);
        */
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    #module-stats table td:last-child {
        border-bottom: 0;
    }





    #module-stats .input-set
    {
        flex-direction: column;
        align-items: flex-start;
    }

    #module-stats .input-group
    {
        flex-direction: column;
        align-items: flex-start;
    }
}