/**
 * NSO Hub - Minimal professional UI (flat, no glow, solid colors)
 * No gradients. Professional font (Inter).
 */

/* ===== GLOBAL: Professional font, no gradients in dark theme ===== */
body.insight-style {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}
/* Remove all gradient effects in dark theme - solid colors only */
body.insight-style.theme-dark,
body.insight-style.theme-dark .main,
body.insight-style.theme-dark .main-content-scroll,
body.insight-style.theme-dark .sidebar,
body.insight-style.theme-dark .panel,
body.insight-style.theme-dark .box,
body.insight-style.theme-dark .card,
body.insight-style.theme-dark .kpi-card,
body.insight-style.theme-dark .client-card,
body.insight-style.theme-dark .brand,
body.insight-style.theme-dark .navItem,
body.insight-style.theme-dark .admin-cat-header,
body.insight-style.theme-dark .fileDropZone,
body.insight-style.theme-dark .topology-canvas-wrap,
body.insight-style.theme-dark .user-modal,
body.insight-style.theme-dark .modalBox,
body.insight-style.theme-dark .login-view,
body.insight-style.theme-dark .login-container,
body.insight-style.theme-dark .login-box,
body.insight-style.theme-dark .view,
body.insight-style.theme-dark .sidebar-brand,
body.insight-style.theme-dark .sidebar-search-wrap {
  background-image: none !important;
}
body.insight-style.theme-dark .kpi-card::before,
body.insight-style.theme-dark .card::before,
body.insight-style.theme-dark .client-card::before,
body.insight-style.theme-dark .device-filter-card::before {
  display: none !important;
}
body.insight-style.theme-dark .kpi-card.kpi-gradient {
  background: #0ea5e9 !important;
  background-image: none !important;
}

/* ===== BASE: Flat background, readable text ===== */
body.insight-style {
  background: #f8fafc !important;
  color: #1e293b;
}
body.insight-style.theme-dark {
  color: #e2e8f0;
  background: #0f172a !important;
}
body.insight-style.theme-light {
  background: #f8fafc !important;
}
body.insight-style.theme-light .main,
body.insight-style.theme-light .main-content-scroll {
  background: #f8fafc !important;
}
body.insight-style.theme-dark .main,
body.insight-style.theme-dark .main-content-scroll {
  background: #0f172a !important;
}

/* ===== SIDEBAR: Flat light grey, simple logo ===== */
body.insight-style .sidebar.sidebar-it {
  background: #f1f5f9 !important;
  border-right: 1px solid #e2e8f0;
  box-shadow: none !important;
}
body.insight-style.theme-dark .sidebar.sidebar-it {
  background: #1e293b !important;
  border-right-color: #334155;
}
.sidebar-brand {
  border-bottom: 1px solid #e2e8f0;
}
body.insight-style.theme-dark .sidebar-brand {
  border-bottom-color: #334155;
}
.sidebar-logo-wrap {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: none !important;
}
.sidebar-logo-wrap::before {
  display: none !important;
}
body.insight-style.theme-dark .sidebar-logo-wrap {
  background: #334155 !important;
  border-color: #475569 !important;
}
.sidebar-title {
  color: #1e293b;
  font-weight: 600;
}
body.insight-style.theme-dark .sidebar-title {
  color: #e2e8f0;
}
.sidebar-subtitle {
  color: #475569;
}
body.insight-style.theme-dark .sidebar-subtitle {
  color: #94a3b8;
}
.sidebar-toggle {
  background: #e2e8f0 !important;
  color: #64748b;
}
.sidebar-toggle:hover {
  background: #cbd5e1 !important;
  color: #334155;
}
body.insight-style.theme-dark .sidebar-toggle {
  background: #334155 !important;
  color: #94a3b8;
}
body.insight-style.theme-dark .sidebar-toggle:hover {
  background: #475569 !important;
  color: #e2e8f0;
}

/* Sidebar search - flat */
.sidebar-search-wrap {
  background: #fff !important;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.sidebar-search-wrap:focus-within {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.15);
}
body.insight-style.theme-dark .sidebar-search-wrap {
  background: #334155 !important;
  border-color: #475569;
}
.sidebar-search input {
  color: #334155;
}
body.insight-style.theme-dark .sidebar-search input {
  color: #e2e8f0;
}

