/* ═══════════════════════════════════════════════════════════
   THE PERFECT WEDDING — DreamWeds-inspired Editorial Design
   Fonts : Cormorant Garamond (serif) + Jost (sans)
   Palette: Ivory · Forest Green · Gold · Warm Cream
═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@300;400;500;700;900&family=Heebo:wght@300;400;500;600;700;800;900&display=swap');

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --cream:     #F8F4EE;
  --cream2:    #F0EAE0;
  --cream3:    #EDE5D8;
  --white:     #FDFCF9;
  --ivory:     #F8F4EE;
  --ivory2:    #F0EAE0;
  --blush:     #F5EDE8;

  --forest:    #243728;
  --sage-dk:   #344E38;
  --sage:      #4A6B4E;
  --sage-md:   #6A9070;
  --sage-lt:   #96B89A;
  --sage-pale: #D2E4D4;
  --sage-bg:   #EBF2EA;

  --gold:      #C09A50;
  --gold-dk:   #9A7830;
  --gold-lt:   #D4B870;
  --gold-pale: #EDD9A4;
  --champagne: #F3E6C4;

  --ink:    #1A2018;
  --text:   #2A3628;
  --text2:  #4A5E4A;
  --muted:  #7A9078;
  --subtle: #AEC0AC;
  --line:   rgba(36,55,40,.11);
  --line2:  rgba(36,55,40,.06);

  --good: #2A6E46;
  --warn: #8C6A18;
  --bad:  #8C2A38;

  --sh-xs: 0 2px 10px  rgba(20,40,22,.05);
  --sh-sm: 0 6px 28px  rgba(20,40,22,.08);
  --sh:    0 14px 50px rgba(20,40,22,.11);
  --sh-md: 0 24px 70px rgba(20,40,22,.14);
  --sh-lg: 0 40px 110px rgba(20,40,22,.17);

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 34px;

  --serif: 'Frank Ruhl Libre', 'David Libre', Georgia, serif;
  --sans:  'Heebo', system-ui, sans-serif;

  /* Legacy compat */
  --burg:      var(--forest);
  --burg-dk:   var(--sage-dk);
  --rose:      var(--sage);
  --rose-lt:   var(--sage-lt);
  --rose-pale: var(--sage-pale);
  --accent:    var(--sage);
  --accent2:   var(--sage);
  --accent3:   var(--gold);
  --card:      var(--white);
  --radius:    var(--r-lg);
  --shadow:    var(--sh);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--cream);
  background-image:
    linear-gradient(160deg, rgba(248,244,238,.72) 0%, rgba(232,226,214,.68) 50%, rgba(248,244,238,.74) 100%),
    url('https://images.unsplash.com/photo-1520854221256-17451cc331bf?w=1920&auto=format&fit=crop&q=75');
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(74,107,78,.22); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(74,107,78,.40); }

/* ═══════════════════════════════════════════════════════════
   HEADER — Editorial masthead style
═══════════════════════════════════════════════════════════ */
header {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 30px rgba(20,40,22,.06);
}
/* Gold rule at top */
header::before {
  content: ''; display: block; height: 3px;
  background: linear-gradient(90deg,
    transparent, var(--champagne) 10%,
    var(--gold-lt) 35%, var(--gold) 50%,
    var(--gold-lt) 65%, var(--champagne) 90%,
    transparent);
}

.header-top  { border-bottom: 1px solid var(--line2); background: var(--white); }
.header-nav  { background: var(--cream); border-top: none; }

.headInner {
  max-width: 1440px; margin: 0 auto;
  padding: 0 52px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.header-top .headInner { height: 80px; }
.header-nav .headInner { height: 58px; }

/* ── BRAND ── */
.brand {
  display: flex; align-items: center; gap: 18px;
  flex-shrink: 0; text-decoration: none;
}
.brand .logo {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--forest), var(--sage-dk));
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 18px; font-weight: 700;
  color: var(--gold-lt);
  box-shadow: 0 6px 24px rgba(36,55,40,.32);
  overflow: hidden; flex-shrink: 0;
  transition: box-shadow .22s;
}
.brand:hover .logo { box-shadow: 0 10px 36px rgba(36,55,40,.44); }
.brand .logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand .title { line-height: 1.15; }
.brand .title span {
  display: block;
  font-family: var(--serif);
  font-size: 30px; font-weight: 700;
  background: linear-gradient(135deg, var(--forest) 0%, var(--sage) 60%, var(--gold-dk) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: .4px;
}
.brand .title small {
  display: block;
  font-family: var(--sans);
  font-size: 12px; font-weight: 500;
  color: var(--gold-dk);
  letter-spacing: 1.8px;
  margin-top: 3px;
  opacity: .85;
}

/* ── NAV TABS ── */
.tabs {
  display: flex; gap: 4px;
  flex-wrap: nowrap; align-items: center;
  width: 100%; justify-content: flex-end;
}
.tab {
  font-family: var(--sans);
  font-size: 17px; font-weight: 600;
  letter-spacing: .2px;
  color: var(--text2);
  background: none; border: none;
  border-radius: var(--r-sm);
  padding: 10px 22px;
  cursor: pointer; user-select: none;
  white-space: nowrap;
  transition: background .18s, color .18s, box-shadow .18s;
  height: 48px; display: flex; align-items: center;
}
.tab:hover { background: var(--sage-bg); color: var(--forest); }
.tab.active {
  background: linear-gradient(135deg, var(--forest), var(--sage-dk));
  color: var(--gold-lt);
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(36,55,40,.30);
  letter-spacing: .15px;
}

/* ── ACCOUNT BAR ── */
#accountBar { display: flex; align-items: center; gap: 10px; }
.logout-btn {
  font-family: var(--sans); font-size: 16px; font-weight: 600;
  color: var(--muted); background: none;
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 9px 22px; cursor: pointer; transition: .18s; order: -1;
}
.logout-btn:hover {
  background: var(--sage-bg);
  border-color: rgba(74,107,78,.28);
  color: var(--forest);
  transform: none; box-shadow: none;
}
.accountPill {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 20px;
  border: 1.5px solid var(--line); border-radius: 99px;
  background: var(--white);
  font-size: 16px; font-weight: 500;
  color: var(--text2); box-shadow: var(--sh-xs);
  flex-shrink: 0; white-space: nowrap;
}
.accountPill strong { color: var(--ink); font-weight: 700; font-size: 16px; }
.acct-gem { color: var(--gold); }

/* ── RSVP Header Button ── */
.rsvp-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 12px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #fce4ec 0%, #f8d7e0 50%, #fce8ef 100%);
  font-family: var(--sans);
  font-size: 13.5px; font-weight: 600;
  color: #9a4060;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s, box-shadow .25s;
  box-shadow: 0 2px 10px rgba(220,140,160,.15);
  letter-spacing: .2px;
}
.rsvp-header-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(220,140,160,.25);
}
.rsvp-header-label {
  font-weight: 600;
}
.rsvp-header-count {
  font-family: var(--serif);
  font-size: 14px; font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #d4768e, #c2637a);
  padding: 3px 11px;
  border-radius: 8px;
  letter-spacing: .5px;
  line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE SIDEBAR — hamburger menu (hidden on desktop)
═══════════════════════════════════════════════════════════ */
.hamburger {
  display: none; /* shown only on mobile via media query */
  position: absolute;
  top: 12px; left: 12px;
  z-index: 210;
  width: 40px; height: 40px;
  border: none; background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  border: 1px solid var(--line);
}
.hamburger span {
  display: block;
  width: 20px; height: 2.5px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* Sidebar overlay */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 300;
  opacity: 0;
  transition: opacity .3s;
}
.sidebar-overlay.open {
  display: block;
  opacity: 1;
}

/* Sidebar panel */
.sidebar {
  position: fixed;
  top: 0; right: -300px;
  width: 280px; height: 100vh;
  background: var(--white);
  z-index: 310;
  box-shadow: -4px 0 30px rgba(0,0,0,.12);
  transition: right .3s cubic-bezier(.22,.68,0,1.1);
  overflow-y: auto;
  display: none; /* shown only on mobile */
}
.sidebar.open {
  right: 0;
}
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-close {
  width: 34px; height: 34px;
  border: none;
  background: var(--cream);
  border-radius: 8px;
  font-size: 18px;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s;
}
.sidebar-close:hover {
  background: var(--sage-bg);
  color: var(--forest);
}
.sidebar-tabs {
  padding: 12px 0;
}
.sidebar-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text2);
  cursor: pointer;
  transition: background .15s, color .15s;
  border: none;
  background: none;
  width: 100%;
  text-align: right;
}
.sidebar-tab:hover {
  background: var(--sage-bg);
  color: var(--forest);
}
.sidebar-tab.active {
  background: linear-gradient(135deg, var(--forest), var(--sage-dk));
  color: var(--gold-lt);
  font-weight: 700;
}
.sidebar-tab svg {
  flex-shrink: 0;
  opacity: .6;
}
.sidebar-tab.active svg {
  opacity: 1;
}

