/* ============================================================
   TrustingByDesign — Design System + Component Styles
   Brand Identity: Orbitron / Tron Aesthetic / Yellow + Violet
   GRC Platform — Governance, Risk & Compliance
   Generated: 2026-04-20
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Instrument+Sans:wght@400;500;600;700&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  --bg:         #0A0C10;
  --surface:    #111318;
  --surface2:   #181B22;
  --surface3:   #1E2130;
  --border:     #2A2E3F;
  --border-glow:#3A3F55;
  --border2:    #3A3F55;

  --yellow:       #FFD600;
  --yellow-soft:  #FFE24D;
  --yellow-glow:  rgba(255, 214, 0, 0.25);
  --yellow-dim:   rgba(255, 214, 0, 0.08);
  --violet:       #7C4DFF;
  --violet-soft:  #B388FF;
  --violet-glow:  rgba(124, 77, 255, 0.2);
  --violet-dim:   rgba(124, 77, 255, 0.08);

  --accent:     #FFD600;
  --accent2:    #7C4DFF;
  --primary:    #FFD600;
  --secondary:  #7C4DFF;
  --fg:         #E8EAF0;

  --success:    #00E676;
  --warn:       #FFAB40;
  --danger:     #FF2A40;
  --info:       #40C4FF;

  --text:       #E8EAF0;
  --text-bright:#FFFFFF;
  --muted:      #6B7080;
  --muted2:     #4A4F60;

  --font-heading: 'Orbitron', monospace;
  --font-body:    'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius:     8px;
  --radius-lg:  12px;
  --bg-card:    #111318;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--yellow); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.02em; color: var(--text-bright); }
img { max-width: 100%; display: block; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-glow); }

/* ============================================================
   3. LAYOUT — APP WRAPPER
   ============================================================ */
.app-wrapper { display: flex; min-height: 100vh; position: relative; }
.neon-grid-bg { background: var(--bg); }
.neon-grid-bg::before {
  content: '';
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255, 214, 0, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 214, 0, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none; z-index: 0;
}

/* ============================================================
   4. SIDEBAR
   ============================================================ */
.sidebar {
  width: 240px; min-width: 240px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
  z-index: 100;
  overflow: hidden;
}
.sidebar-logo {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 1rem; border-bottom: 1px solid var(--border);
  position: relative;
}
.logo-icon { width: 36px; height: 36px; flex-shrink: 0; }
.logo-text { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; color: var(--text-bright); }
.sidebar-nav-scroll { flex: 1; overflow-y: auto; padding: 0.5rem 0; }
.sidebar-item, .nav-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 1rem; color: var(--muted);
  cursor: pointer; font-size: 0.85rem; font-weight: 500;
  transition: all 0.15s; border-left: 3px solid transparent;
}
.sidebar-item:hover, .nav-item:hover { background: var(--surface2); color: var(--yellow); }
.sidebar-item.active, .nav-item.active {
  color: var(--yellow); background: var(--yellow-dim);
  border-left-color: var(--yellow);
}
.sidebar-icon { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar-phase {
  padding: 0.6rem 1rem 0.25rem; font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted2); font-weight: 700; margin-top: 0.4rem;
}
.sidebar-phase:first-child { margin-top: 0; }
.nav-section-header {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted2); cursor: pointer;
  margin-top: 0.3rem;
}
.nav-section-header:hover { color: var(--muted); }
.nav-section.collapsed .nav-section-items { display: none; }
.nav-section.collapsed .nav-section-header svg { transform: rotate(-90deg); }

.notification-bell {
  position: absolute; right: 1rem; top: 50%;
  transform: translateY(-50%); cursor: pointer;
  color: var(--muted); transition: color 0.2s;
}
.notification-bell:hover { color: var(--yellow); }
.notif-badge {
  position: absolute; top: -4px; right: -6px;
  background: var(--danger); color: #fff;
  font-size: 0.55rem; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.notif-dropdown {
  position: absolute; top: calc(100% + 0.5rem); right: 0;
  width: 320px; background: var(--surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 200;
}
.notif-dropdown-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--border);
}
.notif-dropdown-header h4 { font-size: 0.85rem; }
.notif-dropdown-list { max-height: 280px; overflow-y: auto; }
.notif-dropdown-footer {
  padding: 0.5rem 1rem; border-top: 1px solid var(--border);
  text-align: center; font-size: 0.8rem;
}

