.studiografix-map-wrapper {
  width: 100%;
  height: 400px;
  position: relative;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
}

#studiografix-map {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 10px;
}

.map-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 5px;
  pointer-events: none;
}

/* Styly pro popup */
.trip-popup {
  text-align: center;
  min-width: 150px;
}

.trip-popup h4 {
  margin: 0 0 10px 0;
  font-size: 15px;
  color: #333;
  font-family: "Outfit", sans-serif;
}

.price p, .price-free P {

   margin: 5px 0 !imporatnt;
   margin: 5em 0 !imporatnt;
}

.trip-popup p {
  margin: 5px 0;
  font-size: 14px;
}

.trip-popup .btn {
  display: inline-block;
  padding: 5px 10px;
  background-color: #007cba;
  color: white;
  text-decoration: none;
  border-radius: 3px;
  font-size: 12px;
  margin-top: 5px;
}

.trip-popup .btn:hover {
  background-color: #005a87;
  color: white;
  text-decoration: none;
}

/* Responsive design */
@media (max-width: 768px) {
  .studiografix-map-wrapper {
    height: 300px;
  }
  
  #studiografix-map {
    min-height: 250px;
  }
}

/* Přizpůsobení pro Leaflet */
.leaflet-popup-content-wrapper {
  border-radius: 5px;
}

.leaflet-popup-tip {
  background: white;
}

/* Základní styly pro mapu */
.studiografix-map-container {
  width: 100%;
  position: relative;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Vlastní styly pro clustery */
.marker-cluster {
  background-clip: padding-box;
  border-radius: 50%;
}

.marker-cluster div {
  width: 36px;
  height: 36px;
  margin-left: 2px;
  margin-top: 2px;
  text-align: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marker-cluster-small {
  background-color: rgba(181, 226, 140, 0.6);
}

.marker-cluster-small div {
  background-color: rgba(110, 204, 57, 0.6);
}

.marker-cluster-medium {
  background-color: rgba(241, 211, 87, 0.6);
}

.marker-cluster-medium div {
  background-color: rgba(240, 194, 12, 0.6);
}

.marker-cluster-large {
  background-color: rgba(253, 156, 115, 0.6);
}

.marker-cluster-large div {
  background-color: rgba(241, 128, 23, 0.6);
}

/* Vlastní popup styly */
.custom-popup .leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.4);
}

.custom-popup .popup-content {
  padding: 10px;
}

.custom-popup .popup-content h4 {
  margin: 0 0 10px 0;
  color: #333;
}

/* Animace pro clustery */
.marker-cluster {
  transition: all 0.3s ease;
}

.marker-cluster:hover {
  transform: scale(1.1);
}