/* ipify — tool-specific styles.
   Brand/chrome: /shared/apitools-theme.css  |  Framework: vendored PicoCSS */

.hero-section {
  margin-bottom: 2rem;
  padding: 2rem 0 1rem;
}

.hero-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  opacity: 0.6;
  margin-bottom: 0.25rem;
}

.hero-ip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.ip-display {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-family: var(--pico-font-family-monospace, monospace);
  font-weight: 700;
  margin: 0;
  line-break: anywhere;
}

.hero-intro {
  opacity: 0.75;
  max-width: 52ch;
}

.version-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 2rem;
  border: 1px solid var(--pico-muted-border-color);
  white-space: nowrap;
}

.copy-btn {
  font-size: 0.85rem;
  padding: 0.3rem 0.9rem;
}

.info-card {
  margin-bottom: 1rem;
}

.card-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.6;
  margin-bottom: 0.75rem;
}

.geo-credit {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
}

.info-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.1rem 1rem;
  margin: 0;
}

.info-dl dt {
  opacity: 0.6;
  font-size: 0.85rem;
  white-space: nowrap;
}

.info-dl dd {
  margin: 0;
  font-size: 0.9rem;
}

.api-card {
  margin-bottom: 1rem;
}

.api-dl dt {
  white-space: nowrap;
}

.api-dl dd code {
  font-size: 0.82rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.threat-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.threat-card { margin-bottom: 1rem; }
.badge-tor          { background: #f87171; color: #1a0000; }
.badge-proxy        { background: #fb923c; color: #1a0000; }
.badge-proxy-type   { background: #fbbf24; color: #1a0800; }
.badge-threat       { background: #f87171; color: #1a0000; }

.lookup-card {
  margin-bottom: 1.5rem;
}

.lookup-form {
  margin: 0;
}

.lookup-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.lookup-row input {
  flex: 1;
  margin: 0;
  font-family: var(--pico-font-family-monospace, monospace);
  font-size: 0.9rem;
}

.lookup-row button {
  white-space: nowrap;
  margin: 0;
  width: auto;
}

.lookup-error {
  color: #f87171;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.lookup-results {
  margin-bottom: 1.5rem;
}

.results-heading {
  font-size: 1rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.results-heading code {
  font-size: 1rem;
}

.abuse-score {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.abuse-label { font-size: 0.85rem; opacity: 0.75; }
.abuse-pct   { font-weight: 700; font-size: 0.9rem; }

.abuse-bar {
  flex: 1 1 120px;
  height: 8px;
  min-width: 80px;
}

[x-cloak] { display: none !important; }
