/* Forced theme styles - using !important to override any conflicts */

/* Light theme styles */
html[data-bs-theme="light"] body {
    background-color: #f2f7ff !important;
    color: #607080 !important;
}

html[data-bs-theme="light"] .card {
    background-color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.125) !important;
    color: #607080 !important;
}

html[data-bs-theme="light"] .navbar {
    background-color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.125) !important;
}

html[data-bs-theme="light"] .sidebar {
    background-color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.125) !important;
}

html[data-bs-theme="light"] .sidebar-wrapper {
    background-color: #ffffff !important;
}

html[data-bs-theme="light"] .sidebar-header {
    background-color: #ffffff !important;
}

html[data-bs-theme="light"] .sidebar-menu {
    background-color: #ffffff !important;
}

html[data-bs-theme="light"] .sidebar-item {
    background-color: #ffffff !important;
}

html[data-bs-theme="light"] .sidebar-link {
    color: #607080 !important;
}

html[data-bs-theme="light"] .sidebar-link:hover {
    background-color: #f8f9fa !important;
    color: #495057 !important;
}

/* Dark theme styles */
html[data-bs-theme="dark"] body {
    background-color: #151521 !important;
    color: #c2c2d9 !important;
}

html[data-bs-theme="dark"] .card {
    background-color: #1b1b29 !important;
    border-color: #35354f !important;
    color: #c2c2d9 !important;
}

html[data-bs-theme="dark"] .navbar {
    background-color: #1b1b29 !important;
    border-color: #35354f !important;
}

html[data-bs-theme="dark"] .sidebar {
    background-color: #1b1b29 !important;
    border-color: #35354f !important;
}

html[data-bs-theme="dark"] .sidebar-wrapper {
    background-color: #1b1b29 !important;
}

html[data-bs-theme="dark"] .sidebar-header {
    background-color: #1b1b29 !important;
}

html[data-bs-theme="dark"] .sidebar-menu {
    background-color: #1b1b29 !important;
}

html[data-bs-theme="dark"] .sidebar-item {
    background-color: #1b1b29 !important;
}

html[data-bs-theme="dark"] .sidebar-link {
    color: #c2c2d9 !important;
}

html[data-bs-theme="dark"] .sidebar-link:hover {
    background-color: #2a2a3e !important;
    color: #ffffff !important;
}

html[data-bs-theme="dark"] .sidebar-item.active .sidebar-link {
    background-color: #435ebe !important;
    color: #ffffff !important;
}

/* Form elements */
html[data-bs-theme="dark"] .form-control {
    background-color: #2a2a3e !important;
    border-color: #35354f !important;
    color: #c2c2d9 !important;
}

html[data-bs-theme="dark"] .form-select {
    background-color: #2a2a3e !important;
    border-color: #35354f !important;
    color: #c2c2d9 !important;
}

html[data-bs-theme="dark"] .form-label {
    color: #c2c2d9 !important;
}

/* Table styles */
html[data-bs-theme="dark"] .table {
    color: #c2c2d9 !important;
}

html[data-bs-theme="dark"] .table th {
    background-color: #2a2a3e !important;
    border-color: #35354f !important;
    color: #c2c2d9 !important;
}

html[data-bs-theme="dark"] .table td {
    border-color: #35354f !important;
    color: #c2c2d9 !important;
}

/* Button styles */
html[data-bs-theme="dark"] .btn-primary {
    background-color: #435ebe !important;
    border-color: #435ebe !important;
}

html[data-bs-theme="dark"] .btn-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}

/* Toggle switch styles */
html[data-bs-theme="dark"] .form-check-input {
    background-color: #2a2a3e !important;
    border-color: #35354f !important;
}

html[data-bs-theme="dark"] .form-check-input:checked {
    background-color: #435ebe !important;
    border-color: #435ebe !important;
}

/* Debug styles */
.theme-debug {
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 9999;
} 