/* ═══════════════════════════════════════════════════════════════
 * ulice.css — Smart City Ulice (Ilica Zagreb)
 * Extracted from index.html
 * ═══════════════════════════════════════════════════════════════ */

/* ── Style block 1 ── */
#popis-lokacija {padding:3% 10%}
.chevron-icon {
  transition: transform 0.3s ease;
}
.chevron-icon.rotated {
  transform: rotate(180deg);
}

 @media (max-width: 768px) {
        #gallery-single-section .isotope-item {
            width: 48%;
            margin: 1%;
            display: inline-block;
            vertical-align: top;
            position: static;
        }
    }
	.video-slide {
  position: relative;
}

.video-caption {
    position: absolute;
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%);
    background: rgb(0 0 0 / 45%);
    color: #fff;
    font-size: 16px;
    padding: 5px;
    border-radius: 8px;
    max-width: 94%;
    text-align: center;
    z-index: 10;
    box-shadow: 0 2px 16px rgb(0 0 0 / 18%);
    letter-spacing: 0.01em;
    pointer-events: none;
    font-family: inherit;
    width: 94%;
}
.owl-dots {
  display: none !important;
}
#map{width: 100%; height: 100vh; min-height:400px}
 @media (max-width: 768px) {
        #gallery-single-section .isotope-item {
            width: 48%;
            margin: 1%;
            display: inline-block;
            vertical-align: top;
            position: static;
        }
		#popis-lokacija {padding:1% 4%}
		#map-mobile{width: 100%; height:auto;}
		}
	@media (max-width: 767px) {
  .filter-controls { display: none; }
  .filter-dropdown { display: block; }
  #popis-lokacija {padding:1% 4%}
}
@media (min-width: 768px) {
  .filter-controls { display: block; }
  .filter-dropdown { display: none; }
}
.gm-style .gm-style-iw {
  padding-top:8px !important;
  padding-bottom:8px !important;
  padding-left:12px !important;
  padding-right:12px !important;
  font-size:14px;
}
.slider-controls-desktop button, .slider-controls-mobile button {
  font-size: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.filter-btn.active, .btn-primary:disabled {
  background: #0062cc !important;
  color: #fff !important;
  opacity: 1;
}
.carousel-single {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.btn-primary:disabled {
    background: #08c1b8!important;
    color: #fff !important;
    opacity:0.6;
}
hr {
    margin-top: 5px;
    margin-bottom: 5px;}
	

.lokacija-naslov {
  text-transform: uppercase;
  font-weight: bold;
  text-align: left;
  font-family: 'Ethnocentric', sans-serif;
  font-size: 16px;
  color: #626768;
  margin: 5px 0;
  cursor: pointer;
  opacity:0.7
}
.lokacija-naslov:hover {cursor: pointer;
  opacity:1
}

.owl-dots {
  display: none !important;
}

.fi {float:right!important; margin-left:5px}
.fa,.glyphicon {margin:3px!important}
.dropdown-menu>li>a>span {float:right; margin-left:5px}

/* Sticky modal header */
#locationModal .modal-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%)!important;
  border-bottom: none;
  padding: 8px 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.45);
  transition: background 0.3s ease;
  min-height: 0;
}
#locationModal .modal-header h5 {
  display: flex !important;
  align-items: center !important;
}
.ilica-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.18);
  border-radius: 7px;
  font-size: 12px;
  color: #fff;
  margin-right: 8px;
  flex-shrink: 0;
}
#locationModal .modal-dialog {
  max-width: 600px;
  margin: 0px auto;
}

#locationModal .modal-content {
  max-height: 100vh;
  
  flex-direction: column;
}

#locationModal .modal-body {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  padding: 0px;
}

#modalStreetView {
  width: 100%;
  height: 300px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

#location-modal-video-container {
  position: relative !important;
  width: 100%;
  margin: 10px 0;
  clear: both;
}

#close-modal-video {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  z-index: 1000 !important;
  background: #ff0000;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  line-height: 32px;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

#location-modal-video {
  position: relative !important;
  width: 100%;
  max-height: 350px;
  display: block;
  background: #fff;
}

