/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bg-panel); color: var(--text-main); border: 1px solid var(--border-dim);
  padding: 10px 16px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 500;
  font-family: inherit; transition: all 0.2s ease;
}
.btn:hover { background: var(--bg-panel-hover); border-color: var(--text-faint);}
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600;}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: 0 4px 15px var(--accent-glow);}
.btn-secondary { background: var(--bg-base); border-color: var(--border-dim); color: var(--text-main); }
.btn-secondary:hover { background: var(--bg-panel-hover); border-color: var(--text-muted); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }

/* Pills & Badges */
.pill {
  padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; background: var(--bg-base); border: 1px solid var(--border-dim); color: var(--text-muted);
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0px var(--pulse-color); }
    70% { box-shadow: 0 0 0 6px transparent; }
    100% { box-shadow: 0 0 0 0px transparent; }
}
.pill-outline { background: transparent; }
.pill.running { color: var(--low); border-color: rgba(52,199,89,0.6); background: var(--low-dim); --pulse-color: rgba(52,199,89,0.6); animation: pulseGlow 2s infinite; }
.pill.complete { color: rgba(52,199,89,0.6); border-color: rgba(52,199,89,0.2); background: rgba(52,199,89,0.05); }
.pill.error, .pill.stopped { color: var(--crit); border-color: rgba(255,59,48,0.4); background: var(--crit-dim); --pulse-color: rgba(255,59,48,0.4); animation: pulseGlow 2s infinite; }
.badge { background: var(--border-dim); border-radius: 12px; padding: 2px 8px; font-size: 11px; margin-left: 6px; color: #fff;}

/* Tabs */
.tab {
  background: none; border: none; color: var(--text-muted); padding: 10px 16px; border-radius: 8px;
  cursor: pointer; font-size: 14px; font-weight: 500; transition: all 0.2s;
}
.tab:hover { color: var(--text-main); background: rgba(255,255,255,0.02);}
.tab.active { color: #fff; background: var(--bg-panel); border: 1px solid var(--border-dim); }

/* Cards & Grid */
.card { background: var(--bg-panel); border: 1px solid var(--border-light); border-radius: 16px; padding: 24px; backdrop-filter: blur(12px); }
.glass-card { background: rgba(19, 22, 32, 0.5); backdrop-filter: blur(10px); }
h4.sect { font-size: 13px; letter-spacing: 0.05em; color: var(--text-muted); margin: 0 0 16px; font-weight: 600; }
.chart-container-sm { position: relative; height: 180px; width: 100%; display: flex; justify-content: center; }

.artifact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.stat { background: var(--bg-base); border: 1px solid var(--border-dim); border-radius: 10px; padding: 14px; }
.stat .k { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; font-weight: 500;}
.stat .v { font-size: 14px; font-weight: 600; color: #fff;}

/* Findings */
.finding { border: 1px solid var(--border-dim); border-radius: 12px; background: var(--bg-base); margin-bottom: 12px; transition: border-color 0.2s;}
.finding:hover { border-color: var(--border-light); }
.f-head { display: flex; gap: 16px; align-items: center; padding: 16px 20px; cursor: pointer; }
.f-sev {
  flex: 0 0 auto; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; padding: 4px 12px;
  border-radius: 20px; text-transform: uppercase;
}
.f-sev.critical { background: var(--crit-dim); color: var(--crit); }
.f-sev.high { background: var(--high-dim); color: var(--high); }
.f-sev.medium { background: var(--med-dim); color: var(--med); }
.f-sev.low { background: var(--low-dim); color: var(--low); }
.f-sev.info { background: var(--info-dim); color: var(--info); }
.f-title { flex: 1; font-weight: 500; font-size: 15px; color: #fff;}
.f-meta { font-size: 12px; color: var(--text-faint); font-family: var(--font-mono); }
.f-body { padding: 0 20px 20px; display: none; }
.finding.open .f-body { display: block; border-top: 1px solid var(--border-dim); padding-top: 20px; margin-top: 4px;}
.f-body pre {
  white-space: pre-wrap; word-break: break-word; background: var(--bg-panel); border: 1px solid var(--border-dim);
  border-radius: 8px; padding: 16px; font-family: var(--font-mono); font-size: 13px; color: var(--text-main);
  max-height: 400px; overflow: auto; margin: 12px 0 0;
}
.none { color: var(--text-faint); font-style: italic; padding: 20px 0; text-align: center; font-size: 13px;}

/* Log / Report */
.log-wrapper { background: var(--bg-panel); border: 1px solid var(--border-dim); border-radius: 12px; overflow: hidden; transition: all 0.3s; }
.log-wrapper.is-running { animation: borderPulseRun 2s infinite; }
@keyframes borderPulseRun {
  0% { border-color: rgba(52,199,89,0.3); box-shadow: 0 0 10px rgba(52,199,89,0.1); }
  50% { border-color: rgba(52,199,89,1); box-shadow: 0 0 20px rgba(52,199,89,0.3), inset 0 0 10px rgba(52,199,89,0.1); }
  100% { border-color: rgba(52,199,89,0.3); box-shadow: 0 0 10px rgba(52,199,89,0.1); }
}
@keyframes blinkCursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.l-cursor { display: inline-block; width: 8px; height: 14px; background: var(--low); animation: blinkCursor 1s step-end infinite; vertical-align: text-bottom; margin-left: 4px; }
.log-header { padding: 16px 20px; border-bottom: 1px solid var(--border-dim); background: var(--bg-base); }
.log-header h4 { margin: 0; font-size: 14px; font-weight: 500; color: #fff;}
.log, .report {
  padding: 20px; font-family: var(--font-mono); font-size: 13px; line-height: 1.6; color: var(--text-main);
  white-space: pre-wrap; word-break: break-word; max-height: calc(100vh - 280px); overflow: auto; margin: 0;
}
.report { background: var(--bg-panel); border: 1px solid var(--border-light); border-radius: 12px; backdrop-filter: blur(12px); }
.log .l-agent { color: var(--text-muted); }
.log .l-console { color: var(--accent); }
.log .l-err { color: var(--crit); }

/* Modal Form */
.modal { position: fixed; inset: 0; background: rgba(5, 5, 8, 0.85); display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; z-index: 100; backdrop-filter: blur(12px); overflow-y: auto; }
.modal-card { background: linear-gradient(180deg, rgba(19, 20, 28, 0.95) 0%, rgba(10, 10, 15, 0.98) 100%); border: 1px solid rgba(123, 82, 255, 0.2); border-radius: 24px; width: 100%; max-width: 800px; padding: 32px; box-shadow: 0 24px 60px rgba(0,0,0,0.8), inset 0 1px 15px rgba(123, 82, 255, 0.1); margin: auto; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.modal-head h3 { margin: 0; font-size: 20px; font-family: var(--font-display); font-weight: 600; text-shadow: 0 2px 10px rgba(123, 82, 255, 0.2);}
.x { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); cursor: pointer; display: flex; padding: 6px; border-radius: 8px; transition: 0.2s;}
.x:hover { background: rgba(255,255,255,0.1); color: #fff;}
.form-group { margin-bottom: 20px; position: relative;}
form label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--text-main); }
.input-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
form input, form select, form textarea {
  width: 100%; background: var(--bg-base); border: 1px solid var(--border-light);
  border-radius: 10px; padding: 12px 14px; color: #fff; font-family: inherit; font-size: 14px;
  transition: all 0.2s;
}
form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
form textarea { resize: vertical; font-family: var(--font-mono); font-size: 13px; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-dim);}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.chk { display: flex; align-items: center; gap: 10px; cursor: pointer; color: var(--text-main); font-size: 14px; font-weight: 500;}
.chk input { display: none; }
.custom-checkbox { width: 20px; height: 20px; border: 1px solid var(--border-dim); border-radius: 6px; background: var(--bg-base); display: inline-flex; align-items: center; justify-content: center; transition: 0.2s;}
.chk input:checked + .custom-checkbox { background: var(--accent); border-color: var(--accent); }
.chk input:checked + .custom-checkbox::after { content: "✓"; color: #fff; font-size: 12px; font-weight: bold;}
.modal-foot { display: flex; justify-content: flex-end; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-dim);}
/* Markdown styling inside vulnerability modal */
#vuln-modal-desc h1, #vuln-modal-desc h2, #vuln-modal-desc h3 {
  color: #fff;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 600;
}
#vuln-modal-desc p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1em;
}
#vuln-modal-desc ul, #vuln-modal-desc ol {
  color: var(--text-muted);
  margin-left: 1.5em;
  margin-bottom: 1em;
  line-height: 1.6;
}
#vuln-modal-desc pre {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px;
  border-radius: 8px;
  color: #34C759;
  font-family: monospace;
  font-size: 13px;
  overflow-x: auto;
  margin-bottom: 1em;
}
#vuln-modal-desc code {
  background: rgba(255,255,255,0.1);
  padding: 2px 4px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9em;
  color: #e2e2e2;
}

