/* GEO Omni-Suite Ultra-Premium Floating Dock & Drawer */
:root {
  --omni-bg: rgba(15, 23, 42, 0.88);
  --omni-border: rgba(255, 255, 255, 0.15);
  --omni-glow: rgba(45, 212, 191, 0.35);
  --omni-accent: #2dd4bf;
  --omni-accent-hover: #14b8a6;
  --omni-text: #f8fafc;
  --omni-text-muted: #94a3b8;
}

#geo-omni-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--omni-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--omni-border);
  border-radius: 9999px;
  box-shadow: 0 10px 35px -5px rgba(0, 0, 0, 0.5), 0 0 20px -2px var(--omni-glow);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  user-select: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#geo-omni-dock:hover {
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 0 14px 45px -5px rgba(0, 0, 0, 0.6), 0 0 28px 0 rgba(45, 212, 191, 0.5);
  transform: translateX(-50%) translateY(-2px);
}

.omni-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  margin-right: 4px;
}

.omni-logo-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0d9488, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.4);
  font-size: 15px;
}

.omni-brand-text {
  display: flex;
  flex-direction: column;
}

.omni-title {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.omni-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: omniPulse 2s infinite;
}

@keyframes omniPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.omni-subtitle {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--omni-text-muted);
}

.omni-nav-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.omni-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid transparent;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.omni-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.omni-btn.active {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.25), rgba(13, 148, 136, 0.35));
  border-color: rgba(45, 212, 191, 0.5);
  color: #5eead4;
  box-shadow: 0 2px 10px rgba(45, 212, 191, 0.2);
}

.omni-btn.radar-btn {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(249, 115, 22, 0.15));
  border-color: rgba(249, 115, 22, 0.35);
  color: #fed7aa;
}

.omni-btn.radar-btn:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(249, 115, 22, 0.3));
  border-color: rgba(249, 115, 22, 0.6);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.4);
}

.omni-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #ffffff;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.omni-btn-icon {
  font-size: 15px;
  line-height: 1;
}

.omni-separator {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 2px;
}

/* Slide-out Nearby Places Drawer */
#nearby-drawer-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 520px;
  max-width: 95vw;
  height: 100vh;
  z-index: 100000;
  background: #090d16;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

#nearby-drawer-overlay.open {
  transform: translateX(0);
}

#nearby-drawer-overlay.fullscreen {
  width: 100vw;
  max-width: 100vw;
  border-left: none;
}

.drawer-header {
  height: 52px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  flex-shrink: 0;
  user-select: none;
}

.drawer-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-title {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
}

.drawer-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.drawer-btn.sync-btn {
  width: auto;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 600;
  gap: 5px;
  background: rgba(45, 212, 191, 0.15);
  border-color: rgba(45, 212, 191, 0.3);
  color: #5eead4;
}

.drawer-btn.sync-btn:hover {
  background: rgba(45, 212, 191, 0.3);
  border-color: rgba(45, 212, 191, 0.6);
  color: #ffffff;
}

.drawer-iframe-wrap {
  flex: 1;
  width: 100%;
  height: calc(100vh - 52px);
  position: relative;
  background: #111827;
}

#nearby-drawer-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  #geo-omni-dock {
    bottom: 14px;
    padding: 4px 8px;
    gap: 4px;
  }
  .omni-brand-text, .omni-subtitle {
    display: none;
  }
  .omni-btn {
    padding: 6px 10px;
    font-size: 11px;
  }
}
