body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

* {
  box-sizing: border-box;
}

#root {
  height: 100vh;
  width: 100vw;
}

.leaflet-container {
  height: 100%;
  width: 100%;
  background: #f8f9fa !important;
}

/* Stylowanie mapy - standardowe kolory */
.leaflet-tile-pane {
  filter: brightness(1.1) contrast(0.9) saturate(0.8);
}

.leaflet-tile {
  filter: hue-rotate(10deg) brightness(1.2);
}

.filter-panel {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  min-width: 320px;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile responsive design */
@media (max-width: 768px) {
  .filter-panel {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    min-width: auto;
    max-width: none;
    width: calc(100vw - 20px);
    max-height: 25vh; /* Zmniejszone z 30vh */
    padding: 6px; /* Zmniejszone z 8px */
    border-radius: 6px; /* Zmniejszone z 8px */
    font-size: 11px; /* Zmniejszone z 12px */
    transition: all 0.3s ease;
    transform: translateY(0);
    opacity: 1;
  }
  
  .filter-panel.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }
  
  .filter-panel h2 {
    font-size: 1rem; /* Zmniejszone z 1.1rem */
    margin-bottom: 6px; /* Zmniejszone z 8px */
  }
  
  .filter-group {
    margin-bottom: 6px; /* Zmniejszone z 8px */
  }
  
  .filter-group input,
  .filter-group select {
    font-size: 12px; /* Zmniejszone z 14px */
    padding: 4px 6px; /* Zmniejszone z 6px 8px */
  }
  
  /* Układ obok siebie dla miasto i typ eventu */
  .filter-row {
    display: flex;
    gap: 6px; /* Zmniejszone z 8px */
    margin-bottom: 6px; /* Zmniejszone z 8px */
  }
  
  .filter-row .filter-group {
    flex: 1 1;
    margin-bottom: 0;
  }
  
  .filter-row .filter-group input,
  .filter-row .filter-group select {
    width: 100%;
    font-size: 12px; /* Zmniejszone z 14px */
    padding: 4px 6px; /* Zmniejszone z 6px 8px */
  }
  
  .filter-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .filter-actions button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }
  
  /* Ukryj przycisk "Wyczyść filtry" na mobile */
  .clear-btn {
    display: none;
  }
  
  /* Mobile buttons - nowy układ w lewym dolnym rogu */
  .main-page-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .search-toggle-btn {
    position: static !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
    margin: 0 !important;
    transform: none !important;
  }
  
  .add-event-btn {
    position: static !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
    margin: 0 !important;
    transform: none !important;
  }
  
  /* Filter panel header */
  .filter-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .filter-close-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  }
  
  .filter-close-btn:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  }
  
  /* Show filter button */
  .filter-show-btn {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 1001 !important;
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    animation: pulse 2s infinite !important;
  }
  
  .filter-show-btn:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    animation: none;
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
    50% {
      box-shadow: 0 4px 15px rgba(102, 126, 234, 0.6);
    }
    100% {
      box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
  }
  
  /* Mobile search panel */
  .search-panel {
    width: 100vw;
    right: -100vw;
  }
  
  .search-panel-open {
    right: 0;
  }
  
  /* Mobile promo section */
  .promo-section {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 10px;
    font-size: 14px;
  }
  
  /* Mobile event markers - większe dla łatwiejszego klikania */
  .leaflet-marker-icon {
    transform: scale(1.2);
  }
  
  /* Mobile touch targets */
  button, input, select {
    min-height: 44px; /* Apple HIG recommendation */
  }
  
  /* Mobile scroll optimization */
  .filter-panel {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Ukryj przyciski zoom na mobile */
  .leaflet-control-zoom {
    display: none !important;
  }
  
  
  /* Przycisk do pokazywania panelu (tylko na mobile) */
  .filter-show-btn {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    background: linear-gradient(135deg, #6c757d, #5a6268) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    font-size: 24px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
  }
  
  .filter-show-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4) !important;
  }
  
  /* Przyciski na mobile - lupka po lewej */
  .main-page-buttons {
    position: fixed;
    bottom: 80px; /* Wyżej niż pasek reklamowy */
    left: 20px;
    z-index: 1000;
  }
  
  /* Plus po prawej stronie na mobile */
  .add-event-btn-mobile {
    position: fixed;
    bottom: 80px; /* Wyżej niż pasek reklamowy */
    right: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    font-size: 20px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }
  
  .add-event-btn-mobile:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  
  .main-page-buttons .search-toggle-btn,
  .main-page-buttons .add-event-btn {
    position: static !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
    border-radius: 50% !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
  }
  
  /* Reset dla desktop - przywróć oryginalne style */
  @media (min-width: 769px) {
    .main-page-buttons .search-toggle-btn,
    .main-page-buttons .add-event-btn {
      position: fixed !important;
      width: 60px !important;
      height: 60px !important;
      font-size: 24px !important;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    }
    
    .main-page-buttons .search-toggle-btn {
      top: calc(50% - 100px) !important;
      right: 20px !important;
      transform: translateY(-50%) !important;
    }
    
    .main-page-buttons .add-event-btn {
      top: calc(50% + 20px) !important;
      right: 20px !important;
      transform: translateY(-50%) !important;
    }
  }
  
  .main-page-buttons .search-toggle-btn {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: white !important;
  }
  
  .main-page-buttons .add-event-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049) !important;
    color: white !important;
  }
  
  .main-page-buttons .search-toggle-btn:hover,
  .main-page-buttons .add-event-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  }
}

