@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

/* html,
body {
    background: transparent !important;
} */

body {
    margin: 0;
    padding: 0;
    /* height: 100vh; */
    font-family: "Lato", "Roboto", sans-serif;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F2F2F2;
}

section {
    width: 580px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}



section .grafico {
    width: 100%;
    margin: 30px 0;
}

.semiChart-wrap {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 220px;
    margin: 0 auto;
}


section .entradas,
section .saidas,
section .beneficiarios {
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
}

p.titulo-bloco {
    text-align: left;
    margin-left: 10px;
    letter-spacing: 0px;
    font-family: "Lato", "Roboto", sans-serif;
    font-weight: 600;

    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 7px;
}

section .entradas p.titulo-bloco {
    color: #4EA584;
}

section .saidas p.titulo-bloco {
    color: #FF7E6E;
}

section .beneficiarios p.titulo-bloco {
    color: #de9414;
}

.container {
    /* background-color: #4EA584; */
    border-radius: 8px;
    /* width: 540px; */
    /* height: 50px; */
    /* padding: 20px; */
    margin-bottom: 12px;
    /* gap: 30px; */
    color: #ffffff;

    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
}

.container.categoria-diversos {
    order: 1;
}

.container.aberto .material-symbols-outlined {
    transform: rotate(180deg);
    margin-top: 0px;
}

.container.aberto .btn-ver-mais {
    background-color: rgba(255, 255, 255, 0.9);
}

.informacoes {

    border-radius: 8px;
    width: 540px;
    min-height: 50px;
    padding: 20px;
    /* margin-bottom: 8px; */
    gap: 30px;
    color: #ffffff;

    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}

section .entradas .container .informacoes {
    background-color: #4EA584;
}

section .saidas .container .informacoes {
    background-color: #FF7E6E;
}

section .beneficiarios .container .informacoes {
    background-color: #f6ab29;
}


.container .infos {
    width: 57%;
}



.container .bloco-infos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.detalhes {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;

}

.barra-progresso {
    margin-top: 7px;
    height: 7px;
    width: 100%;
    border-radius: 7px;
    background-color: rgba(255, 255, 255, 0.3);
}

.barra-progresso .progresso {
    height: 100%;
    border-radius: 7px;
    background-color: #FFFFFF;
}



.total-registros {
    margin-top: 2px;
    opacity: 0.7;
    font-size: 14.5px;
}

.beneficiarios .total-registros {
    margin-top: 7px;
}



.semi-progress {
    --progress: 72;
    /* valor de 0 a 100 */
    --size: 240px;
    --thickness: 24px;
    --track: #e5e7eb;
    --fill: #22c55e;
    --bg: #fff;

    width: var(--size);
    aspect-ratio: 2 / 1;
    position: relative;
    overflow: hidden;
}