/* GitHub-style Markdown document styling */
.markdown-body {
  color: #24292f;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
.markdown-body h1, .markdown-body h2 {
  border-bottom: 1px solid #d0d7de;
  padding-bottom: .3em;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 16px;
  color: #24292f;
}
.markdown-body h3, .markdown-body h4 {
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 16px;
  color: #24292f;
}
.markdown-body p {
  margin-top: 0;
  margin-bottom: 16px;
  color: #24292f;
}
.markdown-body a {
  color: #0969da;
  text-decoration: none;
}
.markdown-body a:hover {
  text-decoration: underline;
}
.markdown-body ul, .markdown-body ol {
  margin-top: 0;
  margin-bottom: 16px;
  padding-left: 2em;
  color: #24292f;
}
.markdown-body li {
  margin-top: 0.25em;
}
.markdown-body code {
  padding: .2em .4em;
  margin: 0;
  font-size: 85%;
  background-color: rgba(175,184,193,0.2);
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
  color: #24292f;
}
.markdown-body pre {
  padding: 16px;
  overflow: auto;
  font-size: 85%;
  line-height: 1.45;
  background-color: #f6f8fa;
  border-radius: 6px;
  margin-bottom: 16px;
  color: #24292f;
  border: 1px solid #d0d7de;
}
.markdown-body pre code {
  background-color: transparent;
  padding: 0;
  color: #24292f;
}
.markdown-body blockquote {
  padding: 0 1em;
  color: #57606a;
  border-left: .25em solid #d0d7de;
  margin: 0 0 16px 0;
}

/* GitHub-style Markdown document styling - DARK MODE */
.markdown-body {
  color: #c9d1d9;
}
.markdown-body h1, .markdown-body h2 {
  border-bottom: 1px solid #21262d;
  color: #fff;
}
.markdown-body h3, .markdown-body h4 {
  color: #fff;
}
.markdown-body p {
  color: #c9d1d9;
}
.markdown-body a {
  color: #58a6ff;
}
.markdown-body ul, .markdown-body ol {
  color: #c9d1d9;
}
.markdown-body code {
  background-color: rgba(110,118,129,0.4);
  color: #c9d1d9;
}
.markdown-body pre {
  background-color: #161b22;
  color: #c9d1d9;
  border: 1px solid #30363d;
}
.markdown-body pre code {
  color: #c9d1d9;
}
.markdown-body blockquote {
  color: #8b949e;
  border-left: .25em solid #30363d;
}

/* Extracted Component Styles */
.login-view-wrapper {
  align-items: stretch !important; justify-content: flex-start !important; height: 100vh; width: 100vw; background: #050508; position: fixed; inset: 0; z-index: 9999;
}

.login-side-panel {
  flex: 1; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(123, 82, 255, 0.08), rgba(10, 10, 15, 1)); border-right: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column;
}

