.googleHeaderRow {
    background-color: #2c3e50;
    color: white;
    font-weight: bold;
    text-align: left;
  }
  .googleTableRow {
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
  }
  .googleOddRow {
    background-color: #f9f9f9;
  }
  .googleSelectedRow {
    background-color: #dfe6e9 !important;
  }
  .svg-icon-3xa {
          font-size: 5rem; /* or try 5rem for even bigger */
          width: 5rem;
          height: 5rem;
      }


      .custom-legend-container {
max-height: 200px;
overflow-y: auto;
overflow-x: hidden;
border: 1px solid #e1e5e9;
border-radius: 8px;
padding: 10px;
margin-top: 15px;
background-color: #ffffff;
position: absolute;
right: 0;
top: 0;
width: 200px;
z-index: 10;
}

.legend-item {
display: flex;
align-items: center;
padding: 4px 8px;
margin-bottom: 4px;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.2s;
font-size: 12px;
}

.legend-item:hover {
background-color: #f8f9fa;
}

.legend-color-box {
width: 12px;
height: 12px;
border-radius: 2px;
margin-right: 8px;
flex-shrink: 0;
}

.legend-text {
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.legend-item-hidden {
opacity: 0.5;
text-decoration: line-through;
}

.legend-item-hidden .legend-color-box {
background-color: #999 !important;
}

.filter-mode .legend-item {
cursor: pointer;
}

.filter-mode .legend-item:hover {
background-color: #e3f2fd;
}

.custom-legend-container::-webkit-scrollbar {
width: 6px;
}

.custom-legend-container::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 3px;
}

.custom-legend-container::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 3px;
}

.custom-legend-container::-webkit-scrollbar-thumb:hover {
background: #a1a1a1;
}

.btn-active {
background-color: #f1416c !important;
color: white !important;
}

/* Agregar a tu sección <style> */
#PieChartsPartidas {
max-width: 700px !important;
max-height: 700px !important;
margin: 0 auto;
}

.custom-legend-container {
max-height: 98%;
overflow-y: auto;
overflow-x: hidden;
border: 1px solid #e1e5e9;
border-radius: 8px;
padding: 12px;
margin-top: 0px;
background-color: #ffffff;
position: absolute;
right: 10px;
top: 10px;
width: 200px;
z-index: 10;
}
/* Transiciones suaves para el zoom */
#PieChartsPartidas {
transition: all 0.3s ease-in-out;
}

.custom-legend-container {
transition: opacity 0.3s ease-in-out;
}

/* Estilo para botón zoom activo */
.btn-active {
background-color: #f1416c !important;
color: white !important;
}