/* Full-screen map, dark background, no scrollbars */
:root {
  --pmd-safe-top: env(safe-area-inset-top, 0px);
  --pmd-safe-bottom: env(safe-area-inset-bottom, 0px);
  --pmd-nav-h: 56px;
  --vh: 1vh;
  /* Filter bar — cohesive accents */
  --pmd-fb-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, #f8fafc 48%, #eef2f7 100%);
  --pmd-fb-border: rgba(15, 23, 42, 0.08);
  --pmd-fb-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 6px 24px -8px rgba(15, 23, 42, 0.1),
    0 20px 48px -28px rgba(15, 23, 42, 0.08);
  --pmd-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --pmd-ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);
}

html, body { 
  overflow: hidden !important; 
  height: 100% !important; 
  margin: 0 !important; 
  padding: 0 !important; 
  background: #eef1f4;
}

body { 
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}

#map.map-container { 
  background: #eef1f4;
  height: 100dvh;
  height: 100vh;
  width: 100% !important; 
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Empty state when no search/filter results */
.map-no-results {
  position: absolute;
  inset: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 247, 250, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1.5rem;
}
.map-no-results-inner {
  position: relative;
  text-align: center;
  max-width: 340px;
  padding: 2rem 1.75rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.map-no-results-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  color: #374151;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.map-no-results-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #111;
}
.map-no-results-close:focus-visible {
  outline: 2px solid #dc3545;
  outline-offset: 2px;
}
.map-no-results-close i {
  font-size: 1.1rem;
}
.map-no-results-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.12) 0%, rgba(220, 53, 69, 0.06) 100%);
  border-radius: 50%;
  color: #dc3545;
  font-size: 1.5rem;
}
.map-no-results-icon i {
  font-size: 1.4rem;
}
.map-no-results-text {
  margin: 0;
  font-size: 1rem;
  color: #374151;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.map-no-results-btn {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 10px 20px;
  background: #dc3545;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(220, 53, 69, 0.35);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.map-no-results-btn:hover {
  background: #c82333;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}
.map-no-results-btn:focus-visible {
  outline: 2px solid #dc3545;
  outline-offset: 2px;
}

.leaflet-container {
  background: #eef1f4 !important;
}

.map-tile-error-message {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  font-size: 0.7rem;
  color: #666;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  z-index: 1000;
  pointer-events: none;
}

/* White transparent navbar */
.pmd-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  padding-top: var(--pmd-safe-top);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 252, 0.9) 100%);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  border-bottom: 1px solid rgba(15, 23, 42, 0.055);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 8px 32px -12px rgba(15, 23, 42, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}

.pmd-navbar-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem; /* Smanjeno za 20% (2rem -> 1.6rem) */
}

.pmd-logo-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.pmd-logo {
  font-size: 1.2rem; /* Smanjeno za 20% (1.5rem -> 1.2rem) */
  font-weight: 800;
  color: #1e293b;
  letter-spacing: 0.14em;
  white-space: nowrap;
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.logo-red {
  color: #dc3545; /* Crvena boja */
}

.logo-white {
  color: #333; /* Tamno siva boja za bijeli navbar */
}

.pmd-tagline {
  font-size: 0.7rem;
  color: #6c757d; /* Siva boja */
  line-height: 1.2;
  white-space: nowrap;
}

.pmd-value-prop {
  font-size: 0.65rem;
  color: #868e96;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-top: 2px;
}
@media (max-width: 768px) {
  .pmd-value-prop { display: none; }
}

.tagline-sub {
  color: #6c757d; /* Siva boja */
  font-weight: 400;
}

.pmd-search-container {
  flex: 1;
  max-width: 600px;
  position: relative;
  margin: 0 auto;
}

.pmd-search {
  width: 100%;
  padding: 0.55rem 2.1rem 0.55rem 2.1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(241, 245, 249, 0.9) 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  color: #1e293b;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
  transition:
    border-color 0.25s var(--pmd-ease-out),
    box-shadow 0.25s var(--pmd-ease-out),
    background 0.25s var(--pmd-ease-out);
}

.pmd-search::placeholder {
  color: rgba(71, 85, 105, 0.65);
  font-weight: 400;
}

.pmd-search:hover {
  border-color: rgba(15, 23, 42, 0.11);
}

.pmd-search:focus {
  outline: none;
  background: #fff;
  border-color: rgba(220, 53, 69, 0.35);
  box-shadow:
    0 0 0 3px rgba(220, 53, 69, 0.12),
    0 4px 18px -6px rgba(15, 23, 42, 0.12),
    0 1px 0 rgba(255, 255, 255, 1) inset;
}

.pmd-search-icon {
  position: absolute;
  left: 0.7rem; /* Smanjeno za 20% (0.875rem -> 0.7rem) */
  top: 50%;
  transform: translateY(-50%);
  color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  font-size: 0.9rem; /* Smanjeno proporcionalno */
}

.pmd-search-clear {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: color 0.2s ease;
  z-index: 10;
}

.pmd-search-clear:hover {
  color: rgba(0, 0, 0, 0.9);
}

.pmd-search-clear:focus {
  outline: none;
}

.pmd-right {
  display: flex;
  align-items: center;
  gap: 1.2rem; /* Smanjeno za 20% (1.5rem -> 1.2rem) */
  white-space: nowrap;
}

/* Header social icons (top-right) */
.pmd-header-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pmd-header-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.85) 100%);
  border: 1px solid rgba(15, 23, 42, 0.07);
  color: rgba(51, 65, 85, 0.72);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition:
    background 0.22s var(--pmd-ease-out),
    color 0.22s var(--pmd-ease-out),
    transform 0.22s var(--pmd-ease-spring),
    box-shadow 0.22s var(--pmd-ease-out),
    border-color 0.22s var(--pmd-ease-out);
}

.pmd-header-social-link i {
  font-size: 15px;
  line-height: 1;
}

.pmd-header-social-link:hover {
  background: #fff;
  border-color: rgba(220, 53, 69, 0.22);
  color: #dc3545;
  transform: translateY(-2px);
  box-shadow:
    0 6px 16px -4px rgba(220, 53, 69, 0.2),
    0 1px 0 rgba(255, 255, 255, 1) inset;
}