.login-orb-purple {
  position: absolute; width: 800px; height: 800px; background: radial-gradient(circle, rgba(123,82,255,0.15) 0%, rgba(0,0,0,0) 70%); top: -200px; left: -200px; border-radius: 50%;
}

.login-orb-green {
  position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(52,199,89,0.1) 0%, rgba(0,0,0,0) 70%); bottom: -100px; right: -100px; border-radius: 50%;
}

.st-h1-4edeeb {
  font-family: var(--font-display); font-size: 54px; font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 24px; text-shadow: 0 4px 20px rgba(123, 82, 255, 0.3);
}

.text-purple {
  color: #7B52FF;
}

.login-desc {
  color: var(--text-muted); font-size: 16px; line-height: 1.6;
}

.login-card-modifier {
  position: relative; z-index: 10; width: 100%; max-width: 440px; background: rgba(19, 20, 28, 0.7); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.05); padding: 48px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.st-h2-1fd7e7 {
  font-size: 32px; font-weight: 700; font-family: var(--font-display); margin: 0 0 8px 0; color: #fff;
}

.login-prompt {
  color: var(--text-muted); font-size: 14px; margin: 0;
}

.form-label-auth {
  color: #fff; margin-bottom: 8px; font-size: 13px; display: block;
}

.login-user-wrapper {
  width: 100%; padding: 14px 16px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; color: #fff; font-size: 14px; box-sizing: border-box;
}

