/* Force Clean White Design - Override any dark themes */

/* Force white background everywhere */
body {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Force white backgrounds for all containers */
.container,
.container-fluid,
.card,
.card-body,
.card-header,
.navbar,
.navbar-brand,
.navbar-nav,
.navbar-collapse,
.modal-content,
.modal-header,
.modal-body,
.modal-footer,
.dropdown-menu,
.table,
.table thead th,
.table tbody tr,
.table tbody td,
.form-control,
.form-select,
.alert,
.btn {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Force black text */
h1, h2, h3, h4, h5, h6,
p, span, div, a, label,
.navbar-brand,
.navbar-nav .nav-link,
.card-title,
.card-text,
.table th,
.table td {
    color: #000000 !important;
}

/* Force clean borders */
.card,
.table,
.form-control,
.form-select,
.btn,
.alert {
    border: 1px solid #e9ecef !important;
}

/* Force clean navigation */
.navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e9ecef !important;
}

.navbar-brand {
    color: #000000 !important;
}

.navbar-nav .nav-link {
    color: #000000 !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #000000 !important;
    background-color: transparent !important;
}

/* Force clean buttons */
.btn {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
}

.btn:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
}

.btn-primary {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
}

.btn-primary:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
}

/* Force clean forms */
.form-control,
.form-select {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #e9ecef !important;
}

.form-control:focus,
.form-select:focus {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
}

/* Force clean tables */
.table {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.table thead th {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-bottom: 2px solid #000000 !important;
}

.table tbody tr {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.table tbody tr:hover {
    background-color: #f8f9fa !important;
}

.table td,
.table th {
    color: #000000 !important;
    border-color: #e9ecef !important;
}

/* Force clean alerts */
.alert {
    background-color: #ffffff !important;
    border: 1px solid !important;
}

.alert-success {
    color: #28a745 !important;
    border-color: #28a745 !important;
}

.alert-danger {
    color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.alert-warning {
    color: #856404 !important;
    border-color: #ffc107 !important;
}

.alert-info {
    color: #17a2b8 !important;
    border-color: #17a2b8 !important;
}

/* Force clean cards */
.card {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #e9ecef !important;
}

.card-header {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-bottom: 1px solid #e9ecef !important;
}

.card-body {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Force clean badges */
.badge {
    border: 1px solid !important;
}

.badge.bg-primary {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

.badge.bg-success {
    background-color: #28a745 !important;
    color: #ffffff !important;
    border-color: #28a745 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000000 !important;
    border-color: #ffc107 !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
    color: #ffffff !important;
    border-color: #dc3545 !important;
}

.badge.bg-info {
    background-color: #17a2b8 !important;
    color: #ffffff !important;
    border-color: #17a2b8 !important;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
    color: #ffffff !important;
    border-color: #6c757d !important;
}

/* Force clean pagination */
.pagination .page-link {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #e9ecef !important;
}

.pagination .page-link:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
}

.pagination .page-item.active .page-link {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
}

/* Force clean dropdowns */
.dropdown-menu {
    background-color: #ffffff !important;
    border: 1px solid #e9ecef !important;
}

.dropdown-item {
    color: #000000 !important;
}

.dropdown-item:hover {
    background-color: #f8f9fa !important;
    color: #000000 !important;
}

/* Force clean modals */
.modal-content {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #e9ecef !important;
}

.modal-header {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-bottom: 1px solid #e9ecef !important;
}

.modal-body {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.modal-footer {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-top: 1px solid #e9ecef !important;
}


/* Remove any dark mode overrides */
@media (prefers-color-scheme: dark) {
    body,
    .container,
    .card,
    .navbar,
    .table,
    .form-control,
    .btn,
    .alert {
        background-color: #ffffff !important;
        color: #000000 !important;
    }
}
