/* ═══════════════════════════════════════════
   TRAFFIC VIOLATION LOOKUP
   ═══════════════════════════════════════════ */

/* ── Search form ── */
.traffic-form {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.traffic-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  padding: 8px 12px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
  flex-shrink: 0;
}

.traffic-select:focus { border-color: var(--border-glow); }
.traffic-select option { background: #0d1424; }

/* ── Plate input ── */
.plate-input {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Embed info and iframe ── */
.traffic-embed-info {
  background: rgba(96, 165, 250, 0.06);
  border: 1px solid rgba(96, 165, 250, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.traffic-embed-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.traffic-embed-link {
  color: var(--accent-cyan);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.traffic-embed-link:hover {
  opacity: 0.8;
}

.traffic-embed-link.official {
  color: var(--accent-blue);
}

.iframe-container {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* ── Tips ── */
.plate-tip {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--accent-blue);
}