.semi-progress::before {
    content: "";
    position: absolute;
    inset: 0;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background:
        conic-gradient(from 180deg,
            var(--fill) calc((var(--progress) / 100) * 180deg),
            var(--track) 0);
    -webkit-mask: radial-gradient(farthest-side,
            transparent calc(100% - var(--thickness)),
            #000 calc(100% - var(--thickness) + 1px));
    mask: radial-gradient(farthest-side,
            transparent calc(100% - var(--thickness)),
            #000 calc(100% - var(--thickness) + 1px));
}

.semi-progress__inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 18px;
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #222;
}

.btn-ver-mais {
    background-color: rgba(255, 255, 255, 0.65);
    padding: 10px;
    border-radius: 40px;
    height: 26px;
    width: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.1s ease;
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE/Edge antigo */
    user-select: none;
    /* padrão */
}

.btn-ver-mais:hover {
    background-color: rgba(255, 255, 255, 0.9);
}


.material-symbols-outlined {
    font-size: 44px !important;
    margin-top: 3px;
}


section .entradas .container .icon-down {
    color: #4EA584;
}

section .saidas .container .icon-down {
    color: #FF7E6E;
}

section .beneficiarios .container .icon-down {
    color: #f6ab29;
}

.detalhamento {
    background-color: rgb(255, 255, 255);
    /* height: 200px !important; */
    width: 392px;
    color: #585858;
    border-radius: 0 0 8px 8px;
    box-shadow: 0px 3px 12px #00000010;
    padding: 12px 32px 8px 32px;
    margin-bottom: 10px;
}

.detalhamento .gasto {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 0 17px 0;
    align-items: center;
    /* gap: 10px; */
    /* border-bottom: 1px dashed #bcbbbb; */
}

.detalhamento .gasto:not(:last-child) {
    border-bottom: 1px dashed #bcbbbb;
}


.detalhamento .gasto a {
    text-decoration: none;
    background-color: #D3E3FA;
    padding: 4px 11px;
    border-radius: 20px;
    height: 20px;
    font-size: 13px;
    color: #2575E8;
    font-weight: 600;
    white-space: nowrap;

}

.detalhamento .gasto a:hover {
    background-color: #c8daf4;
    color: #2575E8;
}


.item,
.valor,
.gasto a {
    flex-shrink: 0;
}

p.categoria {
    font-size: 15.5px;
    font-weight: 600;
}

p.categoria span {
    font-weight: 500;
    opacity: 0.7;
    font-style: italic;
    font-size: 14px;
}

.item {
    flex: 1;
    min-width: 170px;
    font-size: 14.5px;
}

.detalhes .valor {
    flex: 0 0 150px;
    text-align: right;
    font-size: 16px;
}

.beneficiarios .detalhes .valor {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.entradas .container.categoria-ativos .detalhes .valor {
    padding-top: 8px;
}

.detalhamento .valor {
    flex: 0 0 150px;
    text-align: right;
    margin-right: 12px;
    font-size: 14.5px;
}


.gasto a {
    flex: 0 0 43px;
}

p.percentual {
    position: relative;
    text-align: right;
    bottom: 26px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.movimentacao {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    /* border: 1px solid; */
    margin: 30px 0;
    padding-bottom: 30px;

    gap: 25px;
    text-transform: uppercase;
}

.movimentacao>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2px 0;
    gap: 5px;
}

.movimentacao .titulo-m {
    font-size: 14px;
    color: rgba(56, 56, 56, 0.6);
}

.movimentacao .valor-m {
    font-size: 17px;
    font-weight: 600;
    color: rgba(56, 56, 56, 0.8);
}

.movimentacao .separador {
    width: 2px;
    height: 60px;
    background-color: #c7c7c7;
}

.icone {
    width: 32px;
    height: 32px;
}

@media (max-width: 610px) {


    section {
        width: 100%;

    }

    .informacoes {
        width: 90%;
        gap: 12px;
        padding: 15px;
    }

    .registros {
        width: 90%;
    }

    .detalhamento {
        /* width: 90%; */
        max-width: 70%;
        width: auto;
    }

    .detalhes .valor {
        flex: 0 0 100px;
        font-size: 14.5px;
    }

    .icone {
        width: 27px;
        height: 27px;
    }

    p.categoria {
        font-size: 14.5px;
    }

    .total-registros {

        font-size: 13px;
    }

    p.percentual {

        font-size: 12px;

    }

    .detalhamento .gasto {
        display: grid;
        grid-template-areas:
            "item valor"
            "item link";
        grid-template-columns: auto 100px;
        column-gap: 18px;
        row-gap: 5px;

    }



    .detalhamento .item {
        flex: 1;
        min-width: 80px;
        font-size: 13.5px;
        grid-area: item;
    }

    .detalhamento .valor {
        flex: 0 0 100px;
        text-align: right;
        margin-right: 12px;
        font-size: 13.5px;
        grid-area: valor;
    }

    .detalhamento a {
        grid-area: link;
        width: 43px;
    }

    .movimentacao {
        width: 100%;
        /* padding: 0 15px; */
    }

    .btn-ver-mais {
        /* padding: 8px; */
        height: 22px;
        width: 22px;
    }

    .material-symbols-outlined {
        font-size: 40px !important;

    }

}

@media (max-width: 500px) {

    .registros {
        width: 100%;
    }

    .detalhamento {
        /* width: 90%; */
        max-width: 70%;
        width: auto;
    }

    .semiChart-wrap {
        max-width: 320px;
        height: 170px;
    }

    .movimentacao .valor-m {
        font-size: 15.5px;
    }


}

@media (max-width: 380px) {

    .total-registros {
        font-size: 12px;
        line-height: 9px;
    }

    p.categoria {
        font-size: 13px;
        padding-bottom: 3px;
    }

    p.categoria span {
        font-weight: 500;
        opacity: 0.7;
        font-style: italic;
        font-size: 12px;
    }


    .detalhes .valor {
        font-size: 14px;
        padding-bottom: 16px;
    }

    .informacoes {

        padding: 15px 15px;
    }

}