/* Event360 Guest Portal
 * Design matches the personal-area system (.i8w-card / .i8w-head / .i8w-stat)
 */

/* ══ ROOT ══════════════════════════════════════════════════════════ */
.e360gp {
  --grad:    linear-gradient(135deg, #1e40af 0%, #4f46e5 55%, #7c3aed 100%);
  --hgrad:   linear-gradient(135deg, #eff6ff 0%, #eef2ff 50%, #f5f3ff 100%);
  --border:  rgba(99,102,241,0.12);
  --txt:     #0f172a;
  --muted:   #64748b;
  --bg:      #ffffff;
  --soft:    #f8f9fc;
  --gold:    #f59e0b;
  --gold-bg: rgba(245,158,11,0.08);
  max-width: 1100px;
  margin: 0 auto;
  font-family: 'Rubik', Arial, sans-serif;
  color: var(--txt);
  direction: rtl;
}
.e360gp * { box-sizing: border-box; }

/* ══ HEADER (logo + event type) ═════════════════════════════════════ */
.e360gp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  background: linear-gradient(135deg, #1e40af 0%, #4f46e5 55%, #7c3aed 100%);
  border-radius: 18px 18px 0 0;
}
.e360gp-header-info { flex: 1 1 0; min-width: 0; }
.e360gp-header-title {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 999px;
  padding: 6px 18px;
  line-height: 1.3;
  font-family: 'Rubik', Arial, sans-serif;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.e360gp-header-logo { display: flex; align-items: center; flex-shrink: 0; }
.e360gp-header-logo img { max-height: 40px; width: auto; display: block; filter: brightness(0) invert(1); transform: translateY(5px); }
.e360gp-header-logo a { display: flex; align-items: center; }
.e360gp-header-site-name { font-size: 16px; font-weight: 800; color: #ffffff; }

/* ══ TAB NAV  (iplan-style: flat, outline SVG icons, dividers only) ═ */
.e360gp-tabs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  margin: 0 0 18px;
  position: sticky;
  top: 0;
  z-index: 9;
  background: #ffffff;
  border: 1.5px solid rgba(99,102,241,0.22);
  border-top: none;
  border-radius: 0;
  overflow: visible;
}
.e360gp-tab {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 6px 12px;
  border: none;
  border-radius: 0 !important;
  border-inline-start: 1.5px solid rgba(99,102,241,0.20);
  border-bottom: 2px solid rgba(99,102,241,0.14);
  background: transparent !important;
  cursor: pointer;
  font-family: 'Rubik', Arial, sans-serif;
  color: #94a3b8;
  line-height: 1.2;
  transition: color 0.18s;
  min-width: 0;
  position: relative;
}
.e360gp-tab:first-child { border-inline-start: none; }
.e360gp-tab-svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none !important;
  flex-shrink: 0;
  transition: stroke 0.18s, transform 0.18s;
}
.e360gp-tab-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  display: block;
  white-space: normal;
  word-break: break-word;
  text-align: center;
  line-height: 1.3;
  max-width: 100%;
}
.e360gp-tab:hover:not(.is-active):not(.is-disabled) { color: #4f46e5; }
.e360gp-tab:hover:not(.is-active):not(.is-disabled) .e360gp-tab-svg { transform: translateY(-2px); }
.e360gp .e360gp-tab.is-active {
  color: #4f46e5 !important;
  background: transparent !important;
}
.e360gp .e360gp-tab.is-active .e360gp-tab-svg { stroke: #4f46e5 !important; fill: none !important; }
.e360gp-tab.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 3px;
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
  border-radius: 0;
}
.e360gp-tab.is-disabled { opacity: 0.38; cursor: not-allowed; }
.e360gp-tab.is-disabled:hover { color: #94a3b8; }
/* legacy emoji ico fallback */
.e360gp-ico       { font-size: 18px; flex-shrink: 0; line-height: 1; width: 22px; text-align: center; }
.e360gp-tab-ico   { font-size: 20px; line-height: 1; display: block; }

/* ══ PANELS CONTAINER ═══════════════════════════════════════════════ */
.e360gp-panels {
  background: #ffffff;
  border: 1px solid rgba(99,102,241,0.11);
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(99,102,241,0.10), 0 2px 8px rgba(15,23,42,0.06);
  overflow: hidden;
}
.e360gp-panel { display: none; padding: 0; }
.e360gp-panel.is-active { display: block; }

/* ── Panel header  (identical to .i8w-head / .i8w-eil-head) ── */
.e360gp-panel-head {
  background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 50%, #f5f3ff 100%);
  border: 1px solid rgba(99,102,241,0.14);
  border-radius: 18px;
  margin: 18px 18px 0;
  padding: 20px 24px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.e360gp-panel-head-main { flex: 1 1 0; min-width: 0; }
.e360gp-panel-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #7c3aed;
  margin: 0 0 4px;
  line-height: 1.2;
  font-family: 'Rubik', Arial, sans-serif;
}
.e360gp-panel-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
}
.e360gp-panel-ico {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
  background: rgba(99,102,241,0.09);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 14px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ── Panel body ── */
.e360gp-panel-body {
  padding: 26px 28px 30px;
}

/* ── Suppress redundant h3 inside rendered content ── */
.e360gp-panel-body > .e360gp-schedule > h3,
.e360gp-panel-body > .e360gp-food-menu > h3,
.e360gp-panel-body > .e360gp-schedule-form > h3 { display: none; }

/* ══ INVITATION EMBEDDED AT TOP OF "עדכון הגעה" TAB (Emphasis 1) ════ */
/* The invitation is shown large and clean — no tinted frame behind it, just the
   centred image floating on the panel. */
.e360gp-invite-embed {
  margin: 0 18px 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  text-align: center;
}
.e360gp-invite-embed-inner { display: flex; align-items: center; justify-content: center; }
/* The cap MUST use !important + extra specificity: P3's front.css targets
   .i8w-selected-event-design-shortcode img with max-height:680px (desktop) and
   max-height:none (mobile), which otherwise overrides this. */
.e360gp-invite-embed-inner .i8w-selected-event-design-shortcode img,
.e360gp-invite-embed-inner img {
  max-width: 100% !important;
  max-height: 58vh !important;
  /* Same cap, measured against the LARGE viewport (the height the page has once the mobile
     browser bar is collapsed). With plain vh the invitation was capped by the shorter
     "browser-bar visible" height on load and only grew to its intended size after the first
     scroll collapsed that bar. lvh gives that final size from the first paint; the vh line
     above stays as the fallback for browsers without lvh. */
  max-height: 58lvh !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(99,102,241,0.16), 0 2px 8px rgba(15,23,42,0.08);
}
.e360gp-invite-embed .e360gp-empty { text-align: center; margin: 0; }
@media (max-width: 680px) {
  .e360gp-invite-embed { margin: 12px 12px 0; padding: 0; }
  .e360gp-invite-embed-inner .i8w-selected-event-design-shortcode img,
  .e360gp-invite-embed-inner img { max-height: 54vh !important; max-height: 54lvh !important; }
}

/* ══ NO MOBILE ZOOM-ON-FOCUS ════════════════════════════════════════ */
/* iOS Safari auto-zooms when a focused field's font-size is below 16px.
   Keep every portal/gift field at 16px so typing a name / blessing / text
   never zooms the page on mobile. */
@media (max-width: 680px) {
  .e360gp input:not([type=checkbox]):not([type=radio]):not([type=range]),
  .e360gp textarea,
  .e360gp select,
  .i8w-p5-gift-page input:not([type=checkbox]):not([type=radio]):not([type=range]),
  .i8w-p5-gift-page textarea,
  .i8w-p5-gift-page select {
    font-size: 16px !important;
  }
}

/* ── Status / empty / loading ── */
.e360gp-empty, .e360gp-loading, .e360gp-error {
  background: rgba(99,102,241,0.04);
  border: 1px solid rgba(99,102,241,0.14);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  color: #4c1d95;
  font-weight: 700;
  font-size: 14px;
}
.e360gp-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* ══ NAVIGATION PANEL ═══════════════════════════════════════════════ */
.e360gp-nav-map {
  width: 100%;
  height: 340px;
  border-radius: 20px;
  border: 1px solid rgba(99,102,241,0.10);
  overflow: hidden;
  margin-bottom: 0;
  background: #f0f1f8;
  box-shadow: 0 6px 24px rgba(99,102,241,0.10), 0 1px 4px rgba(15,23,42,0.06);
}
.e360gp-nav-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.e360gp-nav-venue-card {
  background: #ffffff;
  border: none;
  border-radius: 0;
  padding: 16px 2px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.e360gp-nav-venue-info { flex: 1 1 160px; min-width: 0; }
.e360gp-nav-venue-name {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 3px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.e360gp-nav-venue-addr {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.e360gp-nav-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245,158,11,0.10);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 800;
  white-space: nowrap;
  color: #92400e;
  font-size: 13px;
  flex-shrink: 0;
}
.e360gp-nav-rating-stars { color: #f59e0b; font-size: 12px; }

.e360gp-nav-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.e360gp-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 10px;
  border-radius: 18px;
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  min-height: 76px;
  text-align: center;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.e360gp-nav-btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.e360gp-nav-btn-waze svg { width: 30px; height: 30px; border-radius: 8px; }
.e360gp-nav-btn-waze .e360gp-waze-img { width: 30px; height: 30px; border-radius: 8px; object-fit: contain; display: block; }
.e360gp-nav-btn-maps svg { width: 28px; height: 28px; }
.e360gp-nav-btn:hover { transform: translateY(-2px); }
.e360gp-nav-btn-maps {
  background: #ffffff; color: #1f2937 !important;
  border: 1.5px solid rgba(99,102,241,0.16);
  box-shadow: 0 2px 10px rgba(15,23,42,0.07);
}
.e360gp-nav-btn-maps:hover { box-shadow: 0 8px 22px rgba(15,23,42,0.12); color: #1f2937 !important; }
/* All three nav buttons share the same white card style as גוגל מפות. */
.e360gp-nav-btn-waze,
.e360gp-nav-btn-cal {
  background: #ffffff; color: #1f2937 !important;
  border: 1.5px solid rgba(99,102,241,0.16);
  box-shadow: 0 2px 10px rgba(15,23,42,0.07);
}
.e360gp-nav-btn-waze:hover,
.e360gp-nav-btn-cal:hover { box-shadow: 0 8px 22px rgba(15,23,42,0.12); color: #1f2937 !important; }
/* Past event: the "add to calendar" option is shown but non-clickable. */
.e360gp-nav-btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  filter: grayscale(0.35);
}
.e360gp-nav-btn.is-disabled:hover { transform: none; }

/* Skeleton loader */
.e360gp-nav-skeleton { display: grid; gap: 14px; padding: 4px 0; }
.e360gp-skel-line {
  background: linear-gradient(90deg, #f0f0f8 25%, #e8e8f4 50%, #f0f0f8 75%);
  background-size: 200% 100%;
  animation: e360gp-shimmer 1.4s infinite;
  border-radius: 12px;
}
@keyframes e360gp-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.e360gp-skel-h3   { height: 22px; width: 60%; border-radius: 8px; }
.e360gp-skel-map  { height: 260px; border-radius: 20px; }
.e360gp-skel-btns { display: flex; gap: 10px; }
.e360gp-skel-btn  { height: 48px; flex: 1; border-radius: 999px; }

/* ══ PLACE CARD ════════════════════════════════════════════════════ */
.e360gp-place-card { display: grid; gap: 0; }
.e360gp-place-head {
  display: flex; justify-content: space-between; gap: 16px; align-items: flex-start;
  border-bottom: 1px solid rgba(99,102,241,0.10); padding-bottom: 16px;
}
.e360gp-place-title { font-size: 22px; font-weight: 900; margin: 0 0 5px; color: #0f172a; }
.e360gp-place-address { color: var(--muted); font-weight: 600; font-size: 14px; }
.e360gp-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,158,11,0.10);
  border: 1px solid rgba(245,158,11,0.28);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 800;
  white-space: nowrap;
  color: #92400e;
  font-size: 14px;
  flex-shrink: 0;
}
.e360gp-rating-stars { color: #f59e0b; letter-spacing: -1px; font-size: 14px; }
.e360gp-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.e360gp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: none; border-radius: 999px; background: var(--grad);
  color: #fff !important; text-decoration: none !important;
  font-weight: 700; font-family: 'Rubik', Arial, sans-serif;
  padding: 11px 22px; min-height: 46px; font-size: 14px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(99,102,241,0.30), 0 1px 3px rgba(15,23,42,0.12);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.e360gp-btn:hover { box-shadow: 0 8px 28px rgba(99,102,241,0.38); transform: translateY(-2px); }
.e360gp-btn.secondary { background: #eef2ff; color: #1e3a8a !important; box-shadow: none; border: 1.5px solid rgba(99,102,241,0.18); }
.e360gp-btn.waze      { background: #33ccff; color: #003f5c !important; box-shadow: 0 4px 14px rgba(51,204,255,0.25); }
.e360gp-btn.calendar  { background: var(--soft); color: #1e293b !important; box-shadow: none; border: 1.5px solid rgba(99,102,241,0.14); }
.e360gp-photos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; margin-top: 18px; }
.e360gp-photos img { width: 100%; height: 150px; object-fit: cover; border-radius: 16px; }
.e360gp-photos img:first-child { height: 308px; grid-row: span 2; }
.e360gp-details { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
/* Phone number stays at its original size; only the card (button) is enlarged to the
   full width of the other elements, with comfortable padding. */
.e360gp-detail {
  width: 100%;
  background: #ffffff; border: 1px solid rgba(99,102,241,0.12);
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(99,102,241,0.08), 0 1px 3px rgba(15,23,42,0.05);
  padding: 22px 18px; font-weight: 700; font-size: 14px;
}
.e360gp-detail strong { display: block; color: #7c3aed; font-size: 11px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 5px; }
/* Event360 targeted fix: phone card and Google reviews in the navigation tab align to the same width as the other content. */
.e360gp-details,
.e360gp-reviews-head,
.e360gp-reviews {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
.e360gp-detail {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}


/* ══ REVIEWS (5★ only) ═════════════════════════════════ */
.e360gp-reviews-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.e360gp-reviews-label {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.e360gp-reviews-badge {
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.28);
  color: #92400e;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.e360gp-reviews { display: grid; gap: 12px; grid-template-columns: 1fr; }
.e360gp-review {
  background: #ffffff;
  border: 1px solid rgba(99,102,241,0.11);
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(99,102,241,0.07), 0 1px 3px rgba(15,23,42,0.04);
  padding: 16px 18px;
  font-size: 14px;
  transition: transform 0.17s ease, box-shadow 0.17s ease;
}
.e360gp-review:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(99,102,241,0.12); }
.e360gp-review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.e360gp-review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.e360gp-review-avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #eef2ff;
}
.e360gp-review-time {
  margin-inline-start: auto;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  align-self: center;
  flex-shrink: 0;
}
.e360gp-review-author-wrap { flex: 1; min-width: 0; }
.e360gp-review-author { font-weight: 800; color: #1e293b; font-size: 14px; line-height: 1.2; }
.e360gp-review-stars { font-size: 14px; letter-spacing: 1px; margin-top: 3px; }
.e360gp-stars-on { color: #f59e0b; }
.e360gp-stars-off { color: #dbe1ea; }
.e360gp-review-text {
  color: #334155;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
  padding-top: 10px;
  border-top: 1px solid rgba(99,102,241,0.07);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.e360gp-google-note { font-size: 12px; color: var(--muted); text-align: left; margin-top: 10px; }

/* ══ SCHEDULE ═══════════════════════════════════════════════════════ */
.e360gp-schedule { max-width: 760px; margin: 0 auto; }
.e360gp-schedule-list { display: grid; gap: 10px; }
.e360gp-schedule-item {
  display: grid; grid-template-columns: 82px 1fr; gap: 14px; align-items: center;
  background: #ffffff; border: 1px solid rgba(99,102,241,0.12); border-radius: 18px;
  box-shadow: 0 2px 8px rgba(99,102,241,0.07), 0 1px 3px rgba(15,23,42,0.04);
  padding: 14px 18px;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s;
}
.e360gp-schedule-item:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(99,102,241,0.14); }
.e360gp-schedule-time {
  background: var(--grad); color: #fff; border-radius: 999px;
  padding: 8px 10px; text-align: center; font-weight: 800; font-size: 13px;
}
.e360gp-schedule-text { font-weight: 700; font-size: 15px; color: #1e293b; }

.e360gp-manager { max-width: 900px; margin: 0 auto; color: var(--txt); font-family: 'Rubik', Arial, sans-serif; }
.e360gp-success { background: #ecfdf3; border: 1px solid #bbf7d0; color: #166534; border-radius: 16px; padding: 14px; margin-bottom: 16px; font-weight: 800; text-align: center; }
.e360gp-schedule-form, .e360gp-schedule-preview {
  background: #ffffff; border: 1px solid rgba(99,102,241,0.12); border-radius: 24px;
  box-shadow: 0 4px 20px rgba(99,102,241,0.10), 0 2px 8px rgba(15,23,42,0.06);
  padding: 22px 26px; margin-bottom: 18px;
}
.e360gp-schedule-form p { margin: 0 0 14px; color: var(--muted); font-weight: 600; font-size: 14px; }
.e360gp-schedule-form textarea {
  width: 100%; border: 1.5px solid rgba(99,102,241,0.16); border-radius: 14px;
  padding: 14px; font-family: 'Rubik', Arial, sans-serif; line-height: 1.8;
  min-height: 210px; resize: vertical; font-size: 14px;
}
.e360gp-save-btn {
  margin-top: 14px; border: none; border-radius: 999px; background: var(--grad);
  color: #fff; font-family: 'Rubik', Arial, sans-serif; font-weight: 700; font-size: 14px;
  padding: 11px 26px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(99,102,241,0.30), 0 1px 3px rgba(15,23,42,0.12);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.e360gp-save-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(99,102,241,0.38); }
.e360gp-save-btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.e360gp-sch-save-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.e360gp-sch-save-row .e360gp-save-btn { margin-top: 0; }
.e360gp-sch-save-msg { font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; display: none; }
.e360gp-sch-save-msg:not(:empty) { display: inline-block; }
.e360gp-sch-save-msg.ok  { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.e360gp-sch-save-msg.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.e360gp-schedule-preview h4 { margin: 0 0 12px; font-size: 18px; font-weight: 800; }

/* ══ FOOD MENU ══════════════════════════════════════════════════════ */
.e360gp-food-menu { max-width: 820px; margin: 0 auto; }
.e360gp-food-sub { text-align: center; color: var(--muted); font-weight: 600; font-size: 14px; margin: 0 0 20px; }
.e360gp-food-form { display: grid; gap: 14px; }
.e360gp-food-group {
  background: #ffffff; border: 1px solid rgba(99,102,241,0.12); border-radius: 24px;
  box-shadow: 0 4px 20px rgba(99,102,241,0.08), 0 2px 8px rgba(15,23,42,0.05);
  overflow: hidden;
}
.e360gp-food-group h4 {
  background: var(--hgrad); border-bottom: 1px solid rgba(99,102,241,0.12);
  padding: 16px 20px; margin: 0;
  font-size: 16px; font-weight: 800; color: #7c3aed; letter-spacing: -0.01em;
}
.e360gp-food-options-wrap { padding: 14px 16px 16px; display: grid; gap: 10px; }
.e360gp-food-option {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--soft); border: 1.5px solid rgba(99,102,241,0.12); border-radius: 16px;
  padding: 14px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.e360gp-food-option:hover { transform: translateY(-1px); border-color: rgba(99,102,241,0.25); }
.e360gp-food-option:has(input:checked) { border-color: rgba(99,102,241,0.40); background: rgba(99,102,241,0.04); }
.e360gp-food-option input { margin-top: 4px; accent-color: #4f46e5; flex-shrink: 0; }
.e360gp-food-option strong { display: block; font-weight: 800; color: #0f172a; font-size: 15px; }
.e360gp-food-option small { display: block; color: var(--muted); font-weight: 600; margin-top: 3px; font-size: 13px; }
.e360gp-food-note { padding: 0 16px 16px; display: grid; gap: 8px; font-weight: 700; }
.e360gp-food-note textarea {
  width: 100%; border: 1.5px solid rgba(99,102,241,0.16); border-radius: 14px;
  padding: 13px; font-family: 'Rubik', Arial, sans-serif; resize: vertical; font-size: 14px;
}
.e360gp-food-msg { font-weight: 700; text-align: center; font-size: 14px; margin-top: 14px; }
.e360gp-food-msg.ok  { background: #ecfdf3; border: 1px solid #bbf7d0; color: #166534; border-radius: 14px; padding: 13px; }
.e360gp-food-msg.err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 14px; padding: 13px; }
.e360gp-food-img { width: 82px; height: 82px; object-fit: cover; border-radius: 14px; border: 1px solid var(--border); flex: 0 0 82px; background: #fff; }
.e360gp-food-fixed { display: inline-flex; margin-inline-start: 8px; font-size: 11px; background: #eef2ff; color: #1e3a8a; border: 1px solid #c7d2fe; border-radius: 999px; padding: 3px 8px; vertical-align: middle; }
.e360gp-food-static { cursor: default; }
.e360gp-food-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.e360gp-food-tag { display: inline-flex; align-items: center; border: 1px solid var(--border); background: #f8fafc; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; color: #334155; }

/* ══ RSVP WIDGET ════════════════════════════════════════════════════ */
.e360gp-rsvp-inline-msg { margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; background: #f8fafc; border: 1px solid #e2e8f0; color: #334155; font-weight: 700; text-align: center; font-size: 14px; }
.e360gp-rsvp-inline-msg.ok  { background: #ecfdf5; border-color: #bbf7d0; color: #166534; }
.e360gp-rsvp-inline-msg.err { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.e360gp-rsvp-saving { opacity: 0.72; pointer-events: none; }
.e360gp-attendee {
  background: #ffffff; border: 1px solid rgba(99,102,241,0.12); border-radius: 24px;
  box-shadow: 0 4px 20px rgba(99,102,241,0.08), 0 2px 8px rgba(15,23,42,0.05);
  overflow: hidden; margin: 0 0 18px;
}
.e360gp-attendee-head {
  background: var(--hgrad); border-bottom: 1px solid rgba(99,102,241,0.12);
  padding: 18px 22px; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.e360gp-attendee-head h4 { margin: 0; font-size: 20px; font-weight: 800; color: #7c3aed; letter-spacing: -0.01em; }
.e360gp-attendee-head label { font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; font-size: 14px; }
.e360gp-attendee-type { border: 1.5px solid rgba(99,102,241,0.18); border-radius: 12px; padding: 9px 13px; font: inherit; font-weight: 700; background: #fff; font-size: 14px; }
.e360gp-attendee-type-fixed { font-weight: 600; color: var(--muted); font-size: 14px; }
.e360gp-attendee-type-fixed strong { color: #7c3aed; font-weight: 800; }
.e360gp-attendee-body { padding: 18px 22px 20px; }
.e360gp-no-options { padding: 13px; border-radius: 14px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; font-weight: 700; text-align: center; font-size: 14px; }
.e360gp-rsvp-change {
  margin-top: 14px; background: var(--grad); color: #fff; border: none;
  padding: 11px 26px; border-radius: 999px; cursor: pointer;
  font-family: 'Rubik', Arial, sans-serif; font-weight: 700; font-size: 14px;
  box-shadow: 0 4px 14px rgba(99,102,241,0.30), 0 1px 3px rgba(15,23,42,0.12);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s;
}
.e360gp-rsvp-change:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(99,102,241,0.38); }
.e360gp-allergy-box { margin: 16px 0; padding: 18px; border: 1px solid rgba(99,102,241,0.12); border-radius: 18px; background: #fff; box-shadow: 0 2px 8px rgba(99,102,241,0.06); }
.e360gp-allergy-toggle { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.e360gp-allergy-toggle label, .e360gp-allergy-list label { display: inline-flex; align-items: center; gap: 7px; margin: 6px 0 6px 10px; font-weight: 600; font-size: 14px; }
.e360gp-allergy-list { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(99,102,241,0.08); }
/* "לא" collapses the list so the card has no empty white space. */
.e360gp-allergy-list--reserved { display: none; }
.e360gp-allergy-list p { margin: 0 0 8px; color: #475569; font-size: 14px; }
.e360gp-allergy-other-wrap { margin-top: 10px; }
.e360gp-allergy-other-label { display: flex !important; flex-direction: column; align-items: stretch !important; gap: 7px; max-width: 360px; }
.e360gp-allergy-other-label input { width: 100%; padding: 11px 13px; border: 1.5px solid rgba(99,102,241,0.18); border-radius: 12px; font: inherit; font-size: 14px; }
.e360gp-allergy-row { margin: 10px 0; padding: 13px; border: 1px solid rgba(99,102,241,0.10); border-radius: 14px; background: #fff; }
.e360gp-allergy-main-label { font-weight: 800 !important; }
.e360gp-allergy-assignment { margin-top: 10px; padding: 11px 13px; border-radius: 12px; background: #f8fafc; border: 1px solid rgba(99,102,241,0.08); }
.e360gp-allergy-count { font-weight: 800; margin-bottom: 8px; color: #0f172a; }
.e360gp-allergy-slots { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.e360gp-allergy-slots label { margin: 0 !important; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid rgba(99,102,241,0.12); font-size: 14px; }

/* ══ SCHEDULE BUILDER ═══════════════════════════════════════════════ */
.e360gp-sch-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.e360gp-sch-head-main { flex: 1 1 200px; }
.e360gp-sch-head-main h3 { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: #7c3aed; letter-spacing: -0.01em; }
.e360gp-sch-sub { margin: 0; font-size: 13px; color: #64748b; font-weight: 600; }
.e360gp-sch-count-pill { background: rgba(99,102,241,0.10); color: #4f46e5; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap; flex-shrink: 0; align-self: flex-start; margin-top: 4px; }
.e360gp-sch-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.e360gp-sch-item-card { display: grid; grid-template-columns: 82px 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1px solid rgba(99,102,241,0.10); border-radius: 16px; padding: 13px 20px; transition: transform 0.15s, box-shadow 0.15s; }
.e360gp-sch-item-card:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(99,102,241,0.12); }
.e360gp-sch-item-card .e360gp-schedule-time { background: var(--grad); color: #fff; border-radius: 999px; padding: 8px 10px; text-align: center; font-weight: 800; font-size: 13px; white-space: nowrap; }
.e360gp-sch-item-card .e360gp-schedule-text { font-weight: 700; font-size: 15px; color: #1e293b; }
.e360gp-sch-del-btn { background: none; border: none; color: #94a3b8; font-size: 18px; cursor: pointer; line-height: 1; padding: 4px 6px; border-radius: 8px; transition: color 0.15s, background 0.15s; }
.e360gp-sch-del-btn:hover { color: #dc2626; background: rgba(220,38,38,0.08); }
.e360gp-sch-add-area { margin-bottom: 14px; }
.e360gp-sch-add-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: rgba(99,102,241,0.04); border: 1.5px dashed rgba(99,102,241,0.25); border-radius: 16px; padding: 13px 16px; margin-bottom: 10px; }
.e360gp-sch-time-in { padding: 10px 12px; border: 1.5px solid rgba(99,102,241,0.18); border-radius: 12px; font-family: 'Rubik', Arial, sans-serif; font-size: 14px; color: #0f172a; background: #fff; outline: none; width: 120px; flex-shrink: 0; }
.e360gp-sch-text-in { flex: 1 1 180px; padding: 10px 13px; border: 1.5px solid rgba(99,102,241,0.18); border-radius: 12px; font-family: 'Rubik', Arial, sans-serif; font-size: 14px; color: #0f172a; background: #fff; outline: none; min-width: 0; }
.e360gp-sch-time-in:focus, .e360gp-sch-text-in:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,0.12); }
.e360gp-sch-add-btns { display: flex; gap: 6px; flex-shrink: 0; }
.e360gp-sch-confirm-btn { padding: 10px 18px; border: none; border-radius: 999px; background: linear-gradient(135deg,#1e40af 0%,#4f46e5 55%,#7c3aed 100%); color: #fff; font-family: 'Rubik', Arial, sans-serif; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; box-shadow: 0 3px 10px rgba(99,102,241,0.25); }
.e360gp-sch-time-in { accent-color: #6366f1; }
.e360gp-sch-time-in::-webkit-calendar-picker-indicator { display: none !important; }
.e360gp-sch-placeholder-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(99,102,241,0.03); border: 1.5px dashed rgba(99,102,241,0.18); border-radius: 14px; margin-bottom: 6px; opacity: 0.55; pointer-events: none; }
.e360gp-sch-placeholder-badge { font-size: 10px; font-weight: 700; padding: 2px 8px; background: rgba(99,102,241,0.10); color: #6366f1; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }
.e360gp-sch-cancel-btn { padding: 10px 16px; border: 1.5px solid rgba(99,102,241,0.2); border-radius: 999px; background: #fff; color: #64748b; font-family: 'Rubik', Arial, sans-serif; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
.e360gp-sch-cancel-btn:hover { border-color: #94a3b8; color: #334155; }
.e360gp-sch-plus-btn { display: flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1.5px dashed rgba(99,102,241,0.3); border-radius: 14px; background: rgba(99,102,241,0.04); color: #6366f1; font-family: 'Rubik', Arial, sans-serif; font-weight: 700; font-size: 14px; cursor: pointer; width: 100%; justify-content: center; transition: background 0.15s, border-color 0.15s; }
.e360gp-sch-plus-btn:hover { background: rgba(99,102,241,0.08); border-color: rgba(99,102,241,0.45); }
.e360gp-sch-plus-btn span { font-size: 20px; font-weight: 400; line-height: 1; }


/* ══ RESPONSIVE ═════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .e360gp-tab { padding: 14px 4px 12px; gap: 6px; }
  .e360gp-tab-svg { width: 24px; height: 24px; fill: none !important; }
  .e360gp-tab-label { font-size: 11px; white-space: normal; word-break: break-word; text-align: center; line-height: 1.3; }
}

@media (max-width: 680px) {
  /* full bleed: break out of theme content padding */
  .e360gp {
    width: 100vw;
    max-width: 100vw;
    margin-top: 0;
    margin-bottom: 0;
    margin-inline: calc(50% - 50vw);
  }

  /* header: full width, no radius, keep purple bg */
  .e360gp-header { border-radius: 0; padding: 10px 14px; }
  .e360gp-header-title { font-size: 13px; padding: 5px 14px; }
  .e360gp-header-logo img { max-height: 28px; transform: translateY(3px); }
  .e360gp-header-site-name { font-size: 13px; }

  /* tab bar: clean white, no purple, no border-radius, sticky */
  .e360gp-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #ffffff;
    border: none;
    border-bottom: 1px solid #e9ecf4;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 9;
  }
  .e360gp-tabs::-webkit-scrollbar { display: none; }
  .e360gp-tab {
    flex: 1 1 0;
    min-width: 56px;
    padding: 11px 4px 9px;
    gap: 4px;
  }
  .e360gp-tab-svg { width: 20px; height: 20px; fill: none !important; }
  .e360gp-tab-label { font-size: 10px; font-weight: 700; white-space: normal; word-break: break-word; text-align: center; line-height: 1.25; }
  .e360gp .e360gp-tab.is-active { background: transparent !important; color: #4f46e5 !important; }
  .e360gp .e360gp-tab.is-active .e360gp-tab-svg { stroke: #4f46e5 !important; fill: none !important; }

  /* panels: no outer decoration, transparent so body bg shows */
  .e360gp-panels {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .e360gp-panel-head {
    padding: 14px 14px 12px;
    gap: 10px;
    border-radius: 14px;
    margin: 12px 12px 0;
  }
  .e360gp-panel-ico { width: 36px; height: 36px; font-size: 18px; border-radius: 11px; }
  .e360gp-panel-title { font-size: 17px; }
  .e360gp-panel-sub { font-size: 11.5px; }

  /* panel body: light bg so white cards float with clear separation */
  .e360gp-panel-body {
    background: #f1f4fb;
    padding: 12px;
    display: grid;
    gap: 10px;
  }

  /* compact RSVP */
  .e360gp-attendee { border-radius: 16px; margin-bottom: 0; box-shadow: 0 2px 10px rgba(15,23,42,0.07); }
  .e360gp-attendee-head { padding: 12px 14px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .e360gp-attendee-head h4 { font-size: 16px; }
  .e360gp-attendee-head label { font-size: 13px; gap: 6px; width: 100%; justify-content: space-between; }
  .e360gp-attendee-type { padding: 7px 10px; font-size: 13px; width: 100%; border-radius: 10px; }
  .e360gp-attendee-body { padding: 12px 14px 14px; }
  .e360gp-allergy-box { padding: 12px; border-radius: 14px; margin: 0; }
  .e360gp-allergy-toggle { gap: 8px; margin-top: 8px; }
  .e360gp-allergy-toggle label, .e360gp-allergy-list label { font-size: 13px; margin: 3px 0 3px 6px; gap: 5px; }
  .e360gp-allergy-row { padding: 10px; border-radius: 12px; }
  .e360gp-allergy-assignment { padding: 9px 11px; border-radius: 10px; }
  .e360gp-allergy-slots label { padding: 5px 10px; font-size: 13px; }
  .e360gp-rsvp-change { width: 100%; text-align: center; padding: 12px 20px; margin-top: 12px; }

  /* food */
  .e360gp-food-group { border-radius: 16px; box-shadow: 0 2px 10px rgba(15,23,42,0.07); }
  .e360gp-food-group h4 { padding: 12px 14px; font-size: 14px; }
  .e360gp-food-options-wrap { padding: 10px 12px 12px; }
  .e360gp-food-option { padding: 11px; gap: 10px; }
  .e360gp-food-option strong { font-size: 14px; }
  .e360gp-food-note { padding: 0 12px 12px; }

  /* navigation */
  .e360gp-nav-map { height: 210px; border-radius: 14px; }
  .e360gp-nav-actions { gap: 8px; }
  .e360gp-nav-btn { padding: 12px 14px; font-size: 13px; flex: 1 1 calc(50% - 4px); min-width: 0; justify-content: center; }
  .e360gp-nav-venue-card { padding: 14px 16px; border-radius: 16px; }
  .e360gp-nav-venue-name { font-size: 17px; }

  /* photos / details / reviews */
  .e360gp-photos { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .e360gp-photos img, .e360gp-photos img:first-child { height: 120px; grid-row: auto; }
  .e360gp-photos img:first-child { grid-column: span 2; height: 180px; }
  .e360gp-details { grid-template-columns: 1fr; margin-top: 0; }
  .e360gp-reviews { grid-template-columns: 1fr; }
  .e360gp-review { border-radius: 14px; padding: 13px 14px; }
  .e360gp-review-avatar, .e360gp-review-avatar-img { width: 34px; height: 34px; font-size: 13px; }

  /* schedule */
  .e360gp-schedule-item { border-radius: 14px; }
  .e360gp-schedule-form, .e360gp-schedule-preview { border-radius: 16px; }
}

@media (max-width: 480px) {
  .e360gp-nav-btn { flex: 1 1 calc(50% - 4px); }
  .e360gp-sch-item-card { grid-template-columns: 68px 1fr auto; padding: 9px 11px; gap: 8px; }
  .e360gp-sch-add-row { flex-direction: column; align-items: stretch; }
  .e360gp-sch-time-in, .e360gp-sch-text-in { width: 100%; height: 42px; flex: none; }
  .e360gp-sch-add-btns { flex-direction: row; }
  .e360gp-sch-confirm-btn, .e360gp-sch-cancel-btn { flex: 1; text-align: center; }
  .e360gp-food-img { width: 58px; height: 58px; flex-basis: 58px; }
}

/* ── Schedule builder: prevent new rows from overflowing the card ── */
@media (max-width: 820px) {
  .e360gp-schedule-form { padding: 14px 14px; overflow: hidden; }
  .e360gp-sch-head { margin-bottom: 12px; }
  .e360gp-sch-list { width: 100%; overflow: hidden; }
  .e360gp-sch-item-card {
    max-width: 100%;
    overflow: hidden;
    grid-template-columns: 60px 1fr 32px;
    gap: 8px;
    padding: 9px 10px;
  }
  .e360gp-sch-add-area { width: 100%; }
  .e360gp-sch-add-row {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .e360gp-sch-time-in, .e360gp-sch-text-in {
    width: 100% !important;
    flex: none;
    min-width: 0;
    box-sizing: border-box;
  }
  .e360gp-sch-add-btns { flex-direction: row; width: 100%; }
  .e360gp-sch-confirm-btn, .e360gp-sch-cancel-btn { flex: 1; justify-content: center; }
  .e360gp-sch-plus-btn { box-sizing: border-box; }
}

/* ══ RSVP WIDGET (i8w_guest_rsvp_widget inline-style overrides) ═════ */
.i8w-rsvp-widget-wrap {
  padding: 28px 24px 20px !important;
  direction: rtl;
  max-width: 600px;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}
.i8w-rsvp-title-main {
  font-size: 26px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  margin: 0 0 6px !important;
  text-align: right;
  letter-spacing: -0.02em;
  font-family: 'Rubik', Arial, sans-serif !important;
}
/* "היי, [name]" greeting — large and elegant (gradient brand text). */
.i8w-rsvp-subtitle {
  font-size: 25px !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.25 !important;
  font-family: 'Rubik', Arial, sans-serif !important;
  background: linear-gradient(120deg, #4f46e5 0%, #7c3aed 55%, #9333ea 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #7c3aed !important;
  margin: 0 0 28px !important;
  text-align: right;
}
/* Guidance line injected by guest-portal.js right under the greeting —
   centred, refined subtitle. */
.e360gp-rsvp-instruction {
  font-size: 16px;
  color: #64748b;
  font-weight: 500;
  text-align: center;
  line-height: 1.7;
  letter-spacing: 0.005em;
  margin: 0 auto 26px;
  max-width: 430px;
}
/* Emphasis 4: elegant, modern section labels with subtle side accents, centered above
   the (centered) controls they describe. */
.i8w-rsvp-section-title {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #4f46e5 !important;
  text-transform: none;
  letter-spacing: -0.01em !important;
  margin: 0 0 16px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.i8w-rsvp-section-title::before,
.i8w-rsvp-section-title::after {
  content: '';
  height: 1px;
  flex: 0 0 32px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.45));
}
.i8w-rsvp-section-title::after { background: linear-gradient(90deg, rgba(99,102,241,0.45), transparent); }
/* qty stepper container */
.i8w-qty-box {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  background: linear-gradient(135deg, #ffffff, #f6f7ff) !important;
  border: 1.5px solid rgba(99,102,241,0.18) !important;
  border-radius: 18px !important;
  padding: 8px 10px !important;
  margin: 0 auto 30px !important;
  box-shadow: 0 8px 22px rgba(99,102,241,0.12), inset 0 1px 0 rgba(255,255,255,0.7) !important;
}
.i8w-rsvp-qty-plus, .i8w-rsvp-qty-minus {
  width: 46px !important;
  height: 46px !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #eef2ff, #f5f3ff) !important;
  border: 1px solid rgba(99,102,241,0.16) !important;
  border-radius: 13px !important;
  color: #4f46e5 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(99,102,241,0.12) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease !important;
}
.i8w-rsvp-qty-plus:hover, .i8w-rsvp-qty-minus:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(99,102,241,0.32) !important;
}
.i8w-rsvp-qty-plus:active, .i8w-rsvp-qty-minus:active { transform: translateY(0) scale(0.95) !important; }
.i8w-qty-input {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  width: 56px !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
}
/* meals grid — Emphasis 5: centered flex so an odd last card sits in the middle, not stuck to a side */
.i8w-rsvp-meals-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 0 auto 30px !important;
  max-width: 100%;
}
.i8w-rsvp-meal-col {
  flex: 0 1 calc(50% - 8px) !important;
  max-width: none !important;
  min-width: 0 !important;
  background: linear-gradient(135deg, #ffffff, #f6f7ff) !important;
  border: 1.5px solid rgba(99,102,241,0.14) !important;
  border-radius: 18px !important;
  padding: 16px 16px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
  box-shadow: 0 4px 14px rgba(99,102,241,0.08) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease !important;
}
.i8w-rsvp-meal-col:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(99,102,241,0.16) !important;
  border-color: rgba(99,102,241,0.28) !important;
}
.i8w-rsvp-meal-label {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  margin: 0 !important;
  text-align: center;
  line-height: 1.3;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.i8w-meal-stepper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}
.i8w-meal-plus, .i8w-meal-minus {
  width: 28px !important;
  height: 28px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  background: #fff !important;
  border: 1px solid rgba(99,102,241,0.16) !important;
  border-radius: 9px !important;
  color: #4f46e5 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease !important;
}
.i8w-meal-plus:hover, .i8w-meal-minus:hover { background: #4f46e5 !important; color: #fff !important; }
.i8w-meal-plus:active, .i8w-meal-minus:active { transform: scale(0.93) !important; }
.i8w-special-meal {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  width: 30px !important;
  padding: 0 !important;
}
/* action buttons */
.i8w-rsvp-buttons {
  display: flex !important;
  gap: 14px !important;
  justify-content: center !important;
  margin-top: 4px !important;
  flex-wrap: wrap;
}
.i8w-rsvp-approve, .i8w-rsvp-decline {
  border: none !important;
  border-radius: 16px !important;
  padding: 15px 38px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  font-family: 'Rubik', Arial, sans-serif !important;
  cursor: pointer !important;
  min-width: 150px !important;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease !important;
}
.i8w-rsvp-approve {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(22,163,74,0.30) !important;
}
.i8w-rsvp-decline {
  background: linear-gradient(135deg, #f87171 0%, #dc2626 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(220,38,38,0.24) !important;
}
.i8w-rsvp-approve:hover, .i8w-rsvp-decline:hover { transform: translateY(-2px) !important; filter: brightness(1.03) !important; }
.i8w-rsvp-approve:active, .i8w-rsvp-decline:active { transform: translateY(0) !important; }
/* Icon sits to the LEFT of the word, in white (guest-portal.js swaps the original
   ✔/✖ emoji for clean white SVGs and wraps the label). direction:ltr puts the
   icon — the first child — on the left; the Hebrew word stays RTL inside its span. */
.e360gp .i8w-rsvp-approve,
.e360gp .i8w-rsvp-decline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  direction: ltr !important;
}
.e360gp-rsvp-btn-ico { display: inline-flex; align-items: center; line-height: 0; pointer-events: none; }
.e360gp-rsvp-btn-ico svg { width: 19px; height: 19px; display: block; stroke: #fff; }
.e360gp-rsvp-btn-txt { direction: rtl; pointer-events: none; }
.i8w-p3ib-status {
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  margin: 14px 0 0 !important;
}

/* RSVP widget mobile overrides */
@media (max-width: 680px) {
  .i8w-rsvp-widget-wrap { padding: 16px 14px 12px !important; }
  .i8w-rsvp-title-main { font-size: 20px !important; }
  .i8w-rsvp-subtitle { font-size: 21px !important; margin: 0 0 20px !important; }
  .e360gp-rsvp-instruction { font-size: 14.5px; margin: 0 auto 22px; max-width: 320px; }
  .i8w-rsvp-meals-grid { gap: 10px !important; }
  .i8w-rsvp-meal-col { flex: 0 1 calc(50% - 8px) !important; max-width: none !important; min-width: 0 !important; padding: 14px 12px 12px !important; }
  .i8w-rsvp-meal-label { min-height: 0; }
  .i8w-rsvp-buttons {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    margin-top: 20px !important;
  }
  .i8w-rsvp-approve, .i8w-rsvp-decline {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    font-size: 15px !important;
    padding: 14px 10px !important;
  }
}

/* EVENT360 mobile precision fixes - schedule left side rounding + overflow */
@media (max-width: 820px) {
  .e360gp-schedule-form,
  .e360gp-schedule-preview {
    overflow: visible !important;
  }

  .e360gp-sch-list,
  .e360gp-sch-add-area {
    overflow: visible !important;
    padding-inline: 0 !important;
  }

  .e360gp-sch-item-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 18px !important;
    overflow: visible !important;
    border: 1.5px solid rgba(99,102,241,0.12) !important;
    grid-template-columns: 78px minmax(0, 1fr) 28px !important;
    gap: 8px !important;
    padding: 10px 14px !important;
    align-items: center !important;
  }

  .e360gp-sch-item-card .e360gp-schedule-time {
    min-width: 68px !important;
    max-width: 78px !important;
    padding: 8px 10px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    justify-self: stretch !important;
  }

  .e360gp-sch-item-card .e360gp-schedule-text {
    min-width: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .e360gp-sch-del-btn {
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    justify-self: end !important;
  }

  .e360gp-sch-add-row {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    margin-inline: 0 !important;
    border: 1.5px dashed rgba(99,102,241,0.25) !important;
  }

  .e360gp-sch-time-in,
  .e360gp-sch-text-in,
  .e360gp-sch-confirm-btn,
  .e360gp-sch-cancel-btn,
  .e360gp-sch-plus-btn {
    border-radius: 14px !important;
    box-sizing: border-box !important;
  }
}

/* EVENT360 targeted fix: keep schedule add row centered inside the mobile card */
@media (max-width: 820px) {
  .e360gp-schedule-form {
    overflow: hidden !important;
  }

  .e360gp-sch-list,
  .e360gp-sch-add-area {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .e360gp-sch-add-row {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  .e360gp-sch-item-card {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
  }
}

/* EVENT360 final targeted fix: center schedule rows inside mobile card without changing layout logic */
@media (max-width: 820px) {
  .e360gp-schedule-form .e360gp-sch-list,
  .e360gp-schedule-form .e360gp-sch-add-area {
    width: auto !important;
    max-width: none !important;
    margin-left: 22px !important;
    margin-right: 22px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .e360gp-schedule-form .e360gp-sch-item-card,
  .e360gp-schedule-form .e360gp-sch-add-row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    transform: none !important;
  }
}

@media (max-width: 480px) {
  .e360gp-schedule-form .e360gp-sch-list,
  .e360gp-schedule-form .e360gp-sch-add-area {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
}

/* EVENT360 final precision fix: center the new schedule row/add form on mobile only */
@media (max-width: 820px) {
  .e360gp-schedule-form .e360gp-sch-add-area {
    display: block !important;
    width: calc(100% - 44px) !important;
    max-width: calc(100% - 44px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .e360gp-schedule-form .e360gp-sch-add-row {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
    transform: none !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    overflow: visible !important;
  }

  .e360gp-schedule-form .e360gp-sch-add-row > * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .e360gp-schedule-form .e360gp-sch-add-area {
    width: calc(100% - 40px) !important;
    max-width: calc(100% - 40px) !important;
  }
}

/* EVENT360 targeted fix: keep add-row closed by default and center mobile time field inside frame */
@media (max-width: 820px) {
  .e360gp-schedule-form .e360gp-sch-add-row[style*="display:none"],
  .e360gp-schedule-form .e360gp-sch-add-row[style*="display: none"] {
    display: none !important;
  }

  .e360gp-schedule-form .e360gp-sch-add-row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .e360gp-schedule-form .e360gp-sch-time-in,
  .e360gp-schedule-form .e360gp-sch-text-in,
  .e360gp-schedule-form .e360gp-sch-add-btns {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* EVENT360 mobile schedule add-row overflow fix - 2026-05-24
   Scope: only the opened "הוסף שורה" area in the schedule tab on mobile. */
@media (max-width: 820px) {
  .e360gp-schedule-form .e360gp-sch-add-row[style*="display:none"],
  .e360gp-schedule-form .e360gp-sch-add-row[style*="display: none"] {
    display: none !important;
  }

  .e360gp-schedule-form .e360gp-sch-add-area {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .e360gp-schedule-form .e360gp-sch-add-row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    align-items: stretch !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    overflow: visible !important;
  }

  .e360gp-schedule-form .e360gp-sch-time-in,
  .e360gp-schedule-form .e360gp-sch-text-in,
  .e360gp-schedule-form .e360gp-sch-add-btns {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .e360gp-schedule-form .e360gp-sch-add-btns {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
  }

  .e360gp-schedule-form .e360gp-sch-confirm-btn,
  .e360gp-schedule-form .e360gp-sch-cancel-btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .e360gp-schedule-form .e360gp-sch-add-area {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* EVENT360 precision fix: prevent the mobile schedule new-row time input from being clipped */
@media (max-width: 820px) {
  .e360gp-schedule-form .e360gp-sch-add-row .e360gp-sch-time-in,
  .e360gp-schedule-form input.e360gp-sch-time-in[type="time"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    line-height: 48px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    direction: ltr !important;
    text-align: center !important;
    text-indent: 0 !important;
    overflow: visible !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }
}

/* EVENT360 schedule card centering: FINAL OVERRIDE — equal clearance both sides */
@media (max-width: 820px) {
  body .e360gp-schedule-form .e360gp-sch-list,
  body .e360gp-schedule-form .e360gp-sch-add-area {
    margin: 0 !important;
    padding: 0 16px !important;
    padding-inline: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  body .e360gp-schedule-form .e360gp-sch-item-card,
  body .e360gp-schedule-form .e360gp-sch-add-row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}

/* EVENT360 desktop schedule: rows span the full tab width */
@media (min-width: 821px) {
  .e360gp-schedule-form .e360gp-sch-list,
  .e360gp-schedule-form .e360gp-sch-add-area,
  .e360gp-schedule-form .e360gp-sch-item-card,
  .e360gp-schedule-form .e360gp-sch-add-row {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
  }
}

/* =====================================================================
   Event360 Guest Portal - uniform tab/content spacing refinement
   Scope: guest portal tabs only. Keeps all existing logic/design intact.
   ===================================================================== */
.e360gp {
  --e360gp-tab-content-gap: 14px;
}

.e360gp .e360gp-tabs {
  margin-bottom: 0 !important;
}

.e360gp .e360gp-panel-head {
  margin-top: var(--e360gp-tab-content-gap) !important;
}

.e360gp .e360gp-panel-body {
  padding-top: var(--e360gp-tab-content-gap) !important;
}

.e360gp .e360gp-panel[data-panel="rsvp"] .e360gp-invite-embed {
  margin-top: var(--e360gp-tab-content-gap) !important;
}

.e360gp .e360gp-panel[data-panel="rsvp"] .e360gp-panel-head {
  margin-top: var(--e360gp-tab-content-gap) !important;
}

@media (max-width: 680px) {
  .e360gp {
    --e360gp-tab-content-gap: 10px;
  }

  .e360gp .e360gp-panel-head {
    margin-top: var(--e360gp-tab-content-gap) !important;
  }

  .e360gp .e360gp-panel-body {
    padding-top: var(--e360gp-tab-content-gap) !important;
  }

  .e360gp .e360gp-panel[data-panel="rsvp"] .e360gp-invite-embed {
    margin-top: var(--e360gp-tab-content-gap) !important;
  }
}

/* =====================================================================
   Event360 Guest Portal - precise spacing fix
   Requested scope:
   1) All tabs: identical gap from purple title/explanation area to tab content.
   2) RSVP tab only: tabs -> invitation gap equals invitation -> purple header gap.
   No logic or design changes beyond spacing.
   ===================================================================== */
.e360gp {
  --e360gp-uniform-gap: 14px;
}

/* All tabs: keep the purple header and body content gap identical. */
.e360gp .e360gp-panel-head {
  margin-bottom: 0 !important;
}
.e360gp .e360gp-panel-body {
  padding-top: var(--e360gp-uniform-gap) !important;
}
.e360gp .e360gp-panel-body > *:first-child {
  margin-top: 0 !important;
}

/* RSVP only: tabs -> invitation -> purple header all use the same gap. */
.e360gp .e360gp-panel[data-panel="rsvp"] .e360gp-invite-embed {
  margin-top: var(--e360gp-uniform-gap) !important;
  margin-bottom: 0 !important;
}
.e360gp .e360gp-panel[data-panel="rsvp"] .e360gp-panel-head {
  margin-top: var(--e360gp-uniform-gap) !important;
}

@media (max-width: 680px) {
  .e360gp {
    --e360gp-uniform-gap: 10px;
  }
  .e360gp .e360gp-panel-body {
    padding-top: var(--e360gp-uniform-gap) !important;
  }
  .e360gp .e360gp-panel[data-panel="rsvp"] .e360gp-invite-embed,
  .e360gp .e360gp-panel[data-panel="rsvp"] .e360gp-panel-head {
    margin-top: var(--e360gp-uniform-gap) !important;
  }
}


/* =====================================================================
   EVENT360 FINAL FIX - Guest invitation page tab-to-header spacing
   Requested: the gap between the tab bar and the purple section header
   must match the gap between the purple section header and the first
   content card below it. Spacing only; no logic/design changes.
   ===================================================================== */
.e360gp .e360gp-tabs {
  margin-bottom: 0 !important;
}
.e360gp .e360gp-panel {
  padding-top: 0 !important;
}
.e360gp .e360gp-panel.is-active > .e360gp-panel-head {
  margin: 26px 18px 0 !important;
}
.e360gp .e360gp-panel.is-active > .e360gp-panel-body {
  padding-top: 26px !important;
}
.e360gp .e360gp-panel.is-active > .e360gp-panel-body > *:first-child {
  margin-top: 0 !important;
}

@media (max-width: 680px) {
  .e360gp .e360gp-panel {
    padding: 0 12px 32px !important;
  }
  .e360gp .e360gp-panel.is-active > .e360gp-panel-head {
    margin: 18px 12px 0 !important;
  }
  .e360gp .e360gp-panel.is-active > .e360gp-panel-body {
    padding: 18px 12px 12px !important;
  }
  .e360gp .e360gp-panel.is-active > .e360gp-panel-body > *:first-child {
    margin-top: 0 !important;
  }
}


/* =====================================================================
   EVENT360 RSVP SPECIAL MEALS STEPPER UNIFICATION - 2026-06-01
   Scope: guest invitation page, RSVP tab special-meals counters only.
   Makes the small meal counters use the same visual language as guest quantity.
   ===================================================================== */
.e360gp .e360gp-panel[data-panel="rsvp"] .i8w-rsvp-meal-col {
  padding: 14px 12px 13px !important;
  gap: 10px !important;
}
.e360gp .e360gp-panel[data-panel="rsvp"] .i8w-meal-stepper {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 188px !important;
  margin: 0 auto !important;
}
.e360gp .e360gp-panel[data-panel="rsvp"] .i8w-meal-plus,
.e360gp .e360gp-panel[data-panel="rsvp"] .i8w-meal-minus {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  flex: 0 0 34px !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  background: linear-gradient(135deg, #eef2ff, #f5f3ff) !important;
  border: 1px solid rgba(99,102,241,0.16) !important;
  border-radius: 11px !important;
  color: #4f46e5 !important;
  box-shadow: 0 2px 6px rgba(99,102,241,0.12) !important;
}
.e360gp .e360gp-panel[data-panel="rsvp"] .i8w-meal-plus:hover,
.e360gp .e360gp-panel[data-panel="rsvp"] .i8w-meal-minus:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(99,102,241,0.32) !important;
}
.e360gp .e360gp-panel[data-panel="rsvp"] .i8w-meal-plus:active,
.e360gp .e360gp-panel[data-panel="rsvp"] .i8w-meal-minus:active {
  transform: translateY(0) scale(0.95) !important;
}
.e360gp .e360gp-panel[data-panel="rsvp"] .i8w-special-meal {
  width: 62px !important;
  min-width: 0 !important;
  height: 38px !important;
  padding: 0 6px !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  border: 1.5px solid rgba(99,102,241,0.14) !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  text-align: center !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 2px 7px rgba(99,102,241,0.08) !important;
}
@media (max-width: 680px) {
  .e360gp .e360gp-panel[data-panel="rsvp"] .i8w-rsvp-meal-col {
    padding: 13px 10px 12px !important;
    gap: 9px !important;
  }
  .e360gp .e360gp-panel[data-panel="rsvp"] .i8w-meal-stepper {
    gap: 7px !important;
    max-width: 166px !important;
  }
  .e360gp .e360gp-panel[data-panel="rsvp"] .i8w-meal-plus,
  .e360gp .e360gp-panel[data-panel="rsvp"] .i8w-meal-minus {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    flex-basis: 32px !important;
  }
  .e360gp .e360gp-panel[data-panel="rsvp"] .i8w-special-meal {
    width: 54px !important;
    height: 36px !important;
    font-size: 20px !important;
  }
}

/* =====================================================================
   EVENT360 RSVP FINAL SPACING FIX - 2026-06-01
   Scope: guest invitation page, RSVP tab only.
   1) Tabs -> invitation gap matches the schedule tab top gap.
   2) Purple RSVP header -> first RSVP content gap matches schedule header -> first card gap.
   Spacing only; no logic/navigation changes.
   ===================================================================== */
.e360gp .e360gp-panel[data-panel="rsvp"].is-active > .e360gp-invite-embed {
  margin-top: 26px !important;
}
.e360gp .e360gp-panel[data-panel="rsvp"].is-active > .e360gp-panel-body {
  padding-top: 26px !important;
}
.e360gp .e360gp-panel[data-panel="rsvp"] .i8w-rsvp-widget-wrap {
  padding-top: 0 !important;
}
.e360gp .e360gp-panel[data-panel="rsvp"] .i8w-rsvp-widget-wrap > *:first-child {
  margin-top: 0 !important;
}
@media (max-width: 680px) {
  .e360gp .e360gp-panel[data-panel="rsvp"].is-active > .e360gp-invite-embed {
    margin-top: 18px !important;
  }
  .e360gp .e360gp-panel[data-panel="rsvp"].is-active > .e360gp-panel-body {
    padding-top: 18px !important;
  }
  .e360gp .e360gp-panel[data-panel="rsvp"] .i8w-rsvp-widget-wrap {
    padding-top: 0 !important;
  }
}

/* =====================================================================
   "בחירת תפריט" — elegant empty state when no menu is assigned.
   The purple panel header stays; this sits above the allergy form.
   ===================================================================== */
.e360gp-menu-empty {
  text-align: center;
  max-width: 460px;
  margin: 4px auto 22px;
  padding: 30px 24px 26px;
  background: linear-gradient(135deg, #f8faff 0%, #f3f1ff 100%);
  border: 1px solid rgba(99,102,241,0.14);
  border-radius: 22px;
  box-shadow: 0 4px 20px rgba(99,102,241,0.07);
}
.e360gp-menu-empty-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(124,58,237,0.10);
  color: #7c3aed;
}
.e360gp-menu-empty-ico svg { width: 30px; height: 30px; }
.e360gp-menu-empty-title { font-size: 20px; font-weight: 800; color: #4c1d95; letter-spacing: -0.01em; margin-bottom: 6px; }
.e360gp-menu-empty-sub { font-size: 14px; font-weight: 600; color: #64748b; margin: 0; }

/* =====================================================================
   RSVP confirmation cover (after "מגיעים" / "לא מגיעים"). A persistent
   darkened overlay over the choices area with the card on top; it stays
   until "שינוי בחירה". isolation keeps its z-index inside the choices area.
   ===================================================================== */
.e360gp-rsvp-popup-host { position: relative; isolation: isolate; }
.e360gp-rsvp-modal-overlay {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  border-radius: 18px;
  background: rgba(15,23,42,0.62);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  animation: e360gpFadeIn 0.2s ease;
}
@keyframes e360gpFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes e360gpPopIn { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes e360gpSpin { to { transform: rotate(360deg); } }
.e360gp-rsvp-modal {
  font-family: 'Rubik', Arial, sans-serif; direction: rtl;
  background: #fff; border-radius: 26px;
  width: 100%; max-width: 420px;
  padding: 30px 26px 26px; text-align: center; position: relative;
  box-shadow: 0 24px 70px rgba(15,23,42,0.30);
  animation: e360gpPopIn 0.28s cubic-bezier(0.34,1.56,0.64,1);
  max-height: 88vh; overflow-y: auto;
}
.e360gp-rsvp-modal-close {
  position: absolute; inset-inline-end: 16px; top: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; background: #f1f5f9; color: #64748b;
  font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.e360gp-rsvp-modal-close:hover { background: #e2e8f0; color: #0f172a; }
.e360gp-rsvp-modal-icon {
  width: 74px; height: 74px; margin: 4px auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.e360gp-rsvp-modal-icon svg { width: 38px; height: 38px; }
.e360gp-rsvp-modal--coming  .e360gp-rsvp-modal-icon { background: rgba(22,163,74,0.12); color: #16a34a; }
.e360gp-rsvp-modal--decline .e360gp-rsvp-modal-icon { background: rgba(220,38,38,0.10); color: #dc2626; }
.e360gp-rsvp-modal-title { font-size: 23px; font-weight: 800; color: #0f172a; margin: 0 0 8px; letter-spacing: -0.01em; }
.e360gp-rsvp-modal-text { font-size: 15px; font-weight: 500; color: #475569; margin: 0 0 18px; line-height: 1.55; }
.e360gp-rsvp-modal-summary {
  text-align: start; background: #f8faff; border: 1px solid rgba(99,102,241,0.12);
  border-radius: 16px; padding: 4px 16px; margin: 0 0 18px;
}
.e360gp-rsvp-modal-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; font-size: 15px; border-bottom: 1px solid rgba(99,102,241,0.08);
}
.e360gp-rsvp-modal-row:last-child { border-bottom: none; }
.e360gp-rsvp-modal-row span { color: #64748b; font-weight: 600; }
.e360gp-rsvp-modal-row strong { color: #4c1d95; font-weight: 800; font-size: 16px; }
.e360gp-rsvp-modal-actions { display: flex; flex-direction: column; gap: 10px; }
.e360gp-rsvp-modal-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: none; border-radius: 999px; cursor: pointer;
  font-family: 'Rubik', Arial, sans-serif; font-weight: 700; font-size: 15px;
  padding: 14px 22px; min-height: 50px;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s;
}
.e360gp-rsvp-modal-btn-primary { background: linear-gradient(135deg, #1e40af 0%, #4f46e5 55%, #7c3aed 100%); color: #fff; box-shadow: 0 6px 18px rgba(99,102,241,0.32); }
.e360gp-rsvp-modal-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(99,102,241,0.40); }
.e360gp-rsvp-modal-btn-ghost { background: #eef2ff; color: #4338ca; border: 1.5px solid rgba(99,102,241,0.18); }
.e360gp-rsvp-modal-btn-ghost:hover { background: #e0e7ff; }
.e360gp-rsvp-modal-redirect {
  margin-top: 16px; font-size: 13px; font-weight: 600; color: #16a34a;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.e360gp-rsvp-modal-spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(22,163,74,0.25); border-top-color: #16a34a;
  animation: e360gpSpin 0.8s linear infinite;
}

/* The cover keeps the RSVP choices area at a comfortable height while it is shown. */
.e360gp-rsvp-popup-host { min-height: 260px; }

/* Smooth every height change of the RSVP choices area — showing the cover, a live
   update that adds/removes a special-notes row, and the "שינוי בחירה" collapse — so the
   buttons below never snap or jump between states. Scoped to this tab only. */
.e360gp-panel[data-panel="rsvp"] .e360gp-panel-body { transition: min-height 0.28s ease; }


/* EVENT360 targeted fix: keep the allergy card aligned to the same side spacing
   when "לא" is selected. Do not change height or any other logic. */
.e360gp-food-menu,
.e360gp-food-menu .e360gp-food-form,
.e360gp-food-menu .e360gp-allergy-box {
  width: 100%;
  box-sizing: border-box;
}

.e360gp-food-menu--allergy-only .e360gp-food-form,
.e360gp-food-menu--allergy-only .e360gp-allergy-box {
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
  align-self: stretch;
  box-sizing: border-box;
}

/* Event360 v3 targeted navigation tab fix only:
   force the phone card + reviews to use the exact same horizontal width as the map/photos/actions. */
.e360gp .e360gp-panel[data-panel="nav"] .e360gp-place-card,
.e360gp .e360gp-panel[data-panel="nav"] .e360gp-details,
.e360gp .e360gp-panel[data-panel="nav"] .e360gp-detail,
.e360gp .e360gp-panel[data-panel="nav"] .e360gp-reviews-head,
.e360gp .e360gp-panel[data-panel="nav"] .e360gp-reviews,
.e360gp .e360gp-panel[data-panel="nav"] .e360gp-review {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}
.e360gp .e360gp-panel[data-panel="nav"] .e360gp-detail {
  display: block !important;
}
.e360gp .e360gp-panel[data-panel="nav"] .e360gp-details {
  justify-items: stretch !important;
  align-items: stretch !important;
}
@media (max-width: 768px) {
  .e360gp .e360gp-panel[data-panel="nav"] .e360gp-details,
  .e360gp .e360gp-panel[data-panel="nav"] .e360gp-detail,
  .e360gp .e360gp-panel[data-panel="nav"] .e360gp-reviews-head,
  .e360gp .e360gp-panel[data-panel="nav"] .e360gp-reviews,
  .e360gp .e360gp-panel[data-panel="nav"] .e360gp-review {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }
}

/* Event360 v4: navigation tab Google reviews - same visible style as דקה 90 review cards, open under the phone without the reviews button. */
.e360gp .e360gp-panel[data-panel="nav"] .e360gp-reviews-head{
  margin:22px auto 12px !important;
  max-width:620px !important;
  width:calc(100% - 32px) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
  direction:rtl !important;
}
.e360gp .e360gp-panel[data-panel="nav"] .e360gp-reviews-label{
  color:#0f172a !important;
  font-weight:900 !important;
  font-size:20px !important;
}
.e360gp .e360gp-panel[data-panel="nav"] .e360gp-reviews-badge{
  display:inline-flex !important;
  align-items:center !important;
  gap:4px !important;
  border:1px solid rgba(245,158,11,.38) !important;
  background:#fff7ed !important;
  color:#92400e !important;
  border-radius:999px !important;
  padding:5px 12px !important;
  font-size:14px !important;
  font-weight:900 !important;
}
.e360gp .e360gp-panel[data-panel="nav"] .e360gp-reviews.e360gp-reviews-m90-style{
  max-width:620px !important;
  width:calc(100% - 32px) !important;
  margin:0 auto 18px !important;
  display:grid !important;
  gap:12px !important;
}
.e360gp .e360gp-panel[data-panel="nav"] .e360gp-review.e360gp-review-m90-style{
  width:100% !important;
  box-sizing:border-box !important;
  border:1px solid rgba(99,102,241,.10) !important;
  border-radius:14px !important;
  padding:14px 16px !important;
  margin:0 !important;
  background:#fff !important;
  text-align:right !important;
  direction:rtl !important;
  box-shadow:none !important;
}
.e360gp .e360gp-panel[data-panel="nav"] .e360gp-review.e360gp-review-m90-style strong{
  display:block !important;
  color:#1e40af !important;
  font-size:14px !important;
  font-weight:800 !important;
  margin:0 0 3px !important;
}
.e360gp .e360gp-panel[data-panel="nav"] .e360gp-review.e360gp-review-m90-style .e360gp-review-stars{
  display:block !important;
  font-size:18px !important;
  line-height:1.3 !important;
  letter-spacing:0 !important;
  margin:0 0 6px !important;
}
.e360gp .e360gp-panel[data-panel="nav"] .e360gp-review.e360gp-review-m90-style p{
  margin:6px 0 0 !important;
  line-height:1.65 !important;
  font-size:14px !important;
  color:#334155 !important;
}
@media (max-width: 767px){
  .e360gp .e360gp-panel[data-panel="nav"] .e360gp-reviews-head,
  .e360gp .e360gp-panel[data-panel="nav"] .e360gp-reviews.e360gp-reviews-m90-style{
    width:calc(100% - 24px) !important;
  }
  .e360gp .e360gp-panel[data-panel="nav"] .e360gp-reviews-label{font-size:19px !important;}
}

/* EVENT360 targeted fix — guest invitation page header logo only.
   Keeps the personal-area logo unchanged; reduces only the EVENT360 logo
   in the guest/send-invitation portal and centers it vertically. */
.e360gp-header-logo {
  align-self: stretch !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  line-height: 0 !important;
}
.e360gp-header-logo img.e360gp-event360-logo,
.e360gp-header-logo img {
  width: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin-top: auto !important;
  margin-bottom: auto !important;
  transform: none !important;
}
@media (max-width: 680px) {
  .e360gp-header-logo img.e360gp-event360-logo,
  .e360gp-header-logo img {
    max-height: 22px !important;
  }
}


/* EVENT360 global mobile input zoom fix
   Purpose: prevent iOS Safari/Chrome mobile auto-zoom when focusing any editable field.
   Logic untouched. */
@media screen and (max-width: 900px) {
  html, body {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }

  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
  textarea,
  select,
  .event360 input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
  .event360 textarea,
  .event360 select,
  [class^="eil-"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
  [class*=" eil-"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
  [class^="eil-"] textarea,
  [class*=" eil-"] textarea,
  [class^="eil-"] select,
  [class*=" eil-"] select,
  [class^="p6-"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
  [class*=" p6-"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
  [class^="p6-"] textarea,
  [class*=" p6-"] textarea,
  [class^="p6-"] select,
  [class*=" p6-"] select {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }
}