/* ── Seating Snapshot Filter Buttons ── */
.snap-filter-btn {
  font-family: var(--sans);
  font-size: 13.5px; font-weight: 600;
  color: var(--text2);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 99px;
  padding: 7px 18px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.snap-filter-btn:hover {
  background: var(--sage-bg);
  border-color: rgba(74,107,78,.25);
  color: var(--forest);
}
.snap-filter-btn.snap-active {
  background: linear-gradient(135deg, var(--forest), var(--sage-dk));
  color: var(--gold-lt);
  border-color: var(--forest);
  box-shadow: 0 3px 12px rgba(36,55,40,.2);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════════ */
.wrap {
  max-width: 1440px; margin: 0 auto;
  padding: 60px 52px 120px;
}
.grid { display: grid; gap: 24px; }
@media (min-width: 960px) {
  .grid.two   { grid-template-columns: 1fr 1fr; align-items: start; }
  .grid.three { grid-template-columns: 1fr 1fr 1fr; }
}
.split { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.split > .grow { flex: 1; min-width: 280px; }
.split > .side { width: 490px; max-width: 100%; }
.row { display: flex; gap: 14px; flex-wrap: wrap; }
.row > * { flex: 1; min-width: 150px; }
.btnRow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ═══════════════════════════════════════════════════════════
   INVITES DESIGNER — Settings sidebar
═══════════════════════════════════════════════════════════ */
.invset-panel {
  width: 340px;
  max-width: 100%;
  background: #fafafa;
  border: 1px solid rgba(20,30,60,.08);
  border-radius: 16px;
  padding: 16px;
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  box-shadow: 0 2px 8px rgba(20,30,60,.04);
}
.invset-panel::-webkit-scrollbar { width: 6px; }
.invset-panel::-webkit-scrollbar-thumb { background: rgba(160,120,190,.35); border-radius: 3px; }
.invset-group {
  padding: 10px 0;
  border-bottom: 1px solid rgba(20,30,60,.06);
}
.invset-group:last-child { border-bottom: none; }
.invset-group:first-child { padding-top: 0; }
.invset-label {
  font-size: 13px;
  font-weight: 700;
  color: #4A6B4E;
  margin-bottom: 8px;
  letter-spacing: .3px;
}
@media (max-width: 900px) {
  .invset-panel {
    width: 100%;
    position: static;
    max-height: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   CARD — clean white panel with gold accent
═══════════════════════════════════════════════════════════ */
.card {
  background: var(--white);
  border: 1px solid rgba(192,154,80,.18);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: 36px 40px;
  position: relative; overflow: hidden;
}
/* Gold right-border accent */
.card::before {
  content: '';
  position: absolute; top: 0; bottom: 0; right: 0;
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--gold-lt) 30%, var(--gold) 50%, var(--gold-lt) 70%, transparent);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.card h2 {
  font-family: var(--serif);
  font-size: 20px; font-weight: 700;
  letter-spacing: .3px;
  color: var(--forest);
  margin: 0 0 24px;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(242,218,210,.55) 0%, rgba(248,225,218,.45) 40%, rgba(245,230,220,.35) 100%);
  border: 1px solid rgba(230,185,170,.3);
  border-radius: 12px;
  display: flex; align-items: center; gap: 12px;
}
.card-h2-text {
  background: linear-gradient(135deg, var(--forest) 0%, var(--gold-dk) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Frank Ruhl Libre', Georgia, serif;
  font-size: 20px; font-weight: 700; letter-spacing: .3px;
  line-height: 1.25;
}
.card h2 .dot {
  width: 8px; height: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  box-shadow: 0 2px 8px rgba(192,154,80,.40);
  border-radius: 50%;
}
.card h2 .dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  box-shadow: 0 2px 8px rgba(192,154,80,.36);
}

/* ═══════════════════════════════════════════════════════════
   FORMS
═══════════════════════════════════════════════════════════ */
label {
  display: block;
  font-size: 16px; font-weight: 700;
  color: var(--sage-dk);
  margin: 18px 0 8px;
  letter-spacing: .3px;
}
input, select, textarea {
  width: 100%;
  background: var(--cream);
  border: 1.5px solid rgba(74,107,78,.14);
  border-radius: var(--r);
  padding: 13px 18px;
  font-family: var(--sans);
  font-size: 16px; color: var(--text);
  outline: none;
  transition: border-color .18s, background .18s, box-shadow .18s;
  -webkit-appearance: none;
}
select.has-placeholder:has(option[disabled]:checked) {
  color: var(--subtle);
  font-weight: 400;
}
select.has-placeholder option[disabled] {
  color: var(--subtle);
  font-weight: 400;
  display: none;
}
input:hover, select:hover, textarea:hover {
  border-color: rgba(74,107,78,.28);
  background: var(--white);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--sage);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(74,107,78,.10);
}
input::placeholder, textarea::placeholder { color: var(--subtle); }
textarea { min-height: 100px; resize: vertical; }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
button {
  font-family: var(--sans);
  font-size: 15px; font-weight: 500; letter-spacing: .2px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: var(--r);
  padding: 12px 22px;
  color: var(--text2);
  cursor: pointer; white-space: nowrap;
  transition: all .20s cubic-bezier(.25,.8,.25,1);
}
button:hover {
  border-color: rgba(74,107,78,.28);
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
  color: var(--forest);
}
button:active  { transform: translateY(0); box-shadow: none; }
button:disabled{ opacity: .44; cursor: not-allowed; transform: none; box-shadow: none; }

button.primary {
  background: linear-gradient(135deg, var(--forest) 0%, var(--sage-dk) 100%);
  border-color: transparent; color: var(--gold-lt);
  box-shadow: 0 5px 20px rgba(36,55,40,.28);
}
button.primary:hover {
  background: linear-gradient(135deg, var(--sage-dk) 0%, var(--sage) 100%);
  color: var(--champagne);
  box-shadow: 0 10px 36px rgba(36,55,40,.38);
  transform: translateY(-2px);
}
button.ghost { background: var(--cream); border-color: var(--line); }
button.ghost:hover { background: var(--white); color: var(--forest); }
button.danger {
  background: rgba(140,42,56,.07); border-color: rgba(140,42,56,.20); color: var(--bad);
}
button.danger:hover { background: rgba(140,42,56,.13); }

/* ═══════════════════════════════════════════════════════════
   PILLS
═══════════════════════════════════════════════════════════ */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 99px;
  padding: 6px 16px;
  font-size: 14.5px; font-weight: 500;
  color: var(--text2); background: var(--white); white-space: nowrap;
}
.pill strong { color: var(--ink); font-weight: 600; }
.pill.good   { color: var(--good); border-color: rgba(42,110,70,.26); background: rgba(42,110,70,.07); }
.pill.bad    { color: var(--bad);  border-color: rgba(140,42,56,.26); background: rgba(140,42,56,.07); }
.pill.warn   { color: var(--warn); border-color: rgba(140,106,24,.26); background: rgba(140,106,24,.07); }
.pill.accent { background: var(--forest); color: var(--gold-lt); border-color: transparent; box-shadow: 0 3px 12px rgba(36,55,40,.24); }

/* ═══════════════════════════════════════════════════════════
   TABLE — editorial newspaper style
═══════════════════════════════════════════════════════════ */
table { width: 100%; border-collapse: collapse; }
thead tr { border-bottom: 2px solid var(--line); }
th {
  padding: 14px 18px; text-align: right;
  font-family: var(--sans);
  font-size: 14px; font-weight: 700;
  color: var(--muted); letter-spacing: .4px;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(to bottom, var(--cream2), var(--cream));
}
td {
  padding: 15px 18px; text-align: right;
  vertical-align: middle;
  font-size: 16px; color: var(--text);
  border-bottom: 1px solid var(--line2);
}
tbody tr { transition: background .12s; }
tbody tr:hover { background: rgba(74,107,78,.028); }
tbody tr:last-child td { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════
   HINT / LINK
═══════════════════════════════════════════════════════════ */
.hint { font-size: 17px; color: var(--text2); line-height: 1.80; }
.link { color: var(--sage); text-decoration: none; font-weight: 600; }
.link:hover { color: var(--forest); text-decoration: underline; }

/* ── SECTION LABEL ── */
.section-label {
  font-family: var(--serif);
  font-size: 30px; font-weight: 700;
  letter-spacing: .3px;
  color: var(--forest);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 4px;
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
}
.section-label .sub {
  font-family: var(--sans);
  font-size: 17px; font-weight: 500;
  color: var(--text2);
  letter-spacing: .1px;
}

/* ── TABLE (tbl variant) ── */
.tbl { width: 100%; border-collapse: collapse; }
.tbl thead tr { border-bottom: 2px solid var(--line); }
.tbl th {
  padding: 13px 18px; text-align: right;
  font-size: 14px; font-weight: 700;
  color: var(--muted); letter-spacing: .5px;
  text-transform: uppercase;
  background: linear-gradient(to bottom, var(--cream2), var(--cream));
  white-space: nowrap;
}
.tbl td {
  padding: 16px 18px; text-align: right;
  vertical-align: middle;
  font-size: 16px; font-weight: 400;
  color: var(--text);
  border-bottom: 1px solid var(--line2);
}
.tbl tbody tr { transition: background .12s; }
.tbl tbody tr:hover { background: rgba(74,107,78,.032); }
.tbl tbody tr:last-child td { border-bottom: none; }

/* WhatsApp button */
.wa-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: rgba(37,211,102,.12);
  border: 1.5px solid rgba(37,211,102,.35);
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px; font-weight: 600;
  color: #1a7a3c;
  transition: background .18s, transform .18s;
  white-space: nowrap;
}
.wa-btn:hover {
  background: rgba(37,211,102,.22);
  transform: translateY(-1px);
}

/* Status badges */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 99px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.badge.ok   { color: var(--good); background: rgba(42,110,70,.09); border: 1px solid rgba(42,110,70,.22); }
.badge.wait { color: var(--warn); background: rgba(140,106,24,.09); border: 1px solid rgba(140,106,24,.22); }
.badge.err  { color: var(--bad);  background: rgba(140,42,56,.09);  border: 1px solid rgba(140,42,56,.22); }

/* ═══════════════════════════════════════════════════════════
   HERO BANNER — DreamWeds style with photo + text overlay
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  margin-bottom: 44px;
  min-height: 320px;
  box-shadow: var(--sh-md);
  background: linear-gradient(135deg, var(--forest) 0%, var(--sage-dk) 40%, var(--sage) 100%);
}
/* Background photo from Unsplash */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  opacity: .22;
}
/* Gradient overlay */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to left, rgba(36,55,40,.92) 0%, rgba(36,55,40,.60) 50%, rgba(36,55,40,.30) 100%);
}
/* Gold top stripe */
.hero > *:first-child::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-lt) 50%, transparent);
  z-index: 5;
}

.heroInner {
  position: relative; z-index: 2;
  padding: 56px 60px;
  display: flex; gap: 28px; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
}
.heroTitle {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 700; color: var(--white);
  margin: 0; line-height: 1.12; letter-spacing: .4px;
  text-shadow: 0 4px 30px rgba(0,0,0,.25);
}
.heroTitle em { font-style: italic; color: var(--gold-lt); }
.heroSub {
  color: rgba(255,255,255,.65);
  margin-top: 14px; font-size: 15.5px; line-height: 1.70;
}
.heroImages { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.heroImg {
  width: 140px; height: 96px;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 8px 30px rgba(0,0,0,.30);
  background: var(--sage-dk);
  transition: transform .24s, box-shadow .24s;
}
.heroImg:hover { transform: scale(1.06) rotate(.5deg); box-shadow: 0 14px 40px rgba(0,0,0,.40); }
.heroImg img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ═══════════════════════════════════════════════════════════
   TILES — DreamWeds service card style
═══════════════════════════════════════════════════════════ */
.tiles { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 680px)  { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .tiles { grid-template-columns: 1fr 1fr 1fr; } }

.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 200px;
  transition: all .26s cubic-bezier(.25,.8,.25,1);
  cursor: pointer;
}
.tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: rgba(74,107,78,.22);
}
/* Image strip at top of each tile */
.tile .top {
  height: 80px;
  background: linear-gradient(135deg, var(--forest) 0%, var(--sage-dk) 60%, var(--sage) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  flex-shrink: 0;
}
/* Subtle photo overlay for tiles */
.tile .top::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1465495976277-4387d4b0b4c6?auto=format&fit=crop&w=400&q=60');
  background-size: cover; background-position: center;
  opacity: .18;
}
.tile .ico {
  width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 26px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  position: relative; z-index: 1;
  transition: transform .24s;
}
.tile:hover .ico { transform: scale(1.10); }