/* Desktop - ukryj przycisk zamykania panelu i przywróć oryginalne pozycje */
@media (min-width: 769px) {
  .filter-close-btn {
    display: none;
  }
  
  .filter-show-btn {
    display: none;
  }
  
  /* Przywróć oryginalne pozycje przycisków na desktop */
  .main-page-buttons {
    position: static;
    display: contents;
  }
  
  .search-toggle-btn {
    position: fixed !important;
    top: calc(50% - 100px) !important;
    right: 20px !important;
    width: 60px !important;
    height: 60px !important;
    font-size: 24px !important;
    transform: translateY(-50%) !important;
  }
  
  .add-event-btn {
    position: fixed !important;
    top: calc(50% + 20px) !important;
    right: 20px !important;
    width: 60px !important;
    height: 60px !important;
    font-size: 24px !important;
    transform: translateY(-50%) !important;
  }
  
  /* Ukryj mobile plus na desktop */
  .add-event-btn-mobile {
    display: none;
  }
  
}

/* Mobile styles */
@media (max-width: 768px) {
  /* Ukryj przyciski zoom na mobile */
  .leaflet-control-zoom {
    display: none !important;
  }
  
  /* Przyciski na mobile - na maksymalnych krawędziach */
  .main-page-buttons {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: none; /* Pozwala na kliknięcie przycisków */
  }
  
  .search-toggle-btn {
    position: absolute !important;
    left: 10px !important; /* Maksymalnie po lewej */
    bottom: 0 !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
    transform: none !important;
    border-radius: 50% !important;
    border: none !important;
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    color: white !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important; /* Pozwala na kliknięcie */
  }
  
  .add-event-btn-mobile {
    position: absolute !important;
    right: 10px !important; /* Maksymalnie po prawej */
    bottom: 0 !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
    transform: none !important;
    border-radius: 50% !important;
    border: none !important;
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: white !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important; /* Pozwala na kliknięcie */
  }
  
  
  /* Panel filtrów na mobile */
  .filter-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 999;
    max-height: 25vh;
    padding: 6px;
    border-radius: 6px;
    font-size: 11px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }
  
  .filter-panel.visible {
    transform: translateY(0);
  }
  
  .filter-panel h2 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  
  .filter-group {
    margin-bottom: 6px;
  }
  
  .filter-group input,
  .filter-group select {
    font-size: 12px;
    padding: 4px 6px;
  }
  
  .filter-row {
    display: flex;
    gap: 6px;
  }
  
  .filter-row .filter-group {
    flex: 1 1;
  }
  
  /* Ukryj przycisk "Wyczyść filtry" na mobile */
  .clear-btn {
    display: none !important;
  }
  
  /* Przycisk do pokazywania panelu (tylko na mobile) */
  .filter-show-btn {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: none !important;
    background: linear-gradient(135deg, #6c757d, #5a6268) !important;
    color: white !important;
    font-size: 18px !important;
    cursor: pointer !important;
    z-index: 1001 !important;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .filter-show-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(108, 117, 125, 0.4) !important;
  }
  
  /* Przycisk do zamykania panelu */
  .filter-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .filter-close-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
  }
}

