/* style.css - UI/UX Professional Edition DariTamiang */

/* Reset & Typography */
html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  background-color: #f8fafc;
  color: #0f172a;
}

/* Scrollbar Minimalis & Halus */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Horizontal scroll container untuk Filter Chips di HP */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Peta Leaflet Full Height */
#map-view {
  width: 100%;
  height: 100%;
  min-height: 380px;
  background-color: #e2e8f0;
  z-index: 10;
}

/* Custom Marker Styling */
.custom-leaflet-marker {
  background: transparent;
  border: none;
}

.picker-marker {
  background: transparent;
  border: none;
}

.kec-focus-label {
  background: transparent;
  border: none;
  pointer-events: none;
}

/* Floating Action Center Button (Tombol Lapor Cepat di HP) */
.fab-report-center {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  box-shadow: 0 10px 25px -3px rgba(225, 29, 72, 0.45), 0 4px 6px -4px rgba(225, 29, 72, 0.2);
}
.fab-report-center:active {
  transform: scale(0.92);
}

/* Modal Animations & Backdrop */
.modal-backdrop-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Bottom sheet slide-up animation */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0.8;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-slide-up {
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Pulse animation untuk bahaya aktif */
@keyframes urgentPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 25px -3px rgba(225, 29, 72, 0.45);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 14px 30px -2px rgba(225, 29, 72, 0.65);
  }
}
.pulse-urgent {
  animation: urgentPulse 2.2s infinite ease-in-out;
}