/* Bottom content area */
.tile-body {
  padding: 20px 22px 22px;
  display: flex; flex-direction: column;
  flex: 1;
}
.tile h3 {
  margin: 0 0 6px;
  font-family: var(--sans);
  font-size: 19px; font-weight: 700;
  color: var(--ink); line-height: 1.25;
  letter-spacing: -.1px;
}
.tile p {
  margin: 0; color: var(--muted);
  font-size: 14.5px; line-height: 1.60;
  flex: 1;
}
/* Gold bottom line on hover */
.tile::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt));
  opacity: 0; transition: opacity .26s;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.tile { position: relative; }
.tile:hover::after { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   HALL MAP
═══════════════════════════════════════════════════════════ */
.mapWrap {
  position: relative;
  border: 1.5px dashed rgba(74,107,78,.24);
  border-radius: var(--r-lg); overflow: auto;
  background: linear-gradient(135deg, var(--sage-bg), var(--champagne));
  min-height: 240px;
}
.mapWrap img { width: 100%; min-width: 600px; display: block; cursor: crosshair; }
.marker {
  position: absolute; transform: translate(-50%, -50%);
  border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(180,140,220,.4), rgba(140,100,200,.28));
  border: 2.5px solid rgba(140,80,180,.55);
  box-shadow: 0 3px 12px rgba(140,80,180,.18);
  cursor: pointer; user-select: none;
  backdrop-filter: blur(4px); transition: .18s;
  z-index: 3; color: #4a3566;
  line-height: 1.3; padding: 10px 16px;
}
.marker .marker-title { display: block; font-weight: 800; font-size: 17px; white-space: nowrap; }
.marker:hover { transform: translate(-50%,-50%) scale(1.08); box-shadow: 0 4px 18px rgba(140,80,180,.3); z-index: 10; }
.marker .sub { display: block; font-weight: 700; font-size: 14px; color: rgba(90,60,130,.8); margin-top: 2px; white-space: nowrap; }
.marker.full {
  background: linear-gradient(135deg, rgba(220,180,245,.55), rgba(180,140,220,.45));
  border-color: rgba(140,80,180,.7); color: #5a2d82;
  box-shadow: 0 2px 12px rgba(140,80,180,.25);
}
.marker.ok {
  background: linear-gradient(135deg, rgba(62,207,142,.22), rgba(74,107,78,.16));
  border-color: rgba(74,107,78,.45); color: #2d5a35;
  box-shadow: 0 2px 8px rgba(74,107,78,.15);
}
.marker.edit-mode { cursor: grab; }
.marker.edit-mode:active { cursor: grabbing; }
.marker.over {
  transform: translate(-50%,-50%) scale(1.12);
  background: rgba(192,154,80,.3);
  border-color: #C09A50;
  box-shadow: 0 0 0 3px rgba(192,154,80,.35), 0 4px 12px rgba(192,154,80,.2);
  color: #7A5E1A;
  z-index: 20;
}
.hallTable td.groupCell, .hallTable th.groupCell { width: 200px; }
.hallTable td.groupCell select { width: 100%; }
.hallTable td, .hallTable th { padding: 13px 16px; vertical-align: middle; }
.hallTable input, .hallTable select { font-size: 14px; padding: 11px 14px; }

/* ═══════════════════════════════════════════════════════════
   RSVP CHIP
═══════════════════════════════════════════════════════════ */
.rsvpChip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; padding: 5px 12px;
  border-radius: 99px; border: 1.5px solid var(--line);
  font-weight: 600; font-size: 14px;
  cursor: pointer; user-select: none; transition: .16s;
}
.rsvp_yes     { color: var(--good); border-color: rgba(42,110,70,.28); background: rgba(42,110,70,.08); }
.rsvp_no      { color: var(--bad);  border-color: rgba(140,42,56,.28); background: rgba(140,42,56,.08); }
.rsvp_maybe   { color: var(--warn); border-color: rgba(140,106,24,.28); background: rgba(140,106,24,.08); }
.rsvp_unknown { color: var(--muted); background: var(--cream); }
.rsvpChip:hover { filter: brightness(1.08); transform: scale(1.05); }

/* ═══════════════════════════════════════════════════════════
   SEATING
═══════════════════════════════════════════════════════════ */
.dropZone {
  border: 1.5px dashed rgba(74,107,78,.22);
  background: rgba(74,107,78,.025);
  border-radius: var(--r); padding: 12px; min-height: 60px; transition: .16s;
}
.dropZone.over { border-color: rgba(74,107,78,.50); background: rgba(74,107,78,.08); }
.guestTag {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 8px 14px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--white);
  box-shadow: var(--sh-xs); margin: 5px 5px 0 0;
  cursor: grab; user-select: none; font-size: 15px; transition: .16s;
}
.guestTag:hover { box-shadow: var(--sh-sm); border-color: rgba(74,107,78,.24); }
.guestTag:active { cursor: grabbing; }
.guestTag small { color: var(--muted); font-weight: 600; font-size: 12px; }

/* ═══════════════════════════════════════════════════════════
   FILTERS
═══════════════════════════════════════════════════════════ */
.filters {
  display: flex; gap: 14px; flex-wrap: wrap;
  align-items: flex-end; margin-bottom: 24px;
  padding: 22px 28px;
  background: var(--cream2);
  border-radius: var(--r-lg);
  border: 1px solid var(--line2);
}
.filters .f { min-width: 160px; flex: 1; }
.filters label { margin-top: 0; }

/* ═══════════════════════════════════════════════════════════
   MODAL
═══════════════════════════════════════════════════════════ */
.modalBack {
  position: fixed; inset: 0;
  background: rgba(10,18,10,.52);
  backdrop-filter: blur(14px);
  display: none; align-items: center; justify-content: center;
  z-index: 10000; padding: 20px;
}
.modalBack.show { display: flex; }
.modal {
  width: 1020px; max-width: 100%;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  animation: fadeUp .24s cubic-bezier(.25,.8,.25,1) both;
  border: 1px solid var(--line);
}
/* Gold stripe on modal */
.modal::before {
  content: ''; display: block; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-pale) 20%, var(--gold-lt) 50%, var(--gold-pale) 80%, transparent);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