.pmd-header-social-link:focus-visible {
  outline: 2px solid rgba(220, 53, 69, 0.45);
  outline-offset: 2px;
}

.pmd-nav-link {
  color: #6c757d; /* Tamno siva boja za bijeli navbar */
  text-decoration: none;
  font-size: 0.76rem; /* Smanjeno za 20% (0.95rem -> 0.76rem) */
  font-weight: 600; /* Kao na slici */
  text-transform: uppercase; /* Velika slova */
  transition: color 0.2s ease;
}

.pmd-nav-link:hover {
  color: #333;
}

.pmd-mark-logo {
  height: 40px; /* Smanjeno za 20% (50px -> 40px) */
  width: auto;
  object-fit: contain;
  display: block;
}

/* Top-left controls - glassy style, dynamic top from navbar height */
.map-controls {
  position: absolute;
  top: calc(var(--pmd-nav-h, 56px) + 10px + env(safe-area-inset-top, 0px));
  left: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 24px);
}

.btn-map {
  background: rgba(73, 80, 87, 0.7);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 8px 12px;
  min-height: 36px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.15s ease;
  margin-right: 6px;
}

.btn-map:hover { 
  background: rgba(52, 58, 64, 0.8); /* Tamnija siva na hover - malo manje transparentna */
  color: #fff; 
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-map:last-child { 
  margin-right: 0; 
}

.pmd-past-events-toggle {
  background: rgba(33, 37, 41, 0.72);
  color: #fff;
}
.pmd-past-events-toggle.active {
  background: rgba(108, 117, 125, 0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
}

/* Category badges - same style as btn-map */
.filter-badge {
  background: rgba(73, 80, 87, 0.7);
  color: #fff;
  padding: 8px 12px;
  min-height: 36px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Filter badges visibility controlled by JavaScript (updateCategoryFilters / updateCounts) */

.filter-badge .soon-text {
  text-transform: lowercase;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.7); /* Siva boja (bijela s 70% opacity) */
}

.filter-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.filter-icon {
  font-size: 0.85em;
  opacity: 0.95;
}

/* Geolocation control — visual styling comes from .pmd-fb-near in the filter bar */
.pmd-geo-btn {
  cursor: pointer;
  border: 0;
  margin-right: 0 !important;
}
.pmd-geo-btn:hover:not(:disabled) {
  filter: brightness(1.04);
}
.pmd-geo-btn:disabled {
  cursor: wait;
  opacity: 0.8;
}
.pmd-geo-btn.loading i {
  display: inline-block;
  animation: pmd-spin 0.8s linear infinite;
}
@keyframes pmd-spin {
  to { transform: rotate(360deg); }
}

/* Add your pin – red button in footer menu */
.pmd-footer-add-pin {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 14px !important;
  background: #dc3545 !important;
  color: #fff !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border-radius: 50px;
  border: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.pmd-footer-add-pin:hover {
  color: #fff !important;
  background: #c82333 !important;
  transform: translateY(-1px);
}
.pmd-footer-add-pin i {
  font-size: 0.9em;
}
@media (max-width: 768px) {
  .pmd-footer-add-pin {
    font-size: 0.7rem !important;
    padding: 10px 14px !important;
    min-height: 44px;
  }
}
@media (max-width: 576px) {
  .pmd-footer-add-pin {
    font-size: 0.6rem !important;
    padding: 10px 14px !important;
    min-height: 44px;
  }
}

/* Toast notification */
.pmd-toast {
  position: fixed;
  bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 10px 20px;
  background: rgba(33, 37, 41, 0.95);
  color: #fff;
  font-size: 0.85rem;
  border-radius: 8px;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s;
}
.pmd-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.filter-badge.active { 
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  font-weight: 600;
}

/* Category colors - matching map markers (30% transparent) */
.filter-badge[data-category=""] { 
  background: rgba(111, 121, 255, 0.7); /* Purple for "All" — ~30% opacity */
  color: #fff; 
}

.filter-badge[data-category=""]:hover {
  background: rgba(90, 99, 230, 0.8);
}

.filter-badge[data-category=""]:active {
  background: rgba(76, 84, 212, 0.8);
}

.filter-badge[data-category="event"] { 
  background: rgba(13, 110, 253, 0.7); /* Plava za Events - odgovara marker-event - 30% transparentna */
  color: #fff; 
}

.filter-badge[data-category="event"]:hover {
  background: rgba(11, 94, 215, 0.8);
}

.filter-badge[data-category="event"].active {
  background: rgba(10, 88, 202, 0.8);
}

.filter-badge[data-category="studio"] { 
  background: rgba(220, 53, 69, 0.7); /* Crvena za Studios - odgovara marker-studio - 30% transparentna */
  color: #fff; 
}

.filter-badge[data-category="studio"]:hover {
  background: rgba(187, 45, 59, 0.8);
}

.filter-badge[data-category="studio"].active {
  background: rgba(176, 42, 55, 0.8);
}

.filter-badge[data-category="venue"] { 
  background: rgba(40, 167, 69, 0.7); /* Zelena za Venues - 30% transparentna */
  color: #fff; 
}

.filter-badge[data-category="venue"]:hover {
  background: rgba(33, 136, 56, 0.8);
}

.filter-badge[data-category="venue"].active {
  background: rgba(30, 126, 52, 0.8);
}

.filter-badge[data-category="school"] { 
  background: rgba(255, 193, 7, 0.7); /* Yellow for Schools — ~30% opacity */
  color: #000; 
}

.filter-badge[data-category="school"]:hover {
  background: rgba(255, 179, 0, 0.8);
}

.filter-badge[data-category="school"].active {
  background: rgba(255, 179, 0, 0.8);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.badge-count { 
  background: rgba(255, 255, 255, 0.2); 
  border-radius: 3px; 
  padding: 1px 5px; 
  margin-left: 3px;
  font-weight: 600;
  font-size: 0.65rem;
}

/* Badge count for yellow category (school) - darker background for better contrast */
.filter-badge[data-category="school"] .badge-count {
  background: rgba(0, 0, 0, 0.15);
  color: #000;
}

/* Custom round markers (S/E) with white border */
.custom-marker {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.marker-studio { 
  background: #dc3545; 
}

.marker-event { 
  background: #0d6efd; 
}

.marker-published { 
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); 
}

.marker-unpublished { 
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  opacity: 0.8;
}

/* Glassy Popup Style (pmd-popup) */
.leaflet-popup-content-wrapper {
  border-radius: 14px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.5); /* 50% transparent */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28); /* soft dark shadow */
}

.leaflet-popup-content { 
  margin: 0; 
  padding: 12px 16px 14px; 
  line-height: 1.4; 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-width: 300px;
  max-width: 350px;
}

.leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.5); /* 50% transparent */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.popup-content {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  overflow: hidden;
}

.popup-content .card-body {
  padding: 0; /* Padding je sada na .leaflet-popup-content */
}

/* Title (location name) */
.popup-content h5.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  margin-top: 0;
  color: #111827;
  line-height: 1.3;
}

