/* ==========================================================================
   Dreams Voyage - Luxury Booking Widget & Traveler Reviews Styles
   Author: Mohamed magdy
   ========================================================================== */

/* Sticky Booking Widget Container */
.booking-widget-wrap {
  position: sticky;
  top: 90px;
  z-index: 50;
}

.booking-card.dv-compact-card {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
  padding: 1.35rem 1.45rem;
}

.booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid #f1f5f9;
}

.booking-header-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.booking-from {
  font-size: 0.725rem;
  color: var(--gray-500);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.booking-price-val {
  font-size: 1.95rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1;
}

.booking-price-old {
  font-size: 0.95rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.booking-price-unit {
  font-size: 0.775rem;
  color: var(--gray-500);
  font-weight: 600;
}

.booking-badge-save {
  background: #fef3c7;
  color: #b45309;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 800;
  box-shadow: 0 2px 5px rgba(245, 158, 11, 0.15);
}

/* 2-Column Row for Date & Time */
.dv-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 0.9rem;
}

/* Booking Form Elements */
.booking-form-group {
  margin-bottom: 0.9rem;
}

.booking-label {
  display: block;
  font-size: 0.775rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.4rem;
  letter-spacing: 0.1px;
}

.booking-input,
.booking-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  outline: none;
  transition: var(--transition);
}

.booking-input:focus,
.booking-select:focus {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

/* Compact Package Selector Pills */
.dv-packages-grid-compact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dv-pkg-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.dv-pkg-pill:hover {
  border-color: #0284c7;
  background: #f8fafc;
}

.dv-pkg-pill.selected {
  border-color: #0284c7;
  background: #f0f9ff;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
}

.dv-pkg-pill-content {
  display: flex;
  flex-direction: column;
  margin-left: 8px;
  margin-right: 8px;
  flex: 1;
}

[dir="rtl"] .dv-pkg-pill-content {
  text-align: right;
}

.dv-pkg-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: #1e293b;
}

.dv-pkg-desc {
  font-size: 0.725rem;
  color: #64748b;
}

.dv-pkg-price {
  font-weight: 800;
  font-size: 0.95rem;
  color: #0284c7;
}

/* Compact Guest Counters */
.guest-counters-compact {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.5rem 0.85rem;
}

.guest-row-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  transition: background-color 0.15s ease;
}

.guest-row-compact:not(:last-child) {
  border-bottom: 1px dashed #e2e8f0;
}

.dv-package-row {
  padding: 0.55rem 0.25rem;
  border-radius: 6px;
}

.dv-package-row:hover {
  background: rgba(255, 255, 255, 0.7);
}

.guest-type {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.age-badge {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 600;
}

.age-badge.infant {
  color: #059669;
}

.guest-sub {
  font-size: 0.725rem;
  color: #64748b;
  display: block;
}

.guest-sub.free-label {
  color: #059669;
  font-weight: 700;
}

.stepper-wrap-compact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-step-compact {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}

.btn-step-compact:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: scale(1.06);
}

.step-val-compact {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  min-width: 18px;
  text-align: center;
}

/* Compact Group Discount Banner */
.group-discount-banner {
  background: #ecfdf5;
  border: 1px dashed #10b981;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  color: #065f46;
  font-size: 0.775rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

/* Compact Extras List */
.extras-section-compact {
  margin-bottom: 0.9rem;
}

.extras-list-compact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.extra-pill-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  transition: all 0.2s ease;
}

.extra-pill-card.selected {
  background: #f0fdf4;
  border-color: #10b981;
}

.extra-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.extra-label-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex: 1;
}

.extra-checkbox {
  width: 16px;
  height: 16px;
  accent-color: #10b981;
}

.extra-name-text {
  font-size: 0.825rem;
  font-weight: 700;
  color: #1e293b;
}

.extra-price-tag {
  font-size: 0.8rem;
  font-weight: 800;
  color: #059669;
  background: #ffffff;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.extra-qty-wrap {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #cbd5e1;
}

.extra-qty-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
}

.btn-step-compact.mini {
  width: 22px;
  height: 22px;
  font-size: 0.8rem;
}

.step-val-compact.mini {
  font-size: 0.8rem;
  min-width: 14px;
}