/* ── Toast Notifications ── */
.toast-notify {
  position: fixed; top: 28px; left: 50%; transform: translateX(-50%) translateY(-30px) scale(.9);
  z-index: 99999; opacity: 0;
  min-width: 280px; max-width: 520px;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 1px solid rgba(192,154,80,.3);
  box-shadow: 0 12px 48px rgba(0,0,0,.25), 0 0 60px rgba(192,154,80,.06), inset 0 1px 0 rgba(255,255,255,.06);
  font-family: 'Assistant', sans-serif;
  transition: all .45s cubic-bezier(.34,1.56,.64,1);
}
.toast-notify.toast-error {
  background: linear-gradient(135deg, #2e1a1a, #3e1620);
  border-color: rgba(214,58,58,.3);
  box-shadow: 0 12px 48px rgba(214,58,58,.15), 0 0 60px rgba(214,58,58,.06), inset 0 1px 0 rgba(255,255,255,.04);
}
.toast-notify.show { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
.toast-notify.hide { opacity: 0; transform: translateX(-50%) translateY(-20px) scale(.95); transition: all .35s ease-in; }
.toast-glow {
  position: absolute; top: -60%; left: -30%; width: 160%; height: 200%;
  background: radial-gradient(ellipse at 50% 100%, rgba(192,154,80,.1) 0%, transparent 70%);
  pointer-events: none;
}
.toast-error .toast-glow {
  background: radial-gradient(ellipse at 50% 100%, rgba(214,58,58,.08) 0%, transparent 70%);
}
.toast-content {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: 18px 32px;
}
.toast-text {
  font-size: 17px; font-weight: 700; line-height: 1.5;
  letter-spacing: .4px; white-space: pre-line; text-align: center;
  background: linear-gradient(90deg, #f0e0c4, #fff, #f0e0c4);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: toastShimmer 3s linear infinite;
}
.toast-error .toast-text {
  background: linear-gradient(90deg, #ffb3b3, #fff, #ffb3b3);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: toastShimmer 3s linear infinite;
}
@keyframes toastShimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
.modalHead {
  padding: 26px 36px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line2);
  background: linear-gradient(to bottom, var(--cream) 0%, var(--white) 100%);
}
#modalTitle {
  font-family: var(--sans);
  font-size: 22px; font-weight: 700;
  letter-spacing: -.1px;
  color: var(--ink);
}
.modalBody { padding: 30px 36px; max-height: 78vh; overflow-y: auto; }

/* ═══════════════════════════════════════════════════════════
   LOADING
═══════════════════════════════════════════════════════════ */
.loading-screen { text-align: center; padding: 140px 20px; }
.loading-icon {
  font-family: var(--serif); font-size: 56px;
  color: var(--sage-pale); margin-bottom: 22px;
  animation: pulse 2.2s ease-in-out infinite;
}
.loading-text {
  font-family: var(--serif); font-size: 19px;
  font-style: italic; font-weight: 400;
  color: var(--muted); letter-spacing: 2px;
}
@keyframes pulse {
  0%,100% { opacity: .20; transform: scale(.88); }
  50%     { opacity: .72; transform: scale(1.04); }
}

/* ═══════════════════════════════════════════════════════════
   SECTION DIVIDER — botanical inspired
═══════════════════════════════════════════════════════════ */
.section-divider {
  display: flex; align-items: center; gap: 20px;
  margin: 48px 0;
  color: var(--gold);
  font-size: 12px; letter-spacing: 4px;
  text-transform: uppercase;
}
.section-divider::before, .section-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192,154,80,.40));
}
.section-divider::after {
  background: linear-gradient(90deg, rgba(192,154,80,.40), transparent);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
/* ── Tablet (900px and below) ── */
@media (max-width: 900px) {
  .headInner { padding: 0 16px; }
  .header-top .headInner { height: 60px; }
  .header-nav .headInner { height: auto; padding-top: 6px; padding-bottom: 6px; }
  .brand .title small { display: none; }
  .brand .title span { font-size: 22px; }
  .brand .logo { width: 40px; height: 40px; font-size: 14px; }
  .wrap { padding: 20px 14px 80px; }
  .card { padding: 18px 16px; }
  .heroInner { padding: 28px 20px; }
  .modal { border-radius: var(--r-lg); width: 95vw; max-width: 95vw; }
  .modalHead, .modalBody { padding: 16px 18px; }
  .tab { font-size: 13px; padding: 7px 10px; }
  .tabs { flex-wrap: wrap; gap: 3px; justify-content: center; }
  .section-label { font-size: 20px; }
  .header-logout-btn { font-size: 12px; padding: 7px 14px; }
  .rsvp-header-btn { font-size: 12px; padding: 6px 14px 6px 10px; }
  .rsvp-header-count { font-size: 12px; padding: 2px 8px; }
  #accountBar { gap: 6px; }
}

/* ── Mobile (640px and below) ── */
@media (max-width: 640px) {
  /* Show hamburger, hide desktop tabs, show sidebar */
  .hamburger { display: flex; }
  .header-nav { display: none !important; }
  .sidebar { display: block; }

  /* Header */
  .header-top .headInner { height: auto; padding: 10px 12px 10px 52px; flex-wrap: wrap; gap: 8px; }
  .header-nav .headInner { padding: 4px 8px; }
  .brand { gap: 10px; }
  .brand .logo { width: 36px; height: 36px; border-radius: 10px; }
  .brand .title span { font-size: 18px; }
  .tabs { gap: 2px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { font-size: 12px; padding: 6px 8px; flex-shrink: 0; height: 38px; }
  .tab-home-back { padding: 6px 10px !important; margin-left: 4px !important; }
  .tab-home-back svg { width: 18px; height: 18px; }
  #accountBar { gap: 4px; }
  .rsvp-header-btn { gap: 6px; padding: 5px 12px 5px 8px; }
  .rsvp-header-label { font-size: 11px; }

  /* Layout */
  .wrap { padding: 12px 10px 70px; }
  .card { padding: 14px 12px; border-radius: 14px; }
  .card h2 { font-size: 17px; padding: 10px 14px; margin-bottom: 16px; }
  .card-h2-text { font-size: 17px; }
  .grid.two { grid-template-columns: 1fr !important; }

  /* Hero banners */
  .hero, .heroInner { border-radius: 18px; }
  .heroInner { padding: 24px 16px; }
  .heroTitle { font-size: 22px; }
  .heroSub { font-size: 13px; }

  /* Forms */
  .row { flex-direction: column; gap: 0; }
  .filters { flex-direction: column; gap: 6px; }
  .filters .f { min-width: 100%; }
  .btnRow { flex-wrap: wrap; gap: 6px; }
  input, select, textarea { font-size: 15px; padding: 11px 14px; }
  label { font-size: 13px; margin-top: 12px; }
  .pill { font-size: 12px; padding: 5px 10px; }

  /* Tables — horizontal scroll */
  table { font-size: 13px; }
  th, td { padding: 8px 6px; white-space: nowrap; }
  .hallTable td, .hallTable th { padding: 8px 6px; }
  table th:last-child, table td:last-child { white-space: normal; }

  /* Make wide tables scrollable */
  .card > div[style*="overflow"] { -webkit-overflow-scrolling: touch; }

  /* Seating */
  .split { flex-direction: column; gap: 14px; }
  .split .grow, .split .side { width: 100%; min-width: 0; }
  .split > .side { width: 100%; max-width: 100%; }
  .guestTag { font-size: 12px; padding: 5px 8px; }
  .marker { padding: 7px 10px; }
  .marker .marker-title { font-size: 14px; }
  .marker .sub { font-size: 11px; }
  .mapWrap { min-height: 200px; }

  /* Budget — stats and chart */
  .snap-filter-btn { font-size: 12px; padding: 5px 12px; }
  .grid.two > .card { margin-bottom: 10px; }

  /* Transport / Rides */
  .dropZone { padding: 8px; }

  /* Invites */
  textarea { min-height: 80px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }

  /* Checkin */
  .checkin-card { padding: 12px; }

  /* Modal */
  .modal { width: 98vw; max-width: 98vw; margin: 8px; border-radius: 16px; }
  .modalHead { padding: 14px 16px; }
  .modalBody { padding: 14px 16px; }
  #modalTitle { font-size: 18px; }
  .grid.two { grid-template-columns: 1fr !important; }

  /* Hero banners in tabs */
  .heroTitle { font-size: 20px !important; }
  .heroSub { font-size: 12px !important; display: none; }
  .hero { border-radius: 16px !important; }
  .heroInner { padding: 20px 14px !important; }

  /* Buttons */
  .primary, .ghost, .danger { font-size: 13px; padding: 9px 16px; }

  /* Hide decorative elements */
  .header-leaf-right { display: none; }
  .botanical-divider { margin: 24px 0 20px; }

  /* Budget inline summary — make it wrap nicely */
  .card > div[style*="font-size:17px"],
  .card > div[style*="font-size:19px"] { font-size: 14px !important; }

  /* Make all inline flex rows wrap on mobile */
  [style*="display:flex"] { flex-wrap: wrap !important; }

  /* Account bar on mobile */
  .rsvp-header-btn { display: none; } /* accessible via sidebar instead */
  .header-logout-btn { font-size: 12px; padding: 6px 14px; }
}

/* ── Very small phones (380px and below) ── */
@media (max-width: 380px) {
  .brand .title span { font-size: 15px; }
  .brand .logo { width: 32px; height: 32px; }
  .card { padding: 10px 8px; }
  .card h2 { font-size: 15px; padding: 8px 12px; }
  .heroTitle { font-size: 18px !important; }
  .landing-couple { font-size: 28px; }
  .landing-features-grid { grid-template-columns: 1fr; }
  .primary, .ghost, .danger { font-size: 12px; padding: 8px 12px; }
  input, select, textarea { font-size: 14px; padding: 10px 12px; }
  .hamburger { width: 36px; height: 36px; top: 10px; left: 8px; }
}

/* ── Very small phones (380px and below) ── */
@media (max-width: 380px) {
  .brand .title span { font-size: 16px; }
  .tab { font-size: 11px; padding: 5px 6px; }
  .card { padding: 12px 10px; }
  .heroTitle { font-size: 18px; }
  .landing-couple { font-size: 28px; }
  .landing-features-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE — Full-screen welcome & event setup
═══════════════════════════════════════════════════════════ */
.landing-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* ── Hero ── */
.landing-hero {
  position: relative;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
  margin: 0 -20px;
  padding: 80px 40px 50px;
  text-align: center;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.landing-hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, rgba(36,55,40,.92) 0%, rgba(36,55,40,.78) 40%, rgba(74,107,78,.85) 100%),
    url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=1200&q=70') center/cover;
  z-index: 0;
}
.landing-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(192,154,80,.18) 0%, transparent 70%);
}
.landing-hero-content {
  position: relative; z-index: 1;
}
.landing-logo {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--sage-dk));
  display: grid; place-items: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  border: 3px solid rgba(192,154,80,.4);
  overflow: hidden;
}
.landing-logo span {
  font-family: var(--serif);
  font-size: 24px; font-weight: 700;
  color: var(--gold-lt);
}
.landing-welcome {
  font-family: var(--sans);
  font-size: 16px; font-weight: 600;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold-lt);
  opacity: .9;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.landing-welcome::before,
.landing-welcome::after {
  content: '';
  display: inline-block;
  width: 40px; height: 1px;
  background: rgba(212,184,112,.5);
  vertical-align: middle;
  margin: 0 14px;
}
.landing-couple {
  font-family: var(--serif);
  font-size: 56px; font-weight: 700;
  font-style: italic;
  background: linear-gradient(135deg, #fff 0%, #f0e6d0 40%, #e8d9a8 70%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s ease infinite;
  line-height: 1.15;
  text-shadow: none;
  margin-bottom: 14px;
  letter-spacing: 1px;
  filter: drop-shadow(0 3px 20px rgba(0,0,0,.2));
}
@keyframes shimmerText {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes stdTwinkle {
  0%   { opacity: 0.2; transform: scale(0.8); }
  100% { opacity: 1;   transform: scale(1.1); }
}
.landing-tagline {
  font-family: var(--sans);
  font-size: 19px; font-weight: 400;
  background: linear-gradient(90deg, rgba(212,184,112,.85), rgba(255,255,255,.8), rgba(212,184,112,.85));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  letter-spacing: 1.5px;
}
/* ── Landing Top Bar (absolute, pinned to top of hero) ── */
.landing-topbar {
  position: absolute;
  top: 0; right: 0; left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
}
.landing-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.landing-topbar-left {
  display: flex;
  align-items: center;
}

/* Back to main site button */
.landing-site-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15px; font-weight: 700;
  color: var(--gold-lt);
  text-decoration: none;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(212,184,112,.35);
  border-radius: 99px;
  padding: 10px 24px 10px 18px;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
  letter-spacing: .3px;
}
.landing-site-link:hover {
  background: rgba(212,184,112,.2);
  border-color: rgba(212,184,112,.6);
  color: #fff;
  transform: translateX(3px);
}

/* Logout button in hero */
.landing-logout-btn {
  font-family: var(--sans);
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 99px;
  padding: 9px 20px;
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.landing-logout-btn:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
}

/* Username pill (left side) */
.landing-user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 99px;
  padding: 10px 22px;
}
.landing-user-gem {
  font-size: 18px;
  color: var(--gold-lt);
}
.landing-user-name {
  font-family: var(--sans);
  font-size: 16px; font-weight: 700;
  color: #fff;
  letter-spacing: .3px;
}

/* ── Stats Bar ── */
.landing-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--white);
  border-radius: 20px;
  padding: 22px 10px;
  margin: -30px 20px 36px;
  position: relative;
  z-index: 2;
  box-shadow: var(--sh);
  border: 1px solid var(--line);
}
.landing-stat {
  flex: 1;
  text-align: center;
  padding: 4px 8px;
}
.landing-stat-num {
  font-family: var(--serif);
  font-size: 36px; font-weight: 700;
  background: linear-gradient(135deg, var(--forest) 0%, var(--gold-dk) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.landing-stat-label {
  font-family: var(--sans);
  font-size: 13.5px; font-weight: 600;
  color: var(--text2);
  letter-spacing: .8px;
  margin-top: 4px;
}
.landing-stat-divider {
  width: 1px; height: 36px;
  background: var(--line);
  flex-shrink: 0;
}

/* ── Sections ── */
.landing-section {
  margin-bottom: 50px;
}

/* ── Section Banner (replaces simple header) ── */
.landing-section-banner {
  position: relative;
  border-radius: 24px;
  padding: 36px 40px;
  margin-bottom: 28px;
  overflow: hidden;
  min-height: 130px;
  display: flex;
  align-items: center;
}
.landing-section-banner-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(36,55,40,.92) 0%, rgba(36,55,40,.80) 50%, rgba(74,107,78,.88) 100%);
  z-index: 0;
}
.landing-section-banner-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(192,154,80,.15) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(74,107,78,.2) 0%, transparent 50%);
}
/* Sage variant */
.landing-section-banner--sage .landing-section-banner-bg,
.landing-section-banner-bg--sage {
  background:
    linear-gradient(135deg, rgba(74,107,78,.90) 0%, rgba(52,78,56,.85) 50%, rgba(36,55,40,.92) 100%);
}
.landing-section-banner-content {
  position: relative; z-index: 1;
  flex: 1;
}
.landing-section-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--gold-lt);
  background: rgba(192,154,80,.18);
  border: 1px solid rgba(192,154,80,.35);
  border-radius: 99px;
  padding: 5px 20px;
  margin-bottom: 14px;
}
.landing-section-badge--sage {
  color: rgba(210,228,212,.9);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
}
.landing-section-banner-title {
  font-family: var(--serif);
  font-size: 38px; font-weight: 700;
  font-style: italic;
  margin: 0;
  line-height: 1.15;
  letter-spacing: .6px;
  background: linear-gradient(135deg, #fff 0%, #f0e6d0 50%, #e8d9a8 80%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.12));
}
.landing-section-banner-sub {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  background: linear-gradient(90deg, rgba(212,184,112,.8), rgba(255,255,255,.7), rgba(212,184,112,.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 10px 0 0;
  letter-spacing: .5px;
  line-height: 1.6;
}
.landing-section-banner-deco {
  position: absolute;
  left: 20px; top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: .7;
  pointer-events: none;
}

/* ── Card ── */
.landing-card {
  background: var(--white);
  border: 1px solid rgba(192,154,80,.15);
  border-radius: 24px;
  padding: 32px 34px;
  box-shadow: var(--sh-sm);
  position: relative;
}
.landing-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 0 24px 0 0;
}
.landing-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px 28px;
}
.landing-field label {
  display: block;
  font-family: var(--sans);
  font-size: 14px; font-weight: 700;
  color: var(--text2);
  margin-bottom: 7px;
  letter-spacing: .4px;
}
.landing-field input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  font-family: var(--sans);
  font-size: 15.5px;
  background: var(--cream);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.landing-field input:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(74,107,78,.1);
  background: var(--white);
}
.landing-field input::placeholder {
  color: var(--subtle);
  font-weight: 400;
}