/* Body text lines */
.popup-content .card-text {
  margin: 0;
  font-size: 0.80rem;
  color: #111827; /* Darker values */
  line-height: 1.4;
}

/* Spacing between consecutive lines */
.popup-content .card-text + .card-text {
  margin-top: 2px;
}

/* Labels (TYPE:, CITY:, PHONE:, etc.) */
.popup-content .card-text strong {
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #6b7280; /* Lighter labels */
  display: inline-block;
  margin-right: 6px;
  font-size: 0.80rem;
  text-transform: uppercase;
}

/* Status badge styled as pill */
.popup-content .badge,
.popup-content .status-section .badge,
.leaflet-popup-content .badge {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

.popup-content .badge.bg-success,
.popup-content .status-section .badge.bg-success {
  background: #16a34a !important;
  color: #ffffff !important;
}

.popup-content .badge.bg-secondary,
.popup-content .status-section .badge.bg-secondary {
  background: #6b7280 !important;
  color: #ffffff !important;
}

/* Website link as plain text - exclude social icons */
.popup-content .card-text a:not(.social-icon),
.popup-content a[href^="http"]:not(.social-icon),
.leaflet-popup-content a[href^="http"]:not(.social-icon) {
  color: #0d6efd;
  font-size: 0.80rem;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.popup-content .card-text a:not(.social-icon):hover,
.popup-content a[href^="http"]:not(.social-icon):hover,
.leaflet-popup-content a[href^="http"]:not(.social-icon):hover {
  color: #0a58ca;
  text-decoration: underline;
}

/* Social icons section styling */
.popup-content .social-icons-section {
  margin-top: 8px;
  padding-top: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.popup-content .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-decoration: none !important;
  transition: all 0.2s ease;
  font-size: 18px;
  cursor: pointer;
  color: #ffffff;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Website icon - Blue */
.popup-content .social-icon-website {
  background-color: #0d6efd;
}

.popup-content .social-icon-website:hover {
  background-color: #0a58ca;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

/* Facebook icon - Facebook blue */
.popup-content .social-icon-facebook {
  background-color: #1877f2;
}

.popup-content .social-icon-facebook:hover {
  background-color: #1565c0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(24, 119, 242, 0.3);
}

/* Instagram icon - Pink to orange gradient */
.popup-content .social-icon-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.popup-content .social-icon-instagram:hover {
  background: linear-gradient(45deg, #e0852e 0%, #d55a31 25%, #c9233a 50%, #b91f5a 75%, #a91575 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(188, 24, 136, 0.3);
}

/* YouTube icon - Red */
.popup-content .social-icon-youtube {
  background-color: #ff0000;
}

.popup-content .social-icon-youtube:hover {
  background-color: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 0, 0, 0.3);
}

/* TikTok icon - Black */
.popup-content .social-icon-tiktok {
  background-color: #000000;
}

.popup-content .social-icon-tiktok:hover {
  background-color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Non-clickable icons (when no link) */
/* Popup actions: Get directions, Suggest edit */
.popup-actions { font-size: 0.80rem; }
.popup-action-link { color: #0d6efd !important; text-decoration: none !important; display: inline-flex; align-items: center; gap: 4px; }
.popup-action-link:hover { color: #0a58ca !important; text-decoration: underline !important; }
.popup-action-suggest { color: #6c757d !important; }
.popup-action-suggest:hover { color: #495057 !important; }

.popup-content .social-icon:not(a) {
  cursor: default;
  opacity: 0.6;
}

.popup-content .social-icon:not(a):hover {
  transform: none;
  box-shadow: none;
}

.popup-content .social-icon i {
  font-size: 18px;
  color: #ffffff;
}

/* Ensure no underline or border on social icons */
.popup-content .social-icons-section a,
.popup-content .social-icons-section a:hover,
.popup-content .social-icons-section a:focus,
.popup-content .social-icons-section a:active {
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* iOS input zoom fix: font-size >= 16px prevents Safari zoom on focus */
@media (max-width: 768px) {
  .pmd-search {
    font-size: 16px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pmd-navbar {
    height: auto;
    min-height: 56px;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .pmd-navbar-content {
    flex-direction: column;
    gap: 0.5rem;
  }

  .pmd-logo {
    font-size: 1.2rem;
  }

  .pmd-search-container {
    max-width: 100%;
    order: 2;
  }

  .pmd-right {
    width: 100%;
    justify-content: center;
    order: 1;
    gap: 1rem;
  }

  .map-controls {
    left: 12px;
    right: 12px;
    max-width: calc(100% - 24px);
  }

  .btn-map,
  .filter-badge {
    min-height: 44px;
    font-size: 0.75rem;
    padding: 8px 14px;
  }

  .categories-bar {
    bottom: 10px;
    right: 10px;
    padding: 8px 10px;
  }

  .filter-badge {
    min-height: 44px;
    font-size: 0.75rem;
    padding: 8px 12px;
  }

  .pmd-footer-wrap {
    bottom: calc(54px + var(--pmd-safe-bottom));
  }
  .pmd-footer-links {
    padding: 8px 12px;
    gap: 0.7rem;
  }
  .pmd-footer-secondary {
    font-size: 0.6rem;
  }

  .pmd-footer-link {
    font-size: 0.72rem;
    padding: 4px 0;
  }

  .pmd-footer-logo {
    height: 24px;
  }
}

/* Extra small screens (phones) */
@media (max-width: 576px) {
  .pmd-navbar {
    padding: 0.5rem 0.6rem;
  }

  .pmd-logo {
    font-size: 1rem;
  }

  .pmd-tagline {
    font-size: 0.5rem;
  }

  .pmd-search {
    font-size: 16px;
    padding: 6px 10px 6px 32px;
  }

  .pmd-search-container {
    width: 100%;
  }

  .btn-map,
  .filter-badge {
    min-height: 44px;
    font-size: 0.7rem;
    padding: 8px 12px;
  }

  .categories-bar {
    padding: 6px 8px;
    gap: 4px;
  }

  .pmd-footer-wrap {
    bottom: calc(48px + var(--pmd-safe-bottom));
  }
  .pmd-footer-links {
    padding: 5px 10px;
    gap: 0.5rem;
  }
  .pmd-footer-link {
    font-size: 0.55rem;
  }
  .pmd-footer-logo {
    height: 20px;
  }
  .pmd-footer-secondary {
    font-size: 0.55rem;
    gap: 4px;
  }
}

/* Footer wrapper (two rows) */
.pmd-footer-wrap {
  position: fixed;
  bottom: calc(50px + var(--pmd-safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.pmd-footer-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.88) 100%);
  border: 1px solid rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 28px -10px rgba(15, 23, 42, 0.14);
}

.pmd-footer-secondary {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  color: #6c757d;
}
.pmd-footer-secondary-link {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.2s;
}
.pmd-footer-secondary-link:hover {
  color: #dc3545;
}
.pmd-footer-sep {
  user-select: none;
  opacity: 0.7;
}

.pmd-footer-link {
  color: #333;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
  padding: 6px 4px;
}

@media (max-width: 768px) {
  .pmd-footer-link {
    font-size: 0.75rem;
    padding: 8px 6px;
  }
}

.pmd-footer-link:hover {
  color: #dc3545;
}

.pmd-footer-logo {
  height: 25.6px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-left: 4px;
}

/* Hide scrollbars everywhere */
* { 
  scrollbar-width: none !important; 
  -ms-overflow-style: none !important; 
}

*::-webkit-scrollbar { 
  display: none !important; 
}

/* Leaflet attribution control - ispod footer menija, centrirano, floating stil */
.leaflet-control-attribution {
  bottom: calc(10px + var(--pmd-safe-bottom)) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  right: auto !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  text-align: center !important;
  display: inline-block !important;
  position: fixed !important;
  z-index: 999 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  max-width: none !important;
}

.leaflet-control-attribution a,
.leaflet-control-attribution {
  white-space: nowrap !important;
  display: inline !important;
}

/* Watermark logo (if needed) */
.pmd-watermark {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 100;
}

.pmd-watermark img {
  max-width: 120px;
  height: auto;
}

/* Email link styling */
.contact-email a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  color: #dc3545;
  word-break: break-all;
}

.contact-email a:hover {
  text-decoration: underline;
}

/* Custom HTML overlay for visibility popup - NOT using Leaflet popup */
.pmd-visibility-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.pmd-visibility-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  z-index: 0;
}

.pmd-visibility-content {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28);
  min-width: 300px;
  max-width: min(420px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.pmd-visibility-overlay {
  cursor: default;
}

.pmd-visibility-close {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: 12px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border: 2px solid #dc3545;
  background: rgba(220, 53, 69, 0.1);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #dc3545;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
  font-weight: bold;
}

.pmd-visibility-close:hover {
  background: #dc3545;
  color: #ffffff;
  border-color: #dc3545;
  transform: scale(1.1);
}

.pmd-visibility-overlay .card {
  background: transparent;
  border: none;
  box-shadow: none;
  margin: 0;
}

.pmd-visibility-overlay .card-body {
  padding: 0;
  padding-top: 48px;
}

.pmd-visibility-overlay .popup-content {
  margin: 0;
  padding: 8px 24px 22px;
  line-height: 1.6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pmd-visibility-overlay .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
  text-align: center;
  line-height: 1.4;
}

.pmd-visibility-overlay .card-text {
  font-size: 0.9rem;
  color: #111827;
  line-height: 1.7;
  margin: 0;
}

.pmd-visibility-overlay .card-text p {
  margin-bottom: 14px;
}

.pmd-visibility-overlay .card-text p:last-child {
  margin-bottom: 0;
}

.pmd-visibility-overlay .card-text a {
  color: #0d6efd;
  text-decoration: underline;
  transition: color 0.2s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.pmd-visibility-overlay .card-text a:hover {
  color: #0a58ca;
  text-decoration: underline;
}

.pmd-visibility-overlay .pmd-email-link {
  color: #dc3545 !important;
  font-weight: 600;
}
.pmd-visibility-overlay .pmd-email-link:hover {
  color: #c82333 !important;
}

.pmd-visibility-overlay .pmd-popup-note {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 8px;
  margin-bottom: 0;
}

/* Logo styling in visibility popup */
.pmd-visibility-overlay .pmd-footer-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 16px auto 0;
}

/* Tagline styling in visibility popup */
.pmd-visibility-overlay .pmd-tagline {
  font-size: 0.75rem;
  color: #6c757d;
  line-height: 1.3;
  white-space: nowrap;
  text-align: center;
  margin-top: 8px;
}

.pmd-visibility-overlay .pmd-tagline .logo-red {
  color: #dc3545;
  font-weight: 600;
}

/* Map error message - visible when API fails */
.map-error-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 20px 28px;
  border-radius: 12px;
  text-align: center;
  max-width: 90%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.map-error-message .error-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.map-error-message .error-content i {
  font-size: 2rem;
  color: #ffc107;
}

/* Prevent scroll bounce when visibility popup is open */
body.pmd-popup-open {
  overflow: hidden !important;
  position: fixed !important;
}

/* Loading indicator */
.pmd-loading-indicator {
  align-self: center;
  flex-shrink: 0;
  background: rgba(30, 41, 59, 0.88);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.2);
}

/* Cookie consent: centered modal (first visit only) */
.pmd-cookie-modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.pmd-cookie-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.pmd-cookie-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  padding: 24px 28px;
}
.pmd-cookie-modal-logo {
  text-align: center;
  margin-bottom: 18px;
}
.pmd-cookie-modal-logo img {
  max-width: 180px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}
.pmd-cookie-modal-body {
  margin-bottom: 20px;
}
.pmd-cookie-modal-intro {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}
.pmd-cookie-modal-text {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
}
.pmd-cookie-modal-heading {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}
.pmd-cookie-modal-list {
  margin: 0 0 4px;
  padding-left: 20px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #555;
}
.pmd-cookie-modal-body a {
  color: #0d6efd;
  text-decoration: none;
}
.pmd-cookie-modal-body a:hover {
  text-decoration: underline;
}
.pmd-cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  padding-top: 8px;
  border-top: 1px solid #eee;
}
.pmd-cookie-btn-secondary {
  display: inline-block;
  padding: 10px 18px;
  font-size: 0.9rem;
  color: #495057;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.pmd-cookie-btn-secondary:hover {
  background: #f8f9fa;
  border-color: #adb5bd;
  color: #212529;
}
.pmd-cookie-btn-accept {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: #dc3545;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.pmd-cookie-btn-accept:hover {
  background: #c82333;
}
@media (max-width: 576px) {
  .pmd-cookie-modal {
    padding: 20px 18px;
  }
  .pmd-cookie-modal-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .pmd-cookie-btn-secondary,
  .pmd-cookie-btn-accept {
    width: 100%;
    text-align: center;
  }
}

/* =============================================
   PMD BOTTOM SHEET
   ============================================= */

#pmd-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  pointer-events: none;
  transition: background 0.28s;
  z-index: 1200;
}
#pmd-overlay.pmd-overlay-on {
  background: rgba(0, 0, 0, 0.28);
  pointer-events: auto;
}

#pmd-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 32px rgba(15, 23, 42, 0.18);
  transform: translateY(calc(100% + 32px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.34s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.22s ease,
    visibility 0s linear 0.34s;
  z-index: 1300;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  will-change: transform;
}
#pmd-sheet.pmd-sheet-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    transform 0.34s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.2s ease 0.06s,
    visibility 0s linear 0s;
}

.pmd-sheet-bar {
  padding: 10px 0 0;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  cursor: grab;
}
.pmd-sheet-pip {
  width: 36px;
  height: 4px;
  background: #dde1e7;
  border-radius: 2px;
}

/* Nav row — 3 kolone: lijevo | centar | desno */
.pmd-sheet-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 4px 14px 10px;
  flex-shrink: 0;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.pmd-sheet-nav-left  { display: flex; justify-content: flex-start; }
.pmd-sheet-nav-right { display: flex; justify-content: flex-end; }
.pmd-sheet-nav-center h3 {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.3px;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
  margin: 0;
  word-break: break-word;
}

.pmd-sheet-sep {
  height: 0.5px;
  background: #e9ecef;
  margin: 0 18px;
  flex-shrink: 0;
}

/* X tipka */
.pmd-xbtn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.07);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
  color: #374151;
  padding: 0;
}
.pmd-xbtn:hover { background: rgba(0, 0, 0, 0.13); }
.pmd-xbtn svg { width: 11px; height: 11px; display: block; }

/* Back tipka — PMD crvena */
.pmd-back-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #dc3545;
  font-size: 13px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px 4px 2px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s;
  font-family: inherit;
}
.pmd-back-btn:hover { background: rgba(220, 53, 69, 0.08); }
.pmd-back-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Scroll area */
#pmd-sheet-scroll {
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
#pmd-sheet-scroll::-webkit-scrollbar { display: none; }

/* LIST — redovi lokacija */
.pmd-sheet-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 18px 12px;
}
.pmd-sheet-list-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: -0.4px;
  margin: 0;
}

.pmd-ev-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  cursor: pointer;
  position: relative;
  transition: background 0.1s;
}
.pmd-ev-row:hover { background: rgba(0, 0, 0, 0.025); }
.pmd-ev-row::after {
  content: '';
  position: absolute;
  bottom: 0; left: 68px; right: 0;
  height: 0.5px;
  background: #f3f4f6;
}
.pmd-ev-row:last-child::after { display: none; }

