body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: #f4f6f9;
    color: #333;
}

/* Estilo do Cabeçalho */
.header-jurua-bot {
    background-color: #FFFFFF;
    padding: 10px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #EEEEEE;
}
.header-jurua-bot .logos-institucionais { display: flex; align-items: center; gap: 20px; }
.header-jurua-bot img { max-height: 45px; }
.header-jurua-bot img.logo-projeto { max-height: 60px; }

/* Container do Dashboard */
.dashboard-container {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Estilo dos "Cards" dos Widgets */
.widget-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
}
.widget-card h2 {
    margin-top: 0;
    font-size: 1.1em;
    color: #555;
}
.valor-sensor {
    font-size: 3em;
    font-weight: bold;
    color: #007bff;
    margin: 10px 0;
}
.card-controle #estado-rele {
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
}
.card-controle button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s;
}
.card-controle button:hover {
    background-color: #218838;
}

/* Estilo para o card do gráfico */
.card-grafico {
    grid-column: 1 / -1; /* Faz o gráfico ocupar a largura total */
}
