#iaac .card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px;margin:16px 0}
#iaac .row{display:flex;gap:16px;align-items:flex-start}
#iaac pre{background:#0b1020;color:#d7e1ff;padding:12px;border-radius:8px;overflow:auto;max-height:420px}
.progress-container {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 6px;
  z-index: 10;
}
.progress-bar, .progress-bar-scan {
  height: 25px;
  background: #4caf50;
  width: 0;
  border-radius: 4px;
  transition: width 0.3s ease;
}
.progress-text, .progress-text-scan {
  margin-top: 4px;
  font-size: 12px;
  color: #333;
  text-align: right;
}
.status-no {
  text-align: center;
  font-size: 18px;
  color: yellowgreen;
}
.alt-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}
.scan-table thead th, .alt-table thead th {
  background-color: #0073aa;
  color: #fff !important;
  text-align: left;
  padding: 10px;
  text-align: center;
}
.alt-table tbody td {
  border: 1px solid #71beef;
  padding: 8px;
}
.alt-table tbody tr:nth-child(odd) {
  background-color: #ebecf7;
}
.alt-table tbody tr:nth-child(even) {
  background-color: #ffffff;
}
.alt-table .status {
  font-weight: bold;
}
.alt-table .status:contains("✅") {
  color: green;
}
.alt-table .status:contains("❌") {
  color: red;
}
#iaac-generate-alt-results {
  position: relative;
  max-height: 400px;
  overflow-y: auto;
  margin-top: 2em;
}
#iaac-results {
  margin-top: 2em;
}
#iaac-results .scan-status {
  bottom: 0;
  background: #28a745;
  color: #fff;
  text-align: center;
  font-weight: bold;
  padding: 10px;
  z-index: 10;
}
#iaac-generate-alt-results .status {
  position: sticky;
  bottom: 0;
  background: #28a745;
  color: #fff;
  text-align: center;
  font-weight: bold;
  padding: 10px;
  z-index: 10;
}
.scan-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 14px;
}
.scan-table th {
  background: #0073aa;
  color: #fff;
  padding: 8px;
  text-align: left;
}
.scan-table td {
  border: 1px solid #ddd;
  padding: 6px;
  text-align: center;
}
.scan-table thead th:nth-child(2){
  width: 25%;
}
.scan-table thead th:nth-child(3){
  width: 6%;
}
.scan-table thead th:nth-child(4){
  width: 50%;
}
.scan-table tr:nth-child(odd) { background: #f9f9f9; }
.scan-table tr:nth-child(even) { background: #fff; }
.issues {
  cursor: help;
  font-weight: bold;
}
.issues.has-issues {
  color: #dc3545;
}
.issue-list {
  max-height: 200px;
  overflow-y: auto;
  font-size: 0.9em;
}
.badge {
  cursor: pointer;
}
.issue-list {
  margin-top: 0.5rem;
  padding: 0.75rem;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  background: #e2cccc;;
  max-height: 200px;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: left;
}
.issue-list div {
  padding: 4px 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid #eee;
  word-break: break-word;
}
.issue-list div:last-child {
  border-bottom: none;
}
.badge {
  display: inline-block;
  font-size: 0.85rem;
  padding: 0.4em 0.6em;
}