/* Wall of Shame - Banned IPs Widget */
:root {
  --wos-bg: #111;
  --wos-bg-card: #1a1a1a;
  --wos-bg-hover: #222;
  --wos-fg: #ddd;
  --wos-fg-muted: #888;
  --wos-border: #333;
  --wos-badge-bruteforce: #dc3545;
  --wos-badge-scanner: #fd7e14;
  --wos-badge-abuse: #ffc107;
  --wos-badge-exploit: #e83e8c;
  --wos-badge-bot: #6f42c1;
  --wos-badge-banned: #6c757d;
  --wos-flag-vpn: #17a2b8;
  --wos-flag-dc: #20c997;
}

#wall-of-shame {
  font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
  background: var(--wos-bg);
  color: var(--wos-fg);
  padding: 1rem;
  margin: 1rem 0;
  border: 1px solid var(--wos-border);
  max-width: 100%;
}

#wall-of-shame h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--wos-fg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#wall-of-shame h3::before {
  content: "\1F6AB";
}

#wall-of-shame .wos-subtitle {
  font-size: 0.75rem;
  color: var(--wos-fg-muted);
  margin-left: auto;
}

#wall-of-shame .wos-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 400px;
  overflow-y: auto;
}

#wall-of-shame .wos-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.5rem;
  background: var(--wos-bg-card);
  border: 1px solid var(--wos-border);
  font-size: 0.8rem;
}

#wall-of-shame .wos-entry:hover {
  background: var(--wos-bg-hover);
}

#wall-of-shame .wos-main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

#wall-of-shame .wos-ip {
  font-weight: 600;
  color: var(--wos-fg);
  font-family: inherit;
}

#wall-of-shame .wos-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--wos-fg-muted);
  font-size: 0.7rem;
}

#wall-of-shame .wos-meta span {
  white-space: nowrap;
}

#wall-of-shame .wos-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

#wall-of-shame .wos-badge {
  padding: 0.15rem 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#wall-of-shame .wos-badge-BRUTEFORCE { background: var(--wos-badge-bruteforce); color: #fff; }
#wall-of-shame .wos-badge-SCANNER { background: var(--wos-badge-scanner); color: #000; }
#wall-of-shame .wos-badge-ABUSE { background: var(--wos-badge-abuse); color: #000; }
#wall-of-shame .wos-badge-EXPLOIT { background: var(--wos-badge-exploit); color: #fff; }
#wall-of-shame .wos-badge-BOT { background: var(--wos-badge-bot); color: #fff; }
#wall-of-shame .wos-badge-BANNED { background: var(--wos-badge-banned); color: #fff; }

#wall-of-shame .wos-flags {
  display: flex;
  gap: 0.25rem;
}

#wall-of-shame .wos-flag {
  padding: 0.1rem 0.3rem;
  font-size: 0.6rem;
  font-weight: 600;
}

#wall-of-shame .wos-flag-vpn { background: var(--wos-flag-vpn); color: #fff; }
#wall-of-shame .wos-flag-dc { background: var(--wos-flag-dc); color: #000; }

#wall-of-shame .wos-time {
  font-size: 0.65rem;
  color: var(--wos-fg-muted);
  text-align: right;
}

#wall-of-shame .wos-empty {
  color: var(--wos-fg-muted);
  font-style: italic;
  padding: 1rem;
  text-align: center;
}

#wall-of-shame .wos-error {
  color: var(--wos-badge-bruteforce);
  padding: 0.5rem;
  text-align: center;
}

/* Scrollbar styling */
#wall-of-shame .wos-list::-webkit-scrollbar {
  width: 6px;
}

#wall-of-shame .wos-list::-webkit-scrollbar-track {
  background: var(--wos-bg);
}

#wall-of-shame .wos-list::-webkit-scrollbar-thumb {
  background: var(--wos-border);
}

#wall-of-shame .wos-list::-webkit-scrollbar-thumb:hover {
  background: var(--wos-fg-muted);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  #wall-of-shame .wos-entry {
    grid-template-columns: 1fr;
  }

  #wall-of-shame .wos-badges {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  #wall-of-shame .wos-time {
    text-align: left;
  }
}