.sidebar-bottom {
  border-top: 1px solid var(--border);
  padding: 0.5rem 0;
}
.sidebar-user {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 1rem;
}
.sidebar-user-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--yellow-dim); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.75rem;
}
.sidebar-user-name { font-size: 0.8rem; font-weight: 600; display: block; }
.sidebar-user-logout { font-size: 0.7rem; color: var(--muted); }

/* ============================================================
   5. MAIN CONTENT
   ============================================================ */
.main-content {
  flex: 1; padding: 1.5rem 2rem;
  position: relative; z-index: 1;
  max-width: calc(100vw - 240px);
  overflow-x: hidden;
}
.view { display: none; }
.view.active { display: block; animation: fadeInView 0.25s ease; }
@keyframes fadeInView { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.view-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.5rem;
}
.view-header h1 {
  font-size: 1.4rem; font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--yellow), var(--violet-soft));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.view-header-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.85rem; cursor: pointer;
  transition: all 0.2s; border: 1px solid transparent;
  text-decoration: none;
}
.btn-primary { background: var(--yellow); color: #0A0C10; border-color: var(--yellow); }
.btn-primary:hover { background: var(--yellow-soft); box-shadow: 0 0 20px var(--yellow-glow); }
.btn-secondary { background: var(--violet); color: #fff; border-color: var(--violet); }
.btn-secondary:hover { background: var(--violet-soft); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-ghost { background: transparent; color: var(--muted); border: none; }
.btn-ghost:hover { color: var(--yellow); }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: rgba(255, 42, 64, 0.1); }
.btn-sm { padding: 0.3rem 0.7rem; font-size: 0.8rem; }
.btn-xs { padding: 0.2rem 0.5rem; font-size: 0.7rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   7. FORM ELEMENTS
   ============================================================ */
.input, select, textarea {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: border-color 0.2s;
  width: 100%;
}
.input:focus, select:focus, textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-dim); }
.input-sm { padding: 0.3rem 0.5rem; font-size: 0.8rem; }
textarea { resize: vertical; min-height: 80px; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--muted); }

/* ============================================================
   8. CARDS & STAT CARDS
   ============================================================ */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: 1rem;
  transition: border-color 0.3s;
}
.stat-card:hover { border-color: var(--yellow); }
.stat-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-value { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; display: block; }
.stat-label { font-size: 0.75rem; color: var(--muted); display: block; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }

/* ============================================================
   9. WELCOME BANNER
   ============================================================ */
.welcome-banner {
  background: linear-gradient(135deg, var(--surface), var(--surface2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem;
  position: relative; overflow: hidden;
}
.welcome-banner::after {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--yellow-glow) 0%, transparent 70%);
  pointer-events: none;
}
.welcome-text h2 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.welcome-text p { color: var(--muted); font-size: 0.85rem; }
.welcome-actions { display: flex; gap: 0.5rem; z-index: 1; }

/* ============================================================
   10. DASHBOARD GRID
   ============================================================ */
.dashboard-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.dash-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.2rem; overflow: hidden;
}
.dash-card h3 {
  font-size: 0.9rem; font-family: var(--font-heading);
  color: var(--yellow); margin-bottom: 1rem;
}
.activity-item {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.5rem 0; border-bottom: 1px solid var(--border);
}
.activity-item:last-child { border-bottom: none; }
.activity-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.activity-text { font-size: 0.8rem; }
.activity-time { font-size: 0.7rem; color: var(--muted); }