#locationModal .modal-footer {
  flex-shrink: 0;
  background: #fff;
  border-top: 1px solid #e5e5e5;
}

@media (max-width: 768px) {
  #modalStreetView {
    height: auto;
	width:100%
  }
  
  #location-modal-video {
    max-height: 250px;
  }
}

.gm-iv-address,.gmnoprint,.gm-style-cc,.gm-style-cc>a{display:none}

.gm-ui-hover-effect { display: none !important; }

/* potpuno sakrij X-ikonice */
#prikaz-mape .gm-ui-hover-effect,
#map-mobile .gm-ui-hover-effect {
  display: none !important;
}

/* naš vlastiti InfoWindow – ekstremno kompaktan */
.gm-style .custom-iw {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    padding: 7px 13px 7px 10px !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 800;
    color: #fff !important;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.45) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    cursor: pointer;
    user-select: none;
    max-width: none !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.22);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
}

/* Na užem mobilnom ekranu — manji max-width da ne izlazi iz karte */
@media (max-width: 480px) {
  .gm-style .custom-iw {
    max-width: none !important;
    font-size: 11.5px !important;
    padding: 6px 11px 6px 9px !important;
  }
}

@keyframes iwFadeIn {
  from { opacity: 0; transform: translateY(6px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
.custom-iw-animate {
  animation: iwFadeIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.gm-style-iw-tc { transition: opacity 0.3s ease; }

/* ukloni dodatni unutarnji padding koji Google stavlja oko sadržaja */
.gm-style-iw-d {
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}
.gm-style-iw {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.gm-style .custom-iw {
    padding: 7px 13px 7px 10px !important;
    border-radius: 999px !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.22) !important;
}

/* ========== MOBILE FILTER WRAPPER ========== */
.mobile-filter-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 10px;
}

/* Zajednički stil za oba selecta */
.mobile-select-styled {
  flex: 1;
  width: 100%;
  padding: 14px 46px 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #2d3748;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all 0.25s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.mobile-select-styled:focus {
  outline: none;
  border-color: #08c1b8;
  box-shadow: 0 0 0 4px rgba(8,193,184,0.12), 0 4px 12px rgba(0,0,0,0.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2308c1b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 15 12 9 18 15'%3E%3C/polyline%3E%3C/svg%3E");
}
.mobile-select-styled:hover {
  border-color: #cbd5e0;
}

/* Reset button (X) */
.mobile-filter-reset {
  display: none;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(145deg, #ff6b6b 0%, #ee5a5a 100%);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(238,90,90,0.35);
  flex-shrink: 0;
}
.mobile-filter-reset:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(238,90,90,0.4);
}
.mobile-filter-reset:active {
  transform: translateY(0) scale(0.96);
}
.mobile-filter-reset.visible {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: resetBtnIn 0.3s ease-out;
}
@keyframes resetBtnIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* Podfilter container - naglašeni stil */
.mobile-subfilter-container {
  display: none;
  margin-top: 14px;
  padding: 12px;
  background: linear-gradient(145deg, #f8fffe 0%, #f0fdfc 100%);
  border-radius: 20px;
  border: 2px solid rgba(8,193,184,0.2);
  box-shadow: 
    0 4px 20px rgba(8,193,184,0.12),
    inset 0 1px 2px rgba(255,255,255,0.9);
  animation: subfilterFadeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes subfilterFadeIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Lista lokacija */
.mobile-subfilter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 10px;
}
.mobile-subfilter-list::-webkit-scrollbar {
  width: 6px;
}
.mobile-subfilter-list::-webkit-scrollbar-track {
  background: rgba(8,193,184,0.1);
  border-radius: 3px;
}
.mobile-subfilter-list::-webkit-scrollbar-thumb {
  background: rgba(8,193,184,0.4);
  border-radius: 3px;
}

/* Kartica lokacije - bez okvira */
.location-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.location-card:hover {
  background: #f0fdfc;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(8,193,184,0.18);
}
.location-card.active {
  background: linear-gradient(135deg, #e6faf9 0%, #d4f4f2 100%);
  box-shadow: 0 4px 15px rgba(8,193,184,0.22);
}
.location-card-left {
  display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0;
}
.location-card-cat-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  font-size: 14px; color: #fff; flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
/* Boje ikone – neutralne, jednake za sve kategorije */
.ilica-cat-active-landmarks .location-card-cat-icon,
.ilica-cat-active-theaters  .location-card-cat-icon,
.ilica-cat-active-museums   .location-card-cat-icon,
.ilica-cat-active-parks     .location-card-cat-icon { background: linear-gradient(135deg,#374151,#4b5563); }
.location-card-title {
  font-size: 14px; font-weight: 600; color: #2d3748;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.location-card.active .location-card-title { font-weight: 700; }
.ilica-cat-active-landmarks .location-card.active .location-card-title,
.ilica-cat-active-theaters  .location-card.active .location-card-title,
.ilica-cat-active-museums   .location-card.active .location-card-title,
.ilica-cat-active-parks     .location-card.active .location-card-title { color: #1e3a8a; }
.location-card-distance {
  font-size: 12px; font-weight: 700; white-space: nowrap;
  flex-shrink: 0; margin-left: 8px;
}
.ilica-cat-active-landmarks .location-card-distance,
.ilica-cat-active-theaters  .location-card-distance,
.ilica-cat-active-museums   .location-card-distance,
.ilica-cat-active-parks     .location-card-distance { color: #1e3a8a; }
.location-card-arrow { color: #cbd5e0; font-size: 12px; margin-left: 8px; flex-shrink: 0; }
.location-card-icon { display: none; }

/* Gumb Zatvorite */
.close-subfilter-btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(229,62,62,0.25);
}
.close-subfilter-btn:hover {
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(229,62,62,0.3);
}
.close-subfilter-btn:active {
  transform: translateY(0) scale(0.98);
}

/* ========== MOJA LOKACIJA CHECKBOX ========== */
.my-location-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.my-location-row {
  display: flex;
  align-items: center;
  justify-content: center;
}
.my-location-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #2d3748;
}
.my-location-checkbox {
  display: none;
}
.my-location-toggle {
  width: 44px;
  height: 24px;
  background: #e2e8f0;
  border-radius: 12px;
  position: relative;
  transition: all 0.3s ease;
}
.my-location-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.my-location-checkbox:checked + .my-location-toggle {
  background: linear-gradient(135deg, #08c1b8 0%, #06a89f 100%);
}
.my-location-checkbox:checked + .my-location-toggle::after {
  left: 22px;
}
.my-location-text {
  display: flex;
  align-items: center;
  gap: 6px;
}
.my-location-text i {
  color: #08c1b8;
}

/* ========== NEAREST LOCATION BUTTON ========== */
.nearest-location-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 280px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #08c1b8 0%, #06a89f 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(8,193,184,0.3);
}
.nearest-location-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8,193,184,0.4);
}
.nearest-location-btn:active {
  transform: translateY(0) scale(0.98);
}
.nearest-location-btn.visible {
  display: flex;
  animation: nearestBtnIn 0.4s ease-out;
}
@keyframes nearestBtnIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.nearest-location-btn i {
  font-size: 16px;
}
.nearest-location-btn .btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}
.nearest-location-btn .btn-subtitle {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
}

/* ========== GPS MARKER PULSE ========== */
@keyframes gpsPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* ========== TOAST NOTIFIKACIJA ========== */
.nearest-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, #08c1b8 0%, #06a89f 100%);
  color: #fff;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(8,193,184,0.4);
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  text-align: center;
  max-width: 90%;
}
.nearest-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════
   ILICA CATEGORY BUTTONS – zoo-inspired
═══════════════════════════════════════════════════════ */
/* ═══ MOBILE: horizontalni scroll – 4 vidljiva ═══ */
.ilica-cat-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0 10px;
}
.ilica-cat-scroll::-webkit-scrollbar { display: none; }
.ilica-cat-wrap {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(25% - 6px);
  gap: 8px;
  padding-left: 8px;
  padding-right: 8px;
}
/* ═══ DESKTOP: 3 kolone grid ═══ */
.ilica-cat-desktop.ilica-cat-wrap {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  grid-auto-flow: row !important;
  grid-auto-columns: unset !important;
  gap: 10px;
  margin-bottom: 18px;
  width: 100%;
  max-width: 520px;
}
.ilica-cat-desktop .ilica-cat-btn {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px 12px;
  border-radius: 16px;
  width: 100% !important;
  min-width: 0;
  min-height: 90px;
}
.ilica-cat-desktop .ilica-cat-icon {
  width: 42px; height: 42px;
  border-radius: 13px;
  font-size: 18px;
  flex-shrink: 0;
}
.ilica-cat-desktop .ilica-cat-label {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  text-align: center;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.ilica-cat-desktop .ilica-cat-btn.active .ilica-cat-label { color: #fff; }

.ilica-cat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: linear-gradient(145deg,#1e293b 0%,#0f172a 100%);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 10px 6px 8px;
  width: 100%;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ilica-cat-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.32);
  border-color: rgba(255,255,255,0.16);
}
.ilica-cat-btn:active { transform: scale(0.96); }

.ilica-cat-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: all 0.20s ease;
}
.ilica-cat-label {
  font-size: 9.5px;
  font-weight: 800;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.01em;
  white-space: normal;
  word-break: break-word;
  text-align: center;
  line-height: 1.2;
  transition: color 0.18s;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* ── Ikona – neutralna, jednaka za sve kategorije ── */
.ilica-cat-btn .ilica-cat-icon {
  background: linear-gradient(135deg,#374151,#4b5563);
  box-shadow: 0 3px 10px rgba(0,0,0,0.28);
}
.ilica-cat-btn .ilica-cat-icon i { color: rgba(255,255,255,0.88); }

/* ── Active – navy, jednako za sve kategorije ── */
.ilica-cat-btn.active {
 background: linear-gradient(135deg, #0f172a 0%, #5b5b5e 55%, #84868a 100%);
    border-color: rgb(45 54 66 / 28%);
    box-shadow: 0 8px 24px rgb(47 50 58 / 55%), 0 0 0 3px rgb(230 195 21 / 52%);
    transform: translateY(-3px) scale(1.06);

}
.ilica-cat-btn.active .ilica-cat-icon { background: rgba(255,255,255,0.18); box-shadow: none; }
.ilica-cat-btn.active .ilica-cat-icon i { color: #fff; }
.ilica-cat-btn.active .ilica-cat-label { color: #fff; }

/* ── Subfilter header ── */
.subfilter-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(11,42,107,0.12);
}
.subfilter-header-title {
  font-size: 11px; font-weight: 900; color: #1e3a8a;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.subfilter-close-x {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#ef4444,#dc2626);
  border: none; border-radius: 50%;
  color: #fff; font-size: 13px; cursor: pointer;
  box-shadow: 0 3px 8px rgba(220,38,38,0.38);
  transition: all .18s ease;
}
.subfilter-close-x:hover { transform: scale(1.12); box-shadow: 0 5px 14px rgba(220,38,38,0.50); }
.subfilter-close-x:active { transform: scale(0.93); }
.mobile-subfilter-list { margin-bottom: 0 !important; }

/* ── Nearest btn: sakrij dok GPS nije aktivan ── */
.nearest-location-btn:not(.visible) { display: none !important; }

/* ── Tour zaključavanje kategorija tijekom intro animacije ── */
body.tour-in-progress .ilica-cat-btn,
body.tour-in-progress #desktop-filter-reset,
body.tour-in-progress #mobile-filter-reset,
body.tour-in-progress #close-subfilter-btn,
body.tour-in-progress #mobile-category-select,
body.tour-in-progress #my-location-checkbox + .my-location-toggle,
body.tour-in-progress #desktop-location-checkbox + .my-location-toggle {
  pointer-events: none !important;
  opacity: 0.55 !important;
  filter: grayscale(0.3);
  cursor: not-allowed !important;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

/* ── Tooltip bounce animation ── */
@keyframes ilicaChevronBounce {
  0%,100% { transform: translateY(0); opacity: 0.8; }
  50%      { transform: translateY(4px); opacity: 1; }
}
.custom-iw .ilica-iw-arrow {
  display: inline-block;
  font-size: 13px;
  opacity: 0.85;
  line-height: 1;
  animation: ilicaChevronBounce 1.1s ease-in-out infinite;
}



/* ═══ PREGAZI smart-city.css .gm-style .custom-iw background:white !important ═══
   ID selektor (1,2,0) > class selektor (0,2,0) — čak i uz !important            */
@media (hover: none) and (pointer: coarse), (max-width: 1367px) {
  #map-mobile .gm-style .custom-iw,
  #prikaz-mape .gm-style .custom-iw {
    background: linear-gradient(135deg,#1e293b,#334155) !important;
  }
}
/* Bez media query – desktop i svi uređaji */
#map-mobile .gm-style .custom-iw,
#prikaz-mape .gm-style .custom-iw {
  background: linear-gradient(135deg,#1e293b,#334155) !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.30) !important;
}


/* ═══ TOOLTIP RED 2 — udaljenost + animirana strelica prema dolje ═══ */
.ilica-iw-dist-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  text-align: center;
  white-space: nowrap;
}
.ilica-iw-dist-inline {
  padding: 2px 10px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.92);
}
.ilica-iw-dist {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  background: rgba(255,255,255,0.18);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
  vertical-align: middle;
}

/* ═══ FAVORITES SRCE ═══ */
.fav-heart {
  cursor: pointer;
  font-size: 16px;
  color: #cbd5e0;
  transition: all 0.25s ease;
  margin-left: 6px;
  flex-shrink: 0;
  padding: 4px;
}
.fav-heart.active { color: #e53e3e; }
.fav-heart:hover { transform: scale(1.2); }

.favorites-empty {
  text-align: center;
  padding: 24px 16px;
  color: #718096;
  font-size: 14px;
}
.favorites-empty i {
  font-size: 32px;
  color: #e2e8f0;
  display: block;
  margin-bottom: 10px;
}

/* ═══ LANDMARK SLIKE U KARTICAMA ═══ */
.location-card-img {
  width: 38px; height: 38px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

/* ═══ GPS PROGRESS OVERLAY ═══ */
#gps-progress-overlay {
  display: none;
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99998;
  width: calc(100% - 32px);
  max-width: 360px;
}
.gps-progress-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: gpsSlideIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes gpsSlideIn {
  from { opacity:0; transform:translateY(20px) scale(0.95); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}
.gps-progress-canvas-wrap {
  position: relative;
  width: 56px; height: 56px;
  flex-shrink: 0;
}
.gps-progress-canvas-wrap canvas { display: block; }
.gps-progress-pct {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 12px;
  font-weight: 800;
  color: #0d9488;
  line-height: 1;
}
.gps-progress-info { flex: 1; min-width: 0; }
.gps-progress-title {
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 3px;
}
.gps-progress-sub {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.3;
}
.gps-progress-close {
  width: 26px; height: 26px;
  border: none; border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

/* ── Style block 2 ── */
/* Backdrop blur overlay */
#ilicaGpsHintBackdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
#ilicaGpsHintBackdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/* Centered modal card */
#ilicaGpsHint {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  z-index: 9999;
  background: linear-gradient(145deg, #ffffff 0%, #f0fdfa 100%);
  border: 2px solid #08c1b8;
  border-radius: 20px;
  box-shadow: 
    0 20px 60px rgba(8,193,184,0.25),
    0 8px 24px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.8);
  padding: 28px 28px 24px;
  max-width: 92%;
  width: 440px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
  text-align: center;
}
#ilicaGpsHint.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

/* Icon */
#ilicaGpsHint .gps-hint-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ccfbf1 0%, #5eead4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 6px 20px rgba(8,193,184,0.35);
}
#ilicaGpsHint .gps-hint-icon::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(8,193,184,0.4);
  animation: gpsHintRipple 2s ease-out infinite;
}
#ilicaGpsHint .gps-hint-icon::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(8,193,184,0.25);
  animation: gpsHintRipple 2s ease-out infinite 0.4s;
}
#ilicaGpsHint .gps-hint-icon i {
  color: #0d8881;
  font-size: 32px;
  z-index: 2;
}

/* Title */
#ilicaGpsHint .gps-hint-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f766e;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

/* Text */
#ilicaGpsHint .gps-hint-text {
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 20px;
  padding: 0 8px;
}

/* CTA button — primary */
#ilicaGpsHint .gps-hint-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #08c1b8 0%, #0d9488 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(8,193,184,0.35);
  transition: all 0.2s ease;
  width: 100%;
  max-width: 280px;
}
#ilicaGpsHint .gps-hint-btn:hover {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  box-shadow: 0 6px 16px rgba(8,193,184,0.45);
  transform: translateY(-1px);
}
#ilicaGpsHint .gps-hint-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(8,193,184,0.3);
}
#ilicaGpsHint .gps-hint-btn i { font-size: 13px; }

/* Secondary link */
#ilicaGpsHint .gps-hint-secondary {
  display: inline-block;
  margin-top: 12px;
  background: transparent;
  border: none;
  font-size: 12.5px;
  color: #64748b;
  cursor: pointer;
  padding: 6px 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#ilicaGpsHint .gps-hint-secondary:hover { color: #334155; }

/* Close button — top right */
#ilicaGpsHint .gps-hint-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  transition: all 0.2s;
}
#ilicaGpsHint .gps-hint-close:hover {
  background: rgba(148,163,184,0.15);
  color: #475569;
}

