/* Sidebar */
.classe-sidebar {
    background-color: #343a40; /* Fundo escuro */
    padding: 30px 20px;
    border-radius: 16px; /* Remove a curva que está causando efeito de camada */
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2); /* Sombra mais suave */
    height: 100vh;
    display: flex;
    flex-direction: column;
    color: rgb(255, 255, 255); /* Texto branco */
    overflow-y: auto;
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    z-index: 1000;
}

.sidebar-section-top {
    flex-shrink: 0;
}

.sidebar-section-bottom {
    margin-top: auto;
}

.sidebar-button {
    background-color: rgba(255, 255, 255, 0.1) !important; /* Fundo levemente transparente */
    color: white !important; /* Texto branco */
    border: none !important;
    font-weight: 500;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 10px 12px;
    transition: background-color 0.3s ease;
}

.sidebar-button:hover {
    background-color: rgba(255, 255, 255, 0.2) !important; /* Fundo mais claro ao passar o mouse */
}

.sidebar-button-sair {
    background-color: #e74c3c !important; /* Vermelho para o botão de sair */
    color: white !important; /* Texto branco */
    border: none;
    font-weight: bold;
    border-radius: 8px;
    padding: 10px 12px;
}

.sidebar-button-sair:hover {
    background-color: #c0392b !important; /* Vermelho escuro ao passar o mouse */
}

.submenu-hidden {
    display: none !important;
}

.submenu-visible {
    display: block !important;
}


.gauge-card {
    background-color: #ffffff;
    padding: 5px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 5px;
    transition: 0.3s ease-in-out;
}

.gauge-card:hover {
    transform: scale(1.02);
}

.bar-chart-card {
    background-color: #ffffff;
    padding: 5px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 5px;
    transition: 0.3s ease-in-out;
}

.bar-chart-card:hover {
    transform: scale(1.02);
}

.gauge-title {
    color: #2c3e50;
    font-weight: bold;
    font-size: 1.25rem;
}

.gauge-card, .bar-chart-card {
    width: 100%;
}

.graph-row, .graph-row-bar-chart {
    margin-bottom: 20px;
}

html, body {
    overflow-x: hidden;
}

.content-area {
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.submenu-hidden {
    display: none !important;
}

.submenu-visible {
    display: block !important;
}