/* Modal Overlay */
.booking-modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.booking-modal-overlay.show {
  display: flex;
  opacity: 1;
}

/* Glassmorphism Content */
.booking-modal-content {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  width: 90%;
  max-width: 900px;
  position: relative;
  overflow: hidden;
  animation: slideUp 0.4s ease-out;
  color: #fff;
  /* max-height: 95vh; */
  /* overflow-y: hidden; */
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}
.close-modal:hover {
  color: #ffcc00;
}

.modal-body-flex {
  display: flex;
  flex-wrap: wrap;
  max-height: 90vh;
  overflow-y: hidden;
}

/* Glass Scrollbar */
.modal-body-flex::-webkit-scrollbar {
  width: 10px;
}
.modal-body-flex::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
}
.modal-body-flex::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.modal-body-flex::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Left Side */
.modal-left {
  flex: 1;
  padding: 25px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-left h3 {
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  color: #ddd;
}
.modal-left h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
.price-display {
  font-size: 36px;
  font-weight: 800;
  color: #ffcc00;
  margin-bottom: 10px;
}
.price-display .currency {
  font-size: 18px;
  vertical-align: top;
}

.discount-label {
  color: #4caf50;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 5px;
}
.original-price {
  text-decoration: line-through;
  color: #aaa;
  font-size: 16px;
  margin: 0;
}
.savings {
  color: #ffcc00;
  font-weight: bold;
  font-size: 16px;
  margin: 5px 0;
}
.final-price {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
}

.package-features {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}
.package-features li {
  margin-bottom: 5px;
  font-size: 14px;
  display: flex;
  align-items: center;
}
.package-features li i {
  color: #4caf50;
  margin-right: 10px;
}

/* Right Side */
.modal-right {
  flex: 1.2;
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
}

.modal-right h3 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 20px;
}

.form-group {
  margin-bottom: 12px;
}
.form-group label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: #ddd;
}
.form-group input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.3s;
}
.form-group input:focus {
  border-color: #ffcc00;
  background: rgba(255, 255, 255, 0.2);
}

/* Coupon */
.coupon-section {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.coupon-input-group {
  display: flex;
  gap: 10px;
}
.coupon-input-group input {
  flex: 1;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.3s;
}
.coupon-input-group button {
  padding: 0 20px;
  background: #ffcc00;
  border: none;
  border-radius: 8px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}
.coupon-input-group button:hover {
  background: #e6b800;
}
#couponMessage {
  margin-top: 8px;
  font-size: 14px;
  min-height: 20px;
}
.coupon-success {
  color: #4caf50;
}
.coupon-error {
  color: #ff4d4d;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: linear-gradient(45deg, #e63d00ff 0%, #c62128 100%);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px #e2e2df42;
}

@media (max-width: 768px) {
  .modal-body-flex {
    flex-direction: column;
    max-height: 100%;
    overflow: auto;
  }
  .modal-right {
    padding: 15px;
  }
  .booking-modal-content {
    width: 95%;
    margin: 20px 0;
    height: auto;
    overflow-y: auto;
    max-height: 90vh;
  }
}
canvas {
  position: fixed !important;
  z-index: 999999 !important;
  pointer-events: none !important;
  top: 0;
  left: 0;
}

body.modal-open {
  overflow: hidden;
}
