.d-none {
  display: none !important;
}

.w-100 {
  width: 100% !important;
}

.mt-3 {
  margin-top: 15px !important;
}

.text-body-secondary {
  color: #777;
}
@media (min-width: 768px) {
.d-flex {
  display: flex;
}
}


.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-start {
  align-items: flex-start;
}

.align-items-center {
  align-items: center;
}

.gap-2 {
  gap: 8px;
}

.gap-3,
.row-gap-3 {
  gap: 15px;
}

.column-gap-5 {
  column-gap: 30px;
}

@media (min-width: 992px) {
  .flex-md-row {
    flex-direction: row;
  }
}

.spaces-map-filters form .mb-3 {
  margin-bottom: 0 !important;
}
.spaces-map-filters form .checkbox, .spaces-map-filters form .radio {
  margin-top: 0 !important;
}

.spaces-map-render {
  min-height: calc(90vh - 220px);
}
.spaces-map-render.loading {
  background: #191a1a !important;
}
.spaces-map-render .leaflet-container {
  background: #191a1a !important;
}
.spaces-map-render .leaflet-pane,
.spaces-map-render .leaflet-tile-pane,
.spaces-map-render .leaflet-map-pane,
.spaces-map-render .leaflet-layer {
  background: #191a1a !important;
}
.spaces-map-render .leaflet-tile {
  background-color: #191a1a !important;
}
.spaces-map-render .spaces-map-no-space {
  z-index: 1000;
  position: absolute;
  background: rgba(0, 0, 0, 0.6);
  color: var(--hh-text-color-contrast);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.spaces-map-render .spaces-map-info {
  position: absolute;
  z-index: 1001;
  right: 0;
  font-size: 14px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.85);
}

.spaces-map-maker-modal {
  font-size: 13px;
}
.spaces-map-maker-modal p {
  margin: 10px 0 0 0;
}
.spaces-map-maker-modal i.fa {
  margin: 0 6px 6px 0;
}
.spaces-map-maker-modal img {
  max-width: 100%;
  max-height: 150px;
}
.spaces-map-maker-modal .spaces-map-maker-modal-description {
  max-height: 200px;
  overflow-y: auto;
}

@media (max-width: 768px) {
  #globalModal #spaces-map-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    height: 100%;
    transform: translate(-50%, -50%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #globalModal #spaces-map-modal .modal-content {
    width: 100%;
    max-width: 100%;
    height: 100%;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }
  #globalModal #spaces-map-modal .modal-header {
    flex-shrink: 0;
  }
  #globalModal #spaces-map-modal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  body.spaces-map-mobile-modal-open {
    position: fixed;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }
}

#ui-datepicker-div {
  z-index: 2000 !important;
}

.multi-select-buttons-input-widget {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  /* Hide the actual checkbox but keep it functional */
  /* Style the label as a button */
  /* Active state when checkbox is checked */
}
.multi-select-buttons-input-widget .btn-checkbox-item {
  position: relative;
  display: inline-block;
}
.multi-select-buttons-input-widget .btn-checkbox-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.multi-select-buttons-input-widget .btn-checkbox {
  display: inline-block;
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
position: relative;
overflow: hidden;
border-radius: 14px;
background: linear-gradient(
135deg,
rgba(255,255,255,0.25) 0%,
rgba(255,255,255,0.10) 40%,
rgba(255,255,255,0.05) 100%
);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255,255,255,0.25);
box-shadow: 0 4px 12px rgba(0,0,0,0.25),
inset 0 1px 0 rgba(255,255,255,0.4);
color: #fff !important;
transition: all 0.25s ease;

opacity: 0.6;
}
.multi-select-buttons-input-widget .btn-checkbox:hover {
 opacity: 1;

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.32) 0%,
    rgba(255,255,255,0.14) 45%,
    rgba(255,255,255,0.06) 100%
  );

  box-shadow:
    0 10px 26px rgba(0,0,0,0.40),
    inset 0 1px 0 rgba(255,255,255,0.6);
}
.multi-select-buttons-input-widget .btn-checkbox-input:checked + .btn-checkbox {
background: linear-gradient(136deg, rgba(255, 174, 66, 0.25) 10.56%, rgba(255, 174, 66, 0.18) 40%, rgba(0, 0, 0, 0.25));
opacity: 1;
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);

box-shadow: 0 10px 26px rgba(0,0,0,0.40),
inset 0 1px 0 rgba(255,255,255,0.6);

}
@media (max-width: 575.98px) {
  .multi-select-buttons-input-widget {
    gap: 6px;
  }
  .multi-select-buttons-input-widget .btn-checkbox {
    padding: 6px 12px;
    font-size: 13px;
  }
}

.leaflet-popup-content {
  font-size: 12px !important;
}

.leaflet-popup-pane a {
  cursor: pointer;
}
@media (max-width: 570px) {
  .spaces-map-render {
    min-height: calc(65vh - 120px); /* nach Bedarf anpassen */
  }
  .spaces-map-filter-cs-child-cat-wrapper {
   display:none;
}
 }
