body {
    font-family: "Fira Sans", sans-serif;
    background-color: hsl(48, 33%, 94%);
    /* box-sizing: border-box; */
}

header {
    text-align: center;
}

section {
    box-sizing: border-box;
    margin-bottom: 1.8em;
    padding: 0 8px 0;
}

table {
    width: 100%;
}

.container-ficha {
    padding-bottom: 1.5em;
}

.ficha {
    border: 0;
    box-shadow: 6px 6px 10px #dadada;
    border-radius: 15px;
    margin-bottom: 1em;
    height: 100%;
}
    
.fontemono {
    font-family: "Fira Mono", monospace;
    font-size: 0.8em;
    text-align: right;
}

.tituloficha {
    font-size: 20px;
    padding-left: 10px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3em;
}

.botao-peq {
    background-color: #fff;
    border: 1px solid hsl(155, 100%, 35%);
    border-radius: 0.25rem;
    color: hsl(169, 76%, 42%);
    font-size: 0.9rem;
    padding: 4px 8px;
}

.botao-peq:hover {
    background-color: hsl(169, 76%, 42%);
    color: #fff;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.idmoeda {
    color: hsl(169, 76%, 42%);
}

.numero {
    text-align: right;
}

@media screen and (max-width: 580px) {

    .table-mobile thead {
        display: none;
    }

    .table-mobile tbody {
        display: flex;
        flex-wrap: wrap;
        gap: 1em;
        justify-content: space-between;
    }

    .table-mobile tr {
        background-color: hsl(153, 53%, 64%);
        border-radius: 12px;
        min-width: calc((100% - 1em)/2);
        padding: 0.2em 0.4em;
        color: white;
    }

    .table-mobile td {
        display: block;
        width: auto;
        text-align: center;
        font-size: 0.7em;
    }

    .table-mobile td::before {
        content: attr(data-th);
        display: inline-block;
        text-align: left;
        font-family: "Fira Sans", sans-serif;
        /* font-size: 1em; */
    }

    .table-mobile .inl-blk{
        display: flex;
        justify-content: space-between;
    }
}

@media screen and (min-width: 580px) {
    
    section {
        padding: 0 50px 0;
    }
    
    thead {
        text-align: center;
    }
    
    tr {
        border-bottom: 1px solid #ddd;
    }

    /* .table-moedas {
        display: table;
    } */
        
    .form-floating {
        display: inline-block;
        min-width: 150px;
    }
    
    .chart-dates {
        display: flex;
        justify-content: space-evenly;
    }
    
    .header-tabela-cartao {
        text-align: center;
        vertical-align: bottom;
    }
    
    .coluna-centro {
        text-align: center;
    }
    
    .coluna-direita {
        text-align: right;
    }        
}
