/* ============================================================================
   http-status-codes.css — Tool-spezifische Styles für HTTP STATUS CODES
   Geladen auf: tools/http-status-codes.php  (NACH main-vhc.css)
   ============================================================================ */

/* ── Seitenbereich ───────────────────────────────── */

body.tool-page main {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 20px 52px;
}

/* ── Tool-Header ─────────────────────────────────── */

.hs-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.hs-icon {
  width: 96px;
  height: 96px;
  display: block;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 0 24px rgba(0, 245, 255, 0.35));
}

.hs-title {
  font-family: 'Orbitron', 'Segoe UI', system-ui, sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--neon1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 0 24px rgba(0, 229, 255, 0.45);
  margin: 0 0 0.5rem 0;
}

.hs-subtitle {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0;
}

/* ── Wrapper ─────────────────────────────────────── */

.tool-wrap {
  width: 100%;
  max-width: 760px;
}

/* ── Steuerung ───────────────────────────────────── */

.hs-controls {
  margin-bottom: 1rem;
}

.hs-search-wrap {
  position: relative;
  margin-bottom: 0.8rem;
}

.hs-search {
  width: 100%;
  background: #0c1220;
  border: 1px solid #1a2840;
  color: var(--text);
  font-size: 0.95rem;
  font-family: 'Exo 2', 'Segoe UI', system-ui, sans-serif;
  padding: 0.7rem 2.4rem 0.7rem 0.9rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}

.hs-clear {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  width: 1.7rem;
  height: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}

.hs-clear:hover {
  color: var(--neon1);
  background: #14233c;
}

.hs-search:focus {
  border-color: var(--neon1);
}

.hs-search::placeholder {
  color: #4a6488;
}

.hs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hs-filter {
  background: #0c1220;
  border: 1px solid #1a2840;
  color: var(--muted);
  font-size: 0.76rem;
  font-family: 'Exo 2', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.95rem;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.hs-filter.active {
  background: #01121e;
  border-color: var(--neon1);
  color: var(--neon1);
}

.hs-filter:hover:not(.active) {
  border-color: #2a3e58;
  color: var(--text);
}

/* ── Trefferzähler ───────────────────────────────── */

.hs-count {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

/* ── Liste ───────────────────────────────────────── */

.hs-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hs-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: #090f1c;
  border: 1px solid #1a2840;
  border-left-width: 3px;
  border-radius: 4px;
  padding: 0.8rem 1rem;
}

.hs-code {
  font-family: 'Orbitron', 'Courier New', monospace;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.1;
  flex: 0 0 auto;
  min-width: 2.8rem;
}

.hs-body {
  flex: 1;
  min-width: 0;
}

.hs-name {
  font-family: 'Exo 2', 'Segoe UI', system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.2rem 0;
}

.hs-desc {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* ── Kategorie-Farben ────────────────────────────── */

.hs-cat-1 { border-left-color: #5a7fff; }
.hs-cat-1 .hs-code { color: #7a9bff; }

.hs-cat-2 { border-left-color: #00cc88; }
.hs-cat-2 .hs-code { color: #00cc88; }

.hs-cat-3 { border-left-color: #00e5ff; }
.hs-cat-3 .hs-code { color: var(--neon1); }

.hs-cat-4 { border-left-color: #ffaa40; }
.hs-cat-4 .hs-code { color: #ffaa40; }

.hs-cat-5 { border-left-color: #ff4060; }
.hs-cat-5 .hs-code { color: #ff5a76; }

/* ── Leer-Hinweis ────────────────────────────────── */

.hs-empty {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 2rem 0;
}

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 680px) {
  .hs-title {
    font-size: 2rem;
  }
}
