/* Custom CSS overrides for the Admin Panel */

:root {
    --sidebar-width: 250px;
    --sidebar-collapsed-width: 70px;
    --header-height: 60px;
    --color-primary: #2c3e50;
    --color-secondary: #7f8c8d;
    --color-success: #27ae60;
    --color-info: #3498db;
    --color-warning: #f39c12;
    --color-danger: #e74c3c;
    --color-light: #ecf0f1;
    --color-dark: #2c3e50;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography */
body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: #2c3e50;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6,
.card-title, .sidebar-brand, .header-title {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

h1 { font-size: 2.25rem; font-weight: 700; }
h2 { font-size: 1.875rem; font-weight: 700; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

.layout-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    transition: all 0.3s;
    padding: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    overflow-y: auto;
    background-color: #2c3e50;
    border-right: 1px solid #34495e;
}

.sidebar-header {
    padding: 1.25rem;
    text-align: center;
    border-bottom: 1px solid #34495e;
    background: linear-gradient(135deg, var(--color-dark) 0%, #34495e 100%);
}

.sidebar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    display: block;
    letter-spacing: 0.5px;
}

.sidebar-nav {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    border-left: 4px solid transparent;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.sidebar-link:hover, .sidebar-link.active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: var(--color-info);
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    margin-right: 0.75rem;
    opacity: 0.75;
}

.sidebar-link:hover i, .sidebar-link.active i {
    opacity: 1;
}

.sidebar-collapse-icon {
    margin-left: auto;
}

.content-wrapper {
    width: calc(100% - var(--sidebar-width));
    margin-left: var(--sidebar-width);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    height: var(--header-height);
    padding: 0 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.header-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    color: #3a3b45;
    position: relative;
}

.header-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    border-radius: 2px;
}

.header-nav {
    display: flex;
    align-items: center;
}

.header-nav .dropdown-toggle::after {
    display: none;
}

.header-nav .dropdown-menu {
    min-width: 280px;
    padding: 0;
}

.header-nav .dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-nav .dropdown-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.header-nav .dropdown-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-nav .dropdown-item:last-child {
    border-bottom: none;
}

.notification-container {
    max-height: 300px;
    overflow-y: auto;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Main content */
.main-content {
    flex: 1;
    padding: 2rem;
}

/* Modern Cards */
.card {
    margin-bottom: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(44, 62, 80, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    background-color: #ffffff;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-header {
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
    padding: 1.25rem 1.5rem;
}

/* Opt-in gradient class - alleen toevoegen waar gewenst */
.card-header.card-gradient {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.card-header h5 {
    font-weight: 700;
    margin: 0;
    font-family: var(--font-heading);
}

.card-body {
    padding: 1.5rem;
}

.card-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Modern Dashboard Stats */
.stat-card {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(44, 62, 80, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    background: white;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-info));
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-card.primary {
    border-left-color: #4e73df;
    background: linear-gradient(to right, rgba(78, 115, 223, 0.08), rgba(255, 255, 255, 0));
}

.stat-card.success {
    border-left-color: #1cc88a;
    background: linear-gradient(to right, rgba(28, 200, 138, 0.08), rgba(255, 255, 255, 0));
}

.stat-card.warning {
    border-left-color: #f6c23e;
    background: linear-gradient(to right, rgba(246, 194, 62, 0.08), rgba(255, 255, 255, 0));
}

.stat-card.danger {
    border-left-color: #e74a3b;
    background: linear-gradient(to right, rgba(231, 74, 59, 0.08), rgba(255, 255, 255, 0));
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    margin-right: 1rem;
    flex-shrink: 0;
    font-size: 1.5rem;
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    transform: scale(1.05);
}

.stat-icon.primary {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
}

.stat-icon.success {
    background: linear-gradient(135deg, #1cc88a 0%, #13855c 100%);
}

.stat-icon.warning {
    background: linear-gradient(135deg, #f6c23e 0%, #dda20a 100%);
}

.stat-icon.danger {
    background: linear-gradient(135deg, #e74a3b 0%, #be2617 100%);
}

.stat-icon i {
    font-size: 1.75rem;
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #7f8c8d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    transform: skewX(-30deg) translateX(70%);
    z-index: 1;
    opacity: 0.2;
}

/* Modern Buttons */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 0.5rem;
    padding: 0.625rem 1.25rem;
    transition: var(--transition);
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: #0d6efd !important;
    border-color: #0d6efd !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background: #0b5ed7 !important;
    border-color: #0a58ca !important;
    color: #ffffff !important;
}

.btn-success {
    background: linear-gradient(135deg, var(--color-success) 0%, #229954 100%);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, var(--color-warning) 0%, #e67e22 100%);
    color: #2c3e50 !important;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e67e22 0%, var(--color-warning) 100%);
    color: #2c3e50 !important;
}

.btn-info {
    background: linear-gradient(135deg, var(--color-info) 0%, #2980b9 100%);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--color-danger) 0%, #c0392b 100%);
    color: white;
}

.btn-secondary,
.btn-outline-secondary {
    background: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
}

.btn-secondary:hover,
.btn-outline-secondary:hover {
    background: var(--color-secondary);
    color: white;
    border-color: var(--color-secondary);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.btn-sm {
    padding: 0.375rem 0.875rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1.125rem;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    font-weight: 600;
    color: var(--color-dark);
    font-family: var(--font-body);
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 0.5rem;
    border: 1px solid rgba(44, 62, 80, 0.15);
    padding: 0.625rem 1rem;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.15);
}

.password-field {
    position: relative;
}

.password-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}

/* Modern Tables */
.table {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(44, 62, 80, 0.08);
}

.table thead th {
    font-family: var(--font-heading);
    font-weight: 600;
    border-top: none;
    background: linear-gradient(135deg, var(--color-dark) 0%, #34495e 100%);
    color: white !important;
    padding: 1rem 1.25rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
    border-bottom: none;
}

.table tbody tr {
    transition: var(--transition);
    border-bottom: 1px solid rgba(44, 62, 80, 0.06);
}

.table tbody tr:nth-child(even) {
    background-color: rgba(44, 62, 80, 0.02);
}

.table tbody tr:hover {
    background-color: rgba(44, 62, 80, 0.08);
    transform: scale(1.002);
}

.table tbody td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
    font-size: 0.9375rem;
}

.table-actions {
    text-align: right;
    white-space: nowrap;
}

.table-actions .btn {
    margin-left: 0.25rem;
}

/* Notifications */
.notification-item {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.notification-item.unread {
    background-color: rgba(13, 110, 253, 0.05);
}

.notification-item .notification-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.notification-item .notification-message {
    margin-bottom: 0.5rem;
}

.notification-item .notification-time {
    color: var(--bs-secondary);
    font-size: 0.75rem;
}

/* API Access */
.api-result {
    background-color: var(--bs-dark);
    color: var(--bs-light);
    padding: 1rem;
    border-radius: 0.375rem;
    overflow-x: auto;
    max-height: 300px;
}

.api-toggle-container {
    display: flex;
    align-items: center;
}

.api-toggle-label {
    margin-left: 0.5rem;
    font-weight: 600;
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.login-card {
    max-width: 460px;
    width: 100%;
    padding: 2.5rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3);
    border-radius: 1rem;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.login-title {
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
    text-align: center;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
}

.login-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 3px;
}

/* Register Page */
.register-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 2rem 1rem;
}

.register-card {
    max-width: 520px;
    width: 100%;
    padding: 2.5rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3);
    border-radius: 1rem;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.register-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.register-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.register-logo h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.register-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
}

.register-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 3px;
}

/* Avatar Styling */
.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
}

.avatar-lg {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
}

.avatar-initials {
    font-size: 1.25rem;
}

.avatar.bg-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #34495e 100%);
}

/* Alerts - Modern */
.alert {
    border-radius: 0.75rem;
    border: none;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
}

.alert-info {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0.05) 100%);
    border-left: 4px solid var(--color-info);
    color: #2c3e50 !important;
}

.alert-info * {
    color: #2c3e50 !important;
}

.alert-success {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1) 0%, rgba(39, 174, 96, 0.05) 100%);
    border-left: 4px solid var(--color-success);
    color: #2c3e50;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1) 0%, rgba(243, 156, 18, 0.05) 100%);
    border-left: 4px solid var(--color-warning);
    color: #2c3e50;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(231, 76, 60, 0.05) 100%);
    border-left: 4px solid var(--color-danger);
    color: #2c3e50;
}

