/* ============================================================
   RECONGPT — style.css
   Dark Hacker Terminal Aesthetic
   ============================================================ */

/* ── CSS VARIABLES ── */
:root {
  --bg:       #0d0d0d;
  --surface:  #111111;
  --card:     #1a1a1a;
  --card2:    #161616;
  --border:   #2a2a2a;
  --border2:  #222222;
  --accent:   #00ff88;
  --accent2:  #00aaff;
  --accent3:  #ff8800;
  --danger:   #ff4444;
  --warning:  #ffcc00;
  --text:     #e0e0e0;
  --muted:    #666666;
  --muted2:   #888888;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-ui:   'Inter', sans-serif;
  --radius:    6px;
  --radius-lg: 10px;
  --shadow:    0 4px 24px rgba(0,0,0,0.6);
  --glow-g:    0 0 12px rgba(0,255,136,0.25);
  --glow-b:    0 0 12px rgba(0,170,255,0.25);
  --nav-h:     56px;
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--accent2);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--accent); text-decoration: underline; }

/* ── SCANLINE OVERLAY ── */
.scanline-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0,0,0,0.04) 3px,
    rgba(0,0,0,0.04) 4px
  );
  mix-blend-mode: overlay;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(13,13,13,0.97);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  backdrop-filter: blur(12px);
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-shadow: var(--glow-g);
}

.nav-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted2);
  background: rgba(0,255,136,0.06);
  border: 1px solid rgba(0,255,136,0.15);
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.nav-status.ready {
  color: var(--accent);
  background: rgba(0,255,136,0.08);
  border-color: rgba(0,255,136,0.3);
  text-shadow: var(--glow-g);
}

.nav-tagline {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── MAIN LAYOUT ── */
.main-layout {
  display: grid;
  grid-template-columns: 35% 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  min-height: calc(100vh - var(--nav-h));
  max-width: 1600px;
  margin: 0 auto;
}

/* ── COLUMNS ── */
.left-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.right-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── CARD ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.card-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.card-title-row .card-title { margin-bottom: 0; }

/* ── INPUT GROUP ── */
.input-group {
  margin-bottom: 1rem;
}

.input-label {
  font-size: 0.75rem;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.4rem;
}

.optional {
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: none;
  letter-spacing: 0;
}

/* Main Target Input */
.main-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 0.65rem 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}
.main-input:focus {
  border-color: var(--accent);
  box-shadow: var(--glow-g);
}
.main-input::placeholder { color: var(--muted); }

/* Context Textarea */
.context-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  padding: 0.6rem 0.9rem;
  outline: none;
  resize: vertical;
  min-height: 60px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.context-input:focus {
  border-color: var(--accent2);
  box-shadow: var(--glow-b);
}
.context-input::placeholder { color: var(--muted); }

/* API Key Input */
.api-key-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.api-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.6rem 2.8rem 0.6rem 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.api-input:focus {
  border-color: var(--accent2);
  box-shadow: var(--glow-b);
}
.api-input::placeholder { color: var(--muted); }

.toggle-eye {
  position: absolute;
  right: 0.7rem;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
  font-size: 0.9rem;
}
.toggle-eye:hover { color: var(--accent2); }

.api-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: var(--muted2);
}
.api-link:hover { color: var(--accent2); }

/* TYPE BADGE */
.type-badge-row { margin-top: 0.5rem; }

