/* MESHHELPER antenna cross-reference overlay v1 */

#faaCrossrefTopToggle.faa-crossref-on,
#osmCrossrefTopToggle.osm-crossref-on {
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, .14) inset,
    0 0 16px rgba(125, 211, 252, .18) !important;
}

#faaCrossrefTopToggle.faa-crossref-on {
  border-color: rgba(56, 189, 248, .92) !important;
  color: rgba(224, 242, 254, .98) !important;
}

#osmCrossrefTopToggle.osm-crossref-on {
  border-color: rgba(248, 250, 252, .78) !important;
  color: rgba(255, 247, 237, .98) !important;
}

#faaCrossrefToggle.faa-crossref-on {
  background: rgba(14, 116, 144, .82);
  color: #ecfeff;
  border-color: rgba(125, 211, 252, .78);
}

#osmCrossrefToggle.osm-crossref-on {
  background: rgba(64, 64, 64, .90);
  color: #fff7ed;
  border-color: rgba(248, 250, 252, .70);
}

.leaflet-pane.leaflet-meshhelper-faa-dof-pane {
  z-index: 616 !important;
}

.leaflet-pane.leaflet-meshhelper-osm-comms-pane {
  z-index: 617 !important;
}

.meshhelper-crossref-icon,
.meshhelper-crossref-cluster {
  background: transparent;
  border: 0;
}

.meshhelper-crossref-icon span,
.meshhelper-crossref-cluster span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 30px;
  border: 1px solid rgba(148, 163, 184, .80);
  background: linear-gradient(135deg, rgba(11, 18, 26, .97), rgba(3, 7, 10, .97));
  color: #e5e7eb;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  box-shadow:
    0 0 0 2px rgba(148, 163, 184, .12),
    0 0 18px rgba(148, 163, 184, .22);
}

.meshhelper-crossref-icon b {
  font-size: 10px;
  font-weight: 950;
}

.meshhelper-faa-dof-icon span {
  border-color: rgba(56, 189, 248, .96);
  background: linear-gradient(135deg, rgba(8, 47, 73, .98), rgba(3, 12, 20, .98));
  color: #e0f2fe;
  box-shadow:
    0 0 0 2px rgba(56, 189, 248, .13),
    0 0 18px rgba(56, 189, 248, .26);
}

.meshhelper-osm-comms-icon span {
  border-color: rgba(229, 231, 235, .88);
  background: linear-gradient(135deg, rgba(31, 41, 55, .98), rgba(10, 10, 10, .98));
  color: #fff7ed;
  box-shadow:
    0 0 0 2px rgba(229, 231, 235, .10),
    0 0 18px rgba(229, 231, 235, .20);
}

.meshhelper-crossref-icon.is-not-asr span {
  border-left: 4px solid rgba(251, 191, 36, .96);
}

.meshhelper-crossref-icon.is-asr-matched span {
  border-left: 4px solid rgba(74, 222, 128, .92);
}

.meshhelper-crossref-cluster span {
  width: 48px;
  height: 34px;
  color: #031015;
  background: rgba(186, 230, 253, .92);
  border-color: rgba(236, 253, 245, .75);
  font-size: 12px;
}

.meshhelper-osm-comms-cluster span {
  background: rgba(248, 250, 252, .92);
  color: #101010;
}

.meshhelper-crossref-popup-shell .leaflet-popup-content-wrapper,
.meshhelper-crossref-popup-shell .leaflet-popup-tip {
  background: rgba(5, 9, 5, .96);
  color: #ecfdf5;
  border: 1px solid rgba(125, 211, 252, .36);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .42);
}

.meshhelper-osm-comms-popup-shell .leaflet-popup-content-wrapper,
.meshhelper-osm-comms-popup-shell .leaflet-popup-tip {
  border-color: rgba(229, 231, 235, .32);
}

.meshhelper-crossref-popup-shell .leaflet-popup-content {
  margin: 11px;
}

.meshhelper-crossref-popup {
  display: grid;
  gap: 8px;
  min-width: 280px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.meshhelper-crossref-popup strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e0f2fe;
  font-size: 13px;
  line-height: 1.2;
}

.meshhelper-crossref-tag {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 20px;
  flex: 0 0 auto;
  border: 1px solid rgba(125, 211, 252, .72);
  background: rgba(125, 211, 252, .14);
  color: #e0f2fe;
  font-size: 10px !important;
  font-weight: 950;
  letter-spacing: .05em;
}

.meshhelper-crossref-popup span,
.meshhelper-crossref-popup a {
  font-size: 11px;
  line-height: 1.35;
}

.meshhelper-crossref-popup a {
  color: #84ff84;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.meshhelper-crossref-meta {
  display: grid;
  gap: 2px;
  color: rgba(236, 253, 245, .70);
}

.meshhelper-crossref-ok {
  color: rgba(134, 239, 172, .95) !important;
  font-weight: 850;
}

.meshhelper-crossref-warn {
  color: rgba(251, 191, 36, .96) !important;
  font-weight: 850;
}

.meshhelper-crossref-muted {
  color: rgba(203, 213, 225, .68) !important;
}
