/* Base */
body {
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  background: #f8fafc;
}

/* Glass effect */
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Map */
#map {
  height: 100%;
  width: 100%;
  z-index: 0;
}

/* Custom marker */
.marker-pin {
  width: 42px;
  height: 42px;
  border-radius: 50% 50% 50% 0;
  position: absolute;
  transform: rotate(-45deg);
  left: 50%;
  top: 50%;
  margin: -21px 0 0 -21px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid white;
}

.marker-pin i,
.marker-pin span,
.marker-pin svg {
  transform: rotate(45deg);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marker-pin svg {
  width: 22px;
  height: 22px;
}

/* Scroll */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Toasts */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.875rem;
  font-weight: 600;
  border-left: 4px solid #ef4444;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Images */
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Landing */
.landing-scroll-container {
  height: 100vh;
  overflow-y: auto;
  scroll-behavior: smooth;
}

/* Filters */
.filter-active {
  background-color: #0f172a !important;
  color: white !important;
  border-color: #0f172a !important;
}

/* Heatmap */
.leaflet-heatmap-layer {
  pointer-events: none;
}

/* Pulse */
.pulse-red-dot {
  animation: pulse-red-dot 1.5s infinite;
}

@keyframes pulse-red-dot {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Buttons */
.btn-primary {
  background-color: #0f172a;
  color: white;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary:disabled {
  background-color: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
}

/* Social */
.social-link i {
  display: block !important;
}

/* Category active */
.cat-btn-active {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
  color: #ef4444 !important;
  box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.1);
  transform: scale(1.05);
}

/* Fallback */
.img-fallback {
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}