.pmd-ev-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.pmd-ev-info { flex: 1; min-width: 0; }
.pmd-ev-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pmd-ev-sub { font-size: 12px; color: #9ca3af; margin-top: 1px; }

.pmd-ev-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  align-self: center;
}
.pmd-ev-chev { flex-shrink: 0; color: #d1d5db; margin-left: 2px; }

/* DETAIL — tijelo kartice */
.pmd-detail-body {
  padding: 12px 18px 24px 18px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 560px;
  margin: 0 auto;
}
.pmd-detail-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 12px;
}

/* Popup-style info redovi */
.pmd-info-row {
  margin-bottom: 4px;
  font-size: 0.80rem;
  color: #111827;
  line-height: 1.4;
}
.pmd-info-row strong {
  font-size: 0.72rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 6px;
}
.pmd-info-row a { color: #0d6efd; word-break: break-all; }

/* Social ikone */
.pmd-social-row {
  display: flex;
  gap: 8px;
  margin: 12px 0 4px;
}
.pmd-soc-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.15s;
  text-decoration: none;
}
.pmd-soc-icon:hover { opacity: 0.85; }
.pmd-soc-icon i {
  font-size: 17px;
  color: #fff;
}

.pmd-detail-divider { display: none; }

/* Action linkovi */
.pmd-action-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.pmd-action-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: #374151;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  text-decoration: none;
}
.pmd-action-link i { font-size: 14px; color: #6b7280; }

/* Custom cluster marker */
.pmd-cluster-wrap { position: relative; width: 36px; height: 36px; }
.pmd-cluster-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  cursor: pointer;
}
.pmd-cluster-count {
  position: absolute;
  top: -5px;
  right: -7px;
  background: #fff;
  color: #111;
  font-size: 9px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  padding: 0 3px;
  border: 1px solid #eee;
}

