/* =========================================================
   Undangan VVIP — tema sama dengan undangan lain (gading, mocha, emas),
   ditambah lambang VVIP dan nomor meja di kartu QR.
   Dimuat SETELAH invite.css.
   ========================================================= */
:root {
  --foil: linear-gradient(100deg, #8C6B3A 0%, #C9A15A 30%, #7A5A38 55%, #C9A15A 78%, #8C6B3A 100%);   /* emas tua, terbaca di atas gading */
  --deco: "Cinzel", "Cormorant Garamond", serif;
}

/* Lambang VVIP di sampul */
.vv-crest { width: min(64vw, 250px); height: auto; margin: 0 auto .6rem; overflow: visible; }
.vv-crest text { font: 600 17px/1 var(--deco); letter-spacing: .14em; fill: url(#goldGrad); }
.lead b, .sub b { font-weight: 500; color: var(--mocha-deep); }

/* Kartu status / QR: label "VVIP PASS" di pita atas */
body.vvip .ticket__band::before { content: "✦ VVIP PASS ✦"; display: block; margin-bottom: .35rem; font: 600 .7rem/1 var(--deco); letter-spacing: .3em; color: #E9CD8B; }
body.vvip .ticket__vip { display: none; }

/* Nomor meja (ditetapkan panitia setelah tamu reservasi) */
.ticket__table {
  position: relative; display: grid; justify-items: center; gap: .1rem; width: min(100%, 240px); margin: .9rem auto .2rem; padding: .65rem 1rem .75rem;
  border-radius: 16px; border: 1px solid var(--gold); background: linear-gradient(165deg, #FBF4E8, #F3E7D3);
  box-shadow: 0 0 0 3px rgba(196,164,107,.15); animation: rise .5s var(--ease-out);
}
.ticket__table-lbl { font: 600 .62rem/1.2 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); }
.ticket__table-no {
  font: 600 2.6rem/1 var(--deco); letter-spacing: .04em; font-variant-numeric: lining-nums; color: var(--mocha-deep);
  background: var(--foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ticket__table.is-none { border-style: dashed; background: #FAF5EC; box-shadow: none; }
.ticket__table .ticket__table-wait { margin: .15rem 0 .1rem; font: italic 500 1.2rem/1.2 var(--serif); letter-spacing: 0;
  background: none; -webkit-text-fill-color: currentColor; color: var(--mocha); }
.ticket__table small { font-size: .74rem; line-height: 1.4; color: var(--muted); max-width: 26ch; text-align: center; }

/* ---------- Pilih nama dari daftar undangan ---------- */
.gpick { position: relative; }
.gpick input#fName { padding-left: 2.6rem; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23B08D57' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M20 20l-4.2-4.2'/%3E%3C/g%3E%3C/svg%3E") no-repeat .85rem center; }
.gpick.is-picked input#fName { background-color: #F7F1E6; color: var(--mocha-deep); font-weight: 500; }
.gpick__list { list-style: none; margin: .35rem 0 0; padding: .3rem; border-radius: 14px; border: 1px solid var(--gold-light); background: #FFFFFF;
  box-shadow: 0 16px 34px -18px rgba(74,52,40,.45); max-height: 320px; overflow-y: auto; animation: rise .25s var(--ease-out); }
.gpick__list[hidden] { display: none; }
.gpick__opt { display: grid; gap: .1rem; width: 100%; min-height: 48px; padding: .55rem .8rem; border: 0; border-radius: 10px; background: none; text-align: left; cursor: pointer; }
.gpick__opt:hover, .gpick__opt:focus-visible { background: #FAF3E6; }
.gpick__opt b { font: 500 1.02rem/1.3 var(--sans); color: var(--ink); }
.gpick__opt small { font-size: .78rem; color: var(--gold-deep); }
.gpick__opt.is-claimed { cursor: not-allowed; opacity: .55; }
.gpick__opt.is-claimed small { color: var(--muted); }
.gpick__none { padding: .75rem .8rem; font-size: .86rem; line-height: 1.5; color: var(--muted); }
.gpick__none a { color: var(--gold-deep); font-weight: 500; }
.gpick__chip { display: flex; align-items: center; gap: .7rem; margin-top: .5rem; padding: .6rem .5rem .6rem .8rem; border-radius: 14px;
  background: #EEF6EF; border: 1px solid #B9D8BF; animation: rise .3s var(--ease-out); }
.gpick__chip[hidden] { display: none; }
.gpick__chip > span:nth-child(2) { flex: 1; min-width: 0; }
.gpick__chip b { display: block; font-weight: 500; color: #2F5E38; overflow-wrap: anywhere; }
.gpick__chip small { font-size: .78rem; color: #4F7A55; }
.gpick__chip .linkbtn { min-height: 40px; padding: .3rem .5rem; font-size: .8rem; white-space: nowrap; }
.gpick__ok { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #3F7A4A; color: #FFFFFF; font-size: .9rem; }
.gpick.is-picked .gpick__hint { display: none; }
.partner-name.is-listed input { background: #F7F1E6; font-weight: 500; color: var(--mocha-deep); }
.gpick__pnote { color: #2F5E38 !important; }
.gpick__chip.is-claimed { background: #FFF4E0; border-color: #EBCB8B; }
.gpick__chip.is-claimed b { color: #8A5A12; }
.gpick__chip.is-claimed small { color: #8A5A12; }
.gpick__chip.is-claimed .gpick__ok { background: #C98A1E; }
