/* Scanner Data-Leak & Audit Chat AI - Specific Styles */

:root {
  --primary-ink: #000000;
}

body {
  font-size: 18px;
  background-color: var(--bg-page) !important;
  color: var(--ink);
}

p, span, small, label, input, button, .badge, .alert, .toast {
  font-size: 16px;
}

h1, .h1 { font-size: 24px; font-weight: 850; }
h2, .h2 { font-size: 22px; font-weight: 850; }
h3, .h3 { font-size: 19px; font-weight: 800; }

.border-dashed {
  border-style: dashed !important;
}

#auditDropZone {
  background-color: #ffffff !important;
  border: 2.5px dashed var(--border-color) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

#auditDropZone.dragover {
  background-color: #f0f7ff !important;
  border-color: #000000 !important;
  transform: scale(1.01);
}

.finding-card {
  border: 2.5px solid var(--border-color) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.12), 0 2px 4px -2px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  margin-bottom: 16px;
}

.finding-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.16) !important;
}

.snippet-box {
  background: #f7f7f5;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 16px;
  line-height: 1.5;
  color: #000000;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.snippet-box mark.leak-highlight {
  background: #fecaca;
  color: #991b1b;
  font-weight: bold;
  padding: 2px 4px;
  border-radius: 4px;
}

.snippet-box mark.pii-highlight {
  background: #fef08a;
  color: #854d0e;
  font-weight: bold;
  padding: 2px 4px;
  border-radius: 4px;
}

@media print {
  body * {
    visibility: hidden;
  }
  #printContainer, #printContainer * {
    visibility: visible;
  }
  #printContainer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    display: block !important;
    background: #ffffff;
    color: #000000;
    padding: 20px;
    font-size: 14pt;
  }
}