/* Nav items - flat active, no glow, readable text */
.nav-cat {
  color: #475569;
  font-weight: 600;
}
.nav-cat:hover {
  background: #e2e8f0 !important;
  color: #334155;
}
body.insight-style.theme-dark .nav-cat {
  color: #94a3b8;
}
body.insight-style.theme-dark .nav-cat:hover {
  background: #334155 !important;
  color: #e2e8f0;
}
.nav-item {
  color: #334155;
  border-radius: 8px;
}
.nav-item:hover {
  background: #e2e8f0 !important;
  color: #1e293b;
  transform: none !important;
}
body.insight-style.theme-dark .nav-item {
  color: #cbd5e1;
}
body.insight-style.theme-dark .nav-item:hover {
  background: #334155 !important;
  color: #f1f5f9;
}
.nav-item.active {
  background: rgba(14, 165, 233, 0.12) !important;
  color: #0284c7 !important;
  box-shadow: none !important;
  transform: none !important;
  border: none !important;
}
body.insight-style.theme-dark .nav-item.active {
  background: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
}
.nav-item.active .nav-icon i {
  transform: none !important;
}
@keyframes navItemActive {
  0%, 100% { box-shadow: none; }
}

/* Sidebar footer */
.sidebar-footer {
  border-top: 1px solid #e2e8f0;
}
body.insight-style.theme-dark .sidebar-footer {
  border-top-color: #334155;
}

/* ===== MAIN HEADER: Flat ===== */
.main-header {
  background: #fff !important;
  border-bottom: 1px solid #e2e8f0;
  backdrop-filter: none;
}
body.insight-style.theme-dark .main-header,
body.insight-style.theme-greenso .main-header {
  background: #1e293b !important;
  border-bottom-color: #334155;
  backdrop-filter: none;
}
body.insight-style.theme-light .main-header {
  background: #fff !important;
  border-bottom-color: #e2e8f0;
}
.user-menu-btn {
  background: #f1f5f9 !important;
  color: #334155;
  border-radius: 8px;
}
.user-menu-btn:hover {
  background: #e2e8f0 !important;
  color: #1e293b;
}
body.insight-style.theme-dark .user-menu-btn {
  background: #334155 !important;
  color: #e2e8f0;
}
body.insight-style.theme-dark .user-menu-btn:hover {
  background: #475569 !important;
  color: #fff;
}
.lang-btn {
  background: #fff !important;
  border: 1px solid #e2e8f0;
  color: #475569;
}
.lang-btn:hover {
  background: #f1f5f9 !important;
  border-color: #0ea5e9;
  color: #0284c7;
}
.lang-btn.active {
  background: rgba(14, 165, 233, 0.1) !important;
  border-color: #0ea5e9;
  color: #0284c7;
}
body.insight-style.theme-dark .lang-btn {
  background: #334155 !important;
  border-color: #475569;
  color: #94a3b8;
}
body.insight-style.theme-dark .lang-btn.active {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: #38bdf8;
  color: #38bdf8;
}

/* ===== KPI CARDS: Flat, minimal shadow ===== */
body.insight-style .kpi-card {
  background: #fff !important;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  border-left: 4px solid #0ea5e9;
  color: #1e293b;
}
body.insight-style .kpi-card .kpi-label {
  color: #475569 !important;
}
body.insight-style .kpi-card .kpi-value {
  color: #0f172a !important;
}
body.insight-style.theme-dark .kpi-card .kpi-label {
  color: #94a3b8 !important;
}
body.insight-style.theme-dark .kpi-card .kpi-value {
  color: #f1f5f9 !important;
}
body.insight-style .kpi-card::before {
  display: none !important;
}
body.insight-style .kpi-card:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  transform: none !important;
}
body.insight-style.theme-dark .kpi-card {
  background: #334155 !important;
  border-color: #475569;
  box-shadow: none !important;
}
body.insight-style .kpi-card.kpi-gradient {
  background: #0ea5e9 !important;
  border-left: none;
}