/* ── Features Grid ── */
.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.landing-feature {
  background: var(--white);
  border: 1.5px solid rgba(192,154,80,.12);
  border-radius: 22px;
  padding: 28px 26px 22px;
  cursor: pointer;
  transition: transform .3s cubic-bezier(.22,.68,0,1.5), box-shadow .3s, border-color .3s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.landing-feature::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--sage-lt), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.landing-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 0%, rgba(192,154,80,.06) 0%, transparent 60%);
  pointer-events: none;
}
.landing-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(20,40,22,.14), 0 0 0 1px rgba(192,154,80,.2);
  border-color: rgba(192,154,80,.3);
}
.landing-feature:hover::before {
  opacity: 1;
}
.landing-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.landing-feature-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--forest) 0%, var(--sage-dk) 100%);
  display: grid; place-items: center;
  color: var(--gold-lt);
  box-shadow: 0 4px 16px rgba(36,55,40,.2);
  transition: transform .25s, box-shadow .25s;
}
.landing-feature:hover .landing-feature-icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 8px 24px rgba(36,55,40,.3);
}
.landing-feature-num {
  font-family: var(--serif);
  font-size: 28px; font-weight: 700;
  color: rgba(192,154,80,.2);
  line-height: 1;
  letter-spacing: 1px;
}
.landing-feature-title {
  font-family: var(--serif);
  font-size: 22px; font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: .3px;
  position: relative;
  z-index: 1;
}
.landing-feature-desc {
  font-family: var(--sans);
  font-size: 14.5px; color: var(--text2);
  margin: 0 0 18px;
  line-height: 1.75;
  flex: 1;
  position: relative;
  z-index: 1;
}
.landing-feature-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 14px;
  border-top: 1px solid rgba(192,154,80,.12);
  position: relative;
  z-index: 1;
}
.landing-feature-link {
  font-family: var(--sans);
  font-size: 14px; font-weight: 700;
  color: var(--forest);
  background: linear-gradient(135deg, var(--sage-bg) 0%, var(--champagne) 100%);
  padding: 6px 18px;
  border-radius: 99px;
  letter-spacing: .3px;
  transition: background .2s, color .2s, box-shadow .2s;
}
.landing-feature:hover .landing-feature-link {
  background: linear-gradient(135deg, var(--forest), var(--sage-dk));
  color: var(--gold-lt);
  box-shadow: 0 4px 14px rgba(36,55,40,.2);
}

/* ── Locked feature (not in package) ── */
.landing-feature--locked {
  opacity: .45;
  filter: grayscale(50%);
  cursor: not-allowed;
}
.landing-feature--locked:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(192,154,80,.12);
}
.landing-feature--locked::before { opacity: 0 !important; }
.landing-feature--locked .landing-feature-icon {
  background: linear-gradient(135deg, #999 0%, #bbb 100%);
}
.landing-feature--locked .landing-feature-link {
  background: rgba(0,0,0,.06);
  color: #999;
}
.landing-feature--locked:hover .landing-feature-link {
  background: rgba(0,0,0,.06);
  color: #999;
  box-shadow: none;
}

/* ── Locked tab / sidebar item (not in package) ── */
.tab--locked, .sidebar-tab.tab--locked {
  opacity: .38;
  filter: grayscale(60%);
  cursor: not-allowed !important;
  pointer-events: none;
  position: relative;
}
.tab--locked::after {
  content: "🔒";
  font-size: .65em;
  margin-right: 4px;
}
button.tab--locked {
  pointer-events: none;
  opacity: .38;
  filter: grayscale(60%);
  cursor: not-allowed;
}

/* ── CTA Section ── */
.landing-cta-section {
  text-align: center;
  padding: 30px 20px 10px;
  position: relative;
}
.landing-cta-decoration {
  margin-bottom: 12px;
}
.landing-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 52px;
  border: none;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--forest) 0%, var(--sage-dk) 50%, var(--forest) 100%);
  background-size: 200% 100%;
  color: var(--gold-lt);
  font-family: var(--serif);
  font-size: 22px; font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(36,55,40,.32), 0 0 0 1px rgba(192,154,80,.15);
  transition: transform .25s, box-shadow .25s, background-position .4s;
  position: relative;
  overflow: hidden;
}
.landing-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 99px;
  border: 1.5px solid rgba(192,154,80,.25);
  pointer-events: none;
}
.landing-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 56px rgba(36,55,40,.42), 0 0 0 1px rgba(192,154,80,.25);
  background-position: 100% 0;
}
.landing-cta-arrow {
  font-size: 24px;
  transition: transform .25s;
}
.landing-cta-btn:hover .landing-cta-arrow {
  transform: translateX(-6px);
}
.landing-cta-hint {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text2);
  margin-top: 16px;
  letter-spacing: .3px;
}

/* ── Home Back Tab ── */
.tab-home-back {
  padding: 8px 14px !important;
  color: var(--gold-dk) !important;
  border-left: 1.5px solid rgba(192,154,80,.25) !important;
  margin-left: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  transition: background .2s, color .2s, box-shadow .2s !important;
}
.tab-home-back svg {
  display: block;
}
.tab-home-back:hover {
  background: linear-gradient(135deg, var(--forest), var(--sage-dk)) !important;
  color: var(--gold-lt) !important;
  box-shadow: 0 4px 14px rgba(36,55,40,.25) !important;
}