.type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 3px;
  border: 1px solid var(--border);
  color: var(--muted2);
  background: var(--surface);
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.type-badge.domain  { color: #00ff88; border-color: rgba(0,255,136,0.4); background: rgba(0,255,136,0.06); }
.type-badge.ip      { color: #00aaff; border-color: rgba(0,170,255,0.4); background: rgba(0,170,255,0.06); }
.type-badge.username{ color: #ff8800; border-color: rgba(255,136,0,0.4); background: rgba(255,136,0,0.06); }
.type-badge.email   { color: #cc88ff; border-color: rgba(200,136,255,0.4); background: rgba(200,136,255,0.06); }
.type-badge.company { color: #ffcc00; border-color: rgba(255,204,0,0.4); background: rgba(255,204,0,0.06); }

/* ── RUN BUTTON ── */
.run-btn {
  width: 100%;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.run-btn:hover:not(:disabled) {
  background: #00ffaa;
  box-shadow: 0 0 20px rgba(0,255,136,0.4);
}
.run-btn:active:not(:disabled) { transform: scale(0.98); }
.run-btn:disabled {
  background: #1a3d2b;
  color: #2a6644;
  cursor: not-allowed;
}

.run-btn .spin {
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── DORK BUTTONS ── */
.dork-section { margin-top: 0.25rem; }

.dork-label {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.dork-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.dork-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--accent2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.03em;
}
.dork-btn:hover {
  border-color: var(--accent2);
  background: rgba(0,170,255,0.08);
  box-shadow: var(--glow-b);
}
.dork-btn:active { transform: scale(0.95); }

/* ── ACCORDION / CHECKLISTS ── */
.accordion-item {
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted2);
  background: var(--surface);
  user-select: none;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.accordion-header:hover {
  color: var(--text);
  background: rgba(255,255,255,0.03);
}
.accordion-header.open {
  color: var(--accent);
  border-bottom: 1px solid var(--border2);
}

.accordion-icon {
  transition: transform 0.2s;
  margin-right: 0.4rem;
  font-size: 0.65rem;
}
.accordion-header.open .accordion-icon {
  transform: rotate(90deg);
}

.progress-badge {
  font-size: 0.65rem;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2px 7px;
  font-weight: 400;
  text-transform: none;
}
.progress-badge.complete {
  color: var(--accent);
  border-color: rgba(0,255,136,0.3);
  background: rgba(0,255,136,0.06);
}

.accordion-body {
  display: none;
  padding: 0.5rem 0.9rem 0.7rem;
  background: rgba(0,0,0,0.2);
}
.accordion-body.open { display: block; }

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.checklist-item:last-child { border-bottom: none; }

.check-box {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  min-width: 15px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--surface);
  cursor: pointer;
  margin-top: 2px;
  position: relative;
  transition: all 0.15s;
}
.check-box:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.check-box:checked::after {
  content: '✓';
  position: absolute;
  top: -2px;
  left: 2px;
  font-size: 11px;
  color: #000;
  font-weight: 700;
}

.checklist-item label {
  font-size: 0.8rem;
  color: var(--muted2);
  cursor: pointer;
  line-height: 1.5;
  transition: color 0.15s;
}
.checklist-item:has(.check-box:checked) label {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.2);
}
.checklist-item label a {
  color: var(--accent2);
  font-weight: 500;
}

/* ── HISTORY ── */
.clear-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--danger);
  font-size: 0.72rem;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-ui);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.clear-btn:hover {
  background: rgba(255,68,68,0.08);
  border-color: var(--danger);
}

.history-empty {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--muted);
}
.history-empty i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
  opacity: 0.3;
}
.history-empty p { font-size: 0.8rem; }

.history-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid var(--border2);
  margin-bottom: 0.4rem;
  background: var(--surface);
  transition: all 0.15s;
}
.history-item:hover {
  border-color: var(--accent2);
  background: rgba(0,170,255,0.05);
}
.history-item:last-child { margin-bottom: 0; }

.history-target {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-time {
  font-size: 0.68rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ── REPORT HEADER ── */
.report-header {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
}

.report-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.report-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: var(--glow-g);
}

.report-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.report-timestamp {
  font-size: 0.7rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* Export Toolbar */
.export-toolbar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.export-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 5px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted2);
  font-size: 0.78rem;
  font-family: var(--font-ui);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.export-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,255,136,0.05);
}
.export-btn:active { transform: scale(0.97); }

/* ── EMPTY STATE ── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  flex: 1;
  min-height: 400px;
}

.empty-icon {
  font-size: 3.5rem;
  color: var(--border);
  margin-bottom: 1.5rem;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { color: var(--border); text-shadow: none; }
  50% { color: rgba(0,255,136,0.4); text-shadow: 0 0 30px rgba(0,255,136,0.3); }
}

.empty-state h2 {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--muted2);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 360px;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.empty-hints {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hint-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-mono);
}

/* ── REPORT AREA ── */
.report-area {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border2);
}

.section-badge {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(0,170,255,0.08);
  border: 1px solid rgba(0,170,255,0.2);
  color: var(--accent2);
  letter-spacing: 0.03em;
  font-weight: 400;
  text-transform: none;
}