/* ============================================================
   11. MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000; display: flex;
  align-items: center; justify-content: center;
  padding: 2rem;
}
.modal-content {
  background: var(--surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 640px;
  max-height: 80vh; overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.5rem; border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 1rem; }
.modal-close {
  background: none; border: none; color: var(--muted);
  font-size: 1.4rem; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--text); }
.modal-body { padding: 1.5rem; }
.modal-footer {
  padding: 1rem 1.5rem; border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 0.5rem;
}

/* ============================================================
   12. TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  z-index: 99999; display: flex; flex-direction: column; gap: 0.5rem;
}
.toast {
  padding: 0.7rem 1.2rem; border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 500;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s; border-left: 4px solid;
  background: var(--surface); color: var(--text);
}
.toast-ok { border-left-color: var(--success); }
.toast-warn { border-left-color: var(--warn); }
.toast-error { border-left-color: var(--danger); }

/* ============================================================
   13. TABLES
   ============================================================ */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.data-table th {
  text-align: left; padding: 0.6rem 0.75rem;
  font-size: 0.7rem; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--border);
  font-weight: 600; letter-spacing: 0.05em;
}
.data-table td {
  padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border);
}
.data-table tr:hover td { background: var(--surface2); }

/* ============================================================
   14. STATUS BADGES
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.15rem 0.5rem; border-radius: 4px;
  font-size: 0.7rem; font-weight: 600;
}
.badge-compliant { background: rgba(0, 230, 118, 0.12); color: var(--success); }
.badge-non-compliant { background: rgba(255, 42, 64, 0.12); color: var(--danger); }
.badge-partial { background: rgba(255, 171, 64, 0.12); color: var(--warn); }
.badge-draft { background: var(--yellow-dim); color: var(--yellow); }
.badge-active { background: rgba(0, 230, 118, 0.12); color: var(--success); }
.badge-archived { background: var(--violet-dim); color: var(--violet-soft); }
.badge-critical { background: rgba(255, 42, 64, 0.12); color: var(--danger); }
.badge-high { background: rgba(255, 171, 64, 0.12); color: var(--warn); }
.badge-medium { background: var(--yellow-dim); color: var(--yellow); }
.badge-low { background: rgba(64, 196, 255, 0.12); color: var(--info); }

/* ============================================================
   15. BREADCRUMBS
   ============================================================ */
.breadcrumb-bar {
  padding: 0.5rem 0; font-size: 0.8rem; color: var(--muted);
  display: flex; align-items: center; min-height: 1.8rem;
}
.bc-link { color: var(--violet); text-decoration: none; }
.bc-link:hover { text-decoration: underline; }
.bc-sep { margin: 0 0.4rem; opacity: 0.4; }
.bc-current { color: var(--text); font-weight: 500; }

/* ============================================================
   16. THEME TOGGLE
   ============================================================ */
.theme-toggle-btn {
  position: fixed; top: 0.75rem; right: 1rem; z-index: 1000;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface2);
  color: var(--text); font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.theme-toggle-btn:hover { border-color: var(--yellow); color: var(--yellow); }

/* ============================================================
   17. COMMAND PALETTE
   ============================================================ */
.cmd-palette-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6); z-index: 99998;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 15vh;
}
.cmd-palette {
  width: 560px; max-width: 90vw;
  background: var(--surface); border: 1px solid var(--border-glow);
  border-radius: 12px; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.cmd-palette-input-row {
  display: flex; align-items: center; padding: 0.75rem 1rem;
  gap: 0.6rem; border-bottom: 1px solid var(--border);
}
.cmd-palette-input {
  flex: 1; background: transparent; border: none;
  color: var(--text); font-size: 1rem; outline: none;
}
.cmd-kbd {
  font-size: 0.7rem; padding: 0.15rem 0.4rem;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 4px; color: var(--muted);
}
.cmd-palette-results { max-height: 350px; overflow-y: auto; padding: 0.4rem; }
.cmd-result-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.75rem; border-radius: 6px; cursor: pointer;
}
.cmd-result-item:hover { background: var(--surface2); }
.cmd-result-type { font-size: 0.7rem; color: var(--muted); min-width: 80px; text-transform: uppercase; }
.cmd-result-label { flex: 1; color: var(--text); font-size: 0.9rem; }
.cmd-empty { padding: 2rem; text-align: center; color: var(--muted); }

