.custom-dataframe { width: 100% !important; overflow-x: auto !important; } .custom-dataframe table { width: auto !important; min-width: 100% !important; font-size: 14px !important; } .custom-dataframe thead th { padding: 4px 8px !important; text-align: center !important; vertical-align: middle !important; white-space: nowrap !important; overflow: visible !important; font-size: 12px !important; font-weight: bold !important; line-height: 1.2 !important; } .custom-dataframe tbody td { padding: 4px 8px !important; text-align: right !important; vertical-align: middle !important; white-space: nowrap !important; overflow: visible !important; line-height: 1.2 !important; } .custom-dataframe tbody td:first-child { text-align: left !important; } /* Adjust the sort indicator position */ .custom-dataframe thead th::after { font-size: 12px !important; line-height: 1 !important; margin-left: 4px !important; } /* Style for global result columns */ .custom-dataframe thead th:nth-child(-n+4), .custom-dataframe tbody td:nth-child(-n+4) { background-color: #f0f8ff !important; /* Light blue background */ } /* Style for dimension-specific result columns */ .custom-dataframe thead th:nth-child(n+5), .custom-dataframe tbody td:nth-child(n+5) { background-color: #f0fff0 !important; /* Light green background */ } /* Alternating row colors for better readability */ .custom-dataframe tbody tr:nth-child(even) td:nth-child(-n+4) { background-color: #e6f3ff !important; /* Slightly darker light blue */ } .custom-dataframe tbody tr:nth-child(even) td:nth-child(n+5) { background-color: #e6ffe6 !important; /* Slightly darker light green */ }