.login-pass-wrapper {
  width: 100%; padding: 14px 16px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; color: #fff; font-size: 14px; box-sizing: border-box;
}

.login-error-wrapper {
  color: var(--crit); padding: 0 0 16px 0; text-align: left; display: none; font-size: 13px;
}

.btn-modifier {
  width: 100%; padding: 14px; display: flex; justify-content: center; gap: 8px; background: linear-gradient(135deg, rgba(123, 82, 255, 0.3), rgba(123, 82, 255, 0.1)); border: 1px solid rgba(123, 82, 255, 0.5); border-radius: 12px; box-shadow: 0 4px 15px rgba(123, 82, 255, 0.2); font-size: 14px; font-weight: 600; color: #fff; cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px;
}

.app-layout-wrapper {
  display: flex; height: 100vh; overflow: hidden; background-color: #050508;
}

.rail-wrapper {
  display: flex; flex-direction: column; width: 260px; background: #0A0A0F; border-right: 1px solid #1A1A24; z-index: 10; position: relative;
}

.new-eng-wrapper {
  margin-bottom: 24px; padding: 12px; display: flex; justify-content: center; gap: 8px; background: linear-gradient(135deg, rgba(123, 82, 255, 0.15), rgba(123, 82, 255, 0.05)); border: 1px solid rgba(123, 82, 255, 0.3); border-radius: 8px; box-shadow: 0 4px 16px rgba(123, 82, 255, 0.1); text-transform: uppercase; font-size: 12px; letter-spacing: 1px; font-weight: 600; align-items: center;
}

.text-purple-light {
  color: #c9bbfc;
}

.nav-section-title {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-faint); margin: 0 0 8px 12px; font-weight: 600;
}

.admin-only-modifier {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-faint); margin: 24px 0 8px 12px; font-weight: 600;
}

.sidebar-user-panel {
  padding: 16px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.05); background: rgba(0,0,0,0.2); z-index: 2;
}

.user-avatar-lrg {
  width: 36px; height: 36px; border-radius: 50%; background: #7B52FF; display: flex; align-items: center; justify-content: center; font-weight: 600; color: #fff;
}

.current-username-wrapper {
  font-weight: 600; color: #fff; font-size: 14px;
}

.current-role-wrapper {
  font-size: 12px; color: var(--text-faint);
}

.act-logout-wrapper {
  background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 8px;
}

.sidebar-bottom-glow {
  position: absolute; bottom: 0; left: 0; right: 0; height: 180px; background: linear-gradient(to top, rgba(123, 82, 255, 0.15), transparent); pointer-events: none; z-index: 1;
}

.main-content-bg {
  display: flex; flex-direction: column; flex: 1; overflow: hidden; background: radial-gradient(circle at top right, rgba(123, 82, 255, 0.08), transparent 50%), #050508;
}

.top-navbar {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 32px; border-bottom: 1px solid #1A1A24; background: rgba(10, 10, 15, 0.6); backdrop-filter: blur(12px); z-index: 5;
}

.btn-icon-hover {
  background: none; border: none; color: #fff; cursor: pointer; transition: transform 0.2s;
}

.user-avatar-sml {
  width: 32px; height: 32px; border-radius: 50%; background: #7B52FF; display: flex; align-items: center; justify-content: center; font-weight: 600; color: #fff;
}

.user-name-label {
  font-weight: 600; color: #fff; font-size: 13px; line-height: 1.2;
}

.user-role-label {
  font-size: 11px; color: var(--text-faint);
}

.section-overline {
  color: #7B52FF; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px;
}

.st-h1-55beb2 {
  font-size: 36px; font-weight: 600; margin: 0 0 8px; font-family: var(--font-display);
}

.section-subtitle {
  color: var(--text-muted); margin: 0; font-size: 15px;
}

.card-panel-row {
  background: rgba(19, 20, 28, 0.6); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 20px; display: flex; align-items: center; gap: 16px;
}

.icon-box-purple {
  width: 48px; height: 48px; background: rgba(123, 82, 255, 0.15); border: 1px solid rgba(123, 82, 255, 0.3); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #7B52FF;
}

