/*
    Theme Name:   Palmela Child
    Description:  Palmela Child Theme
    Author:       HiBootstrap
    Author URI:   http://hibootstrap.com
    Template:     palmela
    Version:      1.3.0
    Text Domain:  palmela-child
*/

.chart-wrapper {
  position: relative;
  width: 100%;
}

.chart-container {
  height: 100%;
  width: 100%;
}

.chart-container.blur canvas {
  filter: blur(2px);
}

.chart-loader {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Custom spinner (green Bootstrap-style) */
.loader-spinner {
  width: 3rem;
  height: 3rem;
  border: 4px solid #198754;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Hide loader by default */
.hidden {
  display: none !important;
}

/* Spinner animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
