/* GLOBAL */
body {
  background-color: #0b0f0c !important;
  color: #d1d5db;
  font-family: 'Segoe UI', sans-serif;
}

/* SIDEBAR */
.main-sidebar {
  background-color: #111613 !important;
}

.nav-sidebar .nav-link.active {
  background-color: #166534 !important;
  color: #ecfdf5 !important;
}

/* NAVBAR */
.main-header {
  background-color: #0f1512 !important;
  border-bottom: 1px solid #1f2a23;
}

/* CARD */
.card {
  background-color: #141a16;
  border: 1px solid #1f2a23;
}

.card-header {
  border-bottom: 1px solid #1f2a23;
}

/* TABLE */
.table {
  color: #d1d5db;
}

.table thead th {
  border-bottom: 1px solid #1f2a23;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #111613;
}

/* BADGE */
.badge-success {
  background-color: #166534;
}

.badge-danger {
  background-color: #7f1d1d;
}

/* BUTTON */
.btn-info {
  background-color: #166534;
  border-color: #166534;
}

.btn-info:hover {
  background-color: #14532d;
}

/* MAP */
.leaflet-container {
  background: #0b0f0c;
}

/* POPUP MAP */
.leaflet-popup-content-wrapper {
  background: #141a16;
  color: #d1d5db;
}

/* TACTICAL BLINKING MARKER */
.tactical-marker {
  position: relative;
  width: 12px;
  height: 12px;
  background: #22c55e; /* military green */
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.8);
}

.tactical-marker::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  background: rgba(34, 197, 94, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: tactical-pulse 1.5s infinite;
}

@keyframes tactical-pulse {
  0% {
    width: 12px;
    height: 12px;
    opacity: 0.8;
  }
  100% {
    width: 36px;
    height: 36px;
    opacity: 0;
  }
}

.tactical-marker.alert {
  background: #dc2626;
  box-shadow: 0 0 6px rgba(220,38,38,0.9);
}

.tactical-marker.alert::after {
  background: rgba(220,38,38,0.6);
}

.qr-wrapper {
  background: #ffffff;
  padding: 20px;
  display: inline-block;
  border-radius: 6px;
}
