/* ============================================================================
   ashish-v106-lt-cards.css  —  كارت رحلة النقل البري الديناميكي
   ============================================================================ */

/* حاوية النتائج */
#ltv2Results { display: flex; flex-direction: column; gap: 18px; }

/* الكارت الرئيسي */
.ltv2-trip.v106 {
  position: relative;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(166, 124, 0, .16);
  box-shadow: 0 18px 40px rgba(10, 26, 63, .10), 0 4px 12px rgba(0, 0, 0, .04);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
  animation: v106-in .55s cubic-bezier(.2, .8, .2, 1) both;
}
.ltv2-trip.v106:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(10, 26, 63, .18), 0 6px 16px rgba(0, 0, 0, .06);
}

@keyframes v106-in {
  from { opacity: 0; transform: translateY(24px) scale(.98); }
  to   { opacity: 1; transform: translateY(0)     scale(1);   }
}

/* غلاف صورة الحافلة — كما في الصورة (زوايا مدورة داخلية + شارة الساعات أعلى اليسار بالانجليزي المعكوس RTL) */
.v106-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5efe0 0%, #e9dfc4 100%);
}
.v106-media img,
.v106-media video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1);
  transition: transform 6s ease;
}
.ltv2-trip.v106:hover .v106-media img { transform: scale(1.08); }

/* شارة زمن الرحلة (يمين علوي) بنفس ستايل الصورة */
.v106-duration-chip {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  background: linear-gradient(135deg, #cfe6ec, #a6d0dc);
  color: #0a3d4d;
  padding: 7px 16px;
  border-radius: 18px;
  font-weight: 900;
  font-size: .9rem;
  letter-spacing: .3px;
  box-shadow: 0 6px 16px rgba(10, 61, 77, .18);
  backdrop-filter: blur(6px);
  animation: v106-pulse 2.4s ease-in-out infinite;
}
@keyframes v106-pulse {
  0%, 100% { transform: scale(1);     box-shadow: 0 6px 16px rgba(10, 61, 77, .18); }
  50%      { transform: scale(1.05);  box-shadow: 0 10px 22px rgba(10, 61, 77, .28); }
}

/* شارة رقم الرحلة (يسار علوي) */
.v106-tripno-chip {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: rgba(255, 255, 255, .92);
  color: #0a1a3f;
  padding: 6px 14px;
  border-radius: 14px;
  font-weight: 900;
  font-size: .82rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
  border: 1px solid rgba(255, 255, 255, .5);
}

/* شارة "مميز" أو نوع الرحلة (تظهر عند وجود tripType VIP) */
.v106-vip-chip {
  position: absolute;
  bottom: 14px;
  inset-inline-end: 14px;
  background: linear-gradient(135deg, #d4af37, #a67c00);
  color: #fff;
  padding: 6px 14px;
  border-radius: 14px;
  font-weight: 900;
  font-size: .78rem;
  box-shadow: 0 6px 16px rgba(166, 124, 0, .35);
  animation: v106-shine 3s linear infinite;
}
@keyframes v106-shine {
  0%   { filter: brightness(1);    }
  50%  { filter: brightness(1.25); }
  100% { filter: brightness(1);    }
}

/* تدرّج خفيف على أسفل الصورة لسهولة قراءة الشارات */
.v106-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .25) 100%);
  pointer-events: none;
}

/* جسم الكارت (تحت الصورة) */
.v106-body { padding: 18px 20px 20px; }

/* السطر العلوي — الشركة + التقييم */
.v106-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 10px;
}
.v106-company {
  display: flex; align-items: center; gap: 10px;
  color: #0a1a3f;
  font-weight: 900;
  font-size: 1.02rem;
}
.v106-company img {
  width: 34px; height: 34px; border-radius: 10px; object-fit: cover;
  border: 1px solid rgba(166, 124, 0, .18);
  background: #fffdf6;
}
.v106-company .v106-driver-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #ffd54f, #ffb300);
  display: flex; align-items: center; justify-content: center;
  color: #3a2a00; font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(255, 179, 0, .3);
}