/* ── LIVE DATA CARDS ── */
.live-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.live-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.live-card.full-width {
  width: 100%;
}

.live-card-title {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted2);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.live-card-source {
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 400;
  text-transform: none;
}

.live-card-body {
  padding: 1rem;
  min-height: 80px;
}

/* Skeleton Loader */
.skeleton-loader { display: flex; flex-direction: column; gap: 0.5rem; }
.skeleton-line {
  height: 10px;
  background: linear-gradient(90deg, var(--border) 25%, rgba(255,255,255,0.04) 50%, var(--border) 75%);
  background-size: 200% 100%;
  border-radius: 3px;
  animation: shimmer 1.5s infinite;
}
.skeleton-line.short { width: 60%; }

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Subdomain Chips */
.subdomain-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.subdomain-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: 3px;
  background: rgba(0,255,136,0.05);
  border: 1px solid rgba(0,255,136,0.2);
  color: var(--accent);
  white-space: nowrap;
}

.live-count {
  font-size: 0.7rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* IP Info Table */
.ip-info-table { width: 100%; border-collapse: collapse; }
.ip-info-table tr { border-bottom: 1px solid rgba(255,255,255,0.04); }
.ip-info-table tr:last-child { border-bottom: none; }
.ip-info-table td {
  padding: 4px 0;
  font-size: 0.78rem;
  vertical-align: top;
}
.ip-info-table td:first-child {
  color: var(--muted);
  font-family: var(--font-mono);
  width: 80px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-right: 0.5rem;
}
.ip-info-table td:last-child { color: var(--text); }

.ip-flag { font-size: 1.1rem; }

.ip-tag {
  display: inline-block;
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 4px;
  font-family: var(--font-mono);
}
.ip-tag.yes { background: rgba(255,68,68,0.12); color: var(--danger); border: 1px solid rgba(255,68,68,0.25); }
.ip-tag.no  { background: rgba(0,255,136,0.06); color: var(--accent); border: 1px solid rgba(0,255,136,0.2); }

/* DNS Records */
.dns-pre {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  line-height: 1.8;
  overflow-x: auto;
  white-space: pre;
  max-height: 200px;
  overflow-y: auto;
}

.dns-pre::-webkit-scrollbar { width: 5px; height: 5px; }
.dns-pre::-webkit-scrollbar-track { background: var(--surface); }
.dns-pre::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── AI REPORT CARD ── */
.ai-report-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

/* Subtle scanline on AI card */
.ai-report-card::before {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 5px,
    rgba(0,255,136,0.008) 5px,
    rgba(0,255,136,0.008) 6px
  );
  z-index: 0;
}

.ai-report-body {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
  min-height: 120px;
}

/* AI Loading */
.ai-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--muted2);
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

.ai-loading-dots {
  display: flex;
  gap: 4px;
}
.ai-loading-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: bounce-dot 1.2s ease-in-out infinite;
}
.ai-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.ai-loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce-dot {
  0%, 80%, 100% { transform: scale(0.5); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}

/* Typing cursor */
.typing-cursor {
  color: var(--accent);
  animation: blink 0.7s step-end infinite;
  font-family: var(--font-mono);
  font-size: 1rem;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── MARKDOWN RENDERED OUTPUT ── */
#aiReportContent {
  color: var(--text);
  line-height: 1.75;
  font-size: 0.9rem;
}

#aiReportContent h1,
#aiReportContent h2 {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
  margin: 1.5rem 0 0.6rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--accent);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

#aiReportContent h3 {
  font-family: var(--font-mono);
  color: var(--accent2);
  font-size: 0.88rem;
  font-weight: 600;
  margin: 1.2rem 0 0.4rem;
  padding-left: 0.6rem;
  border-left: 2px solid var(--accent2);
}

#aiReportContent p {
  margin-bottom: 0.8rem;
  color: #c8c8c8;
}

#aiReportContent ul,
#aiReportContent ol {
  margin: 0.5rem 0 0.8rem 0;
  padding-left: 1.4rem;
}

#aiReportContent li {
  margin-bottom: 0.35rem;
  color: #c8c8c8;
}

#aiReportContent li::marker {
  color: var(--accent);
}