.dash-total-eng-wrapper {
  font-size: 24px; font-weight: 600; color: #fff;
}

.text-green {
  color: #34C759; font-size: 12px;
}

.text-muted-13 {
  color: var(--text-muted); font-size: 13px;
}

.icon-box-green {
  width: 48px; height: 48px; background: rgba(52, 199, 89, 0.15); border: 1px solid rgba(52, 199, 89, 0.3); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #34C759;
}

.dash-active-scans-wrapper {
  font-size: 24px; font-weight: 600; color: #fff;
}

.text-faint-12 {
  color: var(--text-faint); font-size: 12px;
}

.icon-box-red {
  width: 48px; height: 48px; background: rgba(255, 59, 48, 0.15); border: 1px solid rgba(255, 59, 48, 0.3); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #FF3B30;
}

.dash-total-findings-wrapper {
  font-size: 24px; font-weight: 600; color: #fff;
}

.text-red {
  color: #FF3B30; font-size: 12px;
}

.icon-box-orange {
  width: 48px; height: 48px; background: rgba(255, 149, 0, 0.15); border: 1px solid rgba(255, 149, 0, 0.3); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #FF9500;
}

.dash-criticals-wrapper {
  font-size: 24px; font-weight: 600; color: #fff;
}

.card-panel {
  background: rgba(19, 20, 28, 0.6); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 20px;
}

.st-h3-70ae33 {
  margin: 0 0 4px; font-size: 16px; font-weight: 600;
}

.text-faint-12 {
  font-size: 12px; color: var(--text-faint);
}

.btn-outline-muted {
  background: rgba(255,255,255,0.05); border: none; color: var(--text-muted); padding: 4px 10px; border-radius: 6px; font-size: 12px; display: flex; gap: 6px; align-items: center;
}

.act-time-filter-wrapper {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--text-muted); padding: 4px 10px; border-radius: 6px; font-size: 12px; display: flex; gap: 6px; align-items: center; cursor: pointer; outline: none;
}

.btn-text-purple {
  background: none; border: none; color: #7B52FF; font-size: 12px; font-weight: 500; cursor: pointer;
}

.badge-green {
  color: #00CC66; font-size: 10px; font-weight: 600; background: rgba(0,204,102,0.1); border: 1px solid rgba(0,204,102,0.3); padding: 4px 10px; border-radius: 4px; text-align: center; text-transform: uppercase;
}

.btn-icon-muted {
  background: none; border: none; color: var(--text-muted); cursor: pointer;
}

.card-panel-flex {
  background: rgba(19, 20, 28, 0.6); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 20px; flex: 1;
}

.st-h3-dd10ef {
  margin: 0; font-size: 16px; font-weight: 600;
}

.sys-status-global-wrapper {
  display: flex; align-items: center; gap: 6px; font-size: 12px; color: #34C759;
}

.dot-modifier {
  width: 6px; height: 6px; background: #34C759; border-radius: 50%; box-shadow: 0 0 6px #34C759;
}

.flex-col-16-font13 {
  display: flex; flex-direction: column; gap: 16px; font-size: 13px;
}

.flex-gap-10-muted {
  display: flex; gap: 10px; align-items: center; color: var(--text-muted);
}

.status-active-flex {
  display: flex; align-items: center; gap: 6px; color: #34C759; font-size: 12px;
}

.status-dot-active {
  width: 6px; height: 6px; background: #34C759; border-radius: 50%;
}

.view-title-h2 {
  font-size: 28px; margin: 0 0 8px;
}

.view-subtitle {
  color: var(--text-muted); margin: 0; font-size: 14px;
}

.btn-modifier-a3bb {
  padding: 10px 16px; display: flex; justify-content: center; gap: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; font-weight: 600; color: var(--text-muted); align-items: center; cursor: pointer; transition: all 0.2s;
}

.card-panel-row-alt {
  background: rgba(19, 20, 28, 0.6); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 20px; margin-bottom: 20px; display: flex; gap: 16px; align-items: center;
}

.all-scans-search-wrapper {
  flex: 1; background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 13px;
}

.all-scans-filter-wrapper {
  background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 13px;
}