/* النجوم — نفس فكرة الصورة */
.v106-stars { display: flex; gap: 2px; color: #d4af37; font-size: 1rem; }
.v106-stars .off { color: #d9d2b8; }

/* شبكة معلومات الرحلة (المسار / التاريخ / نوع النقل / المقاعد) */
.v106-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin-top: 10px;
  color: #0a1a3f;
  font-size: .94rem;
  direction: rtl;
}
.v106-grid .row { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.v106-grid .row .ic {
  width: 26px; height: 26px; border-radius: 8px;
  background: rgba(212, 175, 55, .14);
  color: #a67c00;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; flex-shrink: 0;
}
.v106-grid .row.route .ic { background: rgba(46, 125, 50, .12); color: #2e7d32; }
.v106-grid .row.date  .ic { background: rgba(21, 101, 192, .12); color: #1565c0; }
.v106-grid .row.seats .ic { background: rgba(198, 40, 40, .10); color: #c62828; }

/* سطر السعر */
.v106-price-row {
  margin-top: 14px;
  display: flex; align-items: center; gap: 10px;
  color: #0a1a3f; font-weight: 900; font-size: 1.05rem;
}
.v106-price-row .ic {
  width: 26px; height: 26px; border-radius: 8px;
  background: rgba(46, 125, 50, .14); color: #2e7d32;
  display: flex; align-items: center; justify-content: center;
}
.v106-price-row .value { color: #0d5e2a; }

/* شريط الحجز السفلي (زر أزرق كامل + سهم للخلف) */
.v106-cta {
  margin-top: 16px;
  display: flex; align-items: center; gap: 10px;
  direction: rtl;
}
.v106-cta .back {
  width: 46px; height: 46px; border-radius: 14px;
  background: #FFF7DF; color: #7C6A1A;
  border: none; cursor: pointer; font-size: 1.2rem; font-weight: 900;
  box-shadow: 0 4px 12px rgba(166, 124, 0, .18);
  transition: transform .2s ease, background .2s ease;
}
.v106-cta .back:hover { background: #ffe9a5; transform: scale(1.06); }

.v106-cta .book {
  flex: 1;
  height: 48px;
  border-radius: 14px;
  border: none; cursor: pointer;
  background: linear-gradient(135deg, #0a1a3f 0%, #1a2f6b 100%);
  color: #fff; font-weight: 900; font-size: 1.05rem;
  letter-spacing: .5px;
  box-shadow: 0 10px 24px rgba(10, 26, 63, .35);
  position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.v106-cta .book:hover  { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(10, 26, 63, .45); }
.v106-cta .book:active { transform: translateY(0);    box-shadow: 0 6px 14px rgba(10, 26, 63, .30); }

/* لمعان يمرّ على الزر */
.v106-cta .book::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: v106-glow 3.6s ease-in-out infinite;
}
@keyframes v106-glow {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%);  }
  100% { transform: translateX(100%);  }
}

/* عندما لا تتوفر صورة — عرض حافلة SVG متحرّكة */
.v106-media.no-image {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #fef7d9 0%, #f5deb3 60%, #e6c88a 100%);
}
.v106-bus-svg {
  width: 74%; height: auto; animation: v106-bus-move 3s ease-in-out infinite;
}
@keyframes v106-bus-move {
  0%, 100% { transform: translateX(0);     }
  50%      { transform: translateX(-14px); }
}

/* شاشات صغيرة */
@media (max-width: 640px) {
  .v106-media { height: 180px; }
  .v106-grid  { grid-template-columns: 1fr; }
  .v106-body  { padding: 16px; }
}

/* حالة تحميل هيكلية جميلة */
.v106-skeleton {
  background: #fff; border-radius: 26px; overflow: hidden;
  border: 1px solid rgba(166, 124, 0, .12);
  box-shadow: 0 12px 30px rgba(10, 26, 63, .06);
}
.v106-skeleton .sk { background: linear-gradient(90deg, #f2ecda, #faf5e2, #f2ecda); background-size: 200% 100%; animation: v106-sk 1.4s linear infinite; }
.v106-skeleton .sk1 { height: 200px; }
.v106-skeleton .sk2 { height: 20px; margin: 16px; border-radius: 6px; }
.v106-skeleton .sk3 { height: 14px; margin: 6px 16px; border-radius: 6px; width: 60%; }
@keyframes v106-sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* V140 LT polish: card proportions closer to the service cards and mobile safe */
.ltv2-trip.v106{overflow:hidden;max-width:100%;box-sizing:border-box}.v106-media{min-height:190px}.v106-body{min-width:0}.v106-grid .row{min-width:0}.v106-grid .row span:last-child{overflow-wrap:anywhere}.v106-cta .book{flex:1;min-width:0}.v106-cta .back{flex:0 0 46px}@media(max-width:520px){.v106-media{min-height:155px}.v106-body{padding:14px}.v106-grid{grid-template-columns:1fr!important}.v106-price-row{font-size:.95rem}.v106-cta{gap:8px}.v106-tripno-chip,.v106-duration-chip{font-size:.72rem!important}}
