/* Strategie Pie Widget styles */
#aaaPieWidgetHost { display:block; }
#aaaPieWidgetHost .aaa-pie-panel { border: 1px solid #e5e7eb; }
#aaaPieWidgetHost .aaa-pie-chart-wrap { position: relative; width: 100%; height: 180px; }
#aaaPieWidgetHost .aaa-pie-rows { max-height: 220px; overflow: auto; }
#aaaPieWidgetHost .aaa-pie-row input[type="number"] { text-align: right; }
#aaaPieWidgetHost .aaa-pie-row .form-control-color { padding: 2px; height: 30px; width: 38px; }
#aaaPieWidgetHost #aaaPieStatus.text-danger { font-weight: 600; }

@media (min-width: 576px) {
  /* Fixed width so the pie column (col-auto) shrinks to content; no float to avoid extra internal gaps */
  #aaaPieWidgetHost .aaa-pie-panel { width: 280px; }
}
@media (max-width: 575.98px) {
  #aaaPieWidgetHost .aaa-pie-panel { width: 100%; }
}

/* Compact mode for very small screens: slightly smaller chart and controls */
#aaaPieWidgetHost .aaa-pie-panel.compact .aaa-pie-chart-wrap { height: 150px; }
#aaaPieWidgetHost .aaa-pie-panel.compact { font-size: 0.92em; }