/* Past event badge u sheetu */
.pmd-past-badge {
  display: inline-block;
  font-size: 10px;
  background: #e9ecef;
  color: #6c757d;
  padding: 2px 7px;
  border-radius: 99px;
  font-weight: 600;
  margin-left: 6px;
  vertical-align: middle;
}

/* =============================================
   PMD FILTER BAR — Airbnb-style
   ============================================= */

/* Sakrij stari map-controls */
.map-controls { display: none !important; }

#pmd-filter-bar {
  position: fixed;
  top: calc(var(--pmd-nav-h, 56px) + 10px + env(safe-area-inset-top, 0px));
  left: 12px;
  right: auto;
  z-index: 950;
  height: auto;
  /* Narrow strip: fixed cell basis, total width = sum of visible tabs */
  width: fit-content;
  max-width: calc(100vw - 24px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 8px 28px rgba(15, 23, 42, 0.12),
    0 2px 8px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
#pmd-filter-bar::-webkit-scrollbar { display: none; }

#pmd-filter-bar .pmd-fb-item:last-child {
  border-right: none;
}

/* Separator removed from layout — cell borders divide Near me and categories */
.pmd-fb-sep {
  display: none;
}

.pmd-fb-near {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 4px 7px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  flex: 0 1 68px;
  flex-basis: 68px;
  min-width: 56px;
  max-width: 72px;
  gap: 1px;
  align-self: stretch;
  box-sizing: border-box;
  margin: 0;
  border-radius: 0;
  border-bottom: none;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  min-height: 50px;
  transition: background 0.18s, filter 0.15s;
  color: #fff;
  background: linear-gradient(180deg, #ef4a5f 0%, #dc3545 55%, #c82333 100%);
}
.pmd-fb-near .pmd-fb-icon,
.pmd-fb-near .pmd-fb-label {
  color: #fff;
}
.pmd-fb-near:hover {
  background: linear-gradient(180deg, #f55e71 0%, #e01e37 55%, #bd2130 100%);
  color: #fff;
  filter: brightness(1.03);
}
.pmd-fb-near:active {
  filter: brightness(0.96);
}

@media (prefers-reduced-motion: reduce) {
  .pmd-fb-item.active {
    transform: none;
  }
  .pmd-fb-item,
  .pmd-fb-icon {
    transition-duration: 0.01ms !important;
  }
}

.pmd-fb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 4px 7px;
  border: none;
  background: rgba(15, 23, 42, 0.05);
  cursor: pointer;
  font-family: inherit;
  flex: 0 1 68px;
  flex-basis: 68px;
  min-width: 56px;
  max-width: 72px;
  gap: 1px;
  align-self: stretch;
  box-sizing: border-box;
  border-bottom: none;
  border-right: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 0;
  min-height: 50px;
  transition: background 0.15s, color 0.15s;
  color: #475569;
  user-select: none;
  text-decoration: none;
}
.pmd-fb-item:hover:not(.active):not(.pmd-fb-soon) {
  color: #1e293b;
  background: rgba(15, 23, 42, 0.09);
}
.pmd-fb-item.active:hover {
  filter: brightness(1.05);
  color: #fff;
}

.pmd-fb-icon {
  font-size: 15px;
  line-height: 1;
  transition: color 0.15s;
}
.pmd-fb-item:hover:not(.active):not(.pmd-fb-soon) .pmd-fb-icon,
.pmd-fb-item.active .pmd-fb-icon {
  color: inherit;
}

.pmd-fb-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pmd-fb-cnt {
  font-size: 8px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}
.pmd-fb-item:not(.active) .pmd-fb-cnt {
  color: #64748b;
}
.pmd-fb-item.active .pmd-fb-cnt {
  opacity: 1;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92) !important;
}

