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

/* 1. Stop text breaking mid-word */
.card-title,
.metric-label,
h5, h6 {
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 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;
}

* {
    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;
}

