  @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
  body{
    margin: 0;
    line-height: 1.5;
		overflow-x: hidden;
    position: relative;
		scroll-behavior: smooth;
		font-family: "Poppins", sans-serif;
  }

  

  body.dark {
	background: #030712;
	color: #f0f0f0;
	}

  

  body.dark .form-control,
  body.dark .form-select {
    background-color: rgba(204, 204, 204, 0.23);
    border-color: #919191ff;
    color: #f9fafb;
  }
  body.dark .btn-light {
    background-color: #374151;
    color: #f9fafb;
  }

  .modal{
    z-index: 30000 !important;
  }

  body.dark .modal-content {
    background-color: #1f2937 !important;
    color: #f9fafb !important;
    border-color: rgba(148, 163, 184, 0.25) !important;
    box-shadow: 0 15px 50px rgba(15, 23, 42, 0.45) !important;
  }

  body.dark .modal-content .modal-header,
  body.dark .modal-content .modal-body,
  body.dark .modal-content .modal-footer {
    background-color: transparent !important;
    color: inherit !important;
  }
  body.dark .modal-content .modal-body .list-group{
    --bs-list-group-color: #f5f5f6 !important;
   --bs-list-group-bg: #374151 !important;
  }

  body.dark .modal-content .form-control,
  body.dark .modal-content .form-select {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #f9fafb !important;
    border-color: rgba(148, 163, 184, 0.35) !important;
  }

  body.dark .modal-content .form-control::placeholder,
  body.dark .modal-content .form-select::placeholder {
    color: rgba(249, 250, 251, 0.65) !important;
  }

  body.dark .bi-list{
    color: #f9fafb;
  }

  body.dark .kategori-list{
    background-color:  #374151;
  }

  body.dark .nav-link{
    color: #f9fafb !important;
  }
  
  .badge{
	color: #000000ff;
	}

  body.dark .badge{
	color: #f9fafb;
	}

  .container {
	max-width: 1536px;
	margin: 0 auto;
	padding-left: 1rem;
	padding-right: 1rem;
	}

    #map { 
    height: 100vh;
    z-index: 1; 
    }
   
    .navbar,
    .dropdown-menu {
    z-index: 9999 !important;
    
    }
    .navbar-nav
    .dropdown-menu {
   position: absolute;
    }

    .nav-link {
      padding-right: 0.5rem;
    }

    .offcanvas{
      z-index: 30000 !important;
      --bs-offcanvas-width: 300px
    }

    body.dark .offcanvas{
      background-color: #030712;
      color: #f9fafb;
    }

    .info-card {
    animation: infoCardIn .35s ease;
    }
    @keyframes infoCardIn {
      from { opacity: 0; transform: translateY(12px) scale(.97); }
      to   { opacity: 1; transform: translateY(0) scale(1); }
    }

    .info-card-inner {
      background: #fff;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
    }

    body.dark .info-card .info-card-inner {
      background: #1f2937;
      color: #f9fafb;
    }
     body.dark .info-card .info-facilities> * {
      background: #1f2937;
      color: #f9fafb;
    }

    /* Foto */
    .info-img-wrap {
      position: relative;
      height: 160px;
    }
    .info-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .info-img-wrap::after {          /* gradasi gelap di bawah foto */
      content: "";
      position: absolute;
      inset: auto 0 0 0;
      height: 60%;
      background: linear-gradient(to top, rgba(0, 0, 0, .45), transparent);
      pointer-events: none;
    }

    /* Tombol tutup */
    .info-close {
      position: absolute;
      top: 10px;
      right: 10px;
      z-index: 2;
      width: 32px;
      height: 32px;
      border: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, .9);
      color: #333;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .8rem;
      transition: background .2s, transform .2s;
    }
    .info-close:hover { background: #fff; transform: rotate(90deg); }

    /* Isi */
    .info-body { padding: 16px 18px 18px; }

    .info-title {
      font-weight: 700;
      font-size: 1.15rem;
      line-height: 1.3;
      margin-bottom: 8px;
    }

    .info-address {
      display: flex;
      gap: 8px;
      font-size: .85rem;
      color: #6c757d;
      margin-bottom: 14px;
    }
    .info-address i { color: #198754; margin-top: 2px; }

    .info-section-label {
      font-size: .75rem;
      font-weight: 600;
      letter-spacing: .05em;
      text-transform: uppercase;
      color: #495057;
      margin-bottom: 8px;
    }
    .info-section-label i { color: #198754; }

    /* Badge fasilitas (berlaku untuk elemen apa pun yang dibuat JS) */
    .info-facilities {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 16px;
    }
    .info-facilities > * {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 10px;
      font-size: .78rem;
      font-weight: 600;
      color: #198754;
      background: #e8f5ee;
      border: 0;
      border-radius: 999px;
    }

    /* Tombol rute */
    .info-route-btn {
      width: 100%;
      border: 0;
      border-radius: 12px;
      padding: 10px 14px;
      font-weight: 600;
      color: #fff;
      background: linear-gradient(135deg, #198754, #20a566);
      box-shadow: 0 4px 12px rgba(25, 135, 84, .3);
      transition: transform .15s, box-shadow .15s;
    }
    .info-route-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(25, 135, 84, .4);
    }
    .info-route-btn:active { transform: translateY(0); }

      /* Fade-up animation */
      @keyframes fadeInUp {
          0% {
              opacity: 0;
              transform: translateY(15px);
          }
          100% {
              opacity: 1;
              transform: translateY(0);
          }
      }

      .navbar{
      background-color: #f9fafb;
      box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
    }

    body.dark .navbar{
    background-color: #030712;
    }

    /* From Uiverse.io by TahaShameli */ 
    /* The switch - the box around the slider */
    .switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 3.5em;
    height: 2em;
    }

    /* Hide default HTML checkbox */
    .switch input {
    opacity: 0;
    width: 0;
    height: 0;
    }

    /* The slider */
    .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #ddd;
    background:  #ffffffff;
    transition: 0.4s;
    border-radius: 30px;
    overflow: hidden;
    }

    .circle {
    position: absolute;
    content: "";
    height: 1.4em;
    width: 1.4em;
    border-radius: 20px;
    left: 0.3em;
    bottom: 0.2em;
    background-color: #fff000;
    transition: 0.4s;
    }

    .switch input:checked + .slider{
      background:  #333;
    }

    .switch input:checked + .slider .circle {
    transform: rotate(0deg) translateX(1.5em) !important;
    }

    .switch input:checked + .slider .circle .shine {
    transform: translate(0%, 0%) !important;
    }

    .switch input:checked + .slider .circle .moon {
    left: -10%;
    opacity: 1;
    transform: translateY(-60%);
    }

    .moon {
    position: absolute;
    left: -100%;
    top: 50%;
    opacity: 0;
    background-color: #333;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 99999px;
    transform: translateY(-50%);
    transition: all 0.4s;
    }

    .shine {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.25rem;
    height: 0.25rem;
    background-color: #fff000;
    border-radius: 1rem;
    transition: all 0.4s;
    }

    .shine-1 {
    transform: translate(-50%, -375%);
    }
    .shine-2 {
    transform: translate(175%, -275%);
    }
    .shine-3 {
    transform: translate(275%, -50%);
    }
    .shine-4 {
    transform: translate(175%, 175%);
    }
    .shine-5 {
    transform: translate(-50%, 275%);
    }
    .shine-6 {
    transform: translate(-275%, 175%);
    }
    .shine-7 {
    transform: translate(-375%, -50%);
    }
    .shine-8 {
    transform: translate(-275%, -275%);
    }

    .card-img-top { height: 140px; 
    object-fit: cover;  
    }

    .kategori-list { max-height: 50vh; 
    overflow:auto; 
    }

    .leaflet-control-locate { 
    background: white; 
    padding: 6px; 
    border-radius: 6px; 
    }
    @media (max-width: 767px) {
      .info-card { 
        width: 90%; 
      }
    }

    .toggle-password {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        border: none;
        background: none;
        font-size: 18px;
        color: #888;
      z-index: 5;
    }
    :root {
    --navbar-height: 60px;
    }

    .sidebar-desktop {
      height: calc(100vh - var(--navbar-height));
      margin-top: var(--navbar-height);
      overflow-y: auto;
    }
    #map {
    height: calc(100vh - var(--navbar-height));
    margin-top: var(--navbar-height);
  }

  .leaflet-routing-container { 
    display: none; 
  }