/* rescap.css - Styling for Oil Spill Response Capacity */

.rescap-marker {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
  border: 2px solid #ffffff;
}

.rescap-marker:hover {
  transform: scale(1.15);
  z-index: 1000 !important;
}

.rescap-marker svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rescap-marker.chi_huy { background: #dc2626; color: white; border-color: #fca5a5; }
.rescap-marker.luc_luong { background: #2563eb; color: white; border-color: #bfdbfe; }
.rescap-marker.doanh_nghiep { background: #16a34a; color: white; border-color: #bbf7d0; }
.rescap-marker.khac { background: #6b7280; color: white; border-color: #d1d5db; }

.rescap-marker.neo_dau { background: #0891b2; color: white; border-color: #a5f3fc; border-radius: 8px; }
.rescap-marker.hang_nguy_hai { background: #ea580c; color: white; border-color: #fed7aa; border-radius: 8px; }
.rescap-marker.nha_may_nuoc { background: #7c3aed; color: white; border-color: #ddd6fe; border-radius: 8px; }

/* Popups */
.rescap-popup {
  font-family: 'Roboto', sans-serif;
  color: #1f2f4d;
  min-width: 260px;
}

.rescap-popup h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
  color: #0071bb;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 6px;
}

.rescap-popup-type {
  display: inline-block;
  background: #e0e7ff;
  color: #4f46e5;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rescap-popup-row {
  font-size: 13px;
  margin-bottom: 5px;
  line-height: 1.4;
  display: flex;
  gap: 6px;
}

.rescap-popup-row b {
  font-weight: 700;
  min-width: 65px;
  color: #64748b;
}

.rescap-popup-stats {
  margin-top: 10px;
  padding: 8px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  font-weight: 700;
  color: #0f172a;
}
