/* booking-modal.css - 预订弹窗样式（从 route-*-tc-*.html 内联提取） */

/* 预订弹窗样式 - 优化版 */
.booking-modal {
  display: none;
  visibility: hidden;
  position: fixed;
  inset: 0;
  z-index: 100000;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease, visibility 0.3s ease;
}
.booking-modal.active {
  display: flex;
  visibility: visible;
  background: rgba(0, 0, 0, 0.6);
}
.booking-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.booking-modal-content {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  max-width: 380px;
  width: 92%;
  padding: 28px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: bookingModalSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin: 16px;
}
@keyframes bookingModalSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.booking-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #666;
  transition: all 0.2s ease;
}
.booking-modal-close:hover {
  background: rgba(0, 0, 0, 0.12);
  color: #333;
  transform: rotate(90deg);
}
.booking-modal-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #e5e7eb;
}
.booking-modal-header h3 {
  font-size: 18px;
  color: #1a3d15;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.booking-modal-header h3 i {
  color: #4CAF50;
}
.booking-modal-header p {
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}
.booking-modal-body {
  text-align: center;
}
.qrcode-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}
.qrcode-image {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  background: #fafafa;
}
.qrcode-tips {
  margin-top: 16px;
  font-size: 12px;
  color: #666;
}
.qrcode-tips p {
  margin: 6px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.qrcode-tips i {
  color: #4CAF50;
  font-size: 14px;
}
.booking-modal-footer {
  text-align: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #eee;
  font-size: 12px;
  color: #888;
}
.booking-modal-footer p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.booking-modal-footer strong {
  color: #ff6b35;
  font-weight: 600;
  font-size: 14px;
}

/* 小程序链接区域 */
.miniapp-link-section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #e5e7eb;
}
.miniapp-link-label {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.miniapp-link-label i {
  color: #07C160;
}
.miniapp-link-box {
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.miniapp-link-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 10px;
  font-size: 12px;
  color: #333;
  outline: none;
  font-family: monospace;
  min-width: 0;
}
.miniapp-link-copy {
  flex-shrink: 0;
  padding: 8px 12px;
  background: #07C160;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s;
  white-space: nowrap;
}
.miniapp-link-copy:hover {
  background: #06ae56;
}
.miniapp-link-copy.copied {
  background: #4CAF50;
}
.miniapp-link-tip {
  font-size: 11px;
  color: #999;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.miniapp-link-tip i {
  color: #4CAF50;
  font-size: 12px;
}
@media (max-width: 480px) {
  .booking-modal-content {
    max-width: 100%;
    width: 94%;
    padding: 24px 20px;
    border-radius: 16px;
    margin: 12px;
  }
  .qrcode-image {
    width: 160px;
    height: 160px;
  }
}