/* Desktop styles */
@media (min-width: 769px) {
  .main-page-buttons {
    display: none;
  }
  
  .search-toggle-btn-desktop {
    position: fixed !important;
    top: calc(50% - 100px) !important;
    right: 20px !important;
    width: 60px !important;
    height: 60px !important;
    font-size: 24px !important;
    transform: translateY(-50%) !important;
    border-radius: 50% !important;
    border: none !important;
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    color: white !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .add-event-btn-desktop {
    position: fixed !important;
    top: calc(50% + 20px) !important;
    right: 20px !important;
    width: 60px !important;
    height: 60px !important;
    font-size: 24px !important;
    transform: translateY(-50%) !important;
    border-radius: 50% !important;
    border: none !important;
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: white !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* Ukryj mobile plus na desktop */
  .add-event-btn-mobile {
    display: none;
  }
  
  /* Ukryj przyciski panelu na desktop */
  .filter-show-btn,
  .filter-close-btn {
    display: none !important;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .filter-panel {
    padding: 8px;
    max-height: 35vh;
    font-size: 13px;
  }
  
  .filter-panel h2 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  
  .filter-group {
    margin-bottom: 8px;
  }
  
  .filter-group input,
  .filter-group select {
    padding: 6px 8px;
    font-size: 14px;
  }
  
  .add-event-btn {
    width: 45px !important;
    height: 45px !important;
    font-size: 18px !important;
  }
}

.filter-panel h2 {
  margin-top: 0;
  color: #2c3e50;
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: center;
}

.filter-group {
  margin-bottom: 18px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #34495e;
  font-size: 14px;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e1e8ed;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Style dla paska wyszukiwania */
.search-group {
  margin-bottom: 20px;
  padding: 15px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  border: 2px solid #e1e8ed;
}

.search-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: #2c3e50;
  font-size: 15px;
}

.search-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e1e8ed;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.search-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
  transform: translateY(-1px);
}

.search-input::placeholder {
  color: #95a5a6;
  font-style: italic;
}

/* Wysuwany panel wyszukiwania artystów */
.search-toggle-btn {
  position: fixed;
  top: calc(50% - 60px);
  right: 20px;
  transform: translateY(-50%);
  z-index: 1001;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-toggle-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

/* Przycisk dodawania wydarzenia */
.add-event-btn {
  position: fixed !important;
  top: calc(50% + 60px) !important;
  right: 20px !important;
  transform: translateY(-50%) !important;
  z-index: 1001 !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  border: none !important;
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  color: white !important;
  font-size: 24px !important;
  cursor: pointer !important;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3) !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 60px !important;
  min-width: 60px !important;
}

.add-event-btn:hover {
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4) !important;
}

.search-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  z-index: 1000;
  transition: right 0.4s ease;
  box-shadow: -5px 0 25px rgba(0,0,0,0.1);
  border-left: 3px solid #667eea;
}

.search-panel-open {
  right: 0;
}

