@charset "UTF-8";
/* variables */
/*  other styles */
*, *:before, *:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
}

/* custom styles for UiSlider */
.noUi-target {
  cursor: pointer;
}
.noUi-target :focus {
  outline: none;
}

.noUi-horizontal {
  height: 5px;
}

.noUi-connect {
  background: #a859c7;
}

.noUi-base {
  background: #DEDEDE;
}

.noUi-horizontal .noUi-handle {
  top: -6px;
  right: -5px;
  width: 16px;
  height: 16px;
  background: #a859c7;
  border: 2px solid orange;
  border-radius: 50%;
  box-shadow: unset;
  cursor: pointer;
  transition: transform 0.1s;
}
.noUi-horizontal .noUi-handle:before, .noUi-horizontal .noUi-handle:after {
  content: none;
}
.noUi-horizontal .noUi-handle:hover {
  transform: scale(1.1);
}

/* styles for filter */
.filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 370px;
  border-radius: 4px;
  padding: 0px 20px;
}

.filter__label {
  position: relative;
  cursor: pointer;
}
.filter__label:before {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #999999;
  font-size: 14px;
}

.filter__input {
  height: 35px;
  border: 2px solid orange;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  max-width: 100px;
}
.filter__input:focus {
  background: rgba(168, 89, 199, 0.2);
}

.filter__slider-price {
  width: 100%;
  margin: 20px 5px 0;
}

.sidebar_filters {
  border: 1px solid #dee2e6;
  border-radius: 8px;
}

.h6.text {
  padding: 14px 16px 6px 16px;
  font-weight: bolder;
}

.rating-input,
label.stars-rating-input,
label.facility-input {
  padding: 3px 16px 3px 16px; /* gleichmäßig links & rechts */
  width: 100%;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.12s;
}
.rating-input:hover,
label.stars-rating-input:hover,
label.facility-input:hover {
  background-color: rgba(168, 89, 199, 0.06);
}
.rating-input.text-muted,
label.stars-rating-input.text-muted,
label.facility-input.text-muted {
  opacity: 0.45;
  cursor: default;
}

input.radio,
input.checkbox {
  margin-right: 6px;
  cursor: pointer;
}

div.borderline {
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 12px;
}

/* Preis-Bereich: gleiche horizontale Einrückung wie Filter-Zeilen */
#price-filter .d-flex.justify-content-between {
  padding: 0 16px;
}
#price-filter #sliderPrice {
  margin: 12px 16px 4px;
}

/* Filter-Counts (Badges) - kompakter */
.filter-count {
  font-size: 0.7rem;
  min-width: 1.5rem;
  flex-shrink: 0;
}

/* Preis-Inputs: Validierungs-Highlight (Bootstrap-konform) */
.price-range-input.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.18);
}

#price-input-error {
  padding: 0 16px;
  line-height: 1.2;
}

/* ---- Skeleton-Loader für die Hotelliste (YouTube-Style) ---- */
.skeleton-list {
  width: 100%;
}

.skeleton-card {
  display: flex;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 10px;
  overflow: hidden;
  min-height: 170px;
}

.skeleton-card__image {
  width: 32%;
  min-width: 180px;
  background: #e9ecef;
  border-right: 1px solid #f1f3f5;
  flex-shrink: 0;
}

.skeleton-card__body {
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-card__meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.skeleton-line {
  height: 12px;
  border-radius: 4px;
  background: #e9ecef;
}

.skeleton-line--xl {
  width: 70%;
  height: 18px;
}

.skeleton-line--lg {
  width: 60%;
}

.skeleton-line--md {
  width: 45%;
}

.skeleton-line--sm {
  width: 30%;
}

.skeleton-line--xs {
  width: 22%;
}

.skeleton-pill {
  width: 90px;
  height: 32px;
  border-radius: 8px;
  background: #e9ecef;
}

/* Pulsierender Lichtstreifen (links → rechts) für alle .skeleton-shimmer */
.skeleton-shimmer {
  position: relative;
  overflow: hidden;
  background-color: #e9ecef;
  background-image: linear-gradient(90deg, #e9ecef 0%, #f6f7f8 40%, #f6f7f8 60%, #e9ecef 100%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
@media (max-width: 575.98px) {
  .skeleton-card {
    flex-direction: column;
    min-height: 0;
  }
  .skeleton-card__image {
    width: 100%;
    min-width: 0;
    height: 180px;
    border-right: none;
    border-bottom: 1px solid #f1f3f5;
  }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton-shimmer {
    animation: none;
  }
}
/* Mehr / Weniger Ausstattung */
.facility-toggle-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: #a859c7;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px 4px;
  cursor: pointer;
  text-decoration: none;
}
.facility-toggle-btn:hover {
  text-decoration: underline;
}
.facility-toggle-btn .facility-toggle-icon {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.facility-toggle-btn.is-open .facility-toggle-icon {
  transform: rotate(180deg);
}
.facility-toggle-btn .facility-extra-count {
  color: #888;
  font-weight: 400;
}

/* Filter zurücksetzen – gleicher Stil wie "Zur Unterkunft"-Button */
.filter-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary-color);
  border: none;
  border-radius: 9px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 30px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s, box-shadow 0.15s;
}
.filter-reset-btn:hover {
  opacity: 0.88;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