/* ── Header Logout Button (far right, before logo) ── */
.header-logout-btn {
  font-family: var(--sans);
  font-size: 14px; font-weight: 700;
  color: var(--muted);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 9px 22px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.header-logout-btn:hover {
  background: var(--sage-bg);
  border-color: rgba(74,107,78,.28);
  color: var(--forest);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .landing-hero { padding: 70px 16px 40px; min-height: 280px; }
  .landing-topbar { padding: 12px 14px; }
  .landing-site-link { font-size: 13px; padding: 7px 16px 7px 12px; }
  .landing-logout-btn { font-size: 12px; padding: 7px 14px; }
  .landing-user-name { font-size: 14px; }
  .landing-user-pill { padding: 7px 16px; }
  .landing-couple { font-size: 36px; }
  .landing-welcome { font-size: 13px; letter-spacing: 3px; }
  .landing-welcome::before, .landing-welcome::after { width: 24px; margin: 0 8px; }
  .landing-stats { margin: -20px 10px 28px; padding: 16px 6px; gap: 0; }
  .landing-stat-num { font-size: 26px; }
  .landing-section-banner { padding: 24px 20px; min-height: 100px; }
  .landing-section-banner-title { font-size: 26px; }
  .landing-section-banner-sub { font-size: 14px; }
  .landing-section-banner-deco { display: none; }
  .landing-features-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .landing-feature { padding: 20px 16px 16px; }
  .landing-feature-title { font-size: 17px; }
  .landing-feature-icon { width: 44px; height: 44px; }
  .landing-feature-num { font-size: 22px; }
  .landing-card { padding: 22px 18px; }
  .landing-form-grid { grid-template-columns: 1fr; }
  .landing-features-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .landing-cta-btn { padding: 14px 32px; font-size: 18px; }
  .landing-feature { padding: 16px 14px 14px; }
  .landing-cta-btn { padding: 14px 30px; font-size: 16px; }
}

@media print {
  header, .noPrint { display: none !important; }
  body { background: white; }
  .wrap { max-width: none; padding: 0; }
  .card, .hero, .tile { box-shadow: none !important; border-color: #ddd; }
}

/* ═══════════════════════════════════════════════════════════
   DESIGNER — Elegant editorial wedding theme
   Forest green + gold + ivory, glass surfaces, soft shadows
═══════════════════════════════════════════════════════════ */
.canva-shell {
  background:
    radial-gradient(ellipse at 20% -10%, rgba(192,154,80,.14) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 110%, rgba(74,107,78,.18) 0%, transparent 55%),
    linear-gradient(135deg, #1c2820 0%, #243728 50%, #2d4a33 100%);
  border-radius: 0;
  overflow: hidden;
  margin: 0;
  direction: rtl;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #F8F4EE;
  font-family: 'Heebo', sans-serif;
  position: relative;
}
.canva-shell::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,184,112,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,184,112,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
.canva-shell > * { position: relative; z-index: 1; }

.canva-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  background: rgba(28,40,32,.7);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(192,154,80,.22);
  flex-wrap: wrap;
  flex-shrink: 0;
}
.canva-topbar-section { display: flex; gap: 8px; align-items: center; }
.canva-topbar .spacer { flex: 1; }
.canva-topbar-section > span { color: #D4B870; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.canva-topbar select {
  background: rgba(28,40,32,.75);
  color: #F8F4EE;
  border: 1.5px solid rgba(212,184,112,.25);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.canva-topbar select:hover { border-color: #C09A50; background: rgba(192,154,80,.10); }
.canva-topbar select:focus { outline: none; border-color: #C09A50; box-shadow: 0 0 0 3px rgba(192,154,80,.20); }

.canva-btn {
  background: rgba(74,107,78,.35);
  color: #F8F4EE;
  border: 1.5px solid rgba(212,184,112,.22);
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .18s;
  font-family: inherit;
  letter-spacing: .2px;
}
.canva-btn:hover {
  background: rgba(74,107,78,.6);
  border-color: rgba(212,184,112,.55);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(36,55,40,.4);
}
.canva-btn:active { transform: translateY(0); }
.canva-btn.icon { padding: 9px 12px; min-width: 42px; justify-content: center; font-size: 16px; }
.canva-btn.primary, .canva-btn.success {
  background: linear-gradient(135deg, #C09A50 0%, #8B6914 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 3px 12px rgba(192,154,80,.35);
  font-weight: 700;
}
.canva-btn.primary:hover, .canva-btn.success:hover {
  background: linear-gradient(135deg, #D4B870 0%, #C09A50 100%);
  box-shadow: 0 6px 20px rgba(192,154,80,.55);
}
.canva-btn.danger { background: rgba(192,57,43,.25); border-color: rgba(192,57,43,.5); color: #FCA5A5; }
.canva-btn.danger:hover { background: rgba(192,57,43,.4); color: #fff; }
.canva-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.canva-body { display: flex; flex: 1; min-height: 0; background: transparent; }

.canva-sidebar-left {
  width: 116px;
  background: rgba(20,30,24,.65);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-left: 1px solid rgba(212,184,112,.15);
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
  overflow-y: auto;
}
.canva-tool {
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 10px;
  color: #E8DFC4;
  padding: 10px 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  transition: all .18s;
  font-family: inherit;
}
.canva-tool .tool-icon {
  font-size: 22px;
  line-height: 1;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(74,107,78,.32);
  border: 1.5px solid rgba(212,184,112,.18);
  transition: all .2s;
  color: #F8F4EE;
  font-weight: 700;
}
.canva-tool:hover { color: #fff; }
.canva-tool:hover .tool-icon {
  background: rgba(192,154,80,.22);
  border-color: rgba(192,154,80,.55);
  color: #D4B870;
  box-shadow: 0 0 14px rgba(192,154,80,.25);
  transform: scale(1.04);
}
.canva-tool.active { color: #D4B870; }
.canva-tool.active .tool-icon {
  background: linear-gradient(135deg, rgba(192,154,80,.32), rgba(139,105,20,.32));
  border-color: #C09A50;
  color: #D4B870;
  box-shadow: 0 0 18px rgba(192,154,80,.4);
}
/* "Feature" tools (templates + effects) — golden accent */
.canva-tool.tool-feature .tool-icon {
  background: linear-gradient(135deg, rgba(212,184,112,.20), rgba(74,107,78,.20)) !important;
  border-color: rgba(212,184,112,.35) !important;
  color: #D4B870 !important;
}

.canva-canvas-area {
  flex: 1;
  background:
    radial-gradient(circle at 25% 30%, rgba(192,154,80,.06) 0%, transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(74,107,78,.10) 0%, transparent 55%),
    transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  overflow: auto;
  position: relative;
}
.canva-canvas-wrap {
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(212,184,112,.25),
    0 18px 60px rgba(0,0,0,.45),
    0 6px 22px rgba(192,154,80,.18);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.canva-canvas-wrap canvas { display: block; }

.canva-sidebar-right {
  width: 340px;
  background: rgba(20,30,24,.65);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-right: 1px solid rgba(212,184,112,.15);
  padding: 22px 22px;
  overflow-y: auto;
  flex-shrink: 0;
  color: #F8F4EE;
  font-size: 14px;
}
.canva-sidebar-right::-webkit-scrollbar { width: 6px; }
.canva-sidebar-right::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #C09A50, #4A6B4E);
  border-radius: 3px;
}
.canva-sidebar-right h3 {
  font-family: 'Frank Ruhl Libre', 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  color: #D4B870;
  margin: 0 0 16px;
  letter-spacing: .4px;
  border-bottom: 1px solid rgba(212,184,112,.2);
  padding-bottom: 10px;
}
.canva-sidebar-right .prop-group {
  padding: 16px 0;
  border-bottom: 1px solid rgba(212,184,112,.10);
  font-size: 14px;
  line-height: 1.65;
}
.canva-sidebar-right .prop-group:last-child { border-bottom: none; }
.canva-sidebar-right .prop-label {
  font-size: 13px;
  color: #D4B870;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-family: inherit;
}
.canva-sidebar-right input[type="text"],
.canva-sidebar-right input[type="number"],
.canva-sidebar-right textarea,
.canva-sidebar-right select {
  width: 100%;
  background: rgba(28,40,32,.7);
  color: #F8F4EE;
  border: 1.5px solid rgba(212,184,112,.20);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.canva-sidebar-right input[type="text"]:focus,
.canva-sidebar-right input[type="number"]:focus,
.canva-sidebar-right textarea:focus,
.canva-sidebar-right select:focus {
  outline: none;
  border-color: #C09A50;
  background: rgba(28,40,32,.85);
  box-shadow: 0 0 0 3px rgba(192,154,80,.18);
}
.canva-sidebar-right input[type="color"] {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(212,184,112,.25);
  border-radius: 8px;
  background: rgba(28,40,32,.7);
  cursor: pointer;
  padding: 2px;
}
.canva-sidebar-right input[type="range"] {
  width: 100%;
  accent-color: #C09A50;
  height: 5px;
}
.canva-sidebar-right .btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.canva-sidebar-right .prop-btn {
  flex: 1;
  min-width: 60px;
  background: rgba(74,107,78,.35);
  color: #F8F4EE;
  border: 1.5px solid rgba(212,184,112,.18);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.canva-sidebar-right .prop-btn:hover {
  background: rgba(74,107,78,.6);
  border-color: rgba(212,184,112,.45);
  color: #fff;
}
.canva-sidebar-right .prop-btn.on {
  background: linear-gradient(135deg, rgba(192,154,80,.30), rgba(139,105,20,.30));
  color: #D4B870;
  border-color: #C09A50;
  box-shadow: 0 0 12px rgba(192,154,80,.25);
}

.canva-templates-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.canva-template-thumb {
  aspect-ratio: 3/4;
  background: rgba(28,40,32,.7);
  border: 1.5px solid rgba(212,184,112,.18);
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D4C7A6;
  font-size: 11px;
  text-align: center;
  padding: 8px;
}
.canva-template-thumb:hover {
  transform: translateY(-2px);
  border-color: #C09A50;
  box-shadow: 0 6px 18px rgba(192,154,80,.25);
}

.canva-empty-hint {
  color: #A89B7C;
  font-size: 13px;
  text-align: center;
  padding: 28px 12px;
  line-height: 1.7;
  font-style: italic;
}

.canva-hidden-input { display: none; }

@media (max-width: 900px) {
  .canva-body { flex-direction: column; }
  .canva-sidebar-left {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    padding: 10px;
    gap: 4px;
    border-left: none;
    border-bottom: 1px solid rgba(212,184,112,.15);
  }
  .canva-tool { min-width: 72px; flex-shrink: 0; }
  .canva-sidebar-right { width: 100%; max-height: 320px; border-right: none; border-top: 1px solid rgba(212,184,112,.15); }
  .canva-canvas-area { padding: 16px; }
}

/* ═══════════════ Fullscreen Invite Editor ═══════════════ */
.invite-editor-fullview {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(192,154,80,.12) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(74,107,78,.20) 0%, transparent 55%),
    linear-gradient(135deg, #1c2820 0%, #243728 100%);
  direction: rtl;
}
.invite-editor-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  background: rgba(20,30,24,.85);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  color: #F8F4EE;
  border-bottom: 1px solid rgba(212,184,112,.22);
  flex-shrink: 0;
}
.invite-editor-head .canva-btn { font-size: 14px; padding: 9px 16px; }
.invite-editor-title {
  font-family: 'Frank Ruhl Libre', 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: #D4B870;
  letter-spacing: .4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.invite-editor-title::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #D4B870;
  box-shadow: 0 0 12px rgba(212,184,112,.6);
}
.invite-editor-spacer { flex: 1; }
.invite-editor-fullview .canva-shell {
  flex: 1; display: flex; flex-direction: column; min-height: 0; background: transparent;
}
.invite-editor-fullview .canva-shell::before { background-image: none; }
.invite-editor-fullview .canva-body { flex: 1; min-height: 0; }
.invite-editor-fullview .canva-canvas-area { padding: 36px; }

/* ═══════════════ Invite CTA cards (elegant & refined) ═══════════════ */
.invite-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 720px;
  margin: 22px auto 8px;
}
.invite-cta {
  position: relative;
  background: #FEFCF8;
  border: 1px solid rgba(192, 154, 80, .22);
  border-radius: 14px;
  padding: 36px 22px 28px;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.25,.8,.25,1), box-shadow .25s, border-color .25s;
  font-family: inherit;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 2px rgba(20, 30, 60, .03);
  overflow: hidden;
}
.invite-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(192, 154, 80, .55);
  box-shadow: 0 8px 22px rgba(192, 154, 80, .14);
}
.invite-cta-accent {
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(192,154,80,.55), transparent);
  transition: left .3s, right .3s;
}
.invite-cta:hover .invite-cta-accent { left: 5%; right: 5%; }
.invite-cta-icon {
  width: 36px; height: 36px;
  color: #C09A50;
  stroke-width: 1.3;
  opacity: .88;
  transition: transform .3s, color .3s;
}
.invite-cta:hover .invite-cta-icon { color: #8B6914; transform: scale(1.05); }
.invite-cta-title {
  font-family: 'Frank Ruhl Libre', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  color: #243728;
  letter-spacing: .2px;
  margin-top: 4px;
}
.invite-cta-sub {
  font-size: 12.5px;
  color: #8A8B93;
  font-weight: 400;
  letter-spacing: .1px;
  line-height: 1.5;
}
.invite-cta--soft {
  background: linear-gradient(180deg, #FEFCF8, #FAF5EB);
}
.invite-cta--soft .invite-cta-icon { color: #4A6B4E; opacity: .85; }
.invite-cta--soft:hover { border-color: rgba(74, 107, 78, .4); box-shadow: 0 8px 22px rgba(74, 107, 78, .12); }
.invite-cta--soft:hover .invite-cta-icon { color: #2A4E30; }
@media (max-width: 640px) {
  .invite-cta-row { grid-template-columns: 1fr; gap: 12px; }
  .invite-cta { padding: 28px 18px 22px; }
}

/* (duplicate fullview rule removed — canonical rules above) */

/* Row-level edit button (RSVP status tab) */
.btn-row-edit {
  background: #f4f1ea;
  border: 1.5px solid rgba(192,154,80,.35);
  color: #8B6914;
  padding: 6px 14px;
  border-radius: 99px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.btn-row-edit:hover {
  background: #C09A50;
  color: #fff;
  border-color: #C09A50;
  transform: translateY(-1px);
}

@keyframes confirmFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes confirmSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.rsvp-opt-btn:hover:not(.rsvp-opt-current) {
  background: #f8f4ee !important;
  border-color: rgba(192,154,80,.4) !important;
}

/* ─────────────────────────────────────────────────────────────────────
   RSVP Waves tab — bigger, bolder, higher contrast
───────────────────────────────────────────────────────────────────── */
.rw-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
  padding: 24px 26px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f1 100%) !important;
  border: 1.5px solid rgba(74,107,78,.18) !important;
  box-shadow: 0 4px 16px rgba(36,55,40,.06) !important;
}
.rw-left { display: flex; flex-direction: column; }
.rw-right {
  background: linear-gradient(135deg, #243728 0%, #2d4a33 100%);
  border-radius: 16px;
  padding: 20px;
  display: flex; flex-direction: column;
  color: #fff;
  box-shadow: 0 6px 20px rgba(36,55,40,.18);
}
.rw-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 6px;
}
.rw-icon { font-size: 32px; line-height: 1; }
.rw-title {
  margin: 0;
  font-family: 'Frank Ruhl Libre', 'Cormorant Garamond', serif;
  font-size: 24px !important;
  font-weight: 700;
  color: #243728;
  letter-spacing: -.2px;
}
.rw-hint {
  font-size: 13.5px;
  color: #6b7568;
  margin: 0 0 14px;
  line-height: 1.5;
}
.rw-vars {
  margin: 6px 0 14px !important;
  font-size: 12.5px !important;
}
.rw-vars code {
  background: rgba(192,154,80,.12);
  color: #8B6914;
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 12px;
  margin: 0 2px;
}
.rw-badge-row { margin-bottom: 16px; }
.rw-badge-row > span {
  display: inline-block;
  font-size: 13px !important;
  padding: 5px 14px !important;
  font-weight: 700 !important;
}
.rw-input-row { display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.rw-label {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #243728 !important;
  letter-spacing: .2px;
  display: block;
  margin-bottom: 6px;
}
.rw-input {
  padding: 11px 14px !important;
  font-size: 16px !important;
  direction: ltr;
  display: block;
  cursor: pointer;
  background: #fff !important;
  border: 1.5px solid rgba(74,107,78,.25) !important;
  border-radius: 10px !important;
  color: #243728;
  font-weight: 600;
  transition: border-color .15s, box-shadow .15s;
}
.rw-input:hover, .rw-input:focus {
  border-color: #4A6B4E !important;
  box-shadow: 0 0 0 3px rgba(74,107,78,.12);
  outline: none;
}
.rw-input-date { width: 180px; text-align: center; }
.rw-input-time { width: 130px; text-align: center; }
.rw-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  direction: rtl;
  border: 1.5px solid rgba(74,107,78,.25);
  border-radius: 10px;
  background: #fff;
  color: #243728;
  line-height: 1.6;
  resize: vertical;
  transition: border-color .15s, box-shadow .15s;
}
.rw-textarea:focus {
  border-color: #4A6B4E;
  box-shadow: 0 0 0 3px rgba(74,107,78,.12);
  outline: none;
}
.rw-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 4px;
}
.rw-save-btn {
  padding: 11px 22px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}
.rw-cancel-btn { color: #C05050 !important; }
.rw-preview-label {
  font-size: 12px;
  font-weight: 700;
  color: #D4B870;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex; align-items: baseline; gap: 8px;
}
.rw-preview-label span {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 12px;
  color: rgba(212,184,112,.7);
}
.rw-preview-box {
  background: #fff;
  color: #243728;
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 15.5px;
  line-height: 1.7;
  white-space: pre-wrap;
  flex: 1;
  direction: rtl;
  min-height: 220px;
  box-shadow: inset 0 0 0 1px rgba(212,184,112,.2);
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
}

/* Solo variant — call-list card uses the same warm bg but with a single column */
.rw-card.rw-card--solo {
  grid-template-columns: 1fr;
}

/* ─────────────────────────────────────────────────────────────────────
   App-wide custom confirm modal (replaces window.confirm/alert)
───────────────────────────────────────────────────────────────────── */
.app-confirm-backdrop {
  position: fixed; inset: 0;
  background: rgba(20, 26, 38, 0.6);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
  animation: appConfirmFadeIn .15s ease;
}
@keyframes appConfirmFadeIn { from { opacity: 0; } to { opacity: 1; } }
.app-confirm-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f1 100%);
  border-radius: 18px;
  padding: 30px 34px 26px;
  max-width: 460px;
  width: calc(100% - 32px);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  text-align: center;
  direction: rtl;
  border: 1.5px solid rgba(74,107,78,.18);
  animation: appConfirmSlideUp .22s cubic-bezier(.16,1,.3,1);
}
@keyframes appConfirmSlideUp { from { transform: translateY(20px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.app-confirm-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(74,107,78,.15), rgba(192,154,80,.15));
  color: #4A6B4E;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  font-family: 'Frank Ruhl Libre', serif;
  font-weight: 700;
}
.app-confirm-icon.danger {
  background: linear-gradient(135deg, #FFE5E5, #FFD4D4);
  color: #C0392B;
}
.app-confirm-title {
  font-family: 'Frank Ruhl Libre', 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 700;
  color: #243728;
  margin-bottom: 10px;
}
.app-confirm-body {
  font-size: 15px; color: #555;
  line-height: 1.65;
  margin-bottom: 24px;
}
.app-confirm-actions {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap;
}
.app-confirm-btn {
  padding: 12px 26px;
  border-radius: 99px;
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s, filter .15s;
  font-family: inherit;
  min-width: 110px;
}
.app-confirm-cancel {
  background: #f0ebe0;
  color: #555;
}
.app-confirm-cancel:hover { background: #e6dfd0; }
.app-confirm-ok {
  background: linear-gradient(135deg, #4A6B4E, #243728);
  color: #fff;
  box-shadow: 0 4px 12px rgba(36,55,40,.25);
}
.app-confirm-ok:hover { transform: translateY(-1px); filter: brightness(1.08); }
.app-confirm-danger {
  background: linear-gradient(135deg, #C0392B, #A02C20);
  color: #fff;
  box-shadow: 0 4px 12px rgba(192,57,43,.3);
}
.app-confirm-danger:hover { transform: translateY(-1px); filter: brightness(1.08); }

/* Compact count combobox in RSVP status table */
.rsvp-count-select {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1.5px solid rgba(192,154,80,.35);
  background: #fff;
  color: #243728;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  min-width: 60px;
  text-align: center;
}
.rsvp-count-select:hover, .rsvp-count-select:focus {
  border-color: #C09A50;
  outline: none;
}

/* ─────────────────────────────────────────────────────────────────────
   flatpickr — restyled to match the wedding app
───────────────────────────────────────────────────────────────────── */
.flatpickr-calendar {
  font-family: 'Heebo', sans-serif !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 36px rgba(36,55,40,.18), 0 2px 6px rgba(0,0,0,.05) !important;
  border: 1.5px solid rgba(74,107,78,.18) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f1 100%) !important;
  padding: 4px !important;
  overflow: hidden;
}
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after { display:none !important; }

/* Header (month + year) */
.flatpickr-months {
  background: linear-gradient(135deg, #243728, #2d4a33);
  border-radius: 12px 12px 0 0;
  padding: 10px 8px 12px;
  margin: -4px -4px 6px;
}
.flatpickr-months .flatpickr-month {
  color: #D4B870;
  height: 36px;
}
.flatpickr-current-month {
  font-size: 16px !important;
  font-weight: 700;
  color: #fff !important;
  padding-top: 4px !important;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
  color: #fff !important;
  font-weight: 700;
  background: transparent;
}
.flatpickr-current-month input.cur-year {
  color: #D4B870 !important;
  font-weight: 700;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:hover { background: rgba(255,255,255,.08) !important; }
.flatpickr-prev-month, .flatpickr-next-month {
  color: #D4B870 !important;
  fill: #D4B870 !important;
}
.flatpickr-prev-month:hover svg, .flatpickr-next-month:hover svg { fill: #fff !important; }

/* Weekday row */
.flatpickr-weekdays { background: transparent !important; }
.flatpickr-weekday {
  color: #8B6914 !important;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .5px;
}

/* Day cells */
.flatpickr-day {
  color: #243728 !important;
  font-weight: 500;
  border-radius: 10px !important;
  border: none !important;
  margin: 1px;
}
.flatpickr-day:hover {
  background: rgba(192,154,80,.18) !important;
  color: #8B6914 !important;
}
.flatpickr-day.today {
  border: 1.5px solid #C09A50 !important;
  color: #8B6914 !important;
  font-weight: 700;
}
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange,
.flatpickr-day.selected:hover {
  background: linear-gradient(135deg, #4A6B4E, #243728) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 3px 8px rgba(36,55,40,.25);
}
.flatpickr-day.flatpickr-disabled, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay {
  color: rgba(36,55,40,.25) !important;
}

/* ── Time picker (compact, proportional) ── */
.flatpickr-time {
  border-top: 1.5px solid rgba(74,107,78,.12) !important;
  background: #fbf8f1 !important;
  border-radius: 0 0 12px 12px;
  padding: 7px 6px !important;
  margin: 4px -4px -4px;
  height: auto !important;
  max-height: 48px !important;
  display: flex !important;
  align-items: stretch !important;
}
.flatpickr-time .numInputWrapper {
  flex: 1;
  height: 32px !important;
  max-width: 60px;
  background: #fff;
  border: 1.5px solid rgba(192,154,80,.4);
  border-radius: 7px;
  margin: 0 2px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.flatpickr-time .numInputWrapper:hover { border-color: #C09A50; }
.flatpickr-time input {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #243728 !important;
  background: transparent !important;
  font-family: 'Heebo', sans-serif !important;
  letter-spacing: 0 !important;
  -webkit-appearance: none;
  text-align: center !important;
  width: 100% !important;
  padding: 0 !important;
  line-height: 1 !important;
  height: 100% !important;
}
.flatpickr-time .flatpickr-time-separator {
  font-size: 17px !important;
  color: #8B6914 !important;
  font-weight: 700;
  align-self: center;
  padding: 0 2px;
}
.flatpickr-time .numInputWrapper span {
  border-color: rgba(192,154,80,.18) !important;
  opacity: 1 !important;
  width: 15px !important;
  height: 50% !important;
}
.flatpickr-time .numInputWrapper span:hover { background: rgba(192,154,80,.12) !important; }
.flatpickr-time .numInputWrapper span.arrowUp:after { border-bottom-color: #8B6914 !important; border-width: 0 3px 4px !important; }
.flatpickr-time .numInputWrapper span.arrowDown:after { border-top-color: #8B6914 !important; border-width: 4px 3px 0 !important; }

/* Time-only picker (noCalendar:true) — compact card */
.flatpickr-calendar.noCalendar {
  width: 190px !important;
  min-width: 0 !important;
  max-width: 190px !important;
  padding-top: 0 !important;
}
.flatpickr-calendar.noCalendar::before {
  content: "בחירת שעה";
  display: block;
  background: linear-gradient(135deg, #243728, #2d4a33);
  color: #D4B870;
  font-family: 'Frank Ruhl Libre', 'Cormorant Garamond', serif;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  padding: 6px 0 5px;
  border-radius: 12px 12px 0 0;
  margin: -4px -4px 0;
  letter-spacing: .6px;
}
.flatpickr-calendar.noCalendar .flatpickr-time {
  margin-top: 0 !important;
  border-top: none !important;
  border-radius: 0 0 12px 12px !important;
}
/* Smaller confirm button when alone — and FORCE it visible (flatpickr sometimes hides it) */
.flatpickr-calendar.noCalendar .flatpickr-confirm,
.flatpickr-calendar.hasTime .flatpickr-confirm {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 13px !important;
  padding: 9px 18px !important;
  position: static !important;
  height: auto !important;
  width: auto !important;
}
/* The plugin sometimes adds the confirm button only when valid date is selected.
   For time-only pickers, ensure it always shows */
.flatpickr-confirm:not(.darkTheme) {
  background: linear-gradient(135deg, #4A6B4E, #243728) !important;
  color: #fff !important;
}

/* Confirm button (from confirmDate plugin) */
.flatpickr-confirm {
  background: linear-gradient(135deg, #4A6B4E, #243728) !important;
  color: #fff !important;
  font-family: 'Heebo', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 12px 24px !important;
  border-radius: 0 0 14px 14px !important;
  border: none !important;
  letter-spacing: .3px;
  cursor: pointer;
  transition: filter .15s;
  margin: 0 -4px -4px;
  text-align: center;
}
.flatpickr-confirm:hover { filter: brightness(1.1); }
.flatpickr-confirm svg { display: none !important; }

/* ─────────────────────────────────────────────────────────────────────
   CSS-only particle effects — replaces tsParticles
───────────────────────────────────────────────────────────────────── */
.fx-container { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.fx-container .fx-dot {
  position: absolute;
  --fx-scale: 1;
  pointer-events: none;
  will-change: transform, opacity;
}

/* Sparkles — gold ✦ that pulse + drift */
.fx-sparkles .fx-dot {
  color: #FFD700;
  font-size: calc(14px * var(--fx-scale));
  text-shadow: 0 0 4px rgba(255,215,0,0.7), 0 0 8px rgba(255,215,0,0.4);
  animation: fx-sparkle-anim linear infinite;
  opacity: 0;
}
@keyframes fx-sparkle-anim {
  0%   { opacity: 0;   transform: translateY(0) scale(0.5); }
  25%  { opacity: 0.95; transform: translateY(-6px) scale(var(--fx-scale)); }
  50%  { opacity: 0.5; transform: translateY(-3px) scale(calc(var(--fx-scale) * 0.85)); }
  75%  { opacity: 0.95; transform: translateY(-9px) scale(var(--fx-scale)); }
  100% { opacity: 0;   transform: translateY(-15px) scale(0.5); }
}

/* Hearts — float up + sway */
.fx-hearts .fx-dot {
  color: rgba(255,255,255,0.9);
  font-size: calc(18px * var(--fx-scale));
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
  animation: fx-hearts-anim linear infinite;
}
@keyframes fx-hearts-anim {
  0%   { transform: translateY(0)     translateX(0)  rotate(-10deg); opacity: 0; }
  10%  { opacity: 0.95; }
  50%  { transform: translateY(-50vh) translateX(15px) rotate(10deg); }
  90%  { opacity: 0.95; }
  100% { transform: translateY(-100vh) translateX(0) rotate(-10deg); opacity: 0; }
}

/* Petals — soft pink circles falling + tumbling */
.fx-petals .fx-dot {
  width: calc(10px * var(--fx-scale));
  height: calc(7px * var(--fx-scale));
  background: radial-gradient(ellipse at 30% 30%, #FFB6C1 0%, #E08AA6 60%, #C76B8E 100%);
  border-radius: 50% 80% 50% 80%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  animation: fx-petals-anim linear infinite;
}
@keyframes fx-petals-anim {
  0%   { transform: translateY(-20px) translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.85; }
  50%  { transform: translateY(50vh)  translateX(20px) rotate(180deg); }
  90%  { opacity: 0.85; }
  100% { transform: translateY(110vh) translateX(0) rotate(360deg); opacity: 0; }
}

/* Snow — white drifting flakes */
.fx-snow .fx-dot {
  color: #FFFFFF;
  font-size: calc(14px * var(--fx-scale));
  text-shadow: 0 0 4px rgba(255,255,255,0.5);
  animation: fx-snow-anim linear infinite;
}
@keyframes fx-snow-anim {
  0%   { transform: translateY(-20px) translateX(0); opacity: 0; }
  10%  { opacity: 0.9; }
  50%  { transform: translateY(50vh)  translateX(15px); }
  90%  { opacity: 0.9; }
  100% { transform: translateY(110vh) translateX(-10px); opacity: 0; }
}

/* Stars — twinkling fixed positions */
.fx-stars .fx-dot {
  color: #FFD700;
  font-size: calc(11px * var(--fx-scale));
  text-shadow: 0 0 6px rgba(255,215,0,0.6);
  animation: fx-stars-anim ease-in-out infinite;
  opacity: 0.3;
}
@keyframes fx-stars-anim {
  0%, 100% { opacity: 0.2; transform: scale(0.6); }
  50%      { opacity: 1;   transform: scale(var(--fx-scale)); }
}

/* Bokeh — large soft gold circles drifting slowly */
.fx-bokeh .fx-dot {
  width: calc(40px * var(--fx-scale));
  height: calc(40px * var(--fx-scale));
  background: radial-gradient(circle, rgba(255,215,0,0.45) 0%, rgba(255,215,0,0.18) 50%, transparent 80%);
  border-radius: 50%;
  filter: blur(2px);
  animation: fx-bokeh-anim linear infinite;
  opacity: 0;
}
@keyframes fx-bokeh-anim {
  0%   { transform: translateY(20px) translateX(0)  scale(0.6); opacity: 0; }
  20%  { opacity: 0.5; }
  50%  { transform: translateY(-40vh) translateX(10px) scale(var(--fx-scale)); opacity: 0.3; }
  80%  { opacity: 0.5; }
  100% { transform: translateY(-100vh) translateX(0) scale(0.6); opacity: 0; }
}

/* Confetti — colored squares falling fast */
.fx-confetti .fx-dot {
  width: calc(7px * var(--fx-scale));
  height: calc(11px * var(--fx-scale));
  background: hsl(var(--fx-hue, 50), 80%, 60%);
  animation: fx-confetti-anim linear infinite;
}
.fx-confetti .fx-dot:nth-child(7n)   { --fx-hue: 0;   }
.fx-confetti .fx-dot:nth-child(7n+1) { --fx-hue: 50;  }
.fx-confetti .fx-dot:nth-child(7n+2) { --fx-hue: 120; }
.fx-confetti .fx-dot:nth-child(7n+3) { --fx-hue: 180; }
.fx-confetti .fx-dot:nth-child(7n+4) { --fx-hue: 280; }
.fx-confetti .fx-dot:nth-child(7n+5) { --fx-hue: 340; }
.fx-confetti .fx-dot:nth-child(7n+6) { --fx-hue: 30;  }
@keyframes fx-confetti-anim {
  0%   { transform: translateY(-20px) translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(110vh) translateX(40px) rotate(720deg); opacity: 0; }
}

/* Stardust — tiny twinkling dots scattered */
.fx-stardust .fx-dot {
  color: #FFFACD;
  font-size: calc(20px * var(--fx-scale));
  text-shadow: 0 0 3px rgba(255,250,205,.8);
  animation: fx-stardust-anim ease-in-out infinite;
  opacity: 0;
}
@keyframes fx-stardust-anim {
  0%, 100% { opacity: 0;   transform: scale(0.5); }
  50%      { opacity: 0.9; transform: scale(var(--fx-scale)); }
}

/* Fireflies — large glowing yellow dots floating */
.fx-fireflies .fx-dot {
  color: #FFE066;
  font-size: calc(8px * var(--fx-scale));
  text-shadow: 0 0 8px #FFD700, 0 0 16px rgba(255,215,0,.6);
  animation: fx-fireflies-anim ease-in-out infinite;
}
@keyframes fx-fireflies-anim {
  0%, 100% { opacity: 0.2; transform: translate(0, 0) scale(0.7); }
  25%      { opacity: 1;   transform: translate(15px, -20px) scale(var(--fx-scale)); }
  50%      { opacity: 0.4; transform: translate(-10px, -10px) scale(0.85); }
  75%      { opacity: 1;   transform: translate(-20px, 10px) scale(var(--fx-scale)); }
}

/* Glitter — sharp diamond sparkles */
.fx-glitter .fx-dot {
  color: #FFF8DC;
  font-size: calc(10px * var(--fx-scale));
  text-shadow: 0 0 4px #C09A50, 0 0 10px rgba(212,184,112,.5);
  animation: fx-glitter-anim cubic-bezier(.3,0,.7,1) infinite;
  opacity: 0;
}
@keyframes fx-glitter-anim {
  0%, 100% { opacity: 0; transform: rotate(0deg) scale(0.3); }
  50%      { opacity: 1; transform: rotate(180deg) scale(var(--fx-scale)); }
}

/* Pink hearts — softer, more romantic */
.fx-hearts-pink .fx-dot {
  color: #F8BBD0;
  font-size: calc(20px * var(--fx-scale));
  text-shadow: 0 1px 3px rgba(248,187,208,.5);
  animation: fx-hearts-anim linear infinite;
}

/* Gold petals — luxe variant */
.fx-petals-gold .fx-dot {
  width: calc(11px * var(--fx-scale));
  height: calc(8px * var(--fx-scale));
  background: radial-gradient(ellipse at 30% 30%, #FFE082 0%, #C09A50 60%, #8B6914 100%);
  border-radius: 50% 80% 50% 80%;
  box-shadow: 0 1px 3px rgba(139,105,20,.35);
  animation: fx-petals-anim linear infinite;
}

/* Bubbles — champagne ones floating up */
.fx-bubbles .fx-dot {
  width: calc(12px * var(--fx-scale));
  height: calc(12px * var(--fx-scale));
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.9), rgba(255,255,255,.3) 50%, rgba(255,250,205,.1) 100%);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  animation: fx-bubbles-anim ease-in infinite;
  opacity: 0;
}
@keyframes fx-bubbles-anim {
  0%   { transform: translateY(0) translateX(0)  scale(0.3); opacity: 0; }
  10%  { opacity: 0.8; }
  50%  { transform: translateY(-40vh) translateX(8px) scale(var(--fx-scale)); }
  90%  { opacity: 0.8; }
  100% { transform: translateY(-110vh) translateX(-5px) scale(0.6); opacity: 0; }
}

/* Butterflies — slow drifting */
.fx-butterflies .fx-dot {
  color: #F8BBD0;
  font-size: calc(22px * var(--fx-scale));
  text-shadow: 0 1px 4px rgba(248,187,208,.45);
  animation: fx-butterfly-anim ease-in-out infinite;
}
@keyframes fx-butterfly-anim {
  0%   { transform: translate(0, 0) rotate(-15deg); opacity: 0; }
  10%  { opacity: 0.9; }
  25%  { transform: translate(50px, -30px) rotate(15deg); }
  50%  { transform: translate(20px, -60px) rotate(-10deg); }
  75%  { transform: translate(-40px, -50px) rotate(20deg); }
  90%  { opacity: 0.9; }
  100% { transform: translate(-80px, -100vh) rotate(0deg); opacity: 0; }
}

/* Mobile / narrow */
@media (max-width: 820px) {
  .rw-card { grid-template-columns: 1fr; }
  .rw-right { min-height: 180px; }
}
