/* Define uma fonte global para a aplicação */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Estiliza o container principal */
html,
body {
    height: 100%;
}

h1 {
    text-align: center;
    color: #333;
    font-weight: bold;
    margin-bottom: 2%;
    margin-top: 2%;
}

#_pages_content {
    width: 100%;
}


/* Estiliza o Slider */
#slider-ano .rc-slider {
    margin-left: 25%;
    margin-right: 25%;
    width: 50%;
}

/* Ajusta o layout do gráfico */
#grafico-evolucao-problemas,
#grafico-problemas-resumo,
#tabela-comparativa,
#grafico-comparativo-total,
#grafico-comparativo-porcentagem {
    padding: 20px;
    margin-top: 20px;
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 5%;
}

/* Estiliza as labels */
label {
    font-weight: bold;
    display: block;
    text-align: center;
    margin-bottom: 10px;
    color: #555;
}

/* Estilo do Slider */
.rc-slider-rail {
    background-color: #ddd;
}

.rc-slider-track {
    background-color: #007bff;
}

.rc-slider-handle {
    border: 2px solid #007bff;
    width: 18px;
    height: 18px;
}

.dash-core-components,
.dash-html-components {
    max-width: 100%;
}

/* Estiliza os links da página inicial como botões */
.home-link {
    display: inline-block;
    padding: 12px 24px;
    margin: 10px 5px;
    font-size: 16px;
    color: white;
    background-color: #007bff;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
}

.home-link:hover {
    background-color: #0056b3;
}

/* Centraliza o conteúdo da página inicial */
.home-container {
    text-align: center;
    padding-top: 5%;
}

/* Responsividade */
@media (max-width: 100%) {

    #slider-ano {
        width: 70%;
        margin-left: 5%;
    }

    #grafico-evolucao-problemas {
        margin-left: 5%;
        margin-right: 5%;
    }

    .home-link {
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
        padding: 15px 0;
    }
}

.bartext {
    font-weight: bold !important;
}

.point:hover {
    fill: #3B032F !important;
}

#only-desktop {
    display: none;
}

.message-screen {
    color: #ffffffc4;
    text-align: center;
    font-size: 16px;
}

.message-description {
    color: #ffffffc4;
    text-align: center;
    font-size: 12px;
}

.icon-message {
    color: #ffffffc4;
    font-size: 45px;
}

@media screen and (max-width: 860px) {
    #platform {
        display: none;
    }

    #only-desktop {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
    }
}