.pmd-fb-item.active {
  border-bottom: none;
  border-radius: 0;
  margin: 0;
  color: #fff;
}
.pmd-fb-item[data-category=""].active {
  background: linear-gradient(180deg, #8b66e8 0%, #6f42c1 52%, #5a32a8 100%);
}
.pmd-fb-item[data-category=""].active .pmd-fb-cnt {
  color: rgba(255, 255, 255, 0.92);
}
.pmd-fb-item.pmd-fb-studio.active {
  background: linear-gradient(180deg, #ef4a5f 0%, #dc3545 52%, #b02a37 100%);
}
.pmd-fb-item.pmd-fb-studio.active .pmd-fb-cnt {
  color: rgba(255, 255, 255, 0.92);
}
.pmd-fb-item.pmd-fb-event.active {
  background: linear-gradient(180deg, #4d9dff 0%, #0d6efd 52%, #0a58ca 100%);
}
.pmd-fb-item.pmd-fb-event.active .pmd-fb-cnt {
  color: rgba(255, 255, 255, 0.92);
}
.pmd-fb-item.pmd-fb-past.active {
  background: linear-gradient(180deg, #9499f5 0%, #6366f1 52%, #4f46e5 100%);
  color: #fff;
}
.pmd-fb-item.pmd-fb-past.active .pmd-fb-cnt {
  color: rgba(255, 255, 255, 0.92);
}

.pmd-fb-past-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d1d5db;
  transition: background 0.18s;
  flex-shrink: 0;
}
.pmd-fb-item.pmd-fb-past.active .pmd-fb-past-dot { background: #fff; box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.35); }

/* Past: dot + icon same row — bar height matches other tabs (no extra “white” strip) */
.pmd-fb-item.pmd-fb-past {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 2px;
  row-gap: 1px;
  align-items: center;
  justify-items: center;
}
.pmd-fb-past .pmd-fb-past-dot {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  align-self: center;
}
.pmd-fb-past .pmd-fb-icon {
  grid-column: 2;
  grid-row: 1;
}
.pmd-fb-past .pmd-fb-label {
  grid-column: 1 / -1;
  grid-row: 2;
}
.pmd-fb-past .pmd-fb-cnt {
  grid-column: 1 / -1;
  grid-row: 3;
}

.pmd-fb-item.pmd-fb-soon {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.04);
}
.pmd-fb-soon-txt { font-size: 8px; font-style: italic; }

.pmd-fb-near:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 2px;
}
.pmd-fb-item:focus-visible {
  outline: 2px solid rgba(220, 53, 69, 0.45);
  outline-offset: 2px;
}
.pmd-fb-item.active:focus-visible {
  outline-color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 576px) {
  .pmd-fb-item {
    padding: 5px 2px 6px;
    min-height: 46px;
    flex-basis: 62px;
    min-width: 52px;
    max-width: 68px;
  }
  .pmd-fb-near {
    padding: 5px 2px 6px;
    min-height: 46px;
    flex-basis: 62px;
    min-width: 52px;
    max-width: 68px;
  }
}

/* =============================================
   PMD BOTTOM SHEET
   ============================================= */

#pmd-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  pointer-events: none;
  transition: background 0.28s;
  z-index: 1200;
}
#pmd-overlay.pmd-overlay-on {
  background: rgba(0, 0, 0, 0.28);
  pointer-events: auto;
}

