/* PartyTrip search UI compatibility override.
 * Loaded after the production search stylesheet until the template asset deployment catches up.
 */
.map-wrapper {
  aspect-ratio: 4 / 3;
  background: #e9eef8;
}

.map-wrapper .btn {
  z-index: 900;
}

.search-mini-map {
  position: absolute;
  inset: 0;
  background: #e9eef8;
}

.search-mini-map__canvas {
  width: 100%;
  height: 100%;
}

.search-mini-map__blocker {
  position: absolute;
  inset: 0;
  z-index: 700;
  cursor: pointer;
}

.search-mini-map .leaflet-control-attribution {
  font-size: 9px;
  line-height: 1.25;
  pointer-events: auto;
}

.search-mini-map__marker {
  background: transparent;
  border: 0;
}

.search-mini-map__marker span {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--color-primary, #ee9134);
  box-shadow: 0 3px 9px rgba(0, 14, 61, 0.35);
  transform: rotate(-45deg);
}

.search-mini-map__marker span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.search-mini-map--loading .search-mini-map__canvas {
  opacity: 0.72;
}

.search-mini-map--unavailable::after {
  content: "Harta nu este disponibilă momentan";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: var(--color-text-primary);
  text-align: center;
}

.offers-list .offer .details .options .buttons button {
  border-radius: 5px;
  color: white;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.offers-list .offer .details .options .buttons .favourite-tooltip {
  display: flex;
}

.offers-list .offer .details .options .buttons button.favourite-btn {
  background-color: var(--color-accent);
  border: 0;
  padding: 10px 15px;
  height: 100%;
}

.offers-list .offer .details .options .buttons button.favourite-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.saved-offers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 0;
}

.saved-offer {
  background: #fff;
  border: 1px solid #e3e6eb;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  overflow: hidden;
  padding: 8px;
}

.saved-offer img {
  border-radius: 5px;
  flex: 0 0 76px;
  height: 68px;
  object-fit: cover;
  width: 76px;
}

.saved-offer__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.saved-offer__title {
  color: var(--color-text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.saved-offer__link,
.saved-offers-all {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px;
  text-decoration: none;
}

.saved-offers-empty {
  color: var(--color-text-primary);
  padding: 24px 10px;
  text-align: center;
}

.travel-js-calendar {
  position: relative;
}

.travel-js-calendar.is-availability-loading::before {
  background: rgba(255, 255, 255, 0.82);
  content: "";
  inset: 44px 0 0;
  position: absolute;
  z-index: 5;
}

.travel-js-calendar.is-availability-loading::after {
  animation: period-calendar-spin 0.75s linear infinite;
  border: 3px solid rgba(44, 187, 181, 0.25);
  border-radius: 50%;
  border-top-color: #2cbbb5;
  content: "";
  height: 30px;
  left: calc(50% - 15px);
  position: absolute;
  top: calc(50% + 7px);
  width: 30px;
  z-index: 6;
}

.travel-js-calendar .jsCalendar-nav-disabled {
  cursor: not-allowed !important;
  opacity: 0.25;
}

@keyframes period-calendar-spin {
  to {
    transform: rotate(360deg);
  }
}
