/* TOU-3391 F11: Shared location button styles used by city lazy map and article map. */

/* ── Locate button ──────────────────────────────────────────────────────── */
.lbtn-locate-btn {
  background: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.45rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #333;
  white-space: nowrap;
  margin-top: 0.5rem;
}
.lbtn-locate-btn:hover { background: #f0f0f0; }

/* ── User position marker ────────────────────────────────────────────────── */
.lbtn-user-marker {
  background: transparent !important;
  border: none !important;
}
.lbtn-user-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2196F3;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(33,150,243,0.5);
  animation: lbtn-pulse 2s ease-in-out infinite;
}

@keyframes lbtn-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(33,150,243,0.5); }
  60%  { box-shadow: 0 0 0 10px rgba(33,150,243,0); }
  100% { box-shadow: 0 0 0 0 rgba(33,150,243,0); }
}

/* ── Denied banner ───────────────────────────────────────────────────────── */
.lbtn-denied-banner {
  display: block;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 1000;
  background: rgba(30,30,30,0.95);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  color: #fff;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.lbtn-denied-msg { flex: 1; }
.lbtn-reauth-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  padding: 0.3rem 0.6rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.lbtn-reauth-btn:hover { background: rgba(255,255,255,0.25); }

/* ── Toast ───────────────────────────────────────────────────────────────── */
.lbtn-toast {
  display: none;
  position: absolute;
  top: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  background: rgba(33,150,243,0.92);
  color: #fff;
  border-radius: 4px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  white-space: nowrap;
  pointer-events: none;
}