#pmd-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 32px rgba(15, 23, 42, 0.18);
  transform: translateY(calc(100% + 32px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.34s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.22s ease,
    visibility 0s linear 0.34s;
  z-index: 1300;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  will-change: transform;
}
#pmd-sheet.pmd-sheet-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    transform 0.34s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.2s ease 0.06s,
    visibility 0s linear 0s;
}

.pmd-sheet-bar {
  padding: 10px 0 0;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  cursor: grab;
}
.pmd-sheet-pip { width: 36px; height: 4px; background: #dde1e7; border-radius: 2px; }

.pmd-sheet-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 4px 14px 10px;
  flex-shrink: 0;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.pmd-sheet-nav-left  { display: flex; justify-content: flex-start; }
.pmd-sheet-nav-right { display: flex; justify-content: flex-end; }
.pmd-sheet-nav-center h3 {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.3px;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
  margin: 0;
  word-break: break-word;
}

.pmd-sheet-sep { height: 0.5px; background: #e9ecef; margin: 0 18px; flex-shrink: 0; }

.pmd-xbtn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.07);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
  color: #374151;
  padding: 0;
}
.pmd-xbtn:hover { background: rgba(0, 0, 0, 0.13); }
.pmd-xbtn svg { width: 11px; height: 11px; display: block; }

.pmd-back-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #dc3545;
  font-size: 13px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px 4px 2px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s;
  font-family: inherit;
}
.pmd-back-btn:hover { background: rgba(220, 53, 69, 0.08); }
.pmd-back-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

#pmd-sheet-scroll { overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }
#pmd-sheet-scroll::-webkit-scrollbar { display: none; }

.pmd-ev-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  cursor: pointer;
  position: relative;
  transition: background 0.1s;
}
.pmd-ev-row:hover { background: rgba(0, 0, 0, 0.025); }
.pmd-ev-row::after {
  content: '';
  position: absolute;
  bottom: 0; left: 68px; right: 0;
  height: 0.5px;
  background: #f3f4f6;
}
.pmd-ev-row:last-child::after { display: none; }

