/* Add this if you want equal height cards and alignment */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.05);
    text-align: left;
  }
  
  .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
  }
  
  .card-value {
    font-size: 2rem;
    font-weight: bold;
    color: #212529;
  }
  
  .total-card {
    background-color: #0d6efd;
    color: white;
  }
  
  .total-card .card-title,
  .total-card .card-value {
    color: white;
  }
  
  .header {
    background-color: #212529;
    color: white;
    padding: 1.5rem 2rem;
    text-align: left;
    margin-bottom: 2rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  
   
  .chart-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    text-align: right;
  }
  
  .chart-container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 10px;
    flex-direction: row;
    gap: 1rem;
  }
  
    
  canvas {
    width: 100% !important;
    height: auto !important;
  }
  
  /* Add in your dash.css or inline styles */
#pivotTable th, #pivotTable td {
  text-align: center;
  vertical-align: middle;
}
#pivotTable th {
  background-color: #f8f9fa;
}



.chart-box {
  background: #fff;
  border: 1px solid #dee2e6;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  flex: 1;
  min-width: 250px;
  max-width: 100%;
}

.chart-box-small {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  width: 350px;
}


.pivot-table-container {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  width: 350px;
  margin-top: 1px;  /* Add spacing to separate from other elements */
  overflow-x: auto;  /* Enable horizontal scrolling if needed */
}


.highlighted-cell {
  background-color: #ffe58f !important;  /* soft yellow */
  font-weight: bold;
  border: 2px solid #faad14;
  transition: background-color 0.3s ease, border 0.3s ease;
}

.chart-box-small {
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.pivot-table-container h6 {
  margin-bottom: 10px;
}