/* ============================================================
   18. SKIP LINK (ACCESSIBILITY)
   ============================================================ */
.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--yellow); color: #0A0C10;
  padding: 0.75rem 1.5rem; z-index: 100000;
  font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }
*:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* ============================================================
   19. GRC-SPECIFIC: FRAMEWORK CARDS
   ============================================================ */
.fw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.fw-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.2rem;
  transition: border-color 0.2s;
}
.fw-card:hover { border-color: var(--yellow); }
.fw-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; }
.fw-card-name { font-weight: 700; font-size: 1rem; }
.fw-card-desc { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.75rem; }
.fw-progress { height: 6px; background: var(--surface3); border-radius: 3px; margin-bottom: 0.3rem; }
.fw-progress-fill { height: 100%; border-radius: 3px; transition: width 0.5s; }
.fw-progress-fill.good { background: var(--success); }
.fw-progress-fill.warn { background: var(--warn); }
.fw-progress-fill.bad { background: var(--danger); }
.fw-stats { display: flex; gap: 1rem; font-size: 0.75rem; color: var(--muted); }

/* ============================================================
   20. GRC: RISK REGISTER
   ============================================================ */
.risk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.risk-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem;
}
.risk-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem; }
.risk-title { font-weight: 600; font-size: 0.9rem; }
.risk-meta { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.5rem; }
.risk-matrix {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px;
  margin: 0.75rem 0;
}
.risk-matrix-cell {
  aspect-ratio: 1; border-radius: 3px; display: flex;
  align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 700;
}
.risk-actions { display: flex; gap: 0.4rem; margin-top: 0.5rem; }

/* ============================================================
   21. GRC: AUDIT MANAGEMENT
   ============================================================ */
.audit-timeline { position: relative; padding-left: 1.5rem; }
.audit-timeline::before {
  content: ''; position: absolute; left: 0.5rem; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.audit-item { position: relative; padding: 0.75rem 0; padding-left: 1rem; }
.audit-item::before {
  content: ''; position: absolute; left: -1.05rem; top: 1rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--yellow); border: 2px solid var(--bg);
}
.audit-item.completed::before { background: var(--success); }
.audit-item.overdue::before { background: var(--danger); }
.audit-item-title { font-weight: 600; font-size: 0.9rem; }
.audit-item-meta { font-size: 0.75rem; color: var(--muted); }

/* ============================================================
   22. GRC: POLICY LIFECYCLE
   ============================================================ */
.policy-pipeline {
  display: flex; align-items: center; gap: 0.3rem;
  margin: 1rem 0; overflow-x: auto; padding: 0.5rem 0;
}
.policy-stage {
  display: flex; flex-direction: column; align-items: center;
  min-width: 100px; text-align: center;
}
.policy-stage-dot {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: #fff;
  margin-bottom: 0.3rem;
}
.policy-stage-label { font-size: 0.7rem; color: var(--muted); }
.policy-stage-arrow { color: var(--border); font-size: 1.2rem; }
.policy-list { display: flex; flex-direction: column; gap: 0.5rem; }
.policy-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.policy-item:hover { border-color: var(--yellow); }
.policy-item-title { flex: 1; font-weight: 500; font-size: 0.9rem; }

/* ============================================================
   23. GRC: EVIDENCE COLLECTION
   ============================================================ */
.evidence-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.evidence-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem;
}
.evidence-icon {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 0.5rem;
}
.evidence-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.2rem; }
.evidence-meta { font-size: 0.75rem; color: var(--muted); }

/* ============================================================
   24. GRC: INCIDENT MANAGEMENT
   ============================================================ */
.incident-list { display: flex; flex-direction: column; gap: 0.5rem; }
.incident-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.incident-severity {
  width: 8px; height: 40px; border-radius: 4px; flex-shrink: 0;
}
.incident-info { flex: 1; }
.incident-title { font-weight: 600; font-size: 0.9rem; }
.incident-meta { font-size: 0.75rem; color: var(--muted); }

/* ============================================================
   25. GRC: VENDOR RISK
   ============================================================ */
.vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.vendor-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1rem;
}
.vendor-card:hover { border-color: var(--yellow); }
.vendor-name { font-weight: 700; font-size: 1rem; margin-bottom: 0.2rem; }
.vendor-category { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.5rem; }
.vendor-risk-bar { height: 6px; background: var(--surface3); border-radius: 3px; }
.vendor-risk-fill { height: 100%; border-radius: 3px; }

/* ============================================================
   26. GRC: COMPLIANCE DASHBOARD CHARTS
   ============================================================ */
.comp-chart-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.comp-chart-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.2rem;
}
.comp-chart-card h3 {
  font-size: 0.85rem; font-family: var(--font-heading);
  color: var(--yellow); margin-bottom: 0.75rem;
}
.donut-chart {
  width: 120px; height: 120px; border-radius: 50%;
  margin: 0 auto; position: relative;
}
.donut-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.2rem;
}
.bar-chart { display: flex; flex-direction: column; gap: 0.4rem; }
.bar-row { display: flex; align-items: center; gap: 0.5rem; }
.bar-label { font-size: 0.75rem; min-width: 80px; color: var(--muted); }
.bar-track { flex: 1; height: 20px; background: var(--surface3); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; display: flex; align-items: center; padding: 0 0.4rem; font-size: 0.65rem; font-weight: 600; color: #fff; }
.bar-value { font-size: 0.75rem; min-width: 30px; text-align: right; }

/* ============================================================
   27. GRC: REPORTING
   ============================================================ */
.report-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.report-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem; cursor: pointer;
}
.report-card:hover { border-color: var(--yellow); }
.report-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--yellow-dim); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; margin-bottom: 0.5rem;
}
.report-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.2rem; }
.report-desc { font-size: 0.75rem; color: var(--muted); }

/* ============================================================
   28. MOBILE RESPONSIVE
   ============================================================ */
.mobile-hamburger {
  display: none; position: fixed; top: 0.75rem; left: 0.75rem;
  z-index: 200; background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: 1.2rem; padding: 0.4rem 0.6rem;
  border-radius: var(--radius); cursor: pointer;
}
.mobile-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5); z-index: 99;
}
@media (max-width: 768px) {
  .mobile-hamburger { display: block; }
  .sidebar { position: fixed; left: -260px; transition: left 0.3s; z-index: 200; }
  .sidebar.mobile-open { left: 0; }
  .mobile-overlay.active { display: block; }
  .main-content { max-width: 100vw; padding: 1rem; padding-top: 3rem; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .ew-container, .comp-chart-row { grid-template-columns: 1fr; }
}

/* ============================================================
   29. LIGHT THEME
   ============================================================ */
[data-theme="light"] {
  --bg: #F8F9FA; --surface: #FFFFFF; --surface2: #F0F1F3;
  --surface3: #E8E9EC; --border: #D1D5DB; --border-glow: #B0B5C0;
  --fg: #1a1a2e; --text: #1a1a2e; --text-bright: #000000;
  --muted: #6B7280; --muted2: #9CA3AF; --bg-card: #FFFFFF;
}
[data-theme="light"] .sidebar { background: #FFFFFF; border-right-color: #E5E7EB; }
[data-theme="light"] .sidebar-item, [data-theme="light"] .nav-item { color: #374151; }
[data-theme="light"] .sidebar-item:hover, [data-theme="light"] .nav-item:hover { background: #F3F4F6; color: var(--yellow); }
[data-theme="light"] .sidebar-item.active, [data-theme="light"] .nav-item.active { background: var(--yellow-dim); color: #B8A000; }
[data-theme="light"] .main-content { background: #F8F9FA; color: #1a1a2e; }
[data-theme="light"] .modal-content { background: #FFFFFF; color: #1a1a2e; }
[data-theme="light"] .input, [data-theme="light"] select, [data-theme="light"] textarea { background: #F9FAFB; border-color: #D1D5DB; color: #1a1a2e; }
[data-theme="light"] .neon-grid-bg::before { display: none; }
[data-theme="light"] .btn-primary { color: #0A0C10; }
