.AnalyticsWidget {
  /* Highchart color overrides */
  --color-blue6: theme(colors.primary.500);
  --color-gray6: theme(colors.gray.500);
  --color-green6: theme(colors.success.500);
  --color-red6: theme(colors.error.500);
  --color-yellow6: theme(colors.warning.500);

  @apply mt-4 rounded-lg border border-gray-200 px-0 pb-2 shadow-md;
}

.AnalyticsWidget-loading {
  @apply mb-6 flex items-center justify-center gap-3 before:btu-loader before:size-[--loader-size];
}

.AnalyticsWidget-content > .numbersPeriod {
  @apply opacity-0 transition-opacity duration-300;
}

.AnalyticsWidget-content > .numbersPeriod.chart-loaded {
  @apply opacity-100;
}

.AnalyticsWidget-controls {
  @apply flex items-center justify-end border-b border-b-gray-200 px-6 py-[0.88rem];
}

.AnalyticsWidget-display {
  @apply mt-6 overflow-hidden px-6;
}

.AnalyticsWidget .Chart {
  @apply flex justify-center;
}