.btn-compare-scans-wrapper {
  padding: 10px 16px; display: flex; justify-content: center; gap: 8px; background: linear-gradient(135deg, rgba(123, 82, 255, 0.2), rgba(123, 82, 255, 0.05)); border: 1px solid rgba(123, 82, 255, 0.4); border-radius: 8px; box-shadow: 0 4px 12px rgba(123, 82, 255, 0.1); text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; font-weight: 600; color: #E2D9FF; align-items: center; cursor: pointer;
}

.vuln-search-wrapper {
  flex: 1; background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 13px;
}

.vuln-filter-severity-wrapper {
  background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 13px;
}

.act-add-user-wrapper {
  padding: 10px 16px; display: flex; justify-content: center; gap: 8px; background: linear-gradient(135deg, rgba(123, 82, 255, 0.2), rgba(123, 82, 255, 0.05)); border: 1px solid rgba(123, 82, 255, 0.4); border-radius: 8px; box-shadow: 0 4px 12px rgba(123, 82, 255, 0.1); text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; font-weight: 600; color: #E2D9FF; align-items: center; cursor: pointer;
}

.ud-role-wrapper {
  font-size: 24px; text-transform: uppercase;
}

.v-id-wrapper {
  font-size: 12px;
}

.act-start-wrapper {
  padding: 10px 16px; display: flex; justify-content: center; gap: 8px; background: linear-gradient(135deg, rgba(123, 82, 255, 0.2), rgba(123, 82, 255, 0.05)); border: 1px solid rgba(123, 82, 255, 0.4); border-radius: 8px; box-shadow: 0 4px 12px rgba(123, 82, 255, 0.1); text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; font-weight: 600; color: #E2D9FF; align-items: center; cursor: pointer;
}

.act-stop-wrapper {
  padding: 10px 16px; display: flex; justify-content: center; gap: 8px; background: linear-gradient(135deg, rgba(255, 149, 0, 0.15), rgba(255, 149, 0, 0.05)); border: 1px solid rgba(255, 149, 0, 0.4); border-radius: 8px; text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; font-weight: 600; color: #ffd38f; align-items: center; cursor: pointer;
}

.act-report-wrapper {
  padding: 10px 16px; display: flex; justify-content: center; gap: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; font-weight: 600; color: var(--text-muted); align-items: center; cursor: pointer; transition: all 0.2s;
}

.act-download-wrapper {
  padding: 10px 16px; display: flex; justify-content: center; gap: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; font-weight: 600; color: var(--text-muted); align-items: center; text-decoration: none; cursor: pointer; transition: all 0.2s;
}

.act-edit-scope-wrapper {
  padding: 10px 16px; display: flex; justify-content: center; gap: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; font-weight: 600; color: var(--text-muted); align-items: center; cursor: pointer; transition: all 0.2s;
}

.act-delete-wrapper {
  padding: 10px 16px; display: flex; justify-content: center; gap: 8px; background: rgba(255,59,48,0.08); border: 1px solid rgba(255,59,48,0.3); border-radius: 8px; text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; font-weight: 600; color: #FF6B6B; align-items: center; cursor: pointer; transition: all 0.2s;
}

.log-scan-indicator-wrapper {
  display:none; align-items:center; gap:6px; font-size:12px; color:#34C759;
}

.pulse-dot-green {
  width:6px;height:6px;background:#34C759;border-radius:50%;box-shadow:0 0 6px #34C759;animation:pulse 1.5s infinite;
}

.log-timer-wrap-wrapper {
  display:none; align-items:center; gap:6px; font-size:12px; color:var(--text-muted);
}

.log-autoscroll-btn-wrapper {
  background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);border-radius:6px;padding:4px 10px;font-size:11px;color:var(--text-muted);cursor:pointer;display:flex;align-items:center;gap:5px;
}


