/* ============================================================ Thème Clair ============================================================ */ html[data-theme="light"] { --bg: #f2f5fa; --panel: #ffffff; --panel2: #e9eef7; --line: #d2dcec; --text: #15203a; --muted: #5b6b8c; --blue: #1e6ef0; --blue-text: #ffffff; --red: #e53935; --green: #13a06a; --yellow: #dd6b20; } html[data-theme="light"] nav button, html[data-theme="light"] nav button.secondary { background: var(--panel2) !important; border: 1px solid var(--line) !important; color: var(--muted) !important } html[data-theme="light"] nav button.active { background: var(--green) !important; color: #ffffff !important; border-color: var(--green) !important; box-shadow: 0 2px 8px rgba(19, 160, 106, .3) } /* Boutons et éléments actifs avec fond bleu en thème clair */ html[data-theme="light"] button:not(.secondary):not(.danger):not(.settings-nav-btn):not(.stats-range-btn):not(.filter-chip):not(.clear-filter-btn):not([class*="badge"]):not([class*="pill"]):not(.device-pill), html[data-theme="light"] button.primary, html[data-theme="light"] .btn-primary, html[data-theme="light"] #apControl, html[data-theme="light"] #refresh, html[data-theme="light"] #startCaptureBtn, html[data-theme="light"] .stats-range-btn.active, html[data-theme="light"] .filter-chip.active, html[data-theme="light"] .settings-nav-btn.active, html[data-theme="light"] button[style*="var(--blue)"], html[data-theme="light"] button[style*="background: var(--blue)"], html[data-theme="light"] button[style*="background:var(--blue)"], html[data-theme="light"] .secondary[style*="var(--blue)"], html[data-theme="light"] .secondary[style*="background: var(--blue)"], html[data-theme="light"] .secondary[style*="background:var(--blue)"], html[data-theme="light"] .pagination-btns button[style*="var(--blue)"], html[data-theme="light"] .pagination-btns button[style*="background:var(--blue)"], html[data-theme="light"] .pagination-btns button.active, html[data-theme="light"] .pagination button[style*="var(--blue)"], html[data-theme="light"] .pagination button[style*="background:var(--blue)"], html[data-theme="light"] .pagination button.active { color: #ffffff !important; } /* Onglets de sous-navigation inactifs en thème clair (ex: Network Topology) */ html[data-theme="light"] .settings-nav-btn:not(.active) { background: var(--panel2) !important; color: var(--muted) !important; border: 1px solid var(--line) !important; } html[data-theme="light"] .settings-nav-btn:hover:not(.active) { background: var(--panel) !important; color: var(--text) !important; border-color: var(--blue) !important; } /* Périodes de stats inactives en thème clair (Weekly, Monthly, Yearly) */ html[data-theme="light"] .stats-range-btn:not(.active) { background: transparent !important; color: var(--muted) !important; } html[data-theme="light"] .stats-range-btn:hover:not(.active) { color: var(--text) !important; } /* Puces de filtrage Wireshark inactives en thème clair */ html[data-theme="light"] .filter-chip:not(.active) { background: var(--panel2) !important; color: var(--muted) !important; border: 1px solid var(--line) !important; } html[data-theme="light"] .filter-chip:hover:not(.active) { color: var(--text) !important; border-color: var(--blue) !important; } html[data-theme="light"] #authView .card { background: #ffffff !important; border: 1px solid #d2dcec !important; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important; } html[data-theme="light"] #authView h1 { color: #15203a !important; } html[data-theme="light"] #authView .muted { color: #5b6b8c !important; } html[data-theme="light"] #authSubmit { background: #1e6ef0 !important; color: #ffffff !important; border: none !important; box-shadow: 0 2px 8px rgba(30, 110, 240, 0.25) !important; } html[data-theme="light"] #authSubmit:hover { background: #1558c4 !important; } html[data-theme="light"] #btnAuthPasskey { background: rgba(30, 110, 240, 0.08) !important; border: 1px solid rgba(30, 110, 240, 0.35) !important; color: #1e6ef0 !important; } html[data-theme="light"] #btnAuthPasskey:hover { background: rgba(30, 110, 240, 0.16) !important; border-color: rgba(30, 110, 240, 0.6) !important; } html[data-theme="light"] #authPasskeyDivider span { color: #5b6b8c !important; } html[data-theme="light"] #authPasskeyDivider div { background: #d2dcec !important; } html[data-theme="light"] .settings-nav-btn.active { background: var(--blue) !important; color: #ffffff !important; border-color: var(--blue) !important } html[data-theme="light"] .avatar { background: #cfe0fb; color: #15203a } html[data-theme="light"] #updated, html[data-theme="light"] #topoUpdated, html[data-theme="light"] #statsChartUpdated, html[data-theme="light"] #statsTrafficUpdated, html[data-theme="light"] #statsHistoryUpdated, html[data-theme="light"] #captureUpdated, html[data-theme="light"] #logsUpdated, html[data-theme="light"] #blockedUpdated, html[data-theme="light"] .pill-updated, html[data-theme="light"] .pill-green { background: #d9f5e8 !important; color: #13a06a !important; border: 1px solid #a3e6c5 !important } html[data-theme="light"] .badge { background: #d9f5e8; color: #13a06a; border: 1px solid #a3e6c5; } html[data-theme="light"] .pill-blue, html[data-theme="light"] #networkModeBadge.pill-blue { background: #e1edfe !important; color: #1558c4 !important; border: 1px solid #b8d5fb !important; } html[data-theme="light"] #networkModeBadge.pill-green { background: #d9f5e8 !important; color: #13a06a !important; border: 1px solid #a3e6c5 !important; } html[data-theme="light"] .proto-dns { background: #e0f2fe; color: #0284c7; border-color: #bae6fd } html[data-theme="light"] .proto-icmp { background: #fce7f3; color: #db2777; border-color: #fbcfe8 } html[data-theme="light"] .proto-tcp { background: #f1f5f9; color: #475569; border-color: #cbd5e1 } html[data-theme="light"] .proto-udp { background: #f3e8ff; color: #7e22ce; border-color: #e9d5ff } html[data-theme="light"] .proto-arp { background: #fef9c3; color: #a16207; border-color: #fde047 } html[data-theme="light"] .proto-dhcp { background: #ffedd5; color: #c2410c; border-color: #fed7aa } html[data-theme="light"] .proto-tls { background: #dcfce7; color: #15803d; border-color: #bbf7d0 } html[data-theme="light"] .proto-http { background: #d1fae5; color: #047857; border-color: #a7f3d0 } html[data-theme="light"] .ip-country-badge.badge-lan { background: #e0f2fe; border-color: #bae6fd; color: #0284c7 } html[data-theme="light"] .ip-country-badge.badge-country { background: #dcfce7; border-color: #bbf7d0; color: #15803d } html[data-theme="light"] .ip-country-badge.badge-ext { background: #fef9c3; border-color: #fde047; color: #a16207 } html[data-theme="light"] .badge-vpn-wg { background: #fee2e2; border-color: #fca5a5; color: #991b1b } html[data-theme="light"] .badge-vpn-ovpn { background: #ffedd5; border-color: #fed7aa; color: #c2410c } html[data-theme="light"] .topo-map-card { background: linear-gradient(180deg, #ffffff, #f2f6fc); box-shadow: inset 0 0 40px rgba(0, 0, 0, .03) } html[data-theme="light"] .topo-client-body { border-color: rgba(0, 0, 0, .06) }