/* FII/DII Style - Global Font Reductions */
body {
  font-size: 11px;
  line-height: 1.4;
  background-color: #0f0f0f;
  color: #ffffff;
}

/* Adjust heading sizes proportionally - extremely reduced */
h1 { font-size: 1.4rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }
h4 { font-size: 0.9rem; }
h5 { font-size: 0.8rem; }
h6 { font-size: 0.7rem; }

/* Extremely reduce font size for specific elements */
.card-title { font-size: 0.8rem; color: white !important; }
.text-xl { font-size: 0.9rem !important; }
.text-2xl { font-size: 1rem !important; }
.text-sm { font-size: 0.65rem !important; }
.lead { font-size: 0.75rem !important; }
.display-4 { font-size: 1.3rem !important; }
.fs-6 { font-size: 0.7rem !important; }

/* Additional font size reductions - extreme */
.btn { font-size: 0.75rem; }
.alert { font-size: 0.75rem; }
.nav-button span { font-size: 0.75rem; }
.badge { font-size: 0.65rem !important; }
.table td, .table th { font-size: 0.7rem; }
.card-body p { font-size: 0.7rem; }
.fw-semibold, .fw-medium, .fw-bold { font-size: 0.75rem; }
#lastUpdated { font-size: 0.7rem; }
.nav-link { font-size: 0.75rem; }
footer { font-size: 0.7rem; }
input, select, textarea { font-size: 0.75rem; }

/* FII/DII Style Card Styling */
.card {
  background-color: #1a1a1a;
  border-color: #333333;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

.card-header {
  background: linear-gradient(135deg, #2c3e50, #1a252f);
  color: white;
  font-weight: 600;
  padding: 8px 12px;
  border-bottom: none;
  font-size: 0.75rem;
}

/* FII/DII Style Table Styling */
.table {
  color: #ffffff;
  background-color: #000000;
}

.table th {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
  font-size: 0.7rem;
}

.table td {
  border-color: #000000;
  color: #ffffff;
  background-color: #000000;
  font-size: 0.7rem;
}

.table-hover tbody tr:hover {
  background-color: #000000;
}

/* Force all table elements to have black background */
.table * {
  background-color: #000000 !important;
}

/* Chart size adjustments */
.chart-container { height: auto !important; }
canvas { max-height: 300px; }

/* Increased bar width */
.bar-chart-container .chart-js-bar { width: 30px !important; }

/* Tailwind-like utility classes */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-6 { gap: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.lazy-section { opacity: 1; transition: opacity 0.5s ease-in-out; }
.loaded { opacity: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.bg-white { background-color: #ffffff; }
.dark\:bg-darkCard { background-color: #1a1a1a; }
.rounded-xl { border-radius: 0.75rem; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.overflow-hidden { overflow: hidden; }
.border { border-width: 1px; }
.border-gray-100 { border-color: rgba(243, 244, 246, 1); }
.dark\:border-gray-700 { border-color: rgba(55, 65, 81, 1); }
.p-6 { padding: 1.5rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.mb-4 { margin-bottom: 1rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.font-semibold { font-weight: 600; }
.text-gray-900 { color: rgba(17, 24, 39, 1); }
.dark\:text-white { color: rgba(255, 255, 255, 1); }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.rounded-full { border-radius: 9999px; }
.bg-indigo-100 { background-color: rgba(224, 231, 255, 1); }
.dark\:bg-indigo-900 { background-color: rgba(49, 46, 129, 1); }
.justify-center { justify-content: center; }
.mr-2 { margin-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.font-medium { font-weight: 500; }
.bg-red-100 { background-color: rgba(254, 226, 226, 1); }
.text-red-800 { color: rgba(153, 27, 27, 1); }
.dark\:bg-red-900 { background-color: rgba(127, 29, 29, 1); }
.dark\:text-red-200 { color: rgba(254, 202, 202, 1); }
.bg-green-100 { background-color: rgba(220, 252, 231, 1); }
.text-green-800 { color: rgba(22, 101, 52, 1); }
.dark\:bg-green-900 { background-color: rgba(20, 83, 45, 1); }
.dark\:text-green-200 { color: rgba(187, 247, 208, 1); }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-gray-500 { color: rgba(107, 114, 128, 1); }
.dark\:text-gray-400 { color: rgba(156, 163, 175, 1); }
