/* frontend/public/safety.css — BHP */

.safety-tabs {
  display: flex;
  gap: 0.4rem;
  border-bottom: 2px solid var(--surface-border);
  margin-bottom: 1.25rem;
}

.safety-tab {
  background: none;
  border: none;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  opacity: 0.7;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.safety-tab:hover { opacity: 1; }
.safety-tab.is-active { opacity: 1; border-bottom-color: var(--accent); color: var(--accent); }

.safety-toolbar { margin-bottom: 1rem; }

.incident-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.incident-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-left: 4px solid #f39c12;
  border-radius: 10px;
  padding: 1rem 1.25rem;
}

.incident-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.incident-card p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0.3rem 0;
}

.incident-meta {
  font-size: 0.78rem;
  opacity: 0.6;
  margin-top: 0.2rem;
}

.badge-sev-NISKA { background: #27ae60; color: #fff; }
.badge-sev-SREDNIA { background: #f39c12; color: #fff; }
.badge-sev-WYSOKA { background: #e67e22; color: #fff; }
.badge-sev-KRYTYCZNA { background: #c0392b; color: #fff; }

.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.9rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  text-align: center;
}

.contact-phone {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.contact-phone a { color: inherit; text-decoration: none; }

.contact-name {
  font-weight: 600;
  margin-top: 0.3rem;
}

.contact-desc {
  font-size: 0.8rem;
  opacity: 0.65;
  margin-top: 0.2rem;
}
