:root{--bg-shell:#f2f0eb;--surface:#f7f5f2;--surface-strong:#fff;--line:#d7d1ca;--ink:#1c201d;--mut:#5d615d;--acc:#1d5d4f;--acc-strong:#154936;--acc-soft:#dceae3;--warn-bg:#f7eed9;--warn-ink:#8a6124;--err-bg:#f8e7e7;--err-ink:#8a2e2e;--shadow:0 8px 28px rgba(30,24,20,.06)}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg-shell);color:var(--ink);font:16px/1.55 "Figtree",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
a{color:var(--acc)}
.wrap{max-width:1200px;margin:0 auto;padding:0 20px}
.top{background:linear-gradient(180deg,#2a251f,#1d1917);color:#fff;box-shadow:inset 0 -1px rgba(255,255,255,.08)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-block:12px}
.brand{color:#fff;text-decoration:none;font-size:1.1rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.top-meta{display:flex;align-items:center;gap:12px}
.top-role{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:#dccdb6;opacity:.9}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:0 18px;border-radius:10px;border:1px solid var(--acc);background:var(--acc);color:#fff;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;box-shadow:0 6px 16px rgba(29,93,79,.15)}
.btn:hover{filter:brightness(.98)}
.btn.sec{background:#fff;color:var(--acc)}
.btn.danger{background:#fff;color:var(--err-ink);border-color:#d8b4b4}
.btn-small{min-height:36px;padding:0 14px;font-size:.9rem}
.btn-primary{background:linear-gradient(180deg,#2a6f5c,#1d5d4f);border-color:var(--acc);}
.card{background:rgba(255,255,255,.7);border:1px solid var(--line);border-radius:14px;padding:18px 16px;box-shadow:var(--shadow)}
.card.soft{background:rgba(255,255,255,.35)}
.flash{padding:12px 14px;border-radius:10px;margin:16px 0;border:1px solid}
.flash.ok{background:#eaf5ee;border-color:#b7d8c2;color:#214d38}
.flash.err{background:var(--err-bg);border-color:#d9b5b5;color:var(--err-ink)}
.flash.warn{background:var(--warn-bg);border-color:#ebd4a4;color:var(--warn-ink)}
.mut{color:var(--mut)}
.small{font-size:.86rem}
input,select,textarea{width:100%;font:inherit;padding:11px 12px;border:1px solid #c9c1b8;border-radius:10px;background:#fff;min-height:42px;color:var(--ink)}
textarea{min-height:104px}
label{display:block;margin:12px 0 6px;font-weight:600}
.main-shell{padding:18px 0 28px}
.app-shell{max-width:1320px;margin:0 auto;padding:0 20px}
.nav.sidebar{display:block}
.nav.sidebar .wrap{display:flex;flex-direction:column;gap:8px;padding:12px 10px;background:rgba(255,255,255,.45);border:1px solid var(--line);border-radius:14px;margin:12px 0 0;box-shadow:var(--shadow)}
.nav.sidebar a{padding:11px 12px;border-radius:10px;text-decoration:none;color:var(--ink);font-weight:600;background:transparent;border:1px solid transparent}
.nav.sidebar a.on{background:var(--acc-soft);border-color:#d0e2d7;color:var(--acc-strong)}
.admin-shell{padding-top:18px}
.admin-topline{display:flex;justify-content:flex-end;margin-bottom:14px}
.admin-label{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#4d514f}
.admin-header-panel{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;padding:0 4px}
.admin-header-panel h1{margin:0;font-size:clamp(2.2rem,5vw,3rem);line-height:1.1;color:#1b1d1a}
.admin-toolbar{padding:12px 14px}
.admin-search{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.admin-search input{flex:1;min-width:240px;border-color:#d2c9c1;background:rgba(255,255,255,.8)}
.table-card{padding:0;overflow:hidden}
.admin-table{width:100%;border-collapse:collapse}
.admin-table th,.admin-table td{padding:16px 18px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
.admin-table th{font-size:.82rem;letter-spacing:.12em;text-transform:uppercase;color:#5a5e5d;background:rgba(255,255,255,.3)}
.admin-table tbody tr:hover{background:rgba(29,93,79,.02)}
.table-link{text-decoration:none;font-weight:700;color:var(--ink)}
.mono{font-family:ui-monospace, SFMono-Regular, Menlo, monospace;font-size:.94rem}
.badge{display:inline-block;padding:5px 10px;border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.03em;text-transform:lowercase;border:1px solid transparent}
.badge.active{background:#dfeee7;border-color:#bfdcc8;color:#1f5b46}
.badge.suspended{background:#f9e1e1;border-color:#e8c3c3;color:#8f3a3a}
.badge.expired{background:#fcefe0;border-color:#e6d2ad;color:#8d6820}
.badge.draft{background:#f0f1f2;border-color:#d9dfe1;color:#4d5659}
.pagination-wrap{padding:14px 18px 18px}
.pagination-wrap nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.pagination-wrap .page-link,.pagination-wrap .page-item{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border-radius:8px;border:1px solid var(--line);background:#fff;color:var(--ink);text-decoration:none}
.pagination-wrap .page-item.active .page-link{background:var(--acc);color:#fff;border-color:var(--acc)}
.dashboard-lobby{display:grid;grid-template-columns:240px 1fr;gap:18px;align-items:start}
.dashboard-card{background:rgba(255,255,255,.62);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.dashboard-menu-panel{padding:0}
.menu-card-header{padding:18px 18px 14px;border-bottom:1px solid var(--line);font-weight:800;font-size:1.02rem;background:rgba(194,214,205,.24)}
.menu-stack{padding:14px 12px 12px}
.menu-item{padding:12px 10px;border-radius:10px;color:#2a2d2d;font-weight:600}
.menu-item:not(:last-child){margin-bottom:4px}
.menu-item:hover{background:#f3f1ee}
.dashboard-main-panel{padding:18px 20px 20px}
.dashboard-header-row{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;padding-bottom:12px}
.eyebrow{margin:0 0 6px;color:#5f695f;font-size:.72rem;letter-spacing:.15em;text-transform:uppercase;font-weight:700}
.dashboard-main-panel h1{margin:0;font-size:clamp(2.3rem,4vw,3.2rem);line-height:1.06;color:#1c1f1d}
.stats-grid.compact{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 14px}
.stat-card{background:#f7f7f5;border:1px solid var(--line);border-radius:14px;padding:14px 16px}
.stat-card strong{display:block;font-size:2rem;line-height:1.1;margin-top:8px;color:#1eaa8b}
.stat-label{display:block;font-size:.72rem;color:#4d5350;letter-spacing:.12em;text-transform:uppercase;font-weight:700}
.stat-card small{display:block;margin-top:8px;color:var(--mut)}
.link-panel{padding:18px 18px 14px;border:1px solid var(--line);border-radius:14px;background:#f4f5f2;margin:0 0 18px}
.link-panel h3{margin:0 0 10px;font-size:1.05rem}
.link-panel a{font-weight:700;word-break:break-all}
.mini-cta{padding:18px 18px 12px}
.mini-cta h2{margin:0 0 12px;font-size:1.05rem}
.mini-cta textarea{margin-bottom:10px}
#out{margin-top:12px;display:grid;gap:12px}
.mini{padding:14px 16px}
/* ==========================================================
   CUSTOMER DASHBOARD - HARMONIZED & ENHANCED DESIGN SYSTEM
   ========================================================== */

/* Shell & Container */
.customer-dashboard-shell {
  display: flex;
  min-height: 100vh;
  background: #fbf9f6;
  position: relative;
}

/* Sidebar Navigation */
.customer-sidebar {
  width: 260px;
  min-width: 260px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #380a27 0%, #200316 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 22px 14px 20px;
  z-index: 50;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 4px 0 24px rgba(20, 5, 14, 0.12);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(223, 183, 118, 0.25) 0%, rgba(223, 183, 118, 0.08) 100%);
  border: 1px solid rgba(223, 183, 118, 0.4);
  font-size: 20px;
  color: #dfb776;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text span {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: #fff;
  line-height: 1.1;
}

.brand-text small {
  color: #dfb776;
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 3px;
}

.sidebar-close-btn {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  place-items: center;
  line-height: 1;
}

/* Sidebar Invitation Badge */
.sidebar-invitation-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 16px 2px 14px;
}

.badge-couple-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.badge-ring {
  font-size: 1rem;
}

.badge-names {
  font-size: 0.96rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.badge-slug {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 7px;
  border-radius: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 120px;
}

.badge-status {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 99px;
}

.badge-status.active {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.badge-status.inactive {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

/* Sidebar Nav Items */
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
  transition: all 0.18s ease;
  border-left: 3px solid transparent;
}

.side-nav a .nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  transition: color 0.18s ease;
}

.side-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.side-nav a:hover .nav-icon {
  color: #dfb776;
}

.side-nav a.active {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  border-left-color: #dfb776;
  font-weight: 700;
}

.side-nav a.active .nav-icon {
  color: #dfb776;
}

.nav-active-pill {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dfb776;
  margin-left: auto;
}

/* Sidebar Footer */
.sidebar-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 9px;
  background: rgba(223, 183, 118, 0.15);
  border: 1px solid rgba(223, 183, 118, 0.35);
  color: #f7e6cc;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s ease;
}

.sidebar-view-btn:hover {
  background: rgba(223, 183, 118, 0.25);
  color: #fff;
  border-color: #dfb776;
}

.sidebar-logout-form {
  margin: 0;
}

.sidebar-logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 9px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}

.sidebar-logout-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 6, 16, 0.6);
  backdrop-filter: blur(4px);
  z-index: 45;
}

/* Main Panel & Topbar */
.customer-main-panel {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fbf9f6;
}

.customer-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 249, 246, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #ebe4da;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-menu-toggle {
  display: none;
  background: #fff;
  border: 1px solid #dcd5cb;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  color: #2b2229;
  cursor: pointer;
  place-items: center;
}

.topbar-title-wrap {
  display: flex;
  flex-direction: column;
}

.topbar-heading {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #21191f;
  line-height: 1.2;
}

.topbar-subheading {
  margin: 3px 0 0;
  font-size: 0.86rem;
  color: #6d645d;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dfd7cc;
  color: #3d1b30;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(40, 25, 20, 0.04);
  transition: all 0.18s ease;
}

.topbar-action-btn:hover {
  background: #fdfaf6;
  border-color: #8b1c43;
  color: #8b1c43;
  transform: translateY(-1px);
}

.avatar-pill {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f2e3ed 0%, #ebd3e3 100%);
  border: 1px solid #d8b6ce;
  color: #5d173d;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: .04em;
  box-shadow: 0 2px 8px rgba(93, 23, 61, 0.08);
}

/* Customer Content Area */
.customer-content-area {
  padding: 26px 32px 56px;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
}

/* Flash Messages */
.flash {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 12px;
  margin: 0 0 22px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.flash-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.flash.ok {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.flash.ok .flash-icon {
  background: #dcfce7;
  color: #15803d;
}

.flash.err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.flash.err .flash-icon {
  background: #fee2e2;
  color: #dc2626;
}

.flash.warn {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

/* Notice Box Alert */
.notice-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 22px;
  border: 1px solid;
}

.notice-box.warning {
  background: #fffbeb;
  border-color: #fed7aa;
}

.notice-box.danger {
  background: #fef2f2;
  border-color: #fca5a5;
}

.notice-icon {
  font-size: 1.3rem;
  line-height: 1.2;
}

.notice-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.notice-copy strong {
  font-size: 0.98rem;
  color: #2c2522;
}

.notice-copy p {
  margin: 0;
  font-size: 0.88rem;
  color: #554a43;
}

/* Share Hero Card */
.share-hero-card {
  background: linear-gradient(135deg, #fffaf5 0%, #fcf3ea 50%, #f7e6d5 100%);
  border: 1px solid #e7d2bf;
  border-radius: 18px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(135, 75, 40, 0.05);
}

.share-hero-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.share-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7b4a24;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.share-url-box {
  background: #fff;
  border: 1px solid #dccabb;
  border-radius: 10px;
  padding: 8px 14px;
  max-width: 520px;
}

.share-url-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2b211a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-hero-sub {
  margin: 0;
  font-size: 0.84rem;
  color: #6e5e54;
}

.share-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-copy {
  background: #fff;
  color: #3b2b20;
  border: 1px solid #d4c2b2;
}

.btn-copy.copied {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}

.btn-wa {
  background: #15803d;
  color: #fff;
  border: 1px solid #166534;
}

.btn-wa:hover {
  background: #166534;
}

.btn-preview {
  background: #fff;
  color: #78234a;
  border: 1px solid #dcb5c9;
}

.btn-preview:hover {
  background: #fbf2f7;
  border-color: #8b1c43;
}

/* Modern Stats Grid */
.stats-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.stat-card-modern {
  background: #ffffff;
  border: 1px solid #ebe4da;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 18px rgba(40, 25, 20, 0.03);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.stat-card-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40, 25, 20, 0.06);
}

.stat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.stat-icon-wrap.rose {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fbcfe8;
}

.stat-icon-wrap.emerald {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.stat-icon-wrap.amber {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.stat-icon-wrap.plum {
  background: #faf5ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.stat-data {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.65rem;
  font-weight: 800;
  color: #1f181d;
  line-height: 1.1;
}

.stat-sub {
  font-size: 0.8rem;
  font-weight: 500;
  color: #736962;
}

.stat-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #695e56;
  margin-top: 4px;
}

/* Kesiapan Card Modern */
.ready-card-modern {
  background: #fff;
  border: 1px solid #ebe4da;
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 22px;
  box-shadow: 0 4px 18px rgba(40, 25, 20, 0.03);
}

.ready-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.ready-header-text h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #21191f;
}

.ready-header-text p {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: #6d645d;
}

.ready-progress-badge {
  padding: 5px 14px;
  border-radius: 999px;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  color: #9d174d;
  font-size: 0.82rem;
  font-weight: 700;
}

.ready-progress-badge.complete {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}

.ready-bar-track {
  height: 8px;
  background: #f1ece4;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 18px;
}

.ready-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #8b1c43 0%, #c4325e 100%);
  border-radius: 99px;
  transition: width 0.4s ease;
}

.ready-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.ready-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.89rem;
}

.ready-item.is-done {
  color: #2b2327;
}

.ready-item.is-pending {
  color: #7d726b;
}

.ready-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.ready-item.is-done .ready-check-icon {
  background: #dcfce7;
  color: #15803d;
}

.ready-item.is-pending .ready-check-icon {
  background: #f3efe9;
  color: #948b84;
}

.ready-item-label {
  font-weight: 600;
}

.ready-status-badge {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: #16a34a;
  background: #f0fdf4;
  padding: 2px 8px;
  border-radius: 99px;
}

.ready-link-btn {
  margin-left: auto;
  font-size: 0.76rem;
  font-weight: 700;
  color: #8b1c43;
  text-decoration: none;
  background: #fdf2f7;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid #f3cfdf;
  transition: all 0.15s ease;
}

.ready-link-btn:hover {
  background: #8b1c43;
  color: #fff;
}

/* Quick Action Cards */
.quick-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.quick-action-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(35, 10, 20, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(35, 10, 20, 0.14);
}

.quick-action-card.guest-card {
  background: linear-gradient(135deg, #741639 0%, #520924 100%);
}

.quick-action-card.theme-card {
  background: linear-gradient(135deg, #96381e 0%, #70210b 100%);
}

.quick-action-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
}

.quick-action-content {
  flex: 1;
}

.quick-action-content strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.quick-action-content p {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
}

.quick-action-arrow {
  font-size: 1.5rem;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.quick-action-card:hover .quick-action-arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* Other Invitations */
.other-invitations-card {
  background: #fff;
  border: 1px solid #ebe4da;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 4px 18px rgba(40, 25, 20, 0.03);
}

.section-title-wrap h2 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: #21191f;
}

.section-title-wrap p {
  margin: 4px 0 14px;
  font-size: 0.84rem;
  color: #6f665e;
}

.invitation-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.invitation-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fbf9f6;
  border: 1px solid #eae3d8;
}

.invitation-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.invitation-slug-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  background: #f0ebe2;
  padding: 4px 8px;
  border-radius: 6px;
  color: #554a42;
  font-weight: 700;
}

/* Form Cards & Grid System */
.form-card {
  background: #ffffff;
  border: 1px solid #ebe4da;
  border-radius: 18px;
  padding: 24px 26px;
  margin-bottom: 22px;
  box-shadow: 0 4px 18px rgba(40, 25, 20, 0.03);
}

.form-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f2ece4;
}

.card-icon-tag {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.card-icon-tag.rose {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fbcfe8;
}

.card-icon-tag.gold {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.card-icon-tag.emerald {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.card-icon-tag.plum {
  background: #faf5ff;
  color: #7e22ce;
  border: 1px solid #e9d5ff;
}

.card-icon-tag.amber {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
}

.form-card-header h2 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  color: #21191f;
}

.card-desc {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: #695f58;
  line-height: 1.45;
}

.card-title-flex {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-optional {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #f3efe9;
  color: #776d65;
  padding: 2px 8px;
  border-radius: 99px;
}

.header-between-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

/* Couple Split Grid */
.couple-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.couple-column-box {
  background: #fbf9f6;
  border: 1px solid #ebe3d8;
  border-radius: 14px;
  padding: 18px 20px;
}

.couple-box-header {
  margin-bottom: 12px;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.role-badge.groom {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.role-badge.bride {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fbcfe8;
}

/* Grid System */
.row {
  display: grid;
  gap: 16px;
  margin-bottom: 12px;
}

.row.c2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.row.c3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: #382f35;
  margin: 0 0 6px;
}

.req {
  color: #dc2626;
  margin-left: 2px;
}

.field-hint {
  font-size: 0.78rem;
  color: #766d66;
  margin-top: 4px;
}

.err-t {
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 5px;
}

/* Sticky Bottom Save Bar */
.form-sticky-bar {
  position: sticky;
  bottom: 16px;
  z-index: 25;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #e2d9cd;
  border-radius: 16px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 30px rgba(40, 25, 20, 0.1);
  margin-top: 24px;
}

.btn-save {
  min-width: 190px;
}

/* Bank Accounts Stack */
.bank-accounts-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bank-row-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fbf9f6;
  border: 1px solid #eae2d7;
  border-radius: 12px;
  padding: 12px 16px;
}

.bank-row-number {
  font-size: 0.9rem;
  font-weight: 800;
  color: #a09489;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.bank-row-inputs {
  flex: 1;
  margin-bottom: 0;
}

/* Audio & Preset Components */
.form-section-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #332b31;
  margin-bottom: 10px;
}

.audio-presets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.audio-preset-card {
  display: block;
  cursor: pointer;
  margin: 0;
}

.audio-preset-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
}

.preset-content {
  background: #fbf9f6;
  border: 2px solid #eae3d8;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.18s ease;
}

.preset-radio-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c9c0b5;
  background: #fff;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.audio-preset-card.is-selected .preset-content,
.audio-preset-card:has(input:checked) .preset-content {
  border-color: #8b1c43;
  background: #fdf5f8;
  box-shadow: 0 0 0 3px rgba(139, 28, 67, 0.08);
}

.audio-preset-card.is-selected .preset-radio-indicator,
.audio-preset-card:has(input:checked) .preset-radio-indicator {
  border-color: #8b1c43;
  background: #8b1c43;
  box-shadow: inset 0 0 0 3px #fff;
}

.preset-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.preset-name {
  font-size: 0.94rem;
  font-weight: 700;
  color: #261f24;
}

.preset-desc {
  font-size: 0.78rem;
  color: #6e645e;
  margin-top: 2px;
}

.preset-note-icon {
  font-size: 1.2rem;
}

.audio-save-row {
  margin-bottom: 20px;
}

.custom-audio-section {
  padding-top: 18px;
  border-top: 1px solid #f0ebe3;
}

.active-audio-box {
  background: #f8f6f3;
  border: 1px solid #e6ded3;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.active-audio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.audio-badge {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #ecfdf5;
  color: #15803d;
  padding: 3px 9px;
  border-radius: 99px;
  border: 1px solid #bbf7d0;
}

.audio-player-widget {
  width: 100%;
  border-radius: 8px;
}

.file-dropzone-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.file-input-styled {
  padding: 8px 12px;
}

.file-input-tip {
  margin: 0;
  font-size: 0.8rem;
  color: #6d645d;
}

/* Single Photos Grid */
.single-photos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.single-photo-card {
  background: #fbf9f6;
  border: 1px solid #ebe3d8;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
}

.photo-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.photo-card-top strong {
  font-size: 0.95rem;
  color: #261f24;
}

.photo-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
}

.photo-badge.done {
  background: #dcfce7;
  color: #15803d;
}

.photo-badge.empty {
  background: #f3efe9;
  color: #8c827a;
}

.photo-card-desc {
  margin: 0 0 12px;
  font-size: 0.8rem;
  color: #6f665f;
  line-height: 1.4;
  min-height: 34px;
}

.photo-preview-box {
  position: relative;
  background: #f0ebe2;
  border: 1px dashed #d8cebf;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
}

.aspect-cover {
  aspect-ratio: 16 / 9;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.aspect-qris {
  aspect-ratio: 1 / 1;
  max-width: 220px;
  margin-inline: auto;
}

.preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn-delete-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.9);
  color: #fff;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease;
}

.btn-delete-overlay:hover {
  transform: scale(1.1);
  background: #b91c1c;
}

.empty-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px;
  text-align: center;
  color: #9c9187;
}

.placeholder-icon {
  font-size: 1.8rem;
}

.placeholder-text {
  font-size: 0.78rem;
  font-weight: 600;
}

.custom-file-upload input[type="file"] {
  display: none;
}

.upload-btn-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d4cabf;
  color: #3a3029;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.upload-btn-label:hover {
  background: #fdfaf6;
  border-color: #8b1c43;
  color: #8b1c43;
}

/* Gallery Grid */
.gallery-counter-pill {
  font-size: 0.82rem;
  font-weight: 600;
  background: #f3ede4;
  color: #554a41;
  padding: 4px 12px;
  border-radius: 99px;
}

.gallery-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.gallery-thumb-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f0ebe2;
  border: 1px solid #dfd6c9;
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-del-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.88);
  color: #fff;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.15s ease;
}

.gallery-del-btn:hover {
  transform: scale(1.1);
  background: #b91c1c;
}

.gallery-empty-state {
  grid-column: 1 / -1;
  padding: 32px 20px;
  text-align: center;
  color: #887e75;
  background: #fbf9f6;
  border: 1px dashed #ded4c6;
  border-radius: 14px;
}

.gallery-upload-zone {
  border: 2px dashed #ded4c6;
  border-radius: 14px;
  background: #fbf9f6;
  transition: border-color 0.2s ease;
}

.gallery-upload-zone:hover {
  border-color: #8b1c43;
}

.gallery-dropzone-label {
  display: block;
  cursor: pointer;
  margin: 0;
}

.gallery-dropzone-label input[type="file"] {
  display: none;
}

.dropzone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 20px;
  text-align: center;
}

.dropzone-icon {
  color: #8b1c43;
}

.dropzone-inner strong {
  font-size: 0.94rem;
  color: #2b2329;
}

.dropzone-tip {
  font-size: 0.8rem;
  color: #726861;
}

.gallery-full-note {
  padding: 12px 16px;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 0.86rem;
  font-weight: 600;
}

/* Guest List Modern */
.guest-counter-badge {
  font-size: 0.84rem;
  font-weight: 600;
  color: #15803d;
}

.guest-search-box {
  position: relative;
  margin-bottom: 16px;
}

.guest-search-box .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9c9187;
}

.guest-search-box input {
  padding-left: 40px;
}

.gl-list-modern {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guest-row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  background: #fbf9f6;
  border: 1px solid #eae2d6;
  border-radius: 12px;
  transition: background 0.15s ease;
}

.guest-row-card:hover {
  background: #f6f2ec;
}

.guest-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.guest-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #231b20;
}

.guest-status-badge.done {
  font-size: 0.72rem;
  font-weight: 700;
  background: #dcfce7;
  color: #15803d;
  padding: 2px 8px;
  border-radius: 99px;
}

.guest-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-sm-wa {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 7px;
  background: #15803d;
  color: #fff;
  border: 1px solid #166534;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.btn-sm-wa:hover {
  background: #166534;
}

.btn-sm-danger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: transparent;
  color: #dc2626;
  border: 1px solid #fecaca;
  cursor: pointer;
}

.btn-sm-danger-icon:hover {
  background: #fee2e2;
}

.guest-empty-box {
  padding: 32px 20px;
  text-align: center;
  color: #8a8076;
  background: #fbf9f6;
  border: 1px dashed #ded4c6;
  border-radius: 12px;
}

.tag-helper-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.tag-helper-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #6a6058;
}

.tag-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  background: #f3efe9;
  color: #8b1c43;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #e2d9cd;
  font-weight: 700;
}

.mono-textarea {
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.55;
}

.floating-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: #1e191d;
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-check {
  color: #4ade80;
}

/* RSVP Modern Styles */
.rsvp-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.rsvp-stat-card {
  background: #fff;
  border: 1px solid #ebe4da;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 18px rgba(40, 25, 20, 0.03);
}

.rsvp-stat-card.hadir .rsvp-stat-icon {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.rsvp-stat-card.ragu .rsvp-stat-icon {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.rsvp-stat-card.tidak .rsvp-stat-icon {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.rsvp-stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.rsvp-stat-info {
  display: flex;
  flex-direction: column;
}

.rsvp-stat-count {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1f181d;
  line-height: 1.1;
}

.rsvp-stat-count small {
  font-size: 0.85rem;
  font-weight: 600;
  color: #736962;
}

.rsvp-stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #6d625b;
  margin-top: 3px;
}

.table-card-modern {
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ebe4da;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(40, 25, 20, 0.03);
}

.table-card-header {
  padding: 18px 24px;
  border-bottom: 1px solid #f0ebe4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.table-card-header h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #21191f;
}

.table-responsive {
  overflow-x: auto;
}

.rsvp-table-modern {
  width: 100%;
  border-collapse: collapse;
}

.rsvp-table-modern th,
.rsvp-table-modern td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid #f2ece4;
  vertical-align: middle;
}

.rsvp-table-modern th {
  background: #faf7f4;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6d625b;
  font-weight: 800;
}

.rsvp-table-modern tbody tr:hover {
  background: #fdfbf8;
}

.guest-cell-name {
  font-weight: 700;
  color: #21191f;
  font-size: 0.94rem;
}

.guest-cell-time {
  font-size: 0.76rem;
  color: #8a7f76;
  margin-top: 2px;
}

.attendance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 700;
}

.attendance-badge.hadir {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.attendance-badge.ragu {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.attendance-badge.tidak_hadir {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.pax-tag {
  background: rgba(0, 0, 0, 0.08);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.7rem;
}

.message-cell {
  max-width: 380px;
}

.guest-quote-bubble {
  background: #fbf9f6;
  border: 1px solid #eee7dd;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.86rem;
  color: #3d3439;
  font-style: italic;
  line-height: 1.45;
}

.btn-toggle-vis {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
}

.btn-toggle-vis.hide-act {
  color: #786e66;
  border: 1px solid #ded6ca;
}

.btn-toggle-vis.show-act {
  color: #15803d;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
}

.empty-table-state {
  text-align: center;
  padding: 40px 20px;
  color: #7b7169;
}

.empty-table-state strong {
  display: block;
  font-size: 1.05rem;
  color: #261f24;
  margin: 8px 0 4px;
}

.empty-table-state p {
  margin: 0;
  font-size: 0.86rem;
}

.table-pagination-footer {
  padding: 14px 20px;
  background: #faf7f4;
  border-top: 1px solid #f0ebe4;
}

/* Password Card */
.password-card-wrap {
  max-width: 540px;
  margin-inline: auto;
}

.text-warn {
  color: #b45309;
}

.text-right {
  text-align: right;
}

.btn-sm-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #ded5c8;
  color: #3b322b;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-sm-ghost:hover {
  background: #fbf8f5;
  border-color: #8b1c43;
  color: #8b1c43;
}

.btn-sm-danger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 7px;
  background: #fff;
  color: #dc2626;
  border: 1px solid #fecaca;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-sm-danger:hover {
  background: #fee2e2;
}

.btn-preview-modal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #ded5c8;
  color: #3b322b;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-preview-modal:hover {
  border-color: #8b1c43;
  color: #8b1c43;
}

.tg-bar-summary {
  display: flex;
  flex-direction: column;
}

.tg-bar-sub {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7b7169;
  font-weight: 700;
}

.tg-bar-name {
  font-size: 1.05rem;
  color: #21191f;
}

.pv-title-wrap {
  display: flex;
  flex-direction: column;
}

.pv-badge {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8b1c43;
  font-weight: 700;
}
@media(max-width:980px){
  .app-shell{padding:0 12px}
  .dashboard-lobby{grid-template-columns:1fr}
  .dashboard-menu-panel{order:2}
  .dashboard-main-panel{order:1}
  .stats-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .wrap{padding:0 14px}
  .admin-search{flex-direction:column;align-items:stretch}
  .admin-search .btn{width:100%}
  .admin-table th,.admin-table td{padding:12px 10px}
  .stats-grid.compact{grid-template-columns:1fr}
  .dashboard-header-row{flex-direction:column;align-items:flex-start}
  .app-shell{padding:0 12px}
}
@media (max-width: 900px) {
  .customer-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    transform: translateX(-100%);
    box-shadow: 12px 0 36px rgba(0, 0, 0, 0.4);
  }

  .customer-sidebar.open {
    transform: translateX(0);
  }

  .sidebar-close-btn {
    display: grid;
  }

  .sidebar-backdrop.open {
    display: block;
  }

  body.sidebar-open {
    overflow: hidden;
  }

  .topbar-menu-toggle {
    display: grid;
  }

  .customer-topbar {
    padding: 12px 18px;
  }

  .customer-content-area {
    padding: 18px 16px 40px;
  }

  .stats-grid-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-photos-grid,
  .quick-cards-grid,
  .couple-split-grid,
  .audio-presets-grid,
  .rsvp-stats-grid {
    grid-template-columns: 1fr;
  }

  .row.c2,
  .row.c3 {
    grid-template-columns: 1fr;
  }

  .share-hero-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .share-hero-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .share-hero-actions .btn {
    flex: 1;
    min-width: 120px;
  }
}

@media (max-width: 640px) {
  .topbar-heading {
    font-size: 1.2rem;
  }

  .topbar-action-btn span {
    display: none;
  }

  .topbar-action-btn {
    padding: 8px 10px;
  }

  .stats-grid-modern {
    grid-template-columns: 1fr;
  }

  .ready-checklist {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 18px 16px;
  }

  .form-sticky-bar {
    flex-direction: column;
    align-items: stretch;
    bottom: 8px;
    padding: 12px 14px;
  }

  .form-sticky-bar .btn-save {
    width: 100%;
  }

  .table-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .guest-row-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .guest-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

.dashboard-page .app-shell {
  max-width: none;
  margin: 0;
  padding: 0;
}

.dashboard-page .main-shell {
  max-width: none;
  padding: 0;
}

.dashboard-page .wrap {
  max-width: none;
  padding: 0;
}

/* ---------- Galeri tema (dashboard) ---------- */
.tg{padding-bottom:24px}
.tg-head h1{font-size:clamp(1.6rem,4vw,2.2rem);margin:4px 0 6px}
.tg-kicker{margin:0;text-transform:uppercase;letter-spacing:.16em;font-size:.72rem;font-weight:700;color:var(--acc)}
.tg-chips{display:flex;gap:8px;overflow-x:auto;padding:14px 0 6px;scrollbar-width:none}
.tg-chips button{flex:none;min-height:38px;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:#fff;font:600 .9rem inherit;font-family:inherit;color:var(--ink);cursor:pointer}
.tg-chips button.on{background:var(--acc);border-color:var(--acc);color:#fff}
.tg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px;margin:14px 0 20px}
.tc[hidden]{display:none}
.tc{display:flex;flex-direction:column;background:#fff;border:2px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow);transition:border-color .2s,transform .2s}
.tc:hover{transform:translateY(-3px)}
.tc:has(input:checked){border-color:var(--acc);box-shadow:0 0 0 3px var(--acc-soft),var(--shadow)}
.tc-pick{display:block;cursor:pointer;flex:1;margin:0}
.tc-pick input{position:absolute;opacity:0;pointer-events:none;width:1px;min-height:0}
.tc-prev{position:relative;aspect-ratio:390/560;overflow:hidden}
.tc-prev iframe{position:absolute;top:0;left:0;width:390px;height:560px;border:0;transform-origin:0 0;pointer-events:none;background:#fff}
.tc-badge{position:absolute;top:10px;left:10px;background:#1c201d;color:#fff;font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:4px 10px;border-radius:99px}
.tc-check{position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:50%;background:var(--acc);color:#fff;display:none;place-items:center;font-weight:700}
.tc:has(input:checked) .tc-check{display:grid}
.tc-body{padding:14px 16px 6px}
.tc-row{display:flex;justify-content:space-between;align-items:center;gap:8px}
.tc-dots{display:flex}.tc-dots i{width:16px;height:16px;border-radius:50%;border:2px solid #fff;margin-left:-5px;box-shadow:0 0 0 1px rgba(0,0,0,.15)}
.tc-body p{margin:6px 0 8px}
.tc-tags{display:flex;gap:6px;flex-wrap:wrap}.tc-tags span{font-size:.7rem;font-weight:600;background:var(--acc-soft);color:var(--acc-strong);padding:2px 9px;border-radius:99px}
.tc-act{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 16px 16px}
.tc-now{font-size:.78rem;font-weight:700;color:var(--acc)}
.tg-bar{position:sticky;bottom:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;margin:0 -4px 10px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:14px;box-shadow:0 -6px 24px rgba(30,24,20,.1)}
.pv{width:min(440px,96vw);height:min(92vh,860px);padding:0;border:0;border-radius:22px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.45)}
.pv::backdrop{background:rgba(20,16,12,.6)}
.pv[open]{display:flex;flex-direction:column}
.pv-top{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 14px;background:#fff;border-bottom:1px solid var(--line)}
.pv-dev{flex:1;min-height:0}.pv-dev iframe{width:100%;height:100%;border:0}
@media(max-width:520px){.tg-grid{grid-template-columns:repeat(2,1fr);gap:12px}.tc-body{padding:10px 10px 4px}.tc-act{padding:6px 10px 12px}.tc-dots{display:none}.tc-act .btn{min-height:34px;padding:0 10px;font-size:.8rem}}

/* ---------- Daftar tamu & kesiapan ---------- */
.gl-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.gl-tools{display:flex;gap:8px;flex-wrap:wrap}
.gl-list{list-style:none;margin:12px 0 0;padding:0}
.gl-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-top:1px solid var(--line);flex-wrap:wrap}
.gl-name{font-weight:600;display:flex;flex-direction:column;gap:2px;min-width:0;overflow-wrap:anywhere}
.gl-ok{font-style:normal;font-size:.72rem;font-weight:700;color:#1f7a4d}
.gl-acts{display:flex;gap:6px;flex-wrap:wrap}
.gl-del{color:#b42318}
.ready-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 20px;margin:16px 0}
.ready-bar{height:8px;background:var(--acc-soft);border-radius:99px;overflow:hidden;margin:10px 0 14px}.ready-bar i{display:block;height:100%;background:var(--acc);border-radius:99px;transition:width .4s}
.ready-list{list-style:none;margin:0;padding:0;display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.ready-list li{display:flex;gap:8px;align-items:center;color:var(--muted,#6b6f6c)}.ready-list li.ok{color:var(--ink)}
.ready-list li span{font-weight:700;color:var(--acc)}.ready-list a{margin-left:auto;font-size:.82rem;font-weight:700}
.mini-stat small{font-size:.7em;font-weight:500;opacity:.7}
a.action-card{text-decoration:none;color:#fff}

/* Menu halaman dashboard: bilah tab horizontal (geser di layar kecil) */
.nav.sidebar .wrap{flex-direction:row;overflow-x:auto;gap:6px;scrollbar-width:none}
.nav.sidebar .wrap::-webkit-scrollbar{display:none}
.nav.sidebar a{white-space:nowrap;flex:none}
