/* ============================================================
   📊 ADMIN — RESULTADOS 
   ============================================================ */

/* Tabla de resultados */
.wpeasyvote-admin table.widefat {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #ececec;
}

.wpeasyvote-admin table.widefat th {
    background: #fafafa;
    color: #333;
    font-weight: 600;
}

.wpeasyvote-admin table.widefat tbody tr:hover {
    background: #f8f8f8;
}

/* Botones */
.wpeasyvote-admin .button-primary {
    background-color: #1976d2 !important;
    border: none;
    color: #fff !important;
    border-radius: 6px;
}

.wpeasyvote-admin .button {
    border-radius: 6px;
}

.wpeasyvote-admin .button-success {
    background-color: #2e7d32 !important;
    color: #fff !important;
}

/* Contenedor del resumen */
.wpeasyvote-panel {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e2e2e2;
    margin-bottom: 25px;
}

.wpeasyvote-panel h2 {
    margin-top: 0;
}

/* Bloques de información */
.wpeasyvote-info-box {
    padding: 12px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 15px;
}


/* === Inline chart grid styles migrated from admin/admin-resultados.php (WP.org review) === */

            .wpeasyvote-charts-grid{
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 24px;
                max-width: 1100px;
                margin: 20px auto 10px;
                align-items: start;
            }
            .wpeasyvote-chart-card{
                background: #fff;
                border: 1px solid #e3e3e3;
                border-radius: 8px;
                padding: 14px;
            }
            .wpeasyvote-chart-title{
                font-weight: 600;
                margin-bottom: 10px;
            }
            .wpeasyvote-chart-canvas-wrap{
                height: 260px; /* tamaño compacto */
            }
            @media (max-width: 980px){
                .wpeasyvote-charts-grid{
                    grid-template-columns: 1fr;
                }
            }
        
