/* =====================================================================
   event.css — صفحة معاينة الفعالية فقط  •  بعد site.css
   التبويبات/lightbox/السلة/الإشعار من site.css. لون البرنامج عبر q-track-*.
   ===================================================================== */

/* البوستر (sticky) + إحصائيات سريعة */
.ev-poster { background: #fff; border-radius: 24px; height: 540px; display: block; padding: 0; box-shadow: 0 14px 36px rgba(20,90,84,.1); position: relative; cursor: zoom-in; overflow: hidden; }
.ev-poster__img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.ev-poster:hover .ev-poster__img { transform: scale(1.07); }
.ev-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,46,42,.30), rgba(8,46,42,0) 32%); pointer-events: none; }
.ev-poster__badge { position: absolute; top: 16px; right: 16px; background: var(--track); color: #fff; font-weight: 800; font-size: 12.5px; padding: 6px 14px; border-radius: 18px; z-index: 2; box-shadow: 0 4px 12px rgba(8,46,42,.22); }
.ev-poster__hint { position: absolute; bottom: 16px; left: 16px; z-index: 2; background: rgba(8,46,42,.66); color: #fff; font-weight: 700; font-size: 12px; padding: 7px 12px; border-radius: 16px; display: flex; align-items: center; gap: 6px; pointer-events: none; backdrop-filter: blur(4px); }
.ev-quickstats { display: flex; gap: 12px; margin-top: 14px; }
.ev-quickstat { flex: 1; background: #fff; border-radius: 14px; padding: 14px; text-align: center; box-shadow: 0 6px 16px rgba(20,90,84,.06); }
.ev-quickstat__num { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--track); }
.ev-quickstat__label { font-size: 12px; color: var(--c-muted-2); font-weight: 700; }

/* العنوان + الوسوم */
.ev-trackbadge { background: var(--track-soft); color: var(--track); font-weight: 800; font-size: 12.5px; padding: 6px 14px; border-radius: 16px; }
.ev-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(26px,4vw,34px); line-height: 1.35; margin: 0 0 10px; color: var(--c-ink); }
.ev-tagline { font-size: 17px; line-height: 1.7; color: var(--c-muted); font-weight: 600; margin: 0 0 22px; }

/* شبكة المعلومات (مكان/وقت/مدة…) */
.ev-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-bottom: 26px; }
.ev-meta__item { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 15px; padding: 13px 15px; box-shadow: 0 6px 16px rgba(20,90,84,.05); }
.ev-meta__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--track-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ev-meta__label { font-size: 12px; color: #9BB0AC; font-weight: 700; }
.ev-meta__value { font-size: 14.5px; color: var(--c-ink); font-weight: 700; line-height: 1.4; }

/* بطاقة التسجيل */
.ev-reg { background: #F3F9FD; border: 1.5px solid #D6EAF6; border-radius: 22px; padding: 24px; }
.ev-reg__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.ev-reg__title { display: flex; align-items: center; gap: 9px; }
.ev-reg__bar { width: 7px; height: 22px; border-radius: 5px; background: var(--track); }
.ev-reg__title h3 { font-family: var(--font-head); font-weight: 800; font-size: 19px; margin: 0; color: var(--c-ink); }
.ev-reg__price { font-family: var(--font-head); font-weight: 800; font-size: 32px; color: var(--track); }
.ev-reg__price-unit { font-size: 15px; color: var(--c-muted-2); font-weight: 700; }
.ev-reg__label { display: block; font-size: 13px; font-weight: 700; color: var(--c-muted); margin-bottom: 8px; }
.ev-reg__note { font-size: 12px; color: #9BB0AC; font-weight: 600; margin-bottom: 16px; }
.ev-reg__actions { display: flex; gap: 12px; }
.ev-reg__submit { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--track); color: #fff; border: none; cursor: pointer; font-family: var(--font-body); font-weight: 800; font-size: 16.5px; padding: 16px; border-radius: 14px; box-shadow: 0 10px 24px rgba(33,134,188,.28); }
.ev-reg__submit:hover { opacity: .9; }
.ev-reg__cart { width: 56px; border: 2px solid #D6EAF6; border-radius: 14px; background: #fff; cursor: pointer; font-size: 20px; color: var(--track); }
.ev-reg__hint { font-size: 12px; color: var(--c-muted); font-weight: 600; margin-top: 12px; display: flex; align-items: center; gap: 7px; justify-content: center; }

/* قائمة اختيار الابن (dropdown) */
.ev-dd { position: relative; margin-bottom: 8px; }
.ev-dd__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1.5px solid #D6EAF6; border-radius: 14px; padding: 12px 14px; cursor: pointer; }
.ev-dd__menu { position: absolute; top: calc(100% + 8px); right: 0; left: 0; z-index: 41; background: #fff; border-radius: 16px; box-shadow: 0 18px 44px rgba(12,68,63,.18); border: 1px solid var(--line); padding: 8px; animation: q-fade .16s ease; max-height: 330px; overflow-y: auto; }
.ev-dd__group { font-size: 11.5px; font-weight: 800; color: #9BB0AC; padding: 8px 12px 6px; }
.ev-dd__row { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px; cursor: pointer; transition: background .12s; }
.ev-dd__row:hover { background: var(--bg-page); }
.ev-dd__avatar { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; color: #fff; flex-shrink: 0; }
.ev-dd__name { font-weight: 800; font-size: 14.5px; color: var(--c-ink); }
.ev-dd__age { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: var(--bg-page); color: var(--c-muted); }
.ev-dd__add { display: flex; align-items: center; gap: 9px; padding: 12px; margin-top: 4px; border-top: 1px dashed #E1EBE3; color: var(--c-teal-d); font-weight: 800; font-size: 13.5px; }
.ev-dd__add .ico { width: 30px; height: 30px; border-radius: 9px; background: var(--bg-soft-teal); display: flex; align-items: center; justify-content: center; font-size: 17px; }

/* ضمانات */
.ev-assure { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 24px; }
.ev-assure > div { text-align: center; font-size: 12.5px; font-weight: 700; color: var(--c-muted); }

/* العرض المكبّر للبوستر: بحجمه الكامل مع تمرير عمودي عند الحاجة (تجاوز نمط site.css المشترك) */
#evLightbox .q-lightbox__stage { align-items: flex-start; justify-content: center; overflow: auto; padding: 24px; -webkit-overflow-scrolling: touch; }
#evLightbox .q-lightbox__pic { flex: none; width: auto; height: auto; max-width: 100%; background: #fff; border-radius: 18px; padding: 0; overflow: hidden; }
#evLightbox .q-lightbox__pic img { display: block; width: auto; height: auto; max-width: min(920px, 92vw); max-height: none; object-fit: contain; border-radius: 18px; }