/* ===== CARDS & PANELS: Flat white ===== */
body.insight-style .card {
  background: #fff !important;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  color: #1e293b;
}
body.insight-style .card::before {
  display: none !important;
}
body.insight-style .card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  transform: none !important;
}
body.insight-style .client-card {
  background: #fff !important;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}
body.insight-style .client-card::before {
  display: none !important;
}
body.insight-style .client-card:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  transform: none !important;
  border-color: #cbd5e1;
}
body.insight-style .panel,
body.insight-style .view .panel,
body.insight-style .view .box {
  background: #fff !important;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  color: #1e293b;
}
body.insight-style .view .panel *,
body.insight-style .view .box * {
  color: inherit;
}
body.insight-style .view .rowTitle,
body.insight-style .view .panel h3 {
  color: #0f172a !important;
}
body.insight-style .view .rowSub,
body.insight-style .view .muted {
  color: #475569 !important;
}
body.insight-style.theme-dark .panel,
body.insight-style.theme-dark .view .panel,
body.insight-style.theme-dark .view .box {
  color: #e2e8f0;
}
body.insight-style.theme-dark .view .panelTitle,
body.insight-style.theme-dark .view .rowTitle,
body.insight-style.theme-dark .view .panel h3 {
  color: #f1f5f9 !important;
}
body.insight-style.theme-dark .view .panelSub,
body.insight-style.theme-dark .view .rowSub,
body.insight-style.theme-dark .view .muted {
  color: #94a3b8 !important;
}

/* Device detail: collapsible header and tables */
body.insight-style .device-info-collapsible-header {
  color: #1e293b !important;
}
body.insight-style .device-info-interface-table th,
body.insight-style .sortable-table th {
  color: #334155 !important;
  background: #f8fafc !important;
}
body.insight-style .device-info-interface-table td,
body.insight-style .sortable-table td {
  color: #1e293b !important;
  background: #fff !important;
}
body.insight-style.theme-dark .device-info-collapsible-header {
  color: #e2e8f0 !important;
}
body.insight-style.theme-dark .device-info-interface-table th,
body.insight-style.theme-dark .sortable-table th {
  color: #e2e8f0 !important;
  background: #334155 !important;
}
body.insight-style.theme-dark .device-info-interface-table td,
body.insight-style.theme-dark .sortable-table td {
  color: #f1f5f9 !important;
  background: #1e293b !important;
}
body.insight-style.theme-dark .card,
body.insight-style.theme-dark .client-card,
body.insight-style.theme-dark .panel,
body.insight-style.theme-dark .kpi-card {
  box-shadow: none !important;
}
body.insight-style .clients-empty {
  background: #fff !important;
  border: 1px dashed #e2e8f0;
}

/* ===== BUTTONS: Solid, no gradient, no glow ===== */
body.insight-style .btn {
  border-radius: 8px;
  font-weight: 500;
}
body.insight-style .btn:hover {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}
body.insight-style .btn.primary {
  background: #0ea5e9 !important;
  border: 1px solid #0284c7 !important;
  color: #fff !important;
}
body.insight-style .btn.primary:hover {
  background: #0284c7 !important;
  border-color: #0369a1 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
}
body.insight-style .btn:not(.primary) {
  background: #fff !important;
  border: 1px solid #e2e8f0;
  color: #475569;
}
body.insight-style .btn:not(.primary):hover {
  background: #f8fafc !important;
  border-color: #cbd5e1;
  color: #334155;
}
body.insight-style .btn.success {
  background: #059669 !important;
  border: 1px solid #047857 !important;
  color: #fff !important;
}
body.insight-style .btn.success:hover {
  background: #047857 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
}
body.insight-style.theme-dark .btn.primary {
  background: #0ea5e9 !important;
  color: #fff !important;
}
body.insight-style.theme-dark .btn.primary:hover {
  background: #0284c7 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}
body.insight-style.theme-dark .btn:not(.primary) {
  background: #334155 !important;
  border-color: #475569;
  color: #e2e8f0;
}
body.insight-style.theme-dark .btn:not(.primary):hover {
  background: #475569 !important;
  border-color: #64748b;
}

/* ===== INPUTS: Flat, subtle focus ===== */
body.insight-style .input,
body.insight-style .textarea {
  background: #fff !important;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
body.insight-style .input:focus,
body.insight-style .textarea:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.15) !important;
}
body.insight-style.theme-dark .input,
body.insight-style.theme-dark .textarea {
  background: #334155 !important;
  border-color: #475569;
}