.alert-heading {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-dark);
}

/* Badges - Modern met goed contrast */
.badge {
    font-family: var(--font-body);
    font-weight: 600;
    padding: 0.35em 0.65em;
    border-radius: 0.375rem;
    letter-spacing: 0.02em;
}

.badge.bg-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #34495e 100%) !important;
    color: #ffffff !important;
}

.badge.bg-success {
    background: linear-gradient(135deg, var(--color-success) 0%, #229954 100%) !important;
    color: #ffffff !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, var(--color-warning) 0%, #e67e22 100%) !important;
    color: #2c3e50 !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, var(--color-info) 0%, #2980b9 100%) !important;
    color: #ffffff !important;
}

.badge.bg-danger {
    background: linear-gradient(135deg, var(--color-danger) 0%, #c0392b 100%) !important;
    color: #ffffff !important;
}

.badge.bg-secondary {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%) !important;
    color: #ffffff !important;
}

/* Specifieke badge met donkere tekst voor lichte backgrounds */
.badge.text-dark {
    color: #2c3e50 !important;
}

/* Input Groups */
.input-group {
    border-radius: 0.5rem;
    overflow: hidden;
}

.input-group-text {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(44, 62, 80, 0.15);
    border-right: none;
    color: var(--color-dark);
    font-weight: 500;
}

.input-group > .form-control {
    border-left: none;
}

/* Pagination */
.pagination .page-link {
    border-radius: 0.5rem;
    margin: 0 0.25rem;
    border: 1px solid rgba(44, 62, 80, 0.15);
    color: var(--color-dark);
    font-weight: 500;
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--color-primary) 0%, #34495e 100%);
    border-color: var(--color-primary);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        margin-left: calc(-1 * var(--sidebar-width));
    }
    
    .content-wrapper {
        width: 100%;
        margin-left: 0;
    }
    
    .sidebar-collapsed .sidebar {
        margin-left: 0;
    }
    
    .sidebar-collapsed .content-wrapper {
        margin-left: 0;
    }
}

