/* index--fires.css — Active Fires table */

.fires-section {
  margin: 0 0 24px;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.fires-header {
  background: var(--green-1, #5B8D6A);
  padding: 12px 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px 12px 0 0;
}
.fires-header h2 {
  font-size: 1.05rem; font-weight: 900; margin: 0;
  color: var(--sidebar-text, #ffffff);
  display: inline-flex; align-items: center; gap: 10px;
}
.fires-header h2::before {
  content: ''; display: inline-block;
  width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0;
  background: #e53935; box-shadow: 0 0 0 3px rgba(229,57,53,.22);
}
.fires-count {
  display: inline-block; padding: 2px 9px;
  background: rgba(255,255,255,.25); color: #fff;
  border-radius: 12px; font-size: .72rem; font-weight: 800;
  border: 1px solid rgba(255,255,255,.3);
}

.fires-table-wrap { overflow-x: auto; background: #fff; }
.fires-table {
  width: 100%; border-collapse: collapse; font-size: .84rem;
}
.fires-table thead th {
  padding: 9px 13px; text-align: center;
  font-size: .73rem; font-weight: 700; color: #555;
  text-transform: uppercase; letter-spacing: .04em;
  background: #f5f5f5; border-bottom: 2px solid #ebebeb;
  white-space: nowrap;
  border: 1px solid #e0e0e0;
}
.fires-table tbody tr { border-bottom: 1px solid #f2f2f2; transition: background .1s; }
.fires-table tbody tr:last-child { border-bottom: none; }
.fires-table tbody tr:hover { background: #fafff9; }
.fires-table td {
  padding: 8px 13px; vertical-align: middle;
  color: #333; text-align: center;
  border: 1px solid #e0e0e0;
}

.fire-name { font-weight: 700; color: #b71c1c; }

.fire-status {
  display: inline-block; padding: 2px 9px;
  border-radius: 12px; font-size: .72rem; font-weight: 700;
  white-space: nowrap;
}
.fire-status-active    { background: #fdecea; color: #b71c1c; }
.fire-status-contained { background: #e8f5e9; color: #2e7d32; }
.fire-status-other     { background: #f3f3f3; color: #555; }

.fire-map-link {
  font-size: 1.1rem; text-decoration: none;
  transition: transform .15s; display: inline-block;
}
.fire-map-link:hover { transform: scale(1.25); }

.fires-empty {
  text-align: center; color: #aaa; font-style: italic;
  padding: 20px !important;
}

@media print {
  .fire-map-link { display: none; }
  .fires-section { page-break-inside: avoid; }
}
@media (max-width: 700px) {
  .fires-table {
  width: 100%; border-collapse: collapse; font-size: .84rem;
}
  .fires-table td, .fires-table th { padding: 7px 8px; }
}

.fires-table th:first-child, .fires-table td:first-child { text-align: left; }

/* ── Past Fires toggle ── */
.fires-past-section { margin-top: 4px; }
.fires-past-toggle { margin-bottom: 0; }
.past-divider-btn {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 10px 16px;
  background: #f5f5f5; border: 1px solid #e0e0e0;
  border-radius: 6px; cursor: pointer;
  font-size: .83rem; font-weight: 700; color: #555;
  text-transform: uppercase; letter-spacing: .04em;
  transition: background .15s;
}
.past-divider-btn:hover { background: #ececec; }
.past-divider-arrow { font-size: .7rem; }
.fires-table-past tbody tr { opacity: .65; font-style: italic; }
