/* Optional extra tweaks specific to 404 page */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background-color: #111;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.legal, .error-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  line-height: 1.6;
  text-align: left; /* Forza il testo a sinistra */
}
.legal h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}
.legal h2 {
  margin-top: 1.5rem;
  font-size: 1.3rem;
}
.legal ul {
  padding-left: 1.2rem;
  list-style-type: disc;
}
.legal ul li {
  margin-bottom: 0.5rem;
}
a {
  color: inherit;
  text-decoration: underline;
}
hr {
  margin: 3rem 0;
  border: none;
  border-top: 1px solid #444;
}

/* Transparency */
.transparency { max-width: 56rem; margin: 3rem auto; padding: 0 1rem; }
.rep-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.rep-card { display: block; border: 1px solid #e5e7eb; border-radius: 1rem; padding: 1rem; text-decoration: none; }
.rep-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.rep-url { font-size: .8rem; margin-bottom: .5rem; word-break: break-all; }
.rep-scores { display: flex; gap: .5rem; align-items: center; margin-bottom: .25rem; }
.score-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; padding: .25rem .5rem; border-radius: .5rem; font-weight: 600; font-size: .9rem; }
.score-badge.ok { background: #e6f6ed; color: #1b7f3a; }
.score-badge.warn { background: #fff6e5; color: #9a6b00; }
.score-badge.bad { background: #feeeee; color: #b42318; }
.rep-link { font-size: .85rem; text-decoration: underline; color: inherit; }
.rep-error { color: #b42318; margin-top: .5rem; }
.footnote { font-size: .8rem; color: #6b7280; margin-top: 1rem; }
.rep-a11y { font-size: .85rem; color: yellowgreen; margin-top: .25rem; }
.rep-obs { font-size: .85rem; color: yellowgreen; margin-top: .25rem; }

/* Structure & labels */
.rep-row { margin-bottom: .75rem; }
.rep-label {
  display: block;
  font-size: .75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .25rem;
}
.rep-value.rep-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
  font-size: .9rem;
}

.rep-section { padding-top: .75rem; margin-top: .75rem; }
.rep-section + .rep-section { border-top: 1px solid #e5e7eb; }
.rep-section h3 { 
  margin: 0 0 .5rem; 
  font-size: .95rem; 
  font-weight: 600; 
}

.rep-badges { display: flex; gap: .5rem; flex-wrap: wrap; }

.rep-actions { margin-top: .4rem; font-size: .85rem; }
.rep-actions a { text-decoration: underline; color: inherit; }

/* Tweak lines */
.rep-a11y-line, .rep-obs-line { font-size: .9rem; color: yellowgreen; }

.rep-subsection { margin-top: .35rem; }
.rep-subtitle {
  font-size: .8rem; font-weight: 600; color: white;
  font-weight: bold;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: .25rem;
}

.transparency-action {
  text-align: center;
  margin-top: 2rem;
}

.transparency-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f9fafb;
  background: yellowgreen;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.transparency-button:hover,
.transparency-button:focus-visible {
  background: #f3f4f6;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  outline: none;
}