#aiReportContent ol li::marker {
  color: var(--accent2);
}

#aiReportContent code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: rgba(0,255,136,0.07);
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 3px;
  padding: 1px 6px;
  color: var(--accent);
}

#aiReportContent pre {
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  overflow-x: auto;
  margin: 0.8rem 0;
  border-left: 3px solid var(--accent);
}

#aiReportContent pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.82rem;
  color: var(--accent);
}

#aiReportContent blockquote {
  border-left: 3px solid var(--accent3);
  padding-left: 1rem;
  margin: 0.8rem 0;
  color: var(--muted2);
  font-style: italic;
}

#aiReportContent strong {
  color: var(--text);
  font-weight: 600;
}

#aiReportContent em { color: var(--muted2); }

#aiReportContent hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

#aiReportContent table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.8rem 0;
  font-size: 0.82rem;
}
#aiReportContent th {
  background: rgba(0,255,136,0.06);
  border: 1px solid var(--border);
  padding: 6px 12px;
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.75rem;
  text-align: left;
}
#aiReportContent td {
  border: 1px solid var(--border2);
  padding: 6px 12px;
  color: #c0c0c0;
}
#aiReportContent tr:hover td { background: rgba(255,255,255,0.02); }

/* ── TOAST NOTIFICATIONS ── */
#toastContainer {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  pointer-events: all;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text);
  box-shadow: 0 4px 24px rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: toast-in 0.25s ease-out forwards;
  min-width: 220px;
  max-width: 340px;
}
.toast.success { border-color: rgba(0,255,136,0.4); color: var(--accent); }
.toast.error   { border-color: rgba(255,68,68,0.4);  color: var(--danger); }
.toast.info    { border-color: rgba(0,170,255,0.4);  color: var(--accent2); }
.toast.warning { border-color: rgba(255,204,0,0.4);  color: var(--warning); }

.toast.out { animation: toast-out 0.2s ease-in forwards; }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(30px); }
}

/* ── ERROR MESSAGE ── */
.error-msg {
  color: var(--danger);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.7rem 1rem;
  background: rgba(255,68,68,0.06);
  border: 1px solid rgba(255,68,68,0.25);
  border-radius: var(--radius);
}

/* ── LIVE DATA NOTICE ── */
.live-notice {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
  padding: 0.4rem 0;
  font-style: italic;
}

/* ── SCROLLBARS ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

/* ── PRINT STYLES ── */
@media print {
  body {
    background: #fff;
    color: #000;
  }
  .navbar,
  .left-col,
  .report-header,
  .export-toolbar,
  .scanline-overlay,
  #toastContainer {
    display: none !important;
  }
  .main-layout {
    display: block;
    padding: 0;
  }
  .right-col {
    width: 100%;
  }
  .report-area {
    display: block !important;
  }
  .ai-report-card,
  .live-card,
  .live-cards-row {
    break-inside: avoid;
    border: 1px solid #ccc;
  }
  #aiReportContent h2 {
    color: #006633;
    border-left-color: #006633;
  }
  #aiReportContent code,
  #aiReportContent pre code {
    background: #f0f0f0;
    color: #006633;
  }
  .subdomain-chip { background: #e8f8f0; color: #006633; border-color: #006633; }
  .dns-pre { color: #006633; background: #f0f0f0; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .main-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .live-cards-row {
    grid-template-columns: 1fr;
  }
  .nav-tagline { display: none; }
  .export-toolbar { gap: 0.35rem; }
  .export-btn { font-size: 0.72rem; padding: 4px 9px; }
  .report-title-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .main-layout { padding: 0.5rem; }
  .card { padding: 0.75rem; border-radius: 8px; }
  .dork-buttons { gap: 0.25rem; flex-wrap: wrap; }
  .dork-btn { font-size: 0.65rem; padding: 2px 5px; }
  .input-group input { font-size: 0.9rem; }
  .run-btn { font-size: 0.9rem; padding: 10px; }
  .nav-branding h1 { font-size: 1.2rem; }
}

