body {
    background-color: #192c52;
    color: #fff !important; /* Stronger global white text */
}

* { /* Catch-all to override Bootstrap defaults */
    color: #fff !important;
}

.offcanvas {
    width: 450px !important;
}

@media (max-width: 768px) {
    .offcanvas {
        width: 250px !important;
    }
}

.offcanvas-title, .offcanvas-body {
    color: #fff !important;
}

body h1, body h2, body h3, body h4, body h5, body h6 { /* Explicitly target all headings */
    color: #ffffff !important;
    font-family: Arial, sans-serif;
}

.text-primary { /* Ensure headings with this class are white */
    color: #ffffff !important;
}

p, li, td, th, span, a { /* Cover common text elements */
    color: #ffffff !important;
}

.form-select {
    border-radius: 8px;
    border: 1px solid #192c52;
    background: #94a3cd;
    color: #000000; /* Black text on light bg for readability */
}

.form-select:focus {
    color: #000;
}

.table-dark {
    border: 1px solid #140452;
    border-radius: 8px;
    overflow: hidden;
    color: #fff;
}

button:hover, .btn:hover {
    background-color: #192c52;
    color: white;
}

details summary {
    cursor: pointer;
}

/* Stronger overrides for Bootstrap classes */
.text-primary, h1.text-primary, h2.text-primary {
    color: #ffffff !important;
}
.navbar-brand, .nav-link, .lead, p, h1, h2, h3 {
    color: #ffffff !important;
}
.card.bg-dark .text-muted {
    color: #cccccc !important; /* Lighter gray for muted text if needed */
}