body {
  background: #121212; /* grigio molto scuro */
  color: #e0e0e0;     /* testo chiaro */
  padding: 20px;
  transition: background 0.3s, color 0.3s;
}

.card {
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5); /* ombra più intensa su sfondo scuro */
  background: #1e1e1e; /* sfondo card scuro */
  color: #e0e0e0;
}

.query-box {
  font-family: monospace;
  font-size: 13px;
  background: #2c2c2c;
  color: #f1f1f1;
  border: 1px solid #444;
}

label, .text-muted {
  color: #a98989!important;
}

.btn-primary {
  background-color: #bb1515;
  border-color: #bb1515;
}

.btn-primary:hover {
  background-color: #801b1b;
  border-color: #801b1b;
}

.btn-outline-secondary {
  color: #e0e0e0;
  border-color: #555;
}

.btn-outline-secondary:hover {
  background-color: #333;
  color: #fff;
  border-color: #777;
}

.input-group>.form-control {
  background-color: #2c2c2c;
  color: #f1f1f1;
  border-color: #444;
}

.mb-3 {
    margin-bottom: 2rem !important;
}

.uuid-in-list {
  text-decoration: underline;
  text-decoration-color: #4caf50;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  color: #4caf50;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.uuid-in-list:hover {
  color: #2e7d32;
  text-decoration-color: #2e7d32;
}

.uuid-not-in-list {
  text-decoration: underline;
  text-decoration-color: #bb1515;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  color: #bb1515;
}

/* Collapse/Expand card styles */
.card-content {
  transition: opacity 0.3s ease;
}

h4 {
  margin-bottom: 0;
}

small.text-muted {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

.uuid-not-in-list {
  text-decoration: underline;
  text-decoration-color: #bb1515;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  color: #bb1515;
}