body {
  padding: 0;
  margin: 0;
  overflow: hidden;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  transition: background 0.3s;
}
#map {
  height: 100vh;
  width: 100%;
  z-index: 1;
}

body.high-contrast-mode .offcanvas,
body.high-contrast-mode .cat-btn {
  background-color: #000 !important;
  color: #ffff00 !important;
  border-color: #ffff00 !important;
}
body.high-contrast-mode .text-muted {
  color: #ffff00 !important;
}
body.high-contrast-mode .btn-primary {
  background-color: #ffff00 !important;
  color: #000 !important;
  border: 2px solid #fff !important;
  font-weight: bold;
}

.category-scroll {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 15px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.category-scroll::-webkit-scrollbar {
  display: none;
}

.cat-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #ddd;
  border-radius: 50px;
  padding: 8px 18px;
  margin-right: 8px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  color: #444;
  transition: all 0.2s;
}
.cat-btn.active {
  background-color: #212529;
  color: white;
  border-color: #212529;
}

.fab-container {
  position: absolute;
  top: 90px;
  right: 15px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fab-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  transition: transform 0.1s;
}
.fab-btn:active {
  transform: scale(0.9);
}
.fab-btn.active {
  background: #000;
  color: #ffff00;
}

.custom-icon {
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: white;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  font-size: 18px;
  border: 2px solid white;
}
.user-loc-marker {
  width: 20px;
  height: 20px;
  background: #4285f4;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 10px rgba(66, 133, 244, 0.3);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(66, 133, 244, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(66, 133, 244, 0);
  }
}

.offcanvas-bottom {
  height: auto !important;
  max-height: 85vh;
  min-height: 40vh;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}
.drag-handle {
  width: 50px;
  height: 5px;
  background-color: #ccc;
  border-radius: 5px;
  margin: 10px auto;
}
.map-iframe-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  border-radius: 12px;
  background: #eee;
  margin-bottom: 15px;
}
.map-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