/* ===== TABLES: Clean header, white rows ===== */
body.insight-style .admin-form-table th,
body.insight-style .adminTable th,
body.insight-style table thead th {
  background: #f8fafc !important;
  color: #475569;
  font-weight: 600;
  border-bottom: 1px solid #e2e8f0;
}
body.insight-style .admin-form-table td,
body.insight-style .adminTable td,
body.insight-style table tbody td {
  background: #fff !important;
  border-bottom: 1px solid #f1f5f9;
}
body.insight-style.theme-dark .admin-form-table th,
body.insight-style.theme-dark table thead th {
  background: #334155 !important;
  border-bottom-color: #475569;
}
body.insight-style.theme-dark .admin-form-table td,
body.insight-style.theme-dark table tbody td {
  background: #1e293b !important;
  border-bottom-color: #334155;
}

/* ===== BADGE: Flat ===== */
body.insight-style .badge {
  background: rgba(14, 165, 233, 0.1) !important;
  color: #0284c7;
  border: none;
}

/* ===== ADMIN / FORMS ===== */
body.insight-style .admin-cat-header {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0;
}
body.insight-style .admin-cat-header:hover {
  background: #f1f5f9 !important;
}
body.insight-style.theme-dark .admin-cat-header {
  background: #334155 !important;
  border-bottom-color: #475569;
}

/* ===== MODALS ===== */
body.insight-style .user-modal,
body.insight-style .user-modal-overlay {
  backdrop-filter: none;
}
body.insight-style .user-modal {
  background: #fff !important;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  color: #1e293b;
}
body.insight-style .user-modal .user-modal-title,
body.insight-style .user-modal label {
  color: #0f172a !important;
}
body.insight-style.theme-dark .user-modal {
  background: #334155 !important;
  border-color: #475569;
  color: #e2e8f0;
}
body.insight-style.theme-dark .user-modal .user-modal-title,
body.insight-style.theme-dark .user-modal label {
  color: #f1f5f9 !important;
}

/* ===== THEME SWITCHER (sidebar bottom / user menu) ===== */
.themeBtn {
  background: #e2e8f0 !important;
  border: 1px solid #cbd5e1;
  color: #475569;
  border-radius: 6px;
}
.themeBtn:hover {
  background: #cbd5e1 !important;
  color: #334155;
}
.themeBtn.active {
  background: rgba(14, 165, 233, 0.12) !important;
  border-color: #0ea5e9;
  color: #0284c7;
}
body.insight-style.theme-dark .themeBtn {
  background: #334155 !important;
  border-color: #475569;
  color: #94a3b8;
}
body.insight-style.theme-dark .themeBtn.active {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: #38bdf8;
  color: #38bdf8;
}

/* ===== TOPOLOGY: Flat canvas and controls ===== */
body.insight-style .topology-toolbar,
body.insight-style .topology-sidebar-panel {
  background: #fff !important;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}
body.insight-style.theme-dark .topology-toolbar,
body.insight-style.theme-dark .topology-sidebar-panel {
  background: #334155 !important;
  border-color: #475569;
  box-shadow: none !important;
}

/* ===== REMOVE GLOBAL GLOW / TEXT-SHADOW ===== */
body.insight-style .navItem.active .nav-label,
body.insight-style .nav-item.active .nav-label {
  text-shadow: none !important;
}
body.insight-style .navItem.active .nav-icon i,
body.insight-style .nav-item.active .nav-icon i {
  filter: none !important;
}
body.insight-style .navItem.active::before {
  box-shadow: none !important;
}

/* Page title / breadcrumb area - always readable */
body.insight-style .pageTitle {
  color: #0f172a !important;
  font-weight: 600;
}
body.insight-style .pageDesc {
  color: #475569 !important;
}
body.insight-style .panelTitle,
body.insight-style .cardTitle,
body.insight-style .panelHeader .panelTitle {
  color: #0f172a !important;
}
body.insight-style .panelSub,
body.insight-style .cardDesc,
body.insight-style .panelHeader .panelSub {
  color: #475569 !important;
}
body.insight-style.theme-dark .pageTitle,
body.insight-style.theme-dark .panelTitle,
body.insight-style.theme-dark .cardTitle {
  color: #f1f5f9 !important;
}
body.insight-style.theme-dark .pageDesc,
body.insight-style.theme-dark .panelSub,
body.insight-style.theme-dark .cardDesc {
  color: #cbd5e1 !important;
}

/* ===== DEVICE FILTER CARDS ===== */
body.insight-style .device-filter-card {
  background: #fff !important;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}
body.insight-style .device-filter-card::before {
  display: none !important;
}
body.insight-style .device-filter-card:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}
body.insight-style .device-filter-card.active {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.15) !important;
}
body.insight-style.theme-dark .device-filter-card {
  background: #334155 !important;
  border-color: #475569;
}

