/* Updated CSS - v3.0 - Force White Background */
html {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #333;
  line-height: 1.5;
  padding: 30px 20px;
}

.dashboard {
  max-width: 900px;
  margin: 0 auto;
}

.charts-container {
  display: flex;
  gap: 20px;
}

.section {
  flex: 1;
  margin-bottom: 25px;
  border: 2px solid #cbd5f5;
  border-radius: 10px;
  padding: 18px;
  background: #f5f7ff;
  box-shadow: 0 8px 18px rgba(28, 46, 85, 0.08);
  display: flex;
  flex-direction: column;
}

.section-body {
  flex: 1;
  max-height: 320px;
  overflow-y: auto;
}

.section-body::-webkit-scrollbar {
  display: none;
}

.section-body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  background: #fafafa;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 12px;
}

.charts-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chart-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px 14px;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05);
}

.chart-content {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 6px;
}

.chart-content::-webkit-scrollbar {
  width: 4px;
}

.chart-content::-webkit-scrollbar-track {
  background: transparent;
}

.chart-content::-webkit-scrollbar-thumb {
  background: rgba(79, 92, 121, 0.2);
  border-radius: 999px;
}

.chart-header {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.chart-header h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: #4a5568;
}

.chart-item {
  padding: 4px 0;
  color: #2d3748;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.85rem;
}

.chart-item:last-child {
  border-bottom: none;
}

.no-data {
  color: #a0aec0;
  font-style: italic;
  padding: 15px 0;
}

@media (max-width: 768px) {
  .charts-container {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  html, body {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    padding: 0 !important;
  }
  .dashboard {
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .section {
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 16px !important;
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
  }
}
