.tabella-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}

.tabella-elegante {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  background: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
}

.tabella-elegante thead {
  background: linear-gradient(135deg, #193b63, #28679c);
  color: #ffffff;
}

.tabella-elegante th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
}

.tabella-elegante td {
  padding: 13px 16px;
  border-bottom: 1px solid #e8edf2;
  color: #263442;
}

.tabella-elegante tbody tr:nth-child(even) {
  background: #f6f9fc;
}

.tabella-elegante tbody tr:hover {
  background: #eaf3fa;
  transition: background-color 0.2s ease;
}

.tabella-elegante tbody tr:last-child td {
  border-bottom: none;
}

.tabella-elegante .numero {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .tabella-elegante {
    font-size: 0.88rem;
  }

  .tabella-elegante th,
  .tabella-elegante td {
    padding: 10px 12px;
  }
}