/* ===== TOPOLOGY: Zoom, context menu, canvas ===== */
body.insight-style .topology-zoom-btn {
  background: #fff !important;
  border: 1px solid #e2e8f0;
}
body.insight-style .topology-zoom-btn:hover {
  background: #f8fafc !important;
  border-color: #0ea5e9;
  box-shadow: none !important;
  color: #0284c7;
}
body.insight-style.theme-dark .topology-zoom-btn {
  background: #334155 !important;
  border-color: #475569;
}
body.insight-style.theme-dark .topology-zoom-btn:hover {
  background: #475569 !important;
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: none !important;
}
body.insight-style .topology-context-menu {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
  backdrop-filter: none;
}
body.insight-style .topology-canvas-wrap {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
}
body.insight-style.theme-dark .topology-canvas-wrap {
  background-color: #334155;
  border-color: #475569;
}

/* ===== BOX (generic container) ===== */
body.insight-style .box {
  background: #fff !important;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}
body.insight-style.theme-dark .box {
  background: #334155 !important;
  border-color: #475569;
  box-shadow: none !important;
}

/* ===== USER MENU DROPDOWN ===== */
body.insight-style .user-menu-dropdown {
  background: #fff !important;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  color: #1e293b;
}
body.insight-style .user-menu-dropdown .user-menu-row,
body.insight-style .user-menu-dropdown a {
  color: #334155 !important;
}
body.insight-style.theme-dark .user-menu-dropdown {
  background: #334155 !important;
  border-color: #475569;
  color: #e2e8f0;
}
body.insight-style.theme-dark .user-menu-dropdown .user-menu-row,
body.insight-style.theme-dark .user-menu-dropdown a {
  color: #e2e8f0 !important;
}

/* ===== LOGIN / REGISTER PAGE ===== */
body.insight-style .login-view,
body.insight-style .login-container {
  background: #f8fafc !important;
}
body.insight-style .login-box {
  background: #fff !important;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}
body.insight-style .login-logo-wrap {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: none !important;
}
body.insight-style .login-logo-wrap::before {
  display: none !important;
}
body.insight-style .login-input {
  background: #fff !important;
  border: 1px solid #e2e8f0;
  color: #334155;
}
body.insight-style .login-input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.15) !important;
}
body.insight-style .login-btn {
  background: #0ea5e9 !important;
  border: 1px solid #0284c7 !important;
  color: #fff !important;
}
body.insight-style .login-btn:hover {
  background: #0284c7 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
  transform: none !important;
}
body.insight-style.theme-dark .login-view {
  background: #1e293b !important;
}
/* Login page: same font and color as "Authorized Personnel Only" (text-gray-400 / #9ca3af, text-xs) */
body.insight-style.theme-dark .login-view .login-title,
body.insight-style.theme-dark .login-view .login-subtitle,
body.insight-style.theme-dark .login-view .login-field label,
body.insight-style.theme-dark .login-view .login-register-text,
body.insight-style.theme-dark .login-view .login-register-link,
body.insight-style.theme-dark .login-view .login-footer,
body.insight-style.theme-dark .login-view .login-footer p,
body.insight-style.theme-dark .login-view .login-footer a {
  color: #9ca3af !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.75rem !important;
  line-height: 1rem !important;
}
body.insight-style.theme-dark .login-view .login-title {
  font-size: 1rem !important;
  font-weight: 600 !important;
}
body.insight-style.theme-dark .login-view .login-input {
  color: #9ca3af !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.75rem !important;
}
body.insight-style.theme-dark .login-view .login-input::placeholder {
  color: #6b7280 !important;
}
body.insight-style.theme-dark .login-view .login-btn {
  color: #fff !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.75rem !important;
}
body.insight-style.theme-dark .login-box {
  background: #334155 !important;
  border-color: #475569;
}
body.insight-style.theme-dark .login-input {
  background: #1e293b !important;
  border-color: #475569;
  color: #9ca3af !important;
}
body.insight-style.theme-dark .login-btn {
  background: #0ea5e9 !important;
  border-color: #0284c7 !important;
  color: #fff !important;
}

