/* ── Global resets & dark-mode base ── */

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

html {
    font-size: 14px;
    height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #0f172a;
    color: #e2e8f0;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Bootstrap container override - remove max-width restriction for dashboard */
.main-wrapper .container,
.main-wrapper {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Ensure chart.js canvas fills its container */
canvas {
    max-width: 100%;
}