/* Modal Extracted Styles */
.modal-w-800 {
  max-width: 800px;
}
.modal-body-scroll {
  padding: 24px; max-height: 70vh; overflow-y: auto;
}
.grid-2col-20 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.text-purple-nomargin {
  color: #7B52FF; margin-top: 0;
}
.flex-col-gap-8 {
  display: flex; flex-direction: column; gap: 8px;
}
.text-success-nomargin {
  color: #34C759; margin-top: 0;
}
.modal-w-850-glass {
  max-width: 850px; background: rgba(19, 20, 28, 0.95); padding: 0; box-shadow: 0 12px 28px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.05); backdrop-filter: blur(10px);
}
.modal-header-glass {
  background: rgba(0,0,0,0.2); border-bottom: 1px solid rgba(255,255,255,0.05); border-radius: 12px 12px 0 0; padding: 20px 32px; display: block;
}
.flex-col-gap-12 {
  display: flex; flex-direction: column; gap: 12px;
}
.flex-between-start {
  display: flex; align-items: flex-start; justify-content: space-between;
}
.modal-title-light {
  color: #fff; font-size: 22px; font-weight: 600; margin: 0; line-height: 1.3;
}
.btn-close-muted {
  color: #888; background: transparent; padding: 4px; border: none; cursor: pointer; margin-left: 16px;
}
.flex-center-muted-13 {
  display: flex; align-items: center; gap: 6px; font-size: 13px; color: #8b949e;
}
.font-mono-purple {
  font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; color: #7B52FF;
}
.modal-body-markdown-scroll {
  padding: 32px; color: #c9d1d9; font-size: 15px; max-height: 75vh; overflow-y: auto; background: transparent; border-radius: 0 0 12px 12px; font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
}
.d-none {
  display: none;
}
.pos-relative {
  position: relative;
}
.pl-36 {
  padding-left: 36px;
}
.mt-16 {
  margin-top: 16px;
}
.btn-modal-cancel {
  padding: 10px 16px; display: flex; justify-content: center; gap: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; font-weight: 600; color: var(--text-muted); align-items: center; cursor: pointer; transition: all 0.2s;
}
.btn-modal-primary {
  padding: 10px 16px; display: flex; justify-content: center; gap: 8px; background: linear-gradient(135deg, rgba(123, 82, 255, 0.2), rgba(123, 82, 255, 0.05)); border: 1px solid rgba(123, 82, 255, 0.4); border-radius: 8px; box-shadow: 0 4px 12px rgba(123, 82, 255, 0.1); text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; font-weight: 600; color: #E2D9FF; align-items: center; cursor: pointer;
}
.modal-w-500 {
  max-width: 500px;
}
.form-error-hidden {
  color: var(--crit); padding: 0 0 16px 0; text-align: left; display: none;
}
.modal-w-440 {
  max-width: 440px;
}
.form-error-hidden-small {
  color: var(--crit); font-size: 13px; padding: 0 0 12px 0; display: none;
}
.modal-w-600 {
  max-width: 600px;
}
.textarea-code-style {
  width:100%;background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.1);border-radius:8px;padding:12px;color:#fff;font-family:var(--font-mono);font-size:12px;resize:vertical;
}
.modal-w-420 {
  max-width: 420px;
}
.text-danger {
  color: #FF6B6B;
}
.modal-desc-muted {
  padding: 8px 0 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6;
}
.text-light {
  color:#fff;
}
.btn-modal-danger {
  padding: 10px 16px; display: flex; justify-content: center; gap: 8px; background: rgba(255,59,48,0.15); border: 1px solid rgba(255,59,48,0.5); border-radius: 8px; text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; font-weight: 600; color: #FF6B6B; align-items: center; cursor: pointer;
}
.toast-notification-hidden {
  
    display: none;
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    background: rgba(15,16,24,0.95);
    border: 1px solid rgba(123,82,255,0.5);
    border-radius: 14px;
    padding: 14px 18px;
    min-width: 240px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(123,82,255,0.15);
    backdrop-filter: blur(12px);
    animation: slideInBadge 0.3s ease;
  
}
.flex-center-gap-8-mb-8 {
  display:flex; align-items:center; gap:8px; margin-bottom:8px;
}
.pulse-dot-green-small {
  width:7px;height:7px;background:#34C759;border-radius:50%;box-shadow:0 0 8px #34C759;animation:pulse 1.5s infinite;flex-shrink:0;
}
.text-success-badge {
  font-size:12px;font-weight:700;color:#34C759;text-transform:uppercase;letter-spacing:0.8px;
}
.text-muted-11-right {
  font-size:11px;color:var(--text-muted);margin-left:auto;
}
.text-truncate-light-13 {
  font-size:13px;color:#fff;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:10px;
}
.btn-modal-primary-wide {
  
      width:100%;padding:7px 0;background:linear-gradient(135deg,rgba(123,82,255,0.3),rgba(123,82,255,0.1));
      border:1px solid rgba(123,82,255,0.5);border-radius:8px;color:#E2D9FF;
      font-size:11px;font-weight:700;letter-spacing:0.5px;text-transform:uppercase;cursor:pointer;
}
