/* MANDATORY - Text and Component Fixes for Responsive Design */

/* 0. Flex/grid children in page layouts - allow shrinking to prevent overflow on small viewports */
.page-content .row > [class*="col-"] {
    min-width: 0;
}

/* 1. Allow text wrapping instead of truncation */
.card-title,
.metric-label,
h5, h6 {
    overflow-wrap: break-word;
    word-wrap: break-word;
    min-width: 0;
}

/* 2. Make dropdown text visible in dark mode */
.Select__single-value {
    color: #e8eaed !important;
}

/* 3. Prevent cards from getting too narrow */
.metric-card {
    min-width: 200px;
}

/* 4. Prevent horizontal overflow */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
}

html, body, #react-entry-point, .main-container {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* 5. Make DBC cards use your theme (if using DBC) */
.card {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
}

/* 6. Sharp borders for Bootstrap badges (no pill rounding) */
.badge {
    border-radius: 0 !important;
}