/* ===== DARK THEME ONLY: force all columns/panels/tables dark ===== */
body.insight-style.theme-dark {
  background: #0f172a !important;
  color: #e2e8f0;
}
body.insight-style.theme-dark .main,
body.insight-style.theme-dark .main-content-scroll {
  background: #0f172a !important;
}
body.insight-style.theme-dark .sidebar.sidebar-it {
  background: #0f172a !important;
  border-right-color: #1e293b;
}
body.insight-style.theme-dark .main-header {
  background: #0f172a !important;
  border-bottom-color: #1e293b;
}
body.insight-style.theme-dark .panel,
body.insight-style.theme-dark .view .panel,
body.insight-style.theme-dark .view .box,
body.insight-style.theme-dark .box,
body.insight-style.theme-dark .card,
body.insight-style.theme-dark .client-card,
body.insight-style.theme-dark .kpi-card,
body.insight-style.theme-dark .clients-empty,
body.insight-style.theme-dark .admin-form-panel,
body.insight-style.theme-dark .devices-table-wrap,
body.insight-style.theme-dark .topology-list-wrap .panel,
body.insight-style.theme-dark .topology-toolbar,
body.insight-style.theme-dark .topology-sidebar-panel,
body.insight-style.theme-dark .user-modal,
body.insight-style.theme-dark .modalBox,
body.insight-style.theme-dark .fileDropZone,
body.insight-style.theme-dark .fileInfo,
body.insight-style.theme-dark .excelFormSection .box,
body.insight-style.theme-dark .whoisResult,
body.insight-style.theme-dark .stack .box {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #e2e8f0;
}
body.insight-style.theme-dark .admin-form-table th,
body.insight-style.theme-dark table thead th,
body.insight-style.theme-dark .adminTable th,
body.insight-style.theme-dark .sortable-table th,
body.insight-style.theme-dark .device-info-interface-table th {
  background: #334155 !important;
  color: #e2e8f0 !important;
  border-color: #475569 !important;
}
body.insight-style.theme-dark .admin-form-table td,
body.insight-style.theme-dark table tbody td,
body.insight-style.theme-dark .adminTable td,
body.insight-style.theme-dark .sortable-table td,
body.insight-style.theme-dark .device-info-interface-table td {
  background: #1e293b !important;
  color: #f1f5f9 !important;
  border-color: #334155 !important;
}
body.insight-style.theme-dark .sidebar-brand {
  border-bottom-color: #1e293b;
}
body.insight-style.theme-dark .sidebar-search-wrap {
  background: #1e293b !important;
  border-color: #334155;
}
body.insight-style.theme-dark .topology-canvas-wrap {
  background-color: #1a1a1a !important;
  border-color: rgba(255, 255, 255, 0.08);
}
body.insight-style.theme-dark .device-filter-card {
  background: #1e293b !important;
  border-color: #334155;
}
body.insight-style.theme-dark .admin-cat-header {
  background: #334155 !important;
  border-color: #475569;
}
body.insight-style.theme-dark .user-menu-dropdown {
  background: #1e293b !important;
  border-color: #334155;
}
body.insight-style.theme-dark .login-view,
body.insight-style.theme-dark .login-container {
  background: #0f172a !important;
}
body.insight-style.theme-dark .login-box {
  background: #1e293b !important;
  border-color: #334155;
}
body.insight-style.theme-dark .input,
body.insight-style.theme-dark .textarea,
body.insight-style.theme-dark select.input {
  background: #334155 !important;
  border-color: #475569 !important;
  color: #e2e8f0;
}
body.insight-style.theme-dark .sidebar-logo-wrap {
  background: #334155 !important;
  border-color: #475569 !important;
}
