:root{--card:#0b1220}
body{background:#070b14;color:#e9eefc}
a{color:#9cc2ff}
.card{background:#0b1220;border:1px solid rgba(255,255,255,.08);border-radius:14px}
.table{color:#e9eefc}
.table thead th{border-bottom:1px solid rgba(255,255,255,.12)}
.table td,.table th{border-top:1px solid rgba(255,255,255,.08)}
.small-muted{color:rgba(233,238,252,.75);font-size:.92rem}
.btn-service{width:100%;padding:14px;border-radius:14px;font-weight:700}

/* Mobile-first employee cards */
.req-card { border: 1px solid rgba(255,255,255,.10); border-radius: 16px; padding: 14px; background:#0b1220; }
.req-meta { font-size: 0.95rem; color: rgba(233,238,252,.80); }
.req-title { font-size: 1.05rem; font-weight: 800; }
.btn-big { padding: 14px 14px; border-radius: 14px; font-weight: 800; font-size: 1.05rem; }
.btn-big-secondary { padding: 12px 12px; border-radius: 14px; font-weight: 700; }

/* Map */
.map-wrap { position: relative; width: 100%; max-width: 980px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.10); background:#0b1220; }
.map-bg { width: 100%; height: auto; display: block; }
.map-grid { width: 100%; aspect-ratio: 16/10; background:
  linear-gradient(transparent 0 0),
  repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 40px),
  repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 40px);
}
.marker { position: absolute; transform: translate(-50%, -50%); }
.marker .label { margin-top: 6px; font-size: 12px; background: rgba(0,0,0,.55); padding: 2px 6px; border-radius: 10px; white-space: nowrap; }

.pulse {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255, 66, 66, .95);
  box-shadow: 0 0 0 rgba(255, 66, 66, .4);
  animation: pulse 1.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 66, 66, .55); }
  70% { box-shadow: 0 0 0 16px rgba(255, 66, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 66, 66, 0); }
}

.dot-green { width: 14px; height: 14px; border-radius: 50%; background: rgba(45, 209, 99, .95); }
.dot-yellow { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 200, 0, .95); }
.dot-gray { width: 14px; height: 14px; border-radius: 50%; background: rgba(160, 170, 190, .95); }

.map-legend span { display:inline-flex; align-items:center; gap:8px; margin-right:14px; }

/* Employee compact one-line list */
.nq-emp-list { display: flex; flex-direction: column; gap: 10px; }
.nq-emp-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 12px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10); background:#0b1220;
}
.nq-emp-left { display:flex; flex-direction: column; gap: 2px; min-width: 0; }
.nq-emp-address { font-weight: 900; font-size: 1.05rem; line-height: 1.1; white-space: nowrap; overflow:hidden; text-overflow: ellipsis; }
.nq-emp-sub { color: rgba(233,238,252,.78); font-size: .9rem; white-space: nowrap; overflow:hidden; text-overflow: ellipsis; }
.nq-emp-right { display:flex; align-items:center; gap: 10px; flex-shrink: 0; }
.nq-dotbtn {
  width: 44px; height: 44px; border-radius: 14px; display:inline-flex; align-items:center; justify-content:center;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color:#e9eefc;
}
.nq-dotbtn:active { transform: scale(.98); }
.nq-drag { cursor: grab; user-select: none; opacity: .9; }
.nq-drag:active { cursor: grabbing; }
.nq-status { display:inline-flex; align-items:center; gap: 8px; }
.nq-status .badge { font-size: .85rem; }
@media (max-width: 576px){
  .nq-emp-row { padding: 10px 10px; }
  .nq-emp-address { font-size: 1.0rem; }
}