/* Compact Deposit Alert */
.dv-deposit-alert-compact {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #7dd3fc;
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dv-deposit-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.dv-deposit-text strong {
  display: block;
  font-size: 0.825rem;
  color: #0284c7;
  font-weight: 800;
}

.dv-deposit-text span {
  font-size: 0.725rem;
  color: #475569;
}

/* Compact Total Price Breakdown */
.total-breakdown-box.compact {
  background: #f8fafc;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.1rem;
  border: 1px dashed #cbd5e1;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.825rem;
  color: var(--gray-600);
  margin-bottom: 0.35rem;
}

.breakdown-row.total-row {
  border-top: 1px solid #e2e8f0;
  padding-top: 0.55rem;
  margin-top: 0.55rem;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 900;
  color: #0f172a;
}

.breakdown-row.deposit-highlight {
  color: #0284c7;
  font-weight: 800;
  border-top: 1px dashed #7dd3fc;
  padding-top: 6px;
  margin-top: 6px;
  background: #f0f9ff;
  margin-left: -8px;
  margin-right: -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 6px;
}

.breakdown-row.remaining-highlight {
  color: #1e293b;
  font-weight: 700;
  background: #f8fafc;
  margin-left: -8px;
  margin-right: -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 6px;
}

.breakdown-total-val {
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 900;
}

/* Giant WhatsApp Booking Button */
.btn-whatsapp-giant {
  width: 100%;
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: var(--white);
  border: none;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  font-size: 1.025rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}

.btn-whatsapp-giant:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-giant svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Trust Badges */
.booking-trust-badges.compact {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.775rem;
  color: var(--gray-600);
  font-weight: 600;
}

.trust-item svg {
  width: 17px;
  height: 17px;
  color: #059669;
  flex-shrink: 0;
}

/* ==========================================================================
   Trip Reviews & Ratings Component
   ========================================================================== */
.reviews-container {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 2.25rem;
  margin-top: 2.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.reviews-header-summary {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 2rem;
}

.score-box {
  text-align: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
}

.score-big {
  font-size: 3.6rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.stars-row {
  color: #f59e0b;
  font-size: 1.35rem;
  margin: 0.4rem 0;
}

.score-sub {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 700;
}

/* Add Review Form */
.add-review-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.75rem;
  margin-bottom: 2.5rem;
}

.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.star-rating-input input {
  display: none;
}

.star-rating-input label {
  font-size: 1.85rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
  color: #f59e0b;
}

.review-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.btn-submit-review {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: var(--white);
  border: none;
  padding: 0.85rem 1.85rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: var(--transition);
}

.btn-submit-review:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
}

.review-alert-pending {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.925rem;
  margin-top: 1.25rem;
  display: none;
}

/* Review Cards List */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.review-card {
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.review-author {
  font-weight: 800;
  color: #0f172a;
  font-size: 1rem;
}

.review-date {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.review-body {
  font-size: 0.925rem;
  color: var(--gray-700);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .reviews-header-summary {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .review-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Global Luxury Floating WhatsApp Button
   ========================================================================== */
.dv-floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  align-items: center;
}

[dir="rtl"] .dv-floating-wa {
  right: auto;
  left: 30px;
}

.dv-floating-wa-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 10px 25px -3px rgba(37, 211, 102, 0.45), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.dv-floating-wa-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 16px 32px -4px rgba(37, 211, 102, 0.6), 0 6px 10px -2px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.dv-floating-wa-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dv-floating-wa-icon svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.dv-floating-wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.8;
  animation: dvPulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  z-index: 1;
}

@keyframes dvPulseRing {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

.dv-floating-wa-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  white-space: nowrap;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.25s ease;
  pointer-events: none;
}

[dir="rtl"] .dv-floating-wa-tooltip {
  right: auto;
  left: calc(100% + 14px);
  transform: translateX(-10px);
}

.dv-floating-wa-btn:hover .dv-floating-wa-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Adjust for single-trip mobile sticky bar */
@media (max-width: 991px) {
  .dv-floating-wa {
    bottom: 85px;
    right: 20px;
  }
  [dir="rtl"] .dv-floating-wa {
    right: auto;
    left: 20px;
  }
  .dv-floating-wa-btn {
    width: 54px;
    height: 54px;
  }
  .dv-floating-wa-icon svg {
    width: 28px;
    height: 28px;
  }
}

/* Multi-Pricing Packages Card Styles */
.dv-package-option-card {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.dv-package-option-card:hover {
  border-color: #0284c7 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.1);
}
.dv-package-option-card.selected {
  border-color: #0284c7 !important;
  background: #f0f9ff !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
}

/* Experience Highlights Responsive Card */
.trip-highlights-block {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.trip-highlights-block:hover {
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.1) !important;
}