/* ── SHODAN & VIRUSTOTAL STYLES ── */
.sh-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-right: 6px;
  margin-bottom: 6px;
  border: 1px solid;
}
.sh-badge-gray { color: #aaa; border-color: #555; background: #222; }
.sh-badge-green { color: #00ff88; border-color: rgba(0, 255, 136, 0.3); background: rgba(0, 255, 136, 0.05); }
.sh-badge-yellow { color: #ffcc00; border-color: rgba(255, 204, 0, 0.3); background: rgba(255, 204, 0, 0.05); }
.sh-badge-red { color: #ff4444; border-color: rgba(255, 68, 68, 0.3); background: rgba(255, 68, 68, 0.05); }

.sh-vuln-box {
  margin-top: 10px;
  padding: 8px;
  background: rgba(255, 68, 68, 0.05);
  border: 1px solid rgba(255, 68, 68, 0.2);
  border-radius: 6px;
  color: #ff4444;
  font-size: 0.8rem;
}
.sh-vuln-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 5px;
  background: #ff4444;
  color: #000;
  border-radius: 3px;
  margin-right: 5px;
  margin-bottom: 5px;
  font-weight: 600;
}
.sh-cpe-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 6px;
  border: 1px solid #444;
  border-radius: 4px;
  color: #ccc;
  margin-right: 4px;
  margin-bottom: 4px;
  background: #2a2a2a;
}

.vt-banner {
  padding: 8px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 12px;
  border: 1px solid;
}
.vt-banner-green { color: #00ff88; background: rgba(0, 255, 136, 0.05); border-color: rgba(0, 255, 136, 0.2); }
.vt-banner-yellow { color: #ffcc00; background: rgba(255, 204, 0, 0.05); border-color: rgba(255, 204, 0, 0.2); }
.vt-banner-red { color: #ff4444; background: rgba(255, 68, 68, 0.05); border-color: rgba(255, 68, 68, 0.2); }

.vt-stats-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.vt-stat-box {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  text-align: center;
}
.vt-cat-tag, .vt-engine-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 4px;
  margin-bottom: 4px;
}
.vt-cat-tag { background: #333; color: #ddd; border: 1px solid #555; }
.vt-engine-tag { background: rgba(255, 68, 68, 0.1); color: #ff4444; border: 1px solid rgba(255, 68, 68, 0.3); }

/* --- AI REPORT COLORS --- */
.type-badge { font-weight: 600; font-family: var(--font-mono); }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.live-card-source { color: var(--muted); font-size: 0.7rem; float: right; margin-top: 2px; }
.domain-tag, .ip-tag, .tech-tag { display: inline-block; padding: 2px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.75rem; margin-right: 6px; margin-bottom: 6px; border: 1px solid #555; background: #222; cursor: pointer; }
.domain-tag:hover, .ip-tag:hover { background: #333; }
.green-tag { color: #00ff88; border-color: rgba(0, 255, 136, 0.3); background: rgba(0, 255, 136, 0.05); }
.blue-tag { color: #00bfff; border-color: rgba(0, 191, 255, 0.3); background: rgba(0, 191, 255, 0.05); }
.red-tag { color: #ff4444; border-color: rgba(255, 68, 68, 0.3); background: rgba(255, 68, 68, 0.05); }
.cyan-tag { color: #00ffff; border-color: rgba(0, 255, 255, 0.3); background: rgba(0, 255, 255, 0.05); }
.yellow-tag { color: #ffcc00; border-color: rgba(255, 204, 0, 0.3); background: rgba(255, 204, 0, 0.05); }
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 0.8rem; }
.info-row { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid var(--border); }
.sec-table { width: 100%; border-collapse: collapse; font-size: 0.75rem; text-align: left; margin-top: 10px; }
.sec-table th, .sec-table td { padding: 6px; border-bottom: 1px solid var(--border); }
.dork-btn-new { display: inline-block; padding: 4px 8px; font-size: 0.7rem; font-family: var(--font-mono); border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; border-radius: 4px; margin: 4px; text-decoration: none; }
.dork-btn-new:hover { border-color: var(--accent); color: var(--accent); }
.dork-group-title { font-size: 0.75rem; color: var(--muted); margin-top: 10px; font-weight: bold; }
.tree-node { font-family: var(--font-mono); font-size: 0.8rem; white-space: pre; color: var(--text); line-height: 1.4; }
.tree-clickable { cursor: pointer; color: var(--accent); }
.tree-clickable:hover { text-decoration: underline; }