/* ========================================
   TEKST CONTRAST - SCHONE VERSIE
   Bootstrap utilities behouden, minimale overrides
   ======================================== */

/* Basis content contrast - donkere tekst op lichte achtergronden */
body {
    color: #2c3e50;
}

.card-body,
.card-footer,
.modal-body,
.modal-footer,
.list-group-item,
.dropdown-menu,
.dropdown-item {
    color: #2c3e50;
}

/* Tabel body - donkere tekst voor leesbaarheid */
.table tbody td,
.table tbody th,
.table tbody td *,
.table tbody th * {
    color: #2c3e50 !important;
}

/* Uitzondering: badges behouden hun witte tekst */
.table tbody .badge {
    color: #ffffff !important;
}

/* Outline buttons in tabellen krijgen zichtbare kleuren */
.table tbody .btn-outline-primary {
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    background: transparent !important;
}

.table tbody .btn-outline-primary:hover {
    color: #ffffff !important;
    background: var(--color-primary) !important;
}

.table tbody .btn-outline-secondary {
    color: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
    background: transparent !important;
}

.table tbody .btn-outline-secondary:hover {
    color: #ffffff !important;
    background: var(--color-secondary) !important;
}

.table tbody .btn-outline-success {
    color: var(--color-success) !important;
    border-color: var(--color-success) !important;
    background: transparent !important;
}

.table tbody .btn-outline-success:hover {
    color: #ffffff !important;
    background: var(--color-success) !important;
}

.table tbody .btn-outline-info {
    color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    background: transparent !important;
}

.table tbody .btn-outline-info:hover {
    color: #ffffff !important;
    background: var(--color-primary) !important;
}

/* Solid buttons in tabellen behouden witte tekst */
.table tbody .btn-primary,
.table tbody .btn-secondary,
.table tbody .btn-success,
.table tbody .btn-danger,
.table tbody .btn-warning,
.table tbody .btn-info {
    color: #ffffff !important;
}

/* Table headers - witte tekst op donkere achtergrond */
.table thead th {
    color: #ffffff !important;
}

/* Text-muted blijft grijs */
.text-muted {
    color: #6c757d !important;
}

/* Sidebar altijd witte tekst */
.sidebar,
.sidebar * {
    color: #ffffff !important;
}

/* Donkere buttons */
.btn-primary, .btn-success, .btn-info, .btn-danger, .btn-dark {
    color: #ffffff !important;
}

/* Donkere badges */
.badge.bg-primary, .badge.bg-success, .badge.bg-danger, .badge.bg-dark, .badge.bg-secondary {
    color: #ffffff !important;
}

/* ===== CARD HEADERS - MINIMALE FIX ===== */
/* Witte tekst alleen voor donkere achtergronden */
.card-header.bg-primary,
.card-header.bg-success,
.card-header.bg-danger,
.card-header.bg-dark,
.card-header.bg-secondary {
    color: #ffffff !important;
}

.card-header.bg-primary *,
.card-header.bg-success *,
.card-header.bg-danger *,
.card-header.bg-dark *,
.card-header.bg-secondary * {
    color: #ffffff !important;
}

/* Donkere tekst voor lichte achtergronden */
.card-header.bg-warning,
.card-header.bg-info,
.card-header.bg-light {
    color: #212529 !important;
}

.card-header.bg-warning *,
.card-header.bg-info *,
.card-header.bg-light * {
    color: #212529 !important;
}

/* Stat icon */
.stat-icon {
    color: #ffffff !important;
}

.text-white, .text-white * {
    color: #ffffff !important;
}

.bg-dark, .bg-dark * {
    color: #ffffff !important;
}

/* Dark Mode Adjustments */
[data-bs-theme="dark"] .card {
    background-color: var(--bs-dark);
    box-shadow: 0 0.15rem 1.75rem 0 rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .notification-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .notification-item.unread {
    background-color: rgba(13, 110, 253, 0.1);
}

[data-bs-theme="dark"] .api-result {
    background-color: rgba(0, 0, 0, 0.4);
}
/* Force reload timestamp: 1761723705 - CSS CACHE FIX */