@keyframes gpsHintRipple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 480px) {
  #ilicaGpsHint {
    width: calc(100% - 28px);
    padding: 24px 20px 20px;
    border-radius: 18px;
  }
  #ilicaGpsHint .gps-hint-icon { width: 64px; height: 64px; margin-bottom: 14px; }
  #ilicaGpsHint .gps-hint-icon i { font-size: 28px; }
  #ilicaGpsHint .gps-hint-title { font-size: 17px; }
  #ilicaGpsHint .gps-hint-text { font-size: 13.5px; }
}

/* ── Style block 3 ── */
#mobile-gps-refresh i{transition:transform 0.5s ease;}
#mobile-gps-refresh.spinning i{transform:rotate(360deg);}

#ilicaNextLocToast{
  position:fixed;bottom:80px;left:50%;z-index:999999;
  transform:translateX(-50%) translateY(100px);
  background:linear-gradient(145deg,#fff,#f0fdfa);
  border:1.5px solid #08c1b8;border-radius:14px;
  box-shadow:0 8px 28px rgba(8,193,184,0.25),0 2px 8px rgba(0,0,0,0.1);
  padding:10px 14px;max-width:92%;width:380px;
  display:flex;align-items:center;gap:10px;
  opacity:0;pointer-events:none;
  transition:opacity 0.4s ease,transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  cursor:pointer;
}
#ilicaNextLocToast.show{opacity:1!important;transform:translateX(-50%) translateY(0)!important;pointer-events:auto!important;}
#ilicaNextLocToast .nlt-img{width:40px;height:40px;border-radius:10px;object-fit:cover;flex-shrink:0;box-shadow:0 2px 6px rgba(0,0,0,.12);}
#ilicaNextLocToast .nlt-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#374151,#4b5563);color:#fff;font-size:16px;flex-shrink:0;}
#ilicaNextLocToast .nlt-name{flex:1;min-width:0;font-size:13px;font-weight:700;color:#1a202c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#ilicaNextLocToast .nlt-dist{font-size:12px;color:#08c1b8;font-weight:700;flex-shrink:0;white-space:nowrap;}
#ilicaNextLocToast .nlt-close{flex-shrink:0;background:transparent;border:none;color:#94a3b8;font-size:16px;cursor:pointer;padding:2px 6px;border-radius:4px;}
#ilicaNextLocToast .nlt-close:hover{background:#f1f5f9;color:#475569;}
@media(max-width:991px){#ilicaNextLocToast{bottom:80px;}}

