.poll-insights-container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.page-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    font-weight: 600;
    color: #2a2a2a;
}

.section-card {
    margin-bottom: 60px;
    border-left: 6px solid #1a73e8;
    padding: 20px;
    background-color: #f5f9ff;
    border-radius: 10px;
    transition: 0.3s ease;
}

.section-card:hover {
    background-color: #e8f0fe;
}

.section-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #333;
}

.section-description {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

thead {
    background-color: #1a73e8;
    color: white;
}

th, td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #ccc;
    font-size: 15px;
}

.no-entries {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 15px 0;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.table {
    min-width: 800px; /* Ensure table doesn’t shrink below readable size */
}

canvas {
    min-width: 300px;
}


@media (max-width: 768px) {
    .table th,
    .table td {
        white-space: nowrap;
    }
}

