
/* Severity Badges */
.severity-badge {
  display: inline-block;
  padding: 0.25em 0.75em;
  border-radius: 999px;
  font-size: 0.875em;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
}
.severity-low { background-color: #2ecc71; }
.severity-medium { background-color: #f39c12; }
.severity-high { background-color: #e74c3c; }

/* Tags */
.tag-badges {
  margin-top: 0.5em;
}
.tag-badge {
  display: inline-block;
  background-color: #ddd;
  color: #333;
  padding: 0.3em 0.8em;
  border-radius: 999px;
  margin: 0.25em;
  font-size: 0.85em;
  font-weight: 600;
  transition: background-color 0.2s;
}
.tag-badge:hover {
  background-color: #bbb;
}

/* Responsive Table */
.blacklisted-company-details table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2em;
}
.blacklisted-company-details th,
.blacklisted-company-details td {
  padding: 0.75em;
  text-align: left;
  border: 1px solid #ddd;
  vertical-align: top;
}
.blacklisted-company-details th {
  background-color: #f4f4f4;
  font-weight: bold;
}
.blacklisted-company-details tr:nth-child(even) {
  background-color: #fafafa;
}
@media screen and (max-width: 768px) {
  .blacklisted-company-details table,
  .blacklisted-company-details thead,
  .blacklisted-company-details tbody,
  .blacklisted-company-details th,
  .blacklisted-company-details td,
  .blacklisted-company-details tr {
    display: block;
  }
  .blacklisted-company-details thead tr {
    display: none;
  }
  .blacklisted-company-details tr {
    margin-bottom: 1.5em;
    border: 1px solid #ccc;
    padding: 1em;
    background: #fff;
  }
  .blacklisted-company-details td {
    border: none;
    padding: 0.5em 0;
    position: relative;
    padding-left: 50%;
  }
  .blacklisted-company-details td::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 45%;
    padding-left: 1em;
    font-weight: bold;
    white-space: nowrap;
  }
  .blacklisted-company-details td:nth-of-type(1)::before { content: "Case"; }
  .blacklisted-company-details td:nth-of-type(2)::before { content: "Year"; }
  .blacklisted-company-details td:nth-of-type(3)::before { content: "Target"; }
  .blacklisted-company-details td:nth-of-type(4)::before { content: "Platform"; }
  .blacklisted-company-details td:nth-of-type(5)::before { content: "Outcome"; }
  .blacklisted-company-details td:nth-of-type(6)::before { content: "Evidence"; }
}
