.booking_preview {
  align-items: stretch;
}
.booking_preview_item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid rgba(24, 24, 28, 0.08);
  border-radius: 17px;
  background: #ececef;
  box-shadow: 0 12px 28px rgba(22, 18, 20, 0.09);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.booking_preview_item:hover {
  border-color: rgba(209, 0, 24, 0.2);
  box-shadow: 0 18px 35px rgba(22, 18, 20, 0.14);
  transform: translateY(-3px);
}
.booking_preview_item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.28s ease;
}
.booking_preview_item:hover img {
  transform: scale(1.035);
}
.booking_preview_name {
  position: absolute;
  z-index: 3;
  right: 7px;
  bottom: 7px;
  left: 7px;
  overflow: hidden;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  color: #fff;
  background: rgba(14, 14, 17, 0.78);
  backdrop-filter: blur(10px);
  font-size: 7px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.booking_preview_remove {
  position: absolute;
  z-index: 5;
  top: 9px;
  right: 9px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #ff3045, #8a000e);
  box-shadow: 0 10px 22px rgba(145, 0, 16, 0.3);
  font-size: 13px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px) scale(0.9);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.booking_preview_item:hover .booking_preview_remove,
.booking_preview_remove:focus-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.booking_preview_remove:hover {
  background: linear-gradient(135deg, #ff5365, #b00015);
  box-shadow: 0 13px 28px rgba(145, 0, 16, 0.4);
  transform: translateY(-1px) scale(1.04);
}
.booking_preview_remove:focus-visible {
  outline: 3px solid rgba(209, 0, 24, 0.2);
  outline-offset: 2px;
}
@media (hover: none) {
  .booking_preview_remove {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 480px) {
  .booking_preview_remove {
    top: 7px;
    right: 7px;
    width: 31px;
    height: 31px;
    border-radius: 10px;
    opacity: 1;
    transform: none;
  }
}
