/* fingerprint-auditor.css */
/* Tool-specific styling for Browser Fingerprinting Auditor.
   Uses shared variables and components from tools.css. */

:root{
  --risk-low: #10b981;
  --risk-medium: #f59e0b;
  --risk-high: #ef4444;
  --risk-info: var(--primary-cyan);
}

/* Page frame spacing (prevent full-bleed layout) */
.wrap{
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 16px;
}

/* Header: match password-generator layout */
.tool-header{
  align-items: flex-start;
}

.tool-header h1{
  margin: 0;
  font-size: 2.05rem;
  line-height: 1.15;
}

.tool-header .subtitle{
  margin: 6px 0 0 0;
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 820px;
}

/* Legal disclaimer: match gold box theme */
.disclaimer-box{
  margin: 18px 0 22px;
  background: var(--card-bg);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 22px 22px;
  color: var(--gold-text);
  line-height: 1.65;
}

.disclaimer-title{
  font-family: "Space Grotesk", var(--sans);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 10px;
}

/* Summary card */
.summary-card{
  background: linear-gradient(180deg, rgba(26, 31, 58, 0.95), rgba(19, 26, 49, 0.95));
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  border-left: 5px solid var(--risk-info);
}

.summary-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.35;
  pointer-events: none;
}

.summary-card > *{
  position: relative;
  z-index: 1;
}

.summary-card h2{
  margin: 0 0 10px 0;
}

.fingerprint-score{
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
}

.score-circle{
  width: 80px;
  height: 80px;
  border-radius: 999px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px solid var(--risk-info);
  font-size: 1.4rem;
  font-weight: 800;
  background: rgba(0, 212, 255, 0.06);
}

/* Risk colors */
.risk-low{ border-color: var(--risk-low) !important; }
.risk-medium{ border-color: var(--risk-medium) !important; }
.risk-high{ border-color: var(--risk-high) !important; }

.fingerprint-chart{
  height: 200px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: rgba(5, 8, 16, 0.55);
  margin-top: 14px;
}

/* Grid of detail cards */
.grid{
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.card h3{
  margin: 0 0 10px 0;
  font-size: 1.1rem;
  color: var(--text-primary);
}

/* Data rows (generated by JS) */
.data-row{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.16);
}

.data-row:last-child{
  border-bottom: none;
}

.data-label{
  color: var(--text-secondary);
}

.data-value{
  font-family: var(--mono);
  color: var(--text-primary);
  text-align: right;
  max-width: 56%;
  overflow-wrap: anywhere;
}

/* Tips panel */
.privacy-tips{
  margin-top: 22px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px 18px;
}

.privacy-tips h3{
  margin: 0 0 10px 0;
  color: var(--primary-cyan);
}

.tips-list{
  margin: 8px 0 0 22px;
  color: var(--text-secondary);
}

/* Bottom copy button */
.copy-btn{
  margin-top: 18px;
}
