.gym.custom-marker .popup-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gym.custom-marker .popup-content {
  background-color: black;
  border-radius: 10px;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gym.custom-marker .popup-content img {
  width: 45px;
  height: 50px;
  border-radius: 5px;
  object-fit: cover;
}
.gym.custom-marker .popup-tip {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid black;
  margin-top: -1px;
}

.gym-direction-section {
  background-color: rgb(33, 37, 41);
}

button.gym-direction {
  border-radius: 5px;
  color: #fff;
  font-family: "DINRegular";
  font-size: 15px;
  background-color: #3d3d3d;
  border: 1px solid rgba(243, 243, 243, 1);
}
.gym-direction-btn {
  color: #fff;
  font-family: "DINRegular";
  text-transform: uppercase;
  font-size: 15px;
}

/* Yet Another React Lightbox Custom Styles */
.yarl__thumbnails_thumbnail {
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.yarl__thumbnails_thumbnail:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.yarl__thumbnails_thumbnail_active {
  border: 2px solid #fff !important;
  opacity: 1 !important;
}

/* Improve mobile touch experience */
@media (max-width: 768px) {
  .yarl__toolbar {
    padding: 8px !important;
  }

  .yarl__button {
    padding: 10px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  /* Better thumbnails on mobile */
  .yarl__thumbnails {
    padding: 8px !important;
  }
}

/* Yet Another React Lightbox - Ensure highest z-index above all mobile elements */
.yarl__container {
  z-index: 10000000 !important;
}

/* Ensure all lightbox portal elements maintain proper stacking */
.yarl__portal {
  z-index: 10000000 !important;
}