.search-panel-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.search-panel-header {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-panel-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.search-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.search-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.search-panel-body {
  padding: 30px 25px;
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.artist-search-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e1e8ed;
  border-radius: 15px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.artist-search-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
  transform: translateY(-2px);
}

.artist-search-input::placeholder {
  color: #95a5a6;
  font-style: italic;
}

.search-results-info {
  background: white;
  padding: 15px 20px;
  border-radius: 12px;
  border-left: 4px solid #667eea;
  font-weight: 600;
  color: #2c3e50;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.clear-search-btn {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.clear-search-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.clear-search-btn:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Style dla wyników wyszukiwania */
.search-results-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.search-results-list {
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-result-item {
  background: white;
  border: 2px solid #e1e8ed;
  border-radius: 12px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.search-result-item:hover {
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.search-result-name {
  font-weight: 700;
  color: #2c3e50;
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.search-result-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: #7f8c8d;
}

.search-result-date {
  font-weight: 600;
  color: #667eea;
}

.search-result-city {
  font-weight: 500;
  color: #34495e;
}

.search-result-type {
  font-weight: 500;
  color: #27ae60;
}

/* Scrollbar dla wyników wyszukiwania */
.search-results-list::-webkit-scrollbar {
  width: 6px;
}

.search-results-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.search-results-list::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.search-results-list::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.clear-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  margin-top: 15px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.clear-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.add-event-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.add-event-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.logout-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.login-required-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #6c757d, #5a6268);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.login-required-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
}

.event-count {
  margin-top: 20px;
  font-size: 14px;
  color: #7f8c8d;
  text-align: center;
  padding: 10px;
  background: rgba(52, 73, 94, 0.05);
  border-radius: 8px;
}

.event-count strong {
  color: #2c3e50;
  font-size: 16px;
}

.event-popup {
  max-width: 320px;
  font-family: inherit;
}

.event-popup h3 {
  margin: 0 0 12px 0;
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 600;
}

.event-popup p {
  margin: 8px 0;
  color: #7f8c8d;
  line-height: 1.4;
}

.event-popup .date {
  font-weight: 600;
  color: #e74c3c;
  font-size: 15px;
}

.event-popup .location {
  color: #95a5a6;
  font-style: italic;
  font-size: 14px;
}

.popup-actions {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e1e8ed;
  text-align: center;
}

.delete-event-btn {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.delete-event-btn:hover {
  background: #c0392b;
  transform: translateY(-1px);
}

.event-popup a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

.event-popup a:hover {
  text-decoration: underline;
}

.no-events {
  text-align: center;
  color: #95a5a6;
  font-style: italic;
  padding: 30px;
  font-size: 16px;
}

/* Custom map controls */
.leaflet-control-zoom {
  border-radius: 10px !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.leaflet-control-zoom a {
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: #2c3e50 !important;
  font-weight: 600;
}

.leaflet-control-zoom a:hover {
  background: #667eea !important;
  color: white !important;
}

/* Formularz logowania */
.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.login-form {
  background: white;
  border-radius: 15px;
  padding: 0;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px 20px;
  border-bottom: 1px solid #e1e8ed;
}

.login-header h2 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.4rem;
}

.login-info {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 13px;
  color: #6c757d;
}

.login-info p {
  margin: 5px 0;
}

.login-info code {
  background: #e9ecef;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
}

.login-btn {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

/* Formularz dodawania eventów */
.event-form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.event-form {
  background: white;
  border-radius: 15px;
  padding: 0;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.event-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px 20px;
  border-bottom: 1px solid #e1e8ed;
}

.event-form-header h2 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.5rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #95a5a6;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: #e74c3c;
  color: white;
}

.event-form form {
  padding: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  color: #34495e;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 2px solid #e1e8ed;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: inherit;
  background-color: white;
}

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27currentColor%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpolyline points=%276,9 12,15 18,9%27%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.error-message {
  background: #fee;
  color: #c33;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #fcc;
  font-size: 14px;
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e1e8ed;
}

.cancel-btn,
.submit-btn {
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.cancel-btn {
  background: #95a5a6;
  color: white;
}

.cancel-btn:hover {
  background: #7f8c8d;
  transform: translateY(-2px);
}

.submit-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}


/* Strona logowania administratora */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}

.admin-login-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.admin-login-form h1 {
  color: #2c3e50;
  margin-bottom: 20px;
}

.admin-login-form p {
  color: #7f8c8d;
  margin-bottom: 20px;
}

.password-input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e1e8ed;
  border-radius: 10px;
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.password-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.admin-info {
  margin-top: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 14px;
  color: #6c757d;
}

/* Dashboard administratora */
.admin-dashboard {
  min-height: 100vh;
  background: #f8f9fa;
  padding: 20px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.admin-header h1 {
  color: #2c3e50;
  margin: 0;
}

.admin-actions {
  display: flex;
  gap: 15px;
}

.logout-btn {
  padding: 10px 20px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.logout-btn:hover {
  background: #c82333;
  transform: translateY(-2px);
}

.view-site-btn {
  padding: 10px 20px;
  background: #28a745;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.view-site-btn:hover {
  background: #218838;
  transform: translateY(-2px);
  color: white;
}

.admin-controls {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.admin-controls button,
.admin-controls label {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.add-event-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.add-event-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.refresh-btn {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

.refresh-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.export-btn {
  background: linear-gradient(135deg, #17a2b8, #138496);
  color: white;
}

.export-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(23, 162, 184, 0.4);
}

.import-btn {
  background: linear-gradient(135deg, #ffc107, #e0a800);
  color: #212529;
}

.import-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.events-list {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.events-list h2 {
  color: #2c3e50;
  margin-bottom: 20px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.event-card {
  border: 1px solid #e1e8ed;
  border-radius: 10px;
  padding: 20px;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.event-header h3 {
  color: #2c3e50;
  margin: 0;
  font-size: 1.1rem;
}

.delete-btn {
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.delete-btn:hover {
  background: #c82333;
  transform: scale(1.1);
}

.event-details p {
  margin: 8px 0;
  color: #6c757d;
  font-size: 14px;
}

.event-details strong {
  color: #495057;
}

/* Login Form Component */
.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 20px;
}

.login-form {
  background: white;
  border-radius: 15px;
  padding: 0;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px 20px;
  border-bottom: 1px solid #e1e8ed;
}

.login-header h2 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.5rem;
}

.login-form form {
  padding: 30px;
}

.password-input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e1e8ed;
  border-radius: 10px;
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.password-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.otp-input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e1e8ed;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Courier New', monospace;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 1px;
}

.otp-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.otp-info {
  background: #e3f2fd;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.otp-info p {
  margin: 8px 0;
  color: #1976d2;
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.back-btn {
  background: #6c757d;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

.verify-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.verify-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.otp-help {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e1e8ed;
}

.resend-btn {
  background: #ffc107;
  color: #212529;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.resend-btn:hover {
  background: #e0a800;
  transform: translateY(-1px);
}

/* Style dla filtrów w panelu administracyjnym */
.admin-filters {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  gap: 15px;
  align-items: end;
  flex-wrap: wrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-filters .filter-group {
  display: flex;
  flex-direction: column;
  min-width: 150px;
}

.admin-filters .filter-group label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 5px;
  font-size: 14px;
}

.admin-filters .filter-group select {
  padding: 8px 12px;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  font-size: 14px;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.admin-filters .filter-group select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.clear-filters-btn {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  height: -webkit-fit-content;
  height: fit-content;
}

.clear-filters-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Style dla checkboxa i pomocy */
.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 10px;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
  cursor: pointer;
}

.checkbox-text {
  font-weight: 600;
  color: #495057;
  font-size: 14px;
}

.help-text {
  color: #6c757d;
  font-size: 12px;
  margin-top: 5px;
  font-style: italic;
}

/* Responsywność - usunięto duplikat media query */

/* Style dla edycji eventów */
.event-actions {
  display: flex;
  gap: 8px;
}

.edit-btn {
  background: #3498db;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.edit-btn:hover {
  background: #2980b9;
  transform: scale(1.1);
}
 
 / *   S t y l e   d l a   n o w y c h   f u n k c j o n a l n o 9: c i   * / 
 
 
 
 /* Style dla nowych funkcjonalności */

/* Przycisk dodawania wydarzenia */
.add-event-btn {
    position: fixed;
  top: calc(50% + 60px);
  right: 20px;
  transform: translateY(-50%);
  z-index: 1001;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-event-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

/* Sekcja promocyjna */
.promo-section {
  margin-top: 20px;
  padding: 15px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 10px;
  text-align: center;
}

.promo-text {
    margin: 0;
  color: #2c3e50;
  font-size: 14px;
}

.promo-link {
  color: #667eea;
  text-decoration: none;
  font-weight: bold;
}

.promo-link:hover {
  text-decoration: underline;
}

/* Strona About */
.about-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px 20px;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-container h1 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5em;
}

.about-container h2 {
  color: #667eea;
  margin-top: 30px;
    margin-bottom: 15px;
  }
  
.about-content p {
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
  font-size: 16px;
}

.contact-link {
  color: #667eea;
  text-decoration: none;
  font-weight: bold;
}

.contact-link:hover {
  text-decoration: underline;
}

.support-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 20px 0;
}

.support-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.support-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.support-icon {
  font-size: 18px;
}

.back-link {
  text-align: center;
  margin-top: 40px;
}

.back-button {
  display: inline-block;
  padding: 12px 24px;
  background: #95a5a6;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.back-button:hover {
  background: #7f8c8d;
}

 
 /* Style dla zakładek administracyjnych */

.admin-tabs {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  border-bottom: 2px solid #e0e0e0;
}

.tab-btn {
  padding: 12px 24px;
  background: #f8f9fa;
  border: none;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  font-weight: bold;
  color: #666;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: #667eea;
  color: white;
}

.tab-btn:hover {
  background: #e9ecef;
}

.tab-btn.active:hover {
  background: #5a6fd8;
}

.tab-content {
  margin-top: 20px;
}

/* Style dla zgłoszeń */
.submissions-list {
  display: grid;
  grid-gap: 20px;
  gap: 20px;
}

.submission-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.submission-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
    margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.submission-header h3 {
  margin: 0;
  color: #2c3e50;
}

.submission-actions {
  display: flex;
  gap: 10px;
}

.approve-btn {
  background: #28a745;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.approve-btn:hover {
  background: #218838;
}

.reject-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.reject-btn:hover {
  background: #c82333;
}

.submission-details p {
  margin: 8px 0;
  color: #555;
}

.submission-details a {
  color: #667eea;
  text-decoration: none;
}

.submission-details a:hover {
  text-decoration: underline;
}

.no-submissions {
  text-align: center;
  padding: 40px;
  color: #666;
  font-style: italic;
}

/* Style dla formularza eventów */
.event-form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  }

  .event-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  }

  .event-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #eee;
}

.event-form-header h2 {
  margin: 0;
  color: #333;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  color: #333;
}

.form-group {
  margin-bottom: 20px;
  }

  .form-row {
  display: flex;
    gap: 15px;
}

.form-row .form-group {
  flex: 1 1;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  transform: scale(1.2);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
  }

  .form-actions {
  display: flex;
    gap: 10px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  }

  .cancel-btn,
  .submit-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cancel-btn {
  background-color: #f8f9fa;
  color: #6c757d;
  border: 1px solid #dee2e6;
}

.cancel-btn:hover {
  background-color: #e9ecef;
}

.submit-btn {
  background-color: #667eea;
  color: white;
}

.submit-btn:hover {
  background-color: #5a67d8;
}

/* Admin Panel Styles */
.admin-actions {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.admin-controls .add-event-btn {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.admin-controls .add-event-btn:hover {
  background: linear-gradient(135deg, #218838, #1e7e34);
  transform: translateY(-1px);
}

/* Style dla przycisku Dodaj nowy event w zakładkach */
.add-event-tab-btn {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  color: white !important;
  border: none !important;
  border-radius: 5px !important;
  margin-left: 10px !important;
}

.add-event-tab-btn:hover {
  background: linear-gradient(135deg, #218838, #1e7e34) !important;
  color: white !important;
}

/* Login Form Styles */
.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.login-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
  max-width: 400px;
  position: relative;
  }

.login-form.totp-setup {
  max-width: 500px;
}

.login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.login-header h2 {
  margin: 0;
  color: #333;
  font-size: 1.5em;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  color: #000;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.username-input,
.password-input,
.totp-input {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

.username-input:focus,
.password-input:focus,
.totp-input:focus {
  outline: none;
  border-color: #007bff;
}

.totp-input {
  text-align: center;
  font-size: 18px;
  letter-spacing: 2px;
}

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.cancel-btn,
.back-btn {
  padding: 10px 20px;
  background: #6c757d;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.cancel-btn:hover,
.back-btn:hover {
  background: #5a6268;
}

.submit-btn {
  padding: 10px 20px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.submit-btn:hover {
  background: #0056b3;
}

.submit-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  border: 1px solid #f5c6cb;
}

/* TOTP Setup Styles */
.totp-setup-content {
  text-align: center;
}

.totp-setup-content p {
  margin: 15px 0;
  color: #333;
  line-height: 1.5;
}

.qr-code-container {
  margin: 20px 0;
  display: flex;
  justify-content: center;
}

.qr-code {
  max-width: 200px;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.secret-code {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 15px;
  margin: 15px 0;
  word-break: break-all;
}

.secret-code code {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #495057;
}

/* Panel filtrowania */
.filter-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  z-index: 999;
  max-height: 25vh;
  padding: 6px;
  border-radius: 6px;
  font-size: 11px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

/* Panel filtrowania na mobile */
@media (max-width: 768px) {
  .filter-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 999;
    max-height: 25vh;
    padding: 6px;
    border-radius: 6px;
    font-size: 11px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }

  .filter-panel.visible {
    transform: translateY(0);
  }
}

.filter-panel.visible {
  transform: translateY(0);
}

.filter-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.filter-panel h2 {
  font-size: 1rem;
  margin: 0;
  color: #2c3e50;
}

.filter-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.filter-close-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.filter-group {
  margin-bottom: 6px;
}

.filter-group label {
  display: block;
  margin-bottom: 3px;
  font-weight: 600;
  color: #34495e;
  font-size: 12px;
}

.filter-group input,
.filter-group select {
  width: 100%;
  padding: 4px 6px;
  border: 1px solid #e1e8ed;
  border-radius: 4px;
  font-size: 12px;
  background: white;
}

.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.filter-row {
  display: flex;
  gap: 6px;
}

.filter-row .filter-group {
  flex: 1 1;
}

.clear-btn {
  display: none !important; /* Ukryj na mobile */
}

/* Przycisk do pokazywania panelu filtrowania */
.filter-show-btn {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: none !important;
  background: linear-gradient(135deg, #6c757d, #5a6268) !important;
  color: white !important;
  font-size: 18px !important;
  cursor: pointer !important;
  z-index: 1001 !important;
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3) !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.filter-show-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(108, 117, 125, 0.4) !important;
}

/* Panel wyszukiwania artystów */
.search-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  z-index: 1000;
  transition: right 0.4s ease;
  box-shadow: -5px 0 25px rgba(0,0,0,0.1);
  border-left: 3px solid #667eea;
}

.search-panel-open {
  right: 0;
}

.search-panel-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.search-panel-header {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-panel-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.search-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.search-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.search-panel-body {
  padding: 30px 25px;
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.artist-search-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e1e8ed;
  border-radius: 15px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.artist-search-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
  transform: translateY(-2px);
}

.artist-search-input::placeholder {
  color: #95a5a6;
  font-style: italic;
}

.search-results-info {
  background: white;
  padding: 15px 20px;
  border-radius: 12px;
  border-left: 4px solid #667eea;
  font-weight: 600;
  color: #2c3e50;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.clear-search-btn {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.clear-search-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.clear-search-btn:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Style dla wyników wyszukiwania */
.search-results-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.search-results-list {
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-result-item {
  background: white;
  border: 2px solid #e1e8ed;
  border-radius: 12px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.search-result-item:hover {
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.search-result-name {
  font-weight: 700;
  color: #2c3e50;
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.search-result-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: #7f8c8d;
}

.search-result-date {
  font-weight: 600;
  color: #667eea;
}

.search-result-city {
  font-weight: 500;
  color: #34495e;
}

.search-result-type {
  font-weight: 500;
  color: #27ae60;
}

/* Scrollbar dla wyników wyszukiwania */
.search-results-list::-webkit-scrollbar {
  width: 6px;
}

.search-results-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.search-results-list::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.search-results-list::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Pasek reklamowy na desktop */
.desktop-ad-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: white;
  border-top: 2px solid #e9ecef;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.desktop-ad-banner ins {
  width: 100%;
  height: 100%;
  max-width: 728px;
  max-height: 90px;
}

/* Desktop styles */
@media (min-width: 769px) {
  .search-toggle-btn-desktop {
    position: fixed !important;
    top: calc(50% - 100px) !important;
    right: 20px !important;
    width: 60px !important;
    height: 60px !important;
    font-size: 24px !important;
    transform: translateY(-50%) !important;
    border-radius: 50% !important;
    border: none !important;
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    color: white !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1000 !important;
  }

  .add-event-btn-desktop {
    position: fixed !important;
    top: calc(50% + 20px) !important;
    right: 20px !important;
    width: 60px !important;
    height: 60px !important;
    font-size: 24px !important;
    transform: translateY(-50%) !important;
    border-radius: 50% !important;
    border: none !important;
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: white !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1000 !important;
  }

  .search-toggle-btn-desktop:hover,
  .add-event-btn-desktop:hover {
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3) !important;
  }

  /* Ukryj mobile'owe przyciski na desktop */
  .main-page-buttons,
  .search-toggle-btn,
  .add-event-btn-mobile,
  .filter-show-btn,
  .filter-close-btn {
    display: none !important;
  }

  /* Pozycjonowanie zoomControl na desktopie */
  .leaflet-control-zoom {
    bottom: 100px !important; /* Nad paskiem reklamowym */
    top: auto !important;
    right: 20px !important;
  }
}

/* Mobile styles dla panelu wyszukiwania artystów */
@media (max-width: 768px) {
  .search-panel {
    width: 100vw !important;
    right: -100vw !important;
  }

  .search-panel-open {
    right: 0 !important;
  }

  .search-panel-header {
    padding: 20px !important;
  }

  .search-panel-header h3 {
    font-size: 16px !important;
  }

  .search-panel-body {
    padding: 20px !important;
  }

  .artist-search-input {
    font-size: 16px !important;
    padding: 14px 16px !important;
  }

  .search-results-list {
    max-height: 250px !important;
  }

  /* Ukryj pasek reklamowy na mobile */
  .desktop-ad-banner {
    display: none !important;
  }
}

/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;
	transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

