/* Protezione da scorrimento orizzontale */
html, body { 
  overflow-x: hidden; 
  max-width: 100vw; 
}

/* Adattamento tabelle */
.table {
  color: var(--text);
  border-color: rgba(255,255,255,0.1);
}

.table-dark {
  --bs-table-bg: var(--dark);
  --bs-table-striped-bg: var(--dark-light);
  --bs-table-border-color: rgba(255,255,255,0.1);
}

.table thead {
  background: var(--dark-light);
  border-bottom: 2px solid rgba(255,255,255,0.15);
}

/* Stile per documenti legali */
.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  color: #9ee933;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  font-weight: 600;
}

.legal-section h3 {
  color: #5c1e85;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.legal-section h4 {
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.legal-section p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.legal-section ul, 
.legal-section ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-section li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.effective-date {
  background: #1a1a1a;
  padding: 1rem 1.5rem;
  border-left: 4px solid #9ee933;
  margin-bottom: 2rem;
  border-radius: 4px;
}

.contact-info {
  background: var(--dark-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.data-table-wrapper {
  margin: 2rem 0;
}

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