.pmd-ev-dot {
  width: 40px; height: 40px; border-radius: 50%;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
  border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.pmd-ev-dot.pmd-past { opacity: 0.52; filter: grayscale(20%); }
.pmd-ev-info { flex: 1; min-width: 0; }
.pmd-ev-name { font-size: 13.5px; font-weight: 600; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pmd-ev-sub  { font-size: 12px; color: #9ca3af; margin-top: 1px; }
.pmd-ev-chip { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 99px; flex-shrink: 0; letter-spacing: 0.02em; white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; align-self: center; }
.pmd-past-pill { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 99px; background: #f3f4f6; color: #9ca3af; display: flex; align-items: center; gap: 3px; }
.pmd-ev-chev { flex-shrink: 0; color: #d1d5db; margin-left: 2px; }

.pmd-detail-body { padding: 12px 18px 24px 18px; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; max-width: 560px; margin: 0 auto; }
.pmd-detail-title { font-size: 1rem; font-weight: 700; color: #111827; line-height: 1.3; margin-bottom: 12px; }

.pmd-info-row { margin-bottom: 4px; font-size: 0.80rem; color: #111827; line-height: 1.4; }
.pmd-info-row strong { font-size: 0.72rem; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; margin-right: 6px; }
.pmd-info-row a { color: #0d6efd; word-break: break-all; }

.pmd-social-row { display: flex; gap: 8px; margin: 12px 0 4px; }
.pmd-soc-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; transition: opacity 0.15s; text-decoration: none;
}
.pmd-soc-icon:hover { opacity: 0.85; }
.pmd-soc-icon i { font-size: 17px; color: #fff; }

.pmd-detail-divider { display: none; }

.pmd-action-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.pmd-action-link {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.82rem; color: #374151;
  cursor: pointer; background: none; border: none; padding: 0;
  font-family: inherit; text-decoration: none;
}
.pmd-action-link i { font-size: 14px; color: #6b7280; }

/* Primary action gumbi */
.pmd-action-primary {
  padding: 9px 18px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  flex: 0 0 auto !important;
  align-self: flex-start !important;
  margin-bottom: 4px;
  text-decoration: none;
}
.pmd-action-primary i { color: #fff !important; font-size: 13px; }
.pmd-action-indigo { background: #6366f1; }
.pmd-action-blue   { background: #0d6efd; }
.pmd-action-red    { background: #dc3545; }
.pmd-action-primary:hover { opacity: 0.88; }

.pmd-premium-slot {
  flex: 1;
  min-height: 40px;
  margin-top: 12px;
  border-radius: 10px;
  border: 1.5px dashed #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: #d1d5db;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: default;
}

.pmd-action-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  border: none;
  background: #f3f4f6;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.15s;
  flex: 0 0 auto !important;
  width: auto !important;
}
.pmd-action-outline:hover { background: #e5e7eb; }
.pmd-action-outline i { font-size: 13px; color: #6b7280; }

/* =============================================
   PMD CUSTOM CLUSTER
   ============================================= */

.pmd-cluster-wrap { position: relative; width: 36px; height: 36px; }
.pmd-cluster-circle {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2.5px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 12px; color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  cursor: pointer;
}
.pmd-cluster-count {
  position: absolute; top: -5px; right: -7px;
  background: #fff; color: #111;
  font-size: 9px; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  padding: 0 3px; border: 1px solid #eee;
}
/* Cluster that contains only past events — muted */
.pmd-cluster-wrap.pmd-cluster-past .pmd-cluster-circle {
  opacity: 0.55;
  filter: grayscale(25%);
}

/* =============================================
   PMD PAST EVENT MARKERI
   ============================================= */

/* Past marker — muted */
.custom-marker.marker-past {
  opacity: 0.52;
  filter: grayscale(25%);
}

/* Wrap za pozicioniranje clock badge-a */
.pmd-marker-wrap { position: relative; display: inline-flex; }

/* Clock badge na past markerima */
.pmd-marker-clock {
  position: absolute;
  bottom: -3px; right: -4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.22);
  border: 1px solid #e5e7eb;
  pointer-events: none;
}
.pmd-marker-clock svg { width: 9px; height: 9px; display: block; }

/* Past event badge u listi */
.pmd-past-badge {
  display: inline-block;
  font-size: 10px; background: #e9ecef; color: #6c757d;
  padding: 2px 7px; border-radius: 99px;
  font-weight: 600; margin-left: 6px; vertical-align: middle;
}

/* =============================================
   PMD PAST / UPCOMING BANNERI (u detail sheetu)
   ============================================= */

.pmd-past-banner {
  display: flex; align-items: flex-start; gap: 10px;
  background: #f8f9ff; border: 1px solid #e0e7ff;
  border-radius: 12px; padding: 12px 14px; margin-bottom: 14px;
}
.pmd-past-banner-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: #e0e7ff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.pmd-past-banner-title { font-size: 13px; font-weight: 700; color: #3730a3; margin-bottom: 2px; }
.pmd-past-banner-sub   { font-size: 12px; color: #6366f1; line-height: 1.4; }

.pmd-upcoming-banner {
  display: flex; align-items: center; gap: 10px;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: 12px; padding: 10px 14px; margin-bottom: 14px;
}
.pmd-upcoming-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; flex-shrink: 0;
  animation: pmd-pulse 2s infinite;
}
@keyframes pmd-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}
.pmd-upcoming-text { font-size: 12px; font-weight: 600; color: #15803d; }

/* =============================================
   COUNT BADGE — subtle pop when data loads
   ============================================= */

@keyframes pmd-count-pop {
  0% {
    transform: scale(0.88);
    opacity: 0.55;
  }
  45% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.pmd-fb-cnt.pmd-count-pop {
  animation: pmd-count-pop 0.48s var(--pmd-ease-out, cubic-bezier(0.22, 1, 0.36, 1)) both;
  transform-origin: center center;
}

@media (prefers-reduced-motion: reduce) {
  .pmd-fb-cnt.pmd-count-pop {
    animation: none;
  }
}

/* Near me: same strip height as categories; sharp corners */
#pmd-filter-bar .pmd-geo-btn.pmd-fb-near {
  background: linear-gradient(180deg, #ef4a5f 0%, #dc3545 55%, #c82333 100%) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
}
#pmd-filter-bar .pmd-geo-btn.pmd-fb-near .pmd-fb-icon,
#pmd-filter-bar .pmd-geo-btn.pmd-fb-near .pmd-fb-label {
  color: #fff !important;
}

@media (min-width: 768px) {
  #pmd-sheet {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(calc(100% + 32px));
    width: 560px;
    border-radius: 20px;
    bottom: 24px;
  }
  #pmd-sheet.pmd-sheet-open {
    transform: translateX(-50%) translateY(0);
  }
}

/* ── Search: autocomplete dropdown ── */
.pmd-autocomplete {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  box-shadow: 0 8px 30px -8px rgba(15, 23, 42, 0.18);
  z-index: 1100;
  overflow: hidden;
  display: none;
  padding: 4px 0;
  max-height: min(60vh, 320px);
  overflow-y: auto;
}
.pmd-ac-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 8px 14px 3px;
}
.pmd-ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  cursor: pointer;
  font-size: 13px;
  color: #1e293b;
  transition: background 0.1s;
}
.pmd-ac-item:hover,
.pmd-ac-item.pmd-ac-active {
  background: #f1f5f9;
}
.pmd-ac-icon {
  font-size: 13px;
  width: 16px;
  text-align: center;
  color: #64748b;
  flex-shrink: 0;
}
.pmd-ac-city .pmd-ac-icon { color: #dc3545; }
.pmd-ac-style .pmd-ac-icon { color: #6366f1; }
.pmd-ac-studio .pmd-ac-icon { color: #0d6efd; }

.pmd-ac-divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.06);
  margin: 4px 14px;
}

@media (prefers-color-scheme: dark) {
  .pmd-autocomplete {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
  }
  .pmd-ac-item { color: #e2e8f0; }
  .pmd-ac-item:hover,
  .pmd-ac-item.pmd-ac-active { background: #334155; }
  .pmd-ac-divider {
    background: rgba(255, 255, 255, 0.08);
  }
}

/* ── Search: live result badge ── */
.pmd-result-badge {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 120px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  z-index: 900;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px -4px rgba(15, 23, 42, 0.15);
  pointer-events: none;
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  text-overflow: ellipsis;
  overflow: hidden;
}
.pmd-result-badge-empty {
  color: #dc3545;
  border-color: rgba(220, 53, 69, 0.25);
}