/* theme-light.css — light theme overrides on top of dark base styles */
[data-theme="light"] body {
    background: var(--theme-bg) !important;
    color: var(--theme-text) !important;
}

[data-theme="light"] .right_col a,
[data-theme="light"] .iv-contents a,
[data-theme="light"] #top-line a {
    color: var(--theme-text-muted);
}

[data-theme="light"] #right_col_title,
[data-theme="light"] .right_col_title,
[data-theme="light"] .iv-simset-title {
    color: var(--theme-text-title) !important;
    border-bottom-color: #c5cad3 !important;
}

[data-theme="light"] .right_col,
[data-theme="light"] .ivm_theme,
[data-theme="light"] .iv-contents {
    background: transparent !important;
    color: var(--theme-text);
}

[data-theme="light"] #top-line,
[data-theme="light"] #top-line .navbar-collapse,
[data-theme="light"] #top-line .navbar-nav,
[data-theme="light"] #top-line .top-menu-bar {
    background: var(--theme-bg-top) !important;
    color: var(--theme-text) !important;
    border-bottom-color: var(--theme-border) !important;
}

/* [data-theme="light"] #logo-box {
    background: var(--theme-bg-logo) !important;
    box-shadow: var(--theme-logo-shadow) !important;
} */

[data-theme="light"] .top-menu-btn {
    background: #f0f2f5 !important;
    color: var(--theme-text) !important;
    border-right-color: #d0d5dd !important;
}

[data-theme="light"] .top-menu-btn:hover {
    background: var(--theme-accent) !important;
    color: #fff !important;
}

[data-theme="light"] .top-menu-dd-menu {
    background: var(--theme-bg-menu) !important;
    border-color: var(--theme-border) !important;
    box-shadow: var(--theme-shadow) !important;
}

[data-theme="light"] .top-menu-dd-menu a {
    color: var(--theme-text) !important;
}

[data-theme="light"] .top-menu-dd-menu a:hover {
    background: var(--theme-accent) !important;
    color: #fff !important;
}

[data-theme="light"] .x_panel,
[data-theme="light"] .x_content {
    /* background: var(--theme-bg-panel) !important; */
    color: var(--theme-text) !important;
    border-color: var(--theme-border) !important;
}

[data-theme="light"] table.jambo_table{
    color: var(--theme-text-table) !important;
    border-color: var(--theme-border) !important;
    background: var(--theme-bg-table-row) !important;
}

[data-theme="light"] table.jambo_table th,
[data-theme="light"] table.jambo_table td {
    border-color: var(--theme-table-border) !important;
    color: var(--theme-table-row-text) !important;
}

[data-theme="light"] table.jambo_table thead,
[data-theme="light"] table.jambo_table tr.success th,
[data-theme="light"] table.jambo_table tr[style*="background:#000"] th {
    background: var(--theme-table-header-bg) !important;
    color: var(--theme-table-header-text) !important;
}

[data-theme="light"] table.jambo_table tbody tr:hover td{
    background: var(--theme-table-row-hover-bg) !important;
}

[data-theme="light"] table.jambo_table a{
    color: var(--theme-text-muted) !important;
}

/* mgr_ui — light-only leftovers (tokens live in theme.css) */
[data-theme="light"] .iv-simset .alert.alert-secondary {
    background: #f0f2f5 !important;
}

[data-theme="light"] .iv-cdkey-sub {
    color: var(--theme-text-muted) !important;
    opacity: 1;
}
