/* Fail2Ban dossier — ops CSS island inside Material Dashboard shell */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&family=IBM+Plex+Sans:wght@400;600&display=swap");

.f2b-shell {
  --f2b-ink: #1a237e;
  --f2b-muted: #546e7a;
  --f2b-accent: #ff6f00;
  --f2b-wash: #fff3e0;
  --f2b-line: #cfd8dc;
  --f2b-surface: #ffffff;
  font-family: "IBM Plex Sans", Roboto, "Helvetica Neue", sans-serif;
  color: var(--f2b-ink);
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2.5rem;
  min-height: 70vh;
}

.f2b-hero {
  background: var(--f2b-surface);
  border-bottom: 1px solid var(--f2b-line);
  padding: 0 0 1rem;
  margin-bottom: 1rem;
}

.f2b-hero h1 {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0.15rem 0 0.5rem;
  color: var(--f2b-ink);
}

.f2b-hero h1 code {
  font-family: inherit;
  font-size: inherit;
  background: transparent;
  color: inherit;
}

.f2b-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--f2b-accent);
  margin: 0;
  font-weight: 600;
}

.f2b-kicker a {
  color: inherit;
  text-decoration: none;
}

.f2b-kicker a:hover {
  text-decoration: underline;
}

.f2b-lede,
.f2b-meta,
.f2b-foot {
  color: var(--f2b-muted);
  margin: 0.35rem 0;
}

.f2b-filters {
  display: grid;
  gap: 0.85rem;
  margin: 1.1rem 0 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--f2b-line);
  border-bottom: 1px solid var(--f2b-line);
}

.f2b-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: end;
}

.f2b-search label,
.f2b-facet-label {
  width: 100%;
  font-size: 0.8rem;
  color: var(--f2b-muted);
  font-weight: 600;
  margin: 0;
}

.f2b-search input {
  flex: 1 1 12rem;
  border: 1px solid var(--f2b-line);
  background: #fff;
  padding: 0.55rem 0.7rem;
  font: inherit;
  border-radius: 2px;
}

.f2b-search button,
.f2b-clear {
  border: 0;
  background: var(--f2b-ink);
  color: #fff;
  padding: 0.55rem 1rem;
  cursor: pointer;
  font: inherit;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
}

.f2b-clear {
  background: transparent;
  color: var(--f2b-accent);
  border: 1px solid var(--f2b-accent);
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}

.f2b-facet-row {
  display: grid;
  gap: 0.35rem;
}

.f2b-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.2rem 0 0;
  padding: 0;
}

.f2b-chips li,
.f2b-chips a {
  background: var(--f2b-wash);
  border: 1px solid var(--f2b-line);
  padding: 0.2rem 0.55rem;
  font-size: 0.8rem;
  border-radius: 3px;
  color: var(--f2b-ink);
  text-decoration: none;
}

.f2b-chips a:hover {
  border-color: var(--f2b-accent);
}

.f2b-chips a.is-active,
.f2b-chips li.is-active {
  background: var(--f2b-accent);
  border-color: var(--f2b-accent);
  color: #fff;
}

.f2b-chips span {
  color: var(--f2b-accent);
  margin-left: 0.25rem;
  font-weight: 600;
}

.f2b-chips a.is-active span,
.f2b-chips li.is-active span {
  color: #fff;
}

.f2b-index {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.f2b-index > li {
  border-top: 1px solid var(--f2b-line);
  padding: 0.9rem 0 0.45rem;
  animation: f2b-fade 0.35s ease both;
}

.f2b-ip {
  text-decoration: none;
}

.f2b-ip code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1.12rem;
  color: var(--f2b-ink);
  background: transparent;
}

.f2b-ip:hover code {
  color: var(--f2b-accent);
}

.f2b-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--f2b-muted);
  font-size: 0.88rem;
  margin: 0.35rem 0;
}

.f2b-nation {
  font-weight: 600;
  color: var(--f2b-ink);
}

.f2b-whois,
.f2b-timeline {
  margin: 1.5rem 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--f2b-line);
}

.f2b-whois h2,
.f2b-timeline h2,
.f2b-day-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--f2b-muted);
  margin: 0 0 0.75rem;
}

.f2b-day {
  margin: 0 0 1.25rem;
}

.f2b-timeline ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--f2b-line);
}

.f2b-timeline li {
  margin: 0 0 1rem 0.9rem;
  padding: 0 0 0.25rem 0.85rem;
  position: relative;
  animation: f2b-fade 0.4s ease both;
}

.f2b-timeline li::before {
  content: "";
  position: absolute;
  left: -1.15rem;
  top: 0.35rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--f2b-accent);
}

.f2b-event-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: baseline;
  font-size: 0.9rem;
}

.f2b-jail {
  font-weight: 600;
}

.f2b-source,
.f2b-verb {
  color: var(--f2b-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.f2b-event-title {
  margin: 0.25rem 0 0;
}

.f2b-event-title a {
  color: var(--f2b-ink);
}

.f2b-event-title a:hover {
  color: var(--f2b-accent);
}

.f2b-empty {
  color: var(--f2b-muted);
  padding: 1rem 0;
}

@keyframes f2b-fade {
  from {
    opacity: 0;
    transform: translateY(0.35rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .f2b-shell {
    padding: 0.85rem 0.75rem 2rem;
  }
}
