.booking-container {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: hidden;
  padding: 1rem;
}

.modal-content {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: min(96vw, 520px);
  height: min(92vh, 860px);
  max-height: min(92vh, 860px);
  padding: 2px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.72) 100%);
  border: 1px solid rgba(255, 255, 255, 0.54);
  box-shadow:
    0 28px 72px rgba(15, 23, 42, 0.12),
    0 8px 24px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  overflow: visible;
}

.modal-content::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  pointer-events: none;
}

.modal-content > booking-widget {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.modal-content ::-webkit-scrollbar {
  display: none;
}

.close-btn {
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 12;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.close-btn:hover {
  transform: translateY(-1px) scale(1.03);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.close-btn:active {
  transform: scale(0.97);
}

@media (max-width: 820px), (max-device-width: 820px), (hover: none) and (pointer: coarse) {
  .booking-container {
    padding: 0;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
  }

  .modal-content {
    width: 95vw;
    max-width: 95vw;
    max-height: 85vh;
    height: 85vh;
    padding: 2px;
    border-radius: 10px;
  }

  .modal-content::before {
    border-radius: 9px;
  }

  .modal-content > booking-widget {
    border-radius: 6px;
  }

  .close-btn {
    top: -5px;
    right: -5px;
    width: 38px;
    height: 38px;
    font-size: 22px;
  }
}

@media (max-width: 390px) {
  .close-btn {
    top: -5px;
    right: -5px;
    width: 33px;
    height: 33px;
    font-size: 20px;
  }
}
