/* PAINEL DE CONTROLE */
#periodos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #0059c4;
    height: 5%;
    color: white;
    font-size: 16px;
    font-weight: bold;
    width: 100%;


    span {
        cursor: pointer;
    }
}


@media (max-width: 768px) {


    .periodo {
        display: flex;
        align-items: center;
        background-color: #0059c4;
        color: white;
        font-size: 12px;
    

    }
}



#resultados {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40%;
    background-color: white;
}


.resultado {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #0059c4;
    height: 80%;
    width: 23%;
    margin: 5px;
    border-radius: 10px;
}


@media (max-width: 768px) {

    #resultados {
        display: inline-block;
    }

    .resultado {
        display: inline-block;
        align-items: center;
        text-align: center;
        height: 150px;
        width: 40%;
        margin: 15px;
        border-radius: 10px;
    }

}


.progress-circle {
    position: relative;
    width: 50%;
    height: 50%;
    border-radius: 50%;
    background: conic-gradient(red 0% var(--percentage), #e6e6e6 var(--percentage) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.progress-circle::after {
    content: "";
    position: absolute;
    width: 85%;
    height: 85%;
    border-radius: 50%;
    background-color: #0059c4;
    transition: width 0.8s ease-in-out, height 0.8s ease-in-out;
}


.percentage-text {
    position: absolute;
    font-size: 1.5em;
    font-weight: bold;
    color: white;
    z-index: 2;
    transition: opacity 0.5s ease-in-out;
}

@media (max-width: 768px) {

    .progress-circle {
        margin: auto;
    }

}



.grafico {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50%;
    background-color: white;
    /* Cor de fundo para a seção finances1 (branco) */
}

.chart-container {
    width: 75%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ctrChart {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    
    #ctrChart {
        margin-top: 40px;
        width: 100%;
        height: 300px;
    }
}