/* PlanEssential Design System & Aesthetics */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Kantumruy+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Moul&family=Great+Vibes&family=Norican&family=Fasthand&display=swap');

:root {
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-light: rgba(245, 158, 11, 0.15);
  --primary-glow: rgba(245, 158, 11, 0.35);

  --gold: #f59e0b;
  --gold-bright: #fbbf24;
  --gold-light: rgba(245, 158, 11, 0.15);
  --gold-gradient: linear-gradient(135deg, #fde047 0%, #f59e0b 50%, #b45309 100%);
  --gold-metallic: linear-gradient(135deg, #fae8b2 0%, #dfa028 35%, #fce18d 65%, #996815 100%);
  --gold-glow: 0 0 25px rgba(245, 158, 11, 0.45);

  --slate-900: #f8fafc;
  --slate-800: #f1f5f9;
  --slate-700: #e2e8f0;
  --slate-600: #cbd5e1;
  --slate-500: #94a3b8;
  --slate-400: #64748b;
  --slate-300: #475569;
  --slate-200: #334155;
  --slate-100: #1e293b;
  --slate-50: #0f172a;

  --emerald: #10b981;
  --emerald-light: rgba(16, 185, 129, 0.18);
  --amber: #f59e0b;
  --amber-light: rgba(245, 158, 11, 0.18);

  --bg-main: #080c14;
  --bg-card: #101827;
  --bg-card-glass: rgba(16, 24, 39, 0.88);
  --border: rgba(245, 158, 11, 0.22);
  --border-focus: #f59e0b;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 0 25px rgba(225, 29, 72, 0.2);

  --font-main: 'Inter', 'Kantumruy Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-khmer: 'Kantumruy Pro', 'Inter', sans-serif;
  --font-script: 'Great Vibes', 'Norican', cursive;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--slate-800);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Utilities */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.text-muted { color: var(--slate-500); }
.text-primary { color: var(--primary); }
.text-emerald { color: var(--emerald); }
.text-danger { color: var(--primary); }
.w-full { width: 100%; }

/* Navigation Bar */
.top-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 56px;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.nav-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #f43f5e, #fb7185);
  color: white;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.25);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-text h1 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}

.brand-text span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--slate-500);
  display: block;
  line-height: 1.15;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  height: 32px;
  background: rgba(241, 245, 249, 0.85);
  padding: 2px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-sizing: border-box;
}

body[data-color-mode="dark"] .lang-switcher {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(51, 65, 85, 0.7);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0 8px;
  height: 26px;
  line-height: 26px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 14px;
  cursor: pointer;
  color: var(--slate-600);
  transition: all 0.15s ease;
}

.lang-btn:hover {
  color: var(--text-main);
}

.lang-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

body[data-color-mode="dark"] .lang-btn {
  color: var(--slate-400);
}

body[data-color-mode="dark"] .lang-btn.active {
  background: rgba(51, 65, 85, 0.9);
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Event Banner Header */
.event-header-banner {
  background: linear-gradient(135deg, #fff1f2 0%, #ffffff 50%, #fdf4ff 100%);
  border-bottom: 1px solid var(--border);
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.banner-backdrop-pattern {
  position: absolute;
  right: -50px;
  top: -50px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.event-profile-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.event-avatar-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 3px solid white;
  box-shadow: var(--shadow-md);
}

.event-titles h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  background: var(--gold-light);
  color: var(--gold);
  border-radius: var(--radius-full);
  font-weight: 600;
}

.event-meta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--slate-600);
  flex-wrap: wrap;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Tabs Bar */
.tabs-nav-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  position: sticky;
  top: 61px;
  z-index: 40;
}

.tabs-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-container::-webkit-scrollbar { display: none; }

.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-600);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-tab:hover {
  color: var(--primary);
}

.nav-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-tab-badge {
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 0.75rem;
  padding: 1px 7px;
  border-radius: var(--radius-full);
}
.nav-tab.active .nav-tab-badge {
  background: var(--primary-light);
  color: var(--primary);
}

/* Main Content Views */
.main-content {
  max-width: 1400px;
  margin: 1.5rem auto;
  padding: 0 1.5rem 3rem 1.5rem;
}

.view-pane {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.view-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: white;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #e11d48, #be123c);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: var(--slate-700);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
  color: var(--slate-900);
}

.btn-gold {
  background: var(--gold-gradient);
  color: white;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
}

.btn-icon {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  transition: all 0.15s ease;
}
.btn-icon:hover {
  background: var(--slate-100);
  color: var(--slate-900);
}
.btn-icon.text-danger:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* Cards & Grid */
.stat-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: all 0.25s ease;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}

.stat-card-body {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--slate-500);
  font-weight: 500;
}

.stat-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-top: 0.2rem;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon.pink { background: var(--primary-light); color: var(--primary); }
.stat-icon.emerald { background: var(--emerald-light); color: var(--emerald); }
.stat-icon.amber { background: var(--amber-light); color: var(--amber); }
.stat-icon.blue { background: #dbeafe; color: #2563eb; }

/* Dashboard Visuals */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-header-clean {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header-clean h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
}

.progress-segmented {
  height: 12px;
  background: var(--slate-100);
  border-radius: var(--radius-full);
  display: flex;
  overflow: hidden;
  margin: 1.5rem 0;
}

.progress-seg {
  height: 100%;
  transition: width 0.5s ease;
}
.progress-seg.confirmed { background: var(--emerald); }
.progress-seg.pending { background: var(--amber); }
.progress-seg.declined { background: var(--primary); }

.breakdown-legend {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.legend-dot.confirmed { background: var(--emerald); }
.legend-dot.pending { background: var(--amber); }
.legend-dot.declined { background: var(--primary); }

/* Guests View Specifics */
.guests-toolbar-card {
  padding: 1rem 1.25rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.toolbar-search-filters {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 300px;
  flex-wrap: wrap;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
  pointer-events: none;
}

.input-clean {
  width: 100%;
  padding: 0.6rem 0.85rem 0.6rem 2.4rem;
  font-size: 0.88rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--slate-50);
  color: var(--slate-800);
  transition: all 0.2s ease;
}

.input-clean:focus {
  outline: none;
  border-color: var(--border-focus);
  background: white;
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.select-clean {
  padding: 0.6rem 1.8rem 0.6rem 0.85rem;
  font-size: 0.88rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--slate-50);
  color: var(--slate-700);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 14px;
}
.select-clean:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.toolbar-action-buttons {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

/* Summary Pills Bar */
.summary-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.summary-pill {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: white;
  border: 1px solid var(--border);
  color: var(--slate-700);
}
.summary-pill span {
  font-weight: 800;
  color: var(--slate-900);
}

/* Data Table */
.table-container {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-xs);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.data-table th {
  background: var(--slate-50);
  color: var(--slate-600);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.guest-row {
  transition: background-color 0.15s ease;
}
.guest-row:hover {
  background-color: var(--slate-50);
}
.guest-row.row-selected {
  background-color: #fff1f2;
}

/* Checkbox Custom */
.checkbox-custom {
  width: 17px;
  height: 17px;
  cursor: pointer;
  accent-color: var(--primary);
}

/* Profile cell */
.guest-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.guest-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.guest-primary-name {
  font-weight: 700;
  color: var(--slate-900);
}
.guest-secondary-name {
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* Badges */
.group-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  display: inline-block;
  white-space: nowrap;
}

.seats-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--slate-100);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  color: var(--slate-700);
  font-size: 0.82rem;
}

.table-tag {
  background: var(--slate-100);
  color: var(--slate-500);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}
.table-tag.has-table {
  background: #ede9fe;
  color: #6d28d9;
}

.phone-link {
  color: var(--slate-700);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
}
.phone-link:hover {
  color: var(--primary);
}

/* Status dropdown in row */
.status-select {
  padding: 4px 24px 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 10px;
}
.status-select.status-confirmed {
  background-color: var(--emerald-light);
  color: var(--emerald);
  border-color: #a7f3d0;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}
.status-select.status-pending {
  background-color: var(--amber-light);
  color: var(--amber);
  border-color: #fde68a;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97706' stroke-width='3'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}
.status-select.status-declined {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: #fecdd3;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e11d48' stroke-width='3'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Action buttons group */
.action-buttons-group {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 10;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
}

.modal-body {
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--slate-50);
  transition: all 0.2s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  background: white;
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.modal-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  background: var(--slate-50);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
}

/* Excel dropzone */
.dropzone-box {
  border: 2px dashed var(--slate-300);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--slate-50);
  cursor: pointer;
  transition: all 0.2s ease;
}
.dropzone-box:hover, .dropzone-box.drag-active {
  border-color: var(--primary);
  background: var(--primary-light);
}

/* QR Code Display */
.qr-preview-box {
  background: white;
  border: 2px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.25rem auto;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--slate-900);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.toast-icon {
  color: #4ade80;
}
.toast.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

/* PUBLIC DIGITAL WEDDING E-INVITATION SECTION */
.invitation-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(225, 29, 72, 0.15), 0 0 0 1px rgba(226, 232, 240, 0.8);
  overflow: hidden;
  position: relative;
}

.inv-audio-bar {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
}

.btn-music {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--slate-800);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.btn-music.playing {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  animation: pulseMusic 2s infinite;
}
@keyframes pulseMusic {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(225, 29, 72, 0); }
}

.inv-cover-hero {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.inv-cover-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.inv-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: white;
  text-align: center;
}

.inv-script-title {
  font-family: var(--font-script);
  font-size: 2.8rem;
  line-height: 1.1;
  color: #fed7aa;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.inv-couple-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: var(--shadow-lg);
  margin: -50px auto 1rem auto;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.inv-couple-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inv-body-content {
  padding: 1.5rem 2rem 3rem 2rem;
  text-align: center;
}

.inv-parents-card {
  background: var(--slate-50);
  border: 1px dashed var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.parents-col h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.parents-col p {
  font-weight: 700;
  color: var(--slate-800);
}

/* Guest Personalized Greeting */
.inv-guest-greeting-card {
  background: linear-gradient(135deg, #fff1f2, #fdf2f8);
  border: 1px solid #fbcfe8;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.inv-guest-name-highlight {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.35rem 0;
}

/* Countdown */
.countdown-box {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.countdown-unit {
  background: var(--slate-900);
  color: white;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  min-width: 68px;
  box-shadow: var(--shadow-md);
}

.countdown-val {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  color: #fed7aa;
}

.countdown-label {
  font-size: 0.72rem;
  color: var(--slate-400);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Timeline */
.timeline-list {
  text-align: left;
  position: relative;
  margin: 2rem 0;
  padding-left: 2rem;
}
.timeline-list::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--gold-light);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-time {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
}
.timeline-desc {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-800);
}

/* Wishes list in invitation */
.wishes-container {
  text-align: left;
  max-height: 320px;
  overflow-y: auto;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wish-card {
  background: var(--slate-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.wish-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.wish-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wish-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-900);
}

.wish-time {
  font-size: 0.72rem;
  color: var(--slate-400);
}

.wish-text {
  font-size: 0.85rem;
  color: var(--slate-700);
}

/* TEMPLATE CATALOG & MARKETPLACE */
.template-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.template-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.template-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #fda4af;
}

.template-card.active-template {
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.template-preview-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--slate-100);
}

.template-preview-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.template-card:hover .template-preview-img-wrapper img {
  transform: scale(1.05);
}

.template-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.template-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.35rem;
}

.template-card-desc {
  font-size: 0.85rem;
  color: var(--slate-600);
  margin-bottom: 1rem;
  flex: 1;
  line-height: 1.45;
}

.template-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.template-price-display {
  display: flex;
  flex-direction: column;
}

.template-price-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.template-price-khr {
  font-size: 0.75rem;
  color: var(--slate-500);
}

/* PRICING PLANS SECTION */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #fff1f2 0%, #ffffff 25%);
  box-shadow: 0 10px 25px -5px rgba(225, 29, 72, 0.15);
}

.pricing-badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f43f5e, #be123c);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}

.pricing-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--slate-900);
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--slate-600);
  margin: 0.4rem 0 1.25rem 0;
  min-height: 38px;
}

.pricing-cost-box {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.pricing-usd-cost {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--slate-900);
}

.pricing-usd-cost small {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-500);
}

.pricing-khr-cost {
  font-size: 0.88rem;
  color: var(--slate-500);
  font-weight: 600;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--slate-700);
}

.pricing-feature-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--emerald-light);
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .brand-text span {
    display: none;
  }
  #header-user-role-badge {
    display: none;
  }
}

@media (max-width: 640px) {
  .top-navbar {
    height: 52px;
    padding: 0 0.75rem;
  }
  .brand-logo {
    width: 28px;
    height: 28px;
  }
  .brand-text h1 {
    font-size: 0.95rem;
  }
  .nav-actions {
    gap: 4px;
  }
  .site-theme-btn .theme-btn-text,
  .btn-header-live-pill span,
  .btn-header-studio-pill span:not(:first-child) {
    display: none;
  }
  .btn-header-studio-pill,
  .btn-header-live-pill,
  .site-theme-btn {
    padding: 0 7px;
    height: 30px;
  }
  .lang-switcher {
    height: 30px;
  }
  .lang-btn {
    height: 24px;
    line-height: 24px;
    padding: 0 6px;
    font-size: 0.7rem;
  }
  .user-session-pill {
    height: 30px;
    padding: 1px 4px 1px 3px;
  }
  #header-user-name {
    max-width: 65px;
    font-size: 0.7rem;
  }
  .event-header-banner { padding: 1.25rem 1rem; }
  .main-content { padding: 0 1rem 2rem 1rem; }
  .tabs-nav-bar { padding: 0 1rem; }
  .toolbar-search-filters { min-width: 100%; }
  .countdown-unit { min-width: 54px; padding: 0.5rem; }
  .countdown-val { font-size: 1.25rem; }
}

/* ==========================================================================
   THEAPKA VIP LUXURY ROYAL OVERLAYS & ANIMATIONS
   ========================================================================== */

#golden-particles-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

body {
  background-color: var(--bg-main) !important;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245, 158, 11, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 50% 120%, rgba(180, 83, 9, 0.12), transparent) !important;
  color: var(--slate-800) !important;
}

body[data-color-mode="dark"] .top-navbar {
  background: rgba(8, 12, 20, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.3) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
}

.royal-logo-frame {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #f43f5e, #fb7185);
  padding: 2px;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.royal-brand-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
}

.royal-avatar-badge {
  background: var(--gold-metallic) !important;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.6);
  color: #0f172a !important;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 38px;
  height: 38px;
}

.btn-gold {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #b45309 100%) !important;
  color: #0b0f19 !important;
  font-weight: 700 !important;
  border: 1px solid #fef08a !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4) !important;
  transition: all 0.25s ease !important;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ffffff 0%, #fbbf24 50%, #d97706 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.6) !important;
}

/* Event Header Banner */
.event-header-banner {
  background: linear-gradient(135deg, rgba(16, 24, 39, 0.95), rgba(8, 12, 20, 0.98)) !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.event-avatar-thumb {
  border: 3px solid #f59e0b !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5) !important;
}

/* Navigation Tabs */
.tabs-nav-bar {
  background: rgba(11, 16, 26, 0.95) !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.2) !important;
}

.nav-tab {
  color: var(--slate-400) !important;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.nav-tab:hover {
  color: #fef08a !important;
  background: rgba(245, 158, 11, 0.08) !important;
}

.nav-tab.active {
  color: #f59e0b !important;
  border-bottom-color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.12) !important;
  font-weight: 700;
}

/* Cards & Surface Styling */
.card, .guests-toolbar-card, .table-card, .invitation-card, .pricing-card {
  background: var(--bg-card-glass) !important;
  backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(245, 158, 11, 0.22) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 1px 1px rgba(245, 158, 11, 0.15) !important;
  color: var(--slate-800) !important;
}

/* Inputs & Selects */
.input-clean, .select-clean, .form-control {
  background: rgba(8, 12, 20, 0.7) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  color: var(--slate-900) !important;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.input-clean:focus, .select-clean:focus, .form-control:focus {
  border-color: #f59e0b !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4) !important;
  outline: none;
}

/* Data Table in Dark Mode */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.data-table th {
  background: rgba(8, 12, 20, 0.8) !important;
  color: #fef08a !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.3) !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.data-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  color: var(--slate-800);
}

.data-table tr:hover td {
  background: rgba(245, 158, 11, 0.05) !important;
}

/* Modal Dark Styling */
.modal-content {
  background: #0f172a !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), 0 0 35px rgba(245, 158, 11, 0.25) !important;
  color: var(--slate-900) !important;
}

.modal-header {
  border-bottom: 1px solid rgba(245, 158, 11, 0.25) !important;
}

.modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ==========================================================================
   INTERACTIVE 3D ROYAL WAX SEAL ENVELOPE
   ========================================================================== */

.inv-envelope-container {
  perspective: 1200px;
  max-width: 620px;
  margin: 1.5rem auto 3rem auto;
  position: relative;
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.envelope-outer {
  position: relative;
  width: 100%;
  min-height: 400px;
  background: linear-gradient(145deg, #162032, #0a0f18);
  border-radius: 20px;
  border: 2px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 158, 11, 0.25);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.7s ease;
}

.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 52%;
  background: linear-gradient(180deg, #1e2c44 0%, #131c2c 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
  border-bottom: 1px solid rgba(245, 158, 11, 0.6);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.envelope-pocket {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.envelope-paper-preview {
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(245, 158, 11, 0.3);
  padding: 1.25rem 2rem;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.envelope-monogram {
  font-size: 2rem;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.7));
}

.envelope-title-km {
  font-family: var(--font-khmer);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fef08a;
  letter-spacing: 0.02em;
}

.envelope-names {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin: 0.25rem 0;
}

.envelope-date {
  font-size: 0.82rem;
  color: var(--slate-400);
}

.wax-seal-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  cursor: pointer;
  margin: 0.75rem 0 1.25rem 0;
  z-index: 6;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wax-seal-wrapper:hover {
  transform: scale(1.14) rotate(-4deg);
}

.wax-seal-stamp {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 20px rgba(245, 158, 11, 0.8));
  transition: filter 0.3s ease;
}

.wax-seal-pulse-ring {
  position: absolute;
  inset: -10px;
  border: 2px dashed rgba(245, 158, 11, 0.7);
  border-radius: 50%;
  animation: spin-pulse 9s linear infinite;
  pointer-events: none;
}

.wax-seal-caption {
  font-size: 0.8rem;
  color: #fef08a;
  font-weight: 700;
  margin-top: 8px;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.btn-open-envelope {
  padding: 0.75rem 2rem !important;
  font-size: 1rem !important;
  border-radius: var(--radius-full) !important;
  margin-top: 0.5rem;
  z-index: 6;
}

/* Opened Envelope State */
.inv-envelope-container.opened .envelope-flap {
  transform: rotateX(180deg);
  z-index: 1;
}

.inv-envelope-container.opened .envelope-outer {
  min-height: 100px;
  height: 110px;
  opacity: 0.7;
  transform: scale(0.96);
  border-color: rgba(245, 158, 11, 0.25);
}

.inv-envelope-container.opened .envelope-paper-preview,
.inv-envelope-container.opened .wax-seal-wrapper,
.inv-envelope-container.opened .btn-open-envelope {
  display: none !important;
}

/* Invitation Card Reveal Transition */
.invitation-wrapper {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.8s ease, max-height 1.2s ease;
}

.invitation-wrapper.visible {
  opacity: 1;
  max-height: 8000px;
}

.inv-top-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   SUPER ADMIN CONTROL CENTER STYLING
   ========================================================================== */

.admin-header-card {
  background: linear-gradient(135deg, rgba(16, 24, 39, 0.96) 0%, rgba(30, 41, 59, 0.96) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.2);
}

.admin-badge-gold {
  display: inline-block;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.35));
  border: 1px solid #f59e0b;
  color: #fef08a;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.admin-header-content h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.admin-header-content p {
  color: var(--slate-400);
  font-size: 0.95rem;
  max-width: 820px;
  line-height: 1.6;
}

.admin-stats-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.admin-mini-stat {
  background: rgba(8, 12, 20, 0.75);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.admin-mini-stat:hover {
  transform: translateY(-2px);
  border-color: #f59e0b;
}

.admin-mini-stat .stat-label {
  font-size: 0.75rem;
  color: var(--slate-400);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.admin-mini-stat .stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0.35rem 0;
}

.admin-mini-stat .stat-sub {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.admin-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.admin-card {
  margin-bottom: 1.75rem;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  background: rgba(16, 24, 39, 0.9) !important;
  backdrop-filter: blur(14px) !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.admin-card .card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  background: rgba(8, 12, 20, 0.4);
}

.card-header-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.card-header-icon.gold {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid #f59e0b;
}

.card-header-icon.purple {
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid #a855f7;
}

.card-header-icon.blue {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid #3b82f6;
}

.card-header-icon.emerald {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid #10b981;
}

.admin-card .card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
}

.admin-card .card-subtitle {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-top: 2px;
}

.admin-card .card-body {
  padding: 1.5rem;
}

.admin-card .card-body.no-padding {
  padding: 0;
}

.input-unit-group {
  display: flex;
  align-items: stretch;
}

.input-unit-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-unit {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-left: none;
  padding: 0 14px;
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fef08a;
  border-top-right-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

.form-help {
  display: block;
  font-size: 0.78rem;
  color: var(--slate-400);
  margin-top: 0.35rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.system-toggles-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.25rem 0;
  padding: 1.15rem;
  background: rgba(8, 12, 20, 0.65);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.toggle-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--slate-300);
  cursor: pointer;
}

.toggle-item input[type="checkbox"] {
  accent-color: #f59e0b;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .admin-layout-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CHOOSE TEMPLATE TYPE & MULTI-EVENT SELECTOR (USER SCREENSHOT MATCH)
   ========================================================================== */

.template-type-selector-card {
  background: rgba(16, 24, 39, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(245, 158, 11, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.template-type-dropdown-group {
  max-width: 420px;
}

.template-type-dropdown-group .form-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fef08a;
  margin-bottom: 0.5rem;
  display: block;
}

.required-star {
  color: #ef4444;
  font-weight: 800;
  margin-left: 2px;
}

.select-royal-custom {
  width: 100%;
  padding: 10px 14px;
  background: rgba(8, 12, 20, 0.85);
  border: 1.5px solid #f59e0b;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.select-royal-custom:focus {
  border-color: #fbbf24;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.template-category-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-pill-filter {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(8, 12, 20, 0.65);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--slate-300);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-pill-filter:hover {
  background: rgba(245, 158, 11, 0.15);
  color: #fef08a;
  border-color: #f59e0b;
}

.btn-pill-filter.active {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0b0f19;
  font-weight: 800;
  border-color: #fde047;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

/* ==========================================================================
   KHMER MUSIC SELECTOR (MATCHING USER SCREENSHOT)
   ========================================================================== */

.music-selector-panel-card {
  background: rgba(8, 12, 20, 0.75);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.music-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 8px #3b82f6;
  display: inline-block;
}

.select-royal-music {
  width: 100%;
  max-width: 380px;
  padding: 10px 14px;
  background: #0f172a;
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.95rem;
  cursor: pointer;
  outline: none;
}

.select-royal-music:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.select-royal-music option {
  background: #0f172a;
  color: #ffffff;
  padding: 8px 12px;
}

/* ==========================================================================
   CUSTOMIZER STUDIO MODAL & TABS
   ========================================================================== */

.customizer-tabs-nav {
  display: flex;
  background: rgba(8, 12, 20, 0.9);
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0 1rem;
  overflow-x: auto;
  gap: 0.5rem;
}

.customizer-tab-btn {
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--slate-400);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.customizer-tab-btn:hover {
  color: #fef08a;
}

.customizer-tab-btn.active {
  color: #f59e0b;
  border-bottom-color: #f59e0b;
  font-weight: 700;
}

.customizer-pane {
  display: none;
}

.customizer-pane.active {
  display: block;
}

.upload-box-interactive {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

/* Event Type Picker Cards Grid */
.event-type-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.event-type-card {
  background: rgba(8, 12, 20, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.event-type-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.6);
  background: rgba(245, 158, 11, 0.08);
}

.event-type-card.active {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.35);
}

.event-type-card .type-icon {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.event-type-card .type-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.event-type-card .type-sub {
  font-size: 0.75rem;
  color: #fef08a;
  margin-top: 2px;
}

/* ==========================================================================
   THEAP DIGITAL - SWEETY FLOW DESIGN SYSTEM & SWEET ROMANTIC AESTHETICS
   ========================================================================== */

:root {
  --sweet-pink: #f472b6;
  --sweet-rose: #fb7185;
  --sweet-blush: #fce7f3;
  --sweet-gradient: linear-gradient(135deg, #fbcfe8 0%, #f472b6 45%, #fbbf24 100%);
  --sweet-rose-gradient: linear-gradient(135deg, #fda4af 0%, #f43f5e 50%, #e11d48 100%);
  --sweet-glow: 0 0 25px rgba(244, 114, 182, 0.4);
}

/* Sweety Ambient Radial Glow */
body {
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -15%, rgba(244, 114, 182, 0.16), transparent),
    radial-gradient(ellipse 60% 40% at 50% 120%, rgba(245, 158, 11, 0.12), transparent) !important;
}

/* Sweety Logo Frame */
.royal-logo-frame {
  background: linear-gradient(135deg, #f43f5e, #fb7185) !important;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.25) !important;
}

/* Brand Title with High Contrast & Luxury Aesthetic */
body[data-color-mode="light"] .brand-text h1,
.brand-text h1 {
  background: linear-gradient(135deg, #0f172a 0%, #334155 70%, #e11d48 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body[data-color-mode="dark"] .brand-text h1 {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 70%, #fb7185 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Sweety Buttons */
.btn-gold {
  background: linear-gradient(135deg, #fef08a 0%, #f472b6 50%, #f59e0b 100%) !important;
  border-color: #fbcfe8 !important;
  color: #0b0f19 !important;
  box-shadow: 0 4px 16px rgba(244, 114, 182, 0.4) !important;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ffffff 0%, #fda4af 50%, #f59e0b 100%) !important;
  box-shadow: 0 6px 24px rgba(244, 114, 182, 0.6) !important;
  transform: translateY(-2px);
}

/* Sweety Badges */
.admin-badge-gold, .sweety-badge {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.25), rgba(251, 113, 133, 0.35)) !important;
  border: 1px solid rgba(244, 114, 182, 0.6) !important;
  color: #fce7f3 !important;
  box-shadow: 0 0 15px rgba(244, 114, 182, 0.35) !important;
}

/* Sweety Card Border Glow */
.card, .guests-toolbar-card, .table-card, .invitation-card, .pricing-card, .template-type-selector-card {
  border-color: rgba(244, 114, 182, 0.28) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(244, 114, 182, 0.15) !important;
}

/* Sweety Wax Seal Envelope */
.envelope-outer {
  border-color: rgba(244, 114, 182, 0.5) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(244, 114, 182, 0.3) !important;
}

.envelope-flap {
  border-bottom: 1.5px solid rgba(244, 114, 182, 0.65) !important;
}

.wax-seal-pulse-ring {
  border-color: rgba(244, 114, 182, 0.75) !important;
}

.wax-seal-caption {
  color: #fce7f3 !important;
}

/* Sweety Filter Pills Active State */
.btn-pill-filter.active {
  background: linear-gradient(135deg, #f472b6, #e11d48) !important;
  border-color: #fbcfe8 !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(244, 114, 182, 0.5) !important;
}

/* Sweety Flow Pulse Animation */
@keyframes sweet-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}

.sweet-pulse {
  animation: sweet-pulse 3s ease-in-out infinite;
}


/* ==========================================================================
   WEBSITE COLOR STYLES / THEMES (Theap Digital Color Engine)
   ========================================================================== */
body[data-site-theme="sweety_rose"],
:root {
  --primary: #f43f5e;
  --primary-hover: #e11d48;
  --primary-light: rgba(244, 63, 94, 0.16);
  --primary-glow: rgba(244, 63, 94, 0.45);
  --border: rgba(244, 63, 94, 0.22);
  --border-focus: #f43f5e;
  --theme-hero-gradient: linear-gradient(135deg, rgba(244, 63, 94, 0.12) 0%, rgba(251, 113, 133, 0.05) 100%);
  --theme-accent-gradient: linear-gradient(135deg, #fb7185 0%, #f43f5e 50%, #be123c 100%);
}

body[data-site-theme="royal_gold"] {
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-light: rgba(245, 158, 11, 0.16);
  --primary-glow: rgba(245, 158, 11, 0.45);
  --border: rgba(245, 158, 11, 0.25);
  --border-focus: #f59e0b;
  --theme-hero-gradient: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(217, 119, 6, 0.05) 100%);
  --theme-accent-gradient: linear-gradient(135deg, #fde047 0%, #f59e0b 50%, #b45309 100%);
}

body[data-site-theme="emerald_jade"] {
  --primary: #059669;
  --primary-hover: #047857;
  --primary-light: rgba(5, 150, 105, 0.16);
  --primary-glow: rgba(5, 150, 105, 0.45);
  --border: rgba(5, 150, 105, 0.25);
  --border-focus: #10b981;
  --theme-hero-gradient: linear-gradient(135deg, rgba(5, 150, 105, 0.14) 0%, rgba(4, 120, 87, 0.05) 100%);
  --theme-accent-gradient: linear-gradient(135deg, #34d399 0%, #059669 50%, #064e3b 100%);
}

body[data-site-theme="midnight_sapphire"] {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: rgba(2, 132, 199, 0.18);
  --primary-glow: rgba(2, 132, 199, 0.45);
  --border: rgba(56, 189, 248, 0.25);
  --border-focus: #38bdf8;
  --theme-hero-gradient: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(14, 165, 233, 0.05) 100%);
  --theme-accent-gradient: linear-gradient(135deg, #38bdf8 0%, #0284c7 50%, #0c4a6e 100%);
}

body[data-site-theme="lavender_amethyst"] {
  --primary: #9333ea;
  --primary-hover: #7e22ce;
  --primary-light: rgba(147, 51, 234, 0.16);
  --primary-glow: rgba(147, 51, 234, 0.45);
  --border: rgba(168, 85, 247, 0.25);
  --border-focus: #a855f7;
  --theme-hero-gradient: linear-gradient(135deg, rgba(147, 51, 234, 0.14) 0%, rgba(126, 34, 206, 0.05) 100%);
  --theme-accent-gradient: linear-gradient(135deg, #c084fc 0%, #9333ea 50%, #581c87 100%);
}

body[data-site-theme="obsidian_luxe"] {
  --primary: #64748b;
  --primary-hover: #475569;
  --primary-light: rgba(100, 116, 139, 0.18);
  --primary-glow: rgba(148, 163, 184, 0.35);
  --border: rgba(148, 163, 184, 0.25);
  --border-focus: #cbd5e1;
  --theme-hero-gradient: linear-gradient(135deg, rgba(100, 116, 139, 0.15) 0%, rgba(51, 65, 85, 0.05) 100%);
  --theme-accent-gradient: linear-gradient(135deg, #cbd5e1 0%, #64748b 50%, #1e293b 100%);
}

/* NAVBAR SITE THEME PICKER */
.site-theme-picker-wrapper {
  position: relative;
  display: inline-block;
}

.site-theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-700);
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.15s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.site-theme-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.theme-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
}

/* Studio Button in Navbar */
.btn-header-studio-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 11px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
  color: #ffffff !important;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(244, 63, 94, 0.28);
  transition: all 0.15s ease;
  white-space: nowrap;
  border: none;
  box-sizing: border-box;
}

.btn-header-studio-pill:hover {
  background: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
  box-shadow: 0 3px 10px rgba(244, 63, 94, 0.4);
  transform: translateY(-1px);
  color: #ffffff !important;
}

/* Live View Button in Navbar */
.btn-header-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 10px;
  border-radius: 20px;
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border);
  color: var(--slate-700) !important;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.15s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.btn-header-live-pill:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Telegram Support Pill in Navbar */
.btn-header-support-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 10px;
  border-radius: 20px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7 !important;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(2, 132, 199, 0.08);
  transition: all 0.15s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.btn-header-support-pill:hover {
  background: #0284c7;
  color: #ffffff !important;
  border-color: #0284c7;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

/* Floating Telegram Support Button */
.floating-telegram-support {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  text-decoration: none;
}

.floating-tg-bubble {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.42);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.floating-telegram-support:hover .floating-tg-bubble {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.6);
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
}

@media (max-width: 640px) {
  .floating-telegram-support {
    bottom: 18px;
    right: 18px;
  }
  .floating-tg-label {
    display: none;
  }
  .floating-tg-bubble {
    padding: 12px;
    border-radius: 50%;
  }
  .btn-header-support-pill span {
    display: none;
  }
  .btn-header-support-pill {
    padding: 0 7px;
    height: 30px;
  }
}

/* User Session Pill in Navbar ("Small and clean") */
.user-session-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 2px 6px 2px 4px;
  border-radius: 20px;
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
  box-sizing: border-box;
}

.user-avatar-mini {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.user-header-details {
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
}

#header-user-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main, var(--slate-800));
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#header-user-role-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 8px;
  background: rgba(244, 63, 94, 0.1);
  color: var(--primary);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-header-logout-clean {
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--slate-400);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  margin-left: 1px;
}

.btn-header-logout-clean:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

/* Dark mode adjustments */
body[data-color-mode="dark"] .site-theme-btn,
body[data-color-mode="dark"] .btn-header-live-pill,
body[data-color-mode="dark"] .user-session-pill {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(51, 65, 85, 0.7);
  color: #e2e8f0 !important;
}

body[data-color-mode="dark"] .site-theme-btn:hover,
body[data-color-mode="dark"] .btn-header-live-pill:hover {
  border-color: var(--primary);
  color: #ffffff !important;
  background: rgba(45, 59, 85, 0.95);
}

body[data-color-mode="dark"] .user-avatar-mini {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

body[data-color-mode="dark"] #header-user-role-badge {
  background: rgba(244, 63, 94, 0.22);
}

body[data-color-mode="dark"] .btn-header-logout-clean {
  color: #94a3b8;
}

body[data-color-mode="dark"] .btn-header-logout-clean:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #f87171;
}

.site-theme-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 290px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0,0,0,0.05);
  padding: 8px;
  z-index: 1050;
  display: none;
  animation: slideDownTheme 0.2s ease;
}

.site-theme-dropdown-menu.active {
  display: block;
}

@keyframes slideDownTheme {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.theme-dropdown-header {
  padding: 8px 10px 6px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 6px;
}

.theme-options-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.theme-option-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.theme-option-btn:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.theme-option-btn.active {
  background: var(--primary-light);
  border-color: var(--primary);
}

.theme-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
  border: 2px solid white;
}

.theme-info {
  flex: 1;
}

.theme-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
}

.theme-sub {
  font-size: 0.72rem;
  color: var(--slate-500);
}

.theme-check {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0;
}

.theme-option-btn.active .theme-check {
  opacity: 1;
}

/* ==========================================================================
   5 DISTINCT INVITATION CARD VISUAL STYLES
   ========================================================================== */

/* 1. ROYAL KHMER PALACE (រាជវាំងបុរាណ) */
.invitation-wrapper.card-style-royal {
  background: #ffffff;
  border: 5px double #f59e0b;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -10px rgba(245, 158, 11, 0.35), 0 0 0 1px #b45309;
  position: relative;
}
.invitation-wrapper.card-style-royal::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: calc(var(--radius-xl) - 4px);
  pointer-events: none;
  z-index: 25;
}
.invitation-wrapper.card-style-royal .inv-cover-overlay {
  background: linear-gradient(to bottom, rgba(69, 26, 3, 0.2) 0%, rgba(69, 26, 3, 0.85) 100%);
}
.invitation-wrapper.card-style-royal .inv-script-title {
  color: #fde047;
  font-family: var(--font-script);
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.8), 0 2px 5px rgba(0,0,0,0.8);
}
.invitation-wrapper.card-style-royal .inv-body-content h3 {
  color: #b45309;
  font-family: 'Kantumruy Pro', serif;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(180, 83, 9, 0.2);
}
.invitation-wrapper.card-style-royal .countdown-box {
  background: linear-gradient(135deg, #78350f 0%, #451a03 100%);
  border: 2px solid #f59e0b;
  box-shadow: 0 8px 25px rgba(180, 83, 9, 0.35);
  border-radius: 16px;
}
.invitation-wrapper.card-style-royal .countdown-val {
  color: #fde047;
  text-shadow: 0 0 10px rgba(253, 224, 71, 0.5);
}
.invitation-wrapper.card-style-royal .countdown-label {
  color: #fef3c7;
}
.invitation-wrapper.card-style-royal .inv-parents-card {
  background: #fffbeb;
  border: 2px dashed #f59e0b;
}

/* 2. SWEETY BLOSSOM ROMANCE (ផ្កាកុលាបផ្អែមល្ហែម) */
.invitation-wrapper.card-style-sweet {
  background: linear-gradient(180deg, #fff1f2 0%, #ffffff 25%, #ffffff 75%, #fff1f2 100%);
  border: 4px solid #f472b6;
  border-radius: 36px;
  box-shadow: 0 25px 60px -10px rgba(244, 114, 182, 0.35), 0 0 25px rgba(251, 113, 133, 0.2);
  position: relative;
}
.invitation-wrapper.card-style-sweet::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1.5px dashed rgba(244, 114, 182, 0.45);
  border-radius: 30px;
  pointer-events: none;
  z-index: 25;
}
.invitation-wrapper.card-style-sweet .inv-cover-overlay {
  background: linear-gradient(to bottom, rgba(136, 19, 55, 0.15) 0%, rgba(136, 19, 55, 0.78) 100%);
}
.invitation-wrapper.card-style-sweet .inv-script-title {
  color: #fda4af;
  text-shadow: 0 2px 12px rgba(225, 29, 72, 0.5);
}
.invitation-wrapper.card-style-sweet .inv-body-content h3 {
  color: #e11d48;
}
.invitation-wrapper.card-style-sweet .countdown-box {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  border: 2px solid #fb7185;
  box-shadow: 0 8px 25px rgba(244, 63, 94, 0.2);
  border-radius: 24px;
}
.invitation-wrapper.card-style-sweet .countdown-val {
  color: #e11d48;
  font-weight: 800;
}
.invitation-wrapper.card-style-sweet .countdown-label {
  color: #9f1239;
}
.invitation-wrapper.card-style-sweet .inv-parents-card {
  background: #fff5f7;
  border: 2px solid #fecdd3;
  border-radius: 20px;
}

/* 3. IMPERIAL EMERALD JADE (ត្បូងមរកតសិរីសួស្តី) */
.invitation-wrapper.card-style-emerald {
  background: #ffffff;
  border: 4px solid #059669;
  border-radius: 20px;
  box-shadow: 0 25px 60px -10px rgba(5, 150, 105, 0.35), 0 0 0 2px #d97706;
  position: relative;
}
.invitation-wrapper.card-style-emerald::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid rgba(5, 150, 105, 0.35);
  border-radius: 14px;
  pointer-events: none;
  z-index: 25;
}
.invitation-wrapper.card-style-emerald .inv-cover-overlay {
  background: linear-gradient(to bottom, rgba(2, 44, 34, 0.2) 0%, rgba(2, 44, 34, 0.85) 100%);
}
.invitation-wrapper.card-style-emerald .inv-script-title {
  color: #6ee7b7;
  text-shadow: 0 2px 10px rgba(5, 150, 105, 0.6);
}
.invitation-wrapper.card-style-emerald .inv-body-content h3 {
  color: #047857;
}
.invitation-wrapper.card-style-emerald .countdown-box {
  background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
  border: 2px solid #10b981;
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
  border-radius: 14px;
}
.invitation-wrapper.card-style-emerald .countdown-val {
  color: #6ee7b7;
  text-shadow: 0 0 8px rgba(110, 231, 183, 0.5);
}
.invitation-wrapper.card-style-emerald .countdown-label {
  color: #a7f3d0;
}
.invitation-wrapper.card-style-emerald .inv-parents-card {
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
}

/* 4. CHIC MODERN MINIMALIST (ប្រណីតទាន់សម័យ) */
.invitation-wrapper.card-style-minimal {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
}
.invitation-wrapper.card-style-minimal .inv-cover-overlay {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.75) 100%);
}
.invitation-wrapper.card-style-minimal .inv-script-title {
  color: #ffffff;
  letter-spacing: 0.15em;
  font-family: var(--font-main);
  text-transform: uppercase;
  font-size: 1.6rem;
  font-weight: 700;
}
.invitation-wrapper.card-style-minimal .inv-body-content h3 {
  color: #0f172a;
  letter-spacing: 0.04em;
}
.invitation-wrapper.card-style-minimal .countdown-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  box-shadow: none;
  border-radius: 10px;
}
.invitation-wrapper.card-style-minimal .countdown-val {
  color: #0f172a;
  font-weight: 800;
}
.invitation-wrapper.card-style-minimal .countdown-label {
  color: #64748b;
}
.invitation-wrapper.card-style-minimal .inv-parents-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

/* 5. CELESTIAL MIDNIGHT STARLIGHT (រាត្រីតារារះ) */
.invitation-wrapper.card-style-midnight {
  background: linear-gradient(180deg, #070b16 0%, #0f172a 40%, #0b1120 100%);
  color: #f1f5f9;
  border: 2px solid #38bdf8;
  border-radius: var(--radius-xl);
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.3), inset 0 0 20px rgba(56, 189, 248, 0.1);
}
.invitation-wrapper.card-style-midnight .inv-cover-overlay {
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.2) 0%, rgba(2, 6, 23, 0.9) 100%);
}
.invitation-wrapper.card-style-midnight .inv-script-title {
  color: #7dd3fc;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.8);
}
.invitation-wrapper.card-style-midnight .inv-body-content h3 {
  color: #38bdf8;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}
.invitation-wrapper.card-style-midnight .inv-body-content p.text-muted {
  color: #94a3b8 !important;
}
.invitation-wrapper.card-style-midnight .countdown-box {
  background: rgba(15, 23, 42, 0.9);
  border: 1.5px solid #38bdf8;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.25);
  border-radius: 16px;
}
.invitation-wrapper.card-style-midnight .countdown-val {
  color: #38bdf8;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}
.invitation-wrapper.card-style-midnight .countdown-label {
  color: #bae6fd;
}
.invitation-wrapper.card-style-midnight .inv-parents-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #e2e8f0;
}
.invitation-wrapper.card-style-midnight .parents-col h5 {
  color: #7dd3fc;
}
.invitation-wrapper.card-style-midnight .parents-col p {
  color: #cbd5e1;
}
.invitation-wrapper.card-style-midnight .timeline-item {
  border-left-color: #38bdf8;
}
.invitation-wrapper.card-style-midnight .timeline-time {
  color: #38bdf8;
}
.invitation-wrapper.card-style-midnight .timeline-desc {
  color: #e2e8f0;
}

/* ==========================================================================
   TEMPLATE CATALOG CARDS - DISTINCT STYLES & BADGES
   ========================================================================== */
.template-card.card-style-royal {
  border: 1.5px solid rgba(245, 158, 11, 0.4);
}
.template-card.card-style-royal:hover {
  border-color: #f59e0b;
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.25);
}

.template-card.card-style-sweet {
  border: 1.5px solid rgba(244, 114, 182, 0.45);
  border-radius: 20px;
}
.template-card.card-style-sweet:hover {
  border-color: #fb7185;
  box-shadow: 0 15px 35px rgba(244, 114, 182, 0.3);
}

.template-card.card-style-emerald {
  border: 1.5px solid rgba(5, 150, 105, 0.4);
}
.template-card.card-style-emerald:hover {
  border-color: #10b981;
  box-shadow: 0 15px 35px rgba(5, 150, 105, 0.25);
}

.template-card.card-style-minimal {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
}
.template-card.card-style-minimal:hover {
  border-color: #94a3b8;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.12);
}

.template-card.card-style-midnight {
  border: 1.5px solid rgba(2, 132, 199, 0.45);
  background: #0f172a;
}
.template-card.card-style-midnight:hover {
  border-color: #38bdf8;
  box-shadow: 0 15px 35px rgba(56, 189, 248, 0.3);
}

/* Style Pill on Catalog Cards */
.tpl-style-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-top: 4px;
}
.tpl-style-pill.card-style-royal {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.tpl-style-pill.card-style-sweet {
  background: rgba(244, 114, 182, 0.15);
  color: #db2777;
  border: 1px solid rgba(244, 114, 182, 0.35);
}
.tpl-style-pill.card-style-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.tpl-style-pill.card-style-minimal {
  background: rgba(148, 163, 184, 0.18);
  color: #334155;
  border: 1px solid rgba(148, 163, 184, 0.35);
}
.tpl-style-pill.card-style-midnight {
  background: rgba(56, 189, 248, 0.15);
  color: #0284c7;
  border: 1px solid rgba(56, 189, 248, 0.35);
}


/* ==========================================================================
   DYNAMIC BACKGROUND COLOR & LIGHT/DARK SYSTEM
   ========================================================================== */

:root {
  --color-mode: light;
  --bg-main: #fff1f5;
  --bg-navbar: rgba(255, 255, 255, 0.96);
  --bg-header-banner: linear-gradient(135deg, #ffffff 0%, #ffe4e6 50%, #fff1f5 100%);
  --bg-tabs-nav: #ffffff;
  --bg-card: #ffffff;
  --bg-card-glass: rgba(255, 255, 255, 0.95);
  --border: rgba(244, 63, 94, 0.22);
  --border-focus: #f43f5e;
}

/* LIGHT MODE */
body[data-color-mode="light"] {
  --color-mode: light;
  --bg-main: #fff1f5;
  --bg-navbar: rgba(255, 255, 255, 0.96);
  --bg-header-banner: linear-gradient(135deg, #ffffff 0%, #ffe4e6 50%, #fff1f5 100%);
  --bg-tabs-nav: #ffffff;
  --bg-card: #ffffff;
  --bg-card-glass: rgba(255, 255, 255, 0.95);
  --border: rgba(0, 0, 0, 0.08);
  --border-focus: var(--primary);

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
}

body[data-color-mode="light"] {
  background-color: var(--bg-main) !important;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--primary-light), transparent),
    radial-gradient(ellipse 60% 40% at 50% 120%, rgba(254, 205, 211, 0.22), transparent) !important;
  color: var(--slate-800) !important;
}

body[data-color-mode="light"] .top-navbar {
  background: var(--bg-navbar) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

body[data-color-mode="light"] .brand-text span {
  color: var(--slate-600) !important;
}

body[data-color-mode="light"] .event-header-banner {
  background: var(--bg-header-banner) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

body[data-color-mode="light"] .event-avatar-thumb {
  border: 3px solid #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12) !important;
}

body[data-color-mode="light"] .event-titles h2 {
  color: var(--slate-900) !important;
}

body[data-color-mode="light"] .event-meta-row {
  color: var(--slate-600) !important;
}

body[data-color-mode="light"] .tabs-nav-bar {
  background: var(--bg-tabs-nav) !important;
  border-bottom: 1px solid var(--border) !important;
}

body[data-color-mode="light"] .nav-tab {
  color: var(--slate-600) !important;
}

body[data-color-mode="light"] .nav-tab:hover {
  color: var(--primary) !important;
  background: var(--primary-light) !important;
}

body[data-color-mode="light"] .nav-tab.active {
  color: var(--primary) !important;
  border-bottom-color: var(--primary) !important;
  background: var(--primary-light) !important;
}

body[data-color-mode="light"] .card,
body[data-color-mode="light"] .guests-toolbar-card,
body[data-color-mode="light"] .table-card,
body[data-color-mode="light"] .pricing-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  color: var(--slate-800) !important;
}

body[data-color-mode="light"] .input-clean,
body[data-color-mode="light"] .select-clean,
body[data-color-mode="light"] .form-control {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  color: var(--slate-900) !important;
}

body[data-color-mode="light"] .input-clean:focus,
body[data-color-mode="light"] .select-clean:focus,
body[data-color-mode="light"] .form-control:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 10px var(--primary-glow) !important;
}

body[data-color-mode="light"] .data-table th {
  background: #f8fafc !important;
  color: #475569 !important;
  border-bottom: 1.5px solid var(--border) !important;
}

body[data-color-mode="light"] .data-table td {
  color: #1e293b !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

body[data-color-mode="light"] .data-table tr:hover td {
  background: #f8fafc !important;
}

body[data-color-mode="light"] .summary-pill {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  color: var(--slate-700) !important;
}

body[data-color-mode="light"] .stat-label {
  color: #64748b !important;
}

body[data-color-mode="light"] .stat-value {
  color: #0f172a !important;
}

body[data-color-mode="light"] .modal-content {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  color: #1e293b !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
}

body[data-color-mode="light"] .modal-header h3 {
  color: #0f172a !important;
}

body[data-color-mode="light"] .site-theme-dropdown-menu {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15) !important;
}

body[data-color-mode="light"] .theme-dropdown-header {
  border-bottom: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

body[data-color-mode="light"] .theme-name {
  color: #0f172a !important;
}

body[data-color-mode="light"] .theme-sub {
  color: #64748b !important;
}

body[data-color-mode="light"] .theme-option-btn:hover {
  background: #f8fafc !important;
}

body[data-color-mode="light"] .theme-option-btn.active {
  background: var(--primary-light) !important;
}

/* DARK MODE */
body[data-color-mode="dark"] {
  --color-mode: dark;
  --bg-main: #080c14;
  --bg-navbar: rgba(8, 12, 20, 0.94);
  --bg-header-banner: linear-gradient(135deg, rgba(16, 24, 39, 0.95), rgba(8, 12, 20, 0.98));
  --bg-tabs-nav: rgba(11, 16, 26, 0.95);
  --bg-card: #101827;
  --bg-card-glass: rgba(16, 24, 39, 0.88);
  --border: rgba(245, 158, 11, 0.22);
  --border-focus: #f59e0b;

  --slate-900: #f8fafc;
  --slate-800: #f1f5f9;
  --slate-700: #e2e8f0;
  --slate-600: #cbd5e1;
  --slate-500: #94a3b8;
  --slate-400: #64748b;
  --slate-300: #475569;
  --slate-200: #334155;
  --slate-100: #1e293b;
  --slate-50: #0f172a;
}

body[data-color-mode="dark"] {
  background-color: var(--bg-main) !important;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245, 158, 11, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 50% 120%, rgba(180, 83, 9, 0.12), transparent) !important;
  color: var(--slate-800) !important;
}

body[data-color-mode="dark"] .top-navbar {
  background: var(--bg-navbar) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
}

body[data-color-mode="dark"] .event-header-banner {
  background: var(--bg-header-banner) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

body[data-color-mode="dark"] .tabs-nav-bar {
  background: var(--bg-tabs-nav) !important;
  border-bottom: 1px solid var(--border) !important;
}

body[data-color-mode="dark"] .nav-tab {
  color: var(--slate-400) !important;
}

body[data-color-mode="dark"] .nav-tab.active {
  color: #f59e0b !important;
  border-bottom-color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.12) !important;
}

body[data-color-mode="dark"] .card,
body[data-color-mode="dark"] .guests-toolbar-card,
body[data-color-mode="dark"] .table-card,
body[data-color-mode="dark"] .pricing-card {
  background: var(--bg-card-glass) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
  color: var(--slate-800) !important;
}

body[data-color-mode="dark"] .input-clean,
body[data-color-mode="dark"] .select-clean,
body[data-color-mode="dark"] .form-control {
  background: rgba(8, 12, 20, 0.7) !important;
  border: 1px solid var(--border) !important;
  color: var(--slate-900) !important;
}

/* Quick BG Swatches styling */
.quick-bg-swatch {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 2px solid rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
}
.quick-bg-swatch:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
.quick-bg-swatch.active {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px var(--primary) !important;
}

/* ==========================================================================
   ROLE SWITCHER (USER MODE VS ADMIN MODE SEPARATION)
   ========================================================================== */
.role-switcher-wrapper {
  position: relative;
}

.btn-role-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card-glass);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-800);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xs);
}

.btn-role-switcher:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.role-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  flex-shrink: 0;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

body[data-user-role="admin"] .role-status-dot {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.role-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  background: var(--bg-card-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
  animation: fadeIn 0.2s ease forwards;
}

.role-dropdown-menu.active {
  display: flex;
}

.role-dropdown-header {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--slate-600);
  padding: 6px 10px 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.role-item-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
  width: 100%;
}

.role-item-btn:hover {
  background: var(--primary-light);
  border-color: var(--border);
}

.role-item-btn.active {
  background: var(--primary-light);
  border-color: var(--primary);
}

.role-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.role-info {
  flex: 1;
  min-width: 0;
}

.role-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--slate-900);
}

.role-desc {
  font-size: 0.72rem;
  color: var(--slate-600);
  line-height: 1.25;
  margin-top: 2px;
}

.role-check {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0;
}

.role-item-btn.active .role-check {
  opacity: 1;
}

/* User Mode vs Admin Mode Display Rules */
body[data-user-role="user"] .admin-only-element {
  display: none !important;
}

body[data-user-role="user"] #view-admin {
  display: none !important;
}

/* Admin Mode Indicator Bar */
.admin-mode-indicator-bar {
  background: linear-gradient(90deg, #b45309 0%, #d97706 50%, #b45309 100%);
  color: #ffffff;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(254, 240, 138, 0.4);
  box-shadow: 0 2px 10px rgba(180, 83, 9, 0.25);
  animation: fadeIn 0.3s ease;
}

.admin-indicator-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-exit-admin {
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-exit-admin:hover {
  background: #ffffff;
  color: #b45309;
}

/* ==========================================================================
   EVENT HEADER BANNER INTERACTIVE EDITING
   ========================================================================== */
.event-profile-meta {
  padding: 6px 12px;
  border-radius: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.event-profile-meta:hover {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.event-avatar-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
  flex-shrink: 0;
}

.avatar-edit-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.event-avatar-wrapper:hover .avatar-edit-badge {
  transform: scale(1.15);
}

.btn-quick-edit-event {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 20px;
  border: 1.5px solid var(--primary-light);
  background: rgba(244, 63, 94, 0.1);
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s ease;
  vertical-align: middle;
}

.btn-quick-edit-event:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* ==========================================================================
   Unconfigured / Setup Your Event State Aesthetics
   ========================================================================== */
.badge-pending-setup {
  background: linear-gradient(135deg, #f59e0b, #ef4444) !important;
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
  letter-spacing: 0.02em;
}

.placeholder-avatar-box {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2.5px dashed var(--primary);
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.12), rgba(251, 191, 36, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.18);
  transition: all 0.25s ease;
  user-select: none;
}

.event-avatar-wrapper:hover .placeholder-avatar-box {
  transform: scale(1.06);
  border-style: solid;
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.35);
}

.placeholder-text {
  color: var(--primary);
  opacity: 0.88;
  border-bottom: 2px dashed rgba(244, 63, 94, 0.45);
  padding-bottom: 1px;
}

.placeholder-muted {
  color: var(--slate-500);
  font-style: italic;
  font-weight: 500;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(244, 63, 94, 0);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0);
    transform: scale(1);
  }
}

.btn-pulse-glow {
  animation: pulseGlow 2.2s infinite ease-in-out;
  background: linear-gradient(135deg, #f43f5e, #e11d48) !important;
  color: #fff !important;
  font-weight: 800 !important;
  border: none !important;
}

.unconfigured-banner-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(254, 243, 199, 0.9);
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 6px;
  animation: fadeIn 0.4s ease;
}

/* ==========================================================================
   INTERACTIVE TEMPLATE LIVE VIEW & SWAPPER SHOWCASE
   ========================================================================== */
.modal-template-liveview {
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.liveview-modal-content {
  max-width: 980px;
  width: 95vw;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(244, 63, 94, 0.2);
  border-radius: 24px;
  overflow: hidden;
  padding: 0;
}

/* Header */
.liveview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: rgba(2, 6, 23, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  gap: 16px;
  flex-wrap: wrap;
}

.liveview-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.liveview-sparkle {
  font-size: 1.8rem;
  animation: pulseGlow 2s infinite ease-in-out;
}

.liveview-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Stage & Nav */
.liveview-stage-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  min-height: 490px;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.65) 0%, rgba(11, 15, 25, 0.98) 100%);
}

.liveview-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 2px solid rgba(251, 191, 36, 0.5);
  color: #fbbf24;
  font-size: 1.4rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
  z-index: 20;
}

.liveview-nav-btn:hover {
  background: var(--primary);
  border-color: #fff;
  color: #fff;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.5);
}

.liveview-nav-btn.prev { left: 24px; }
.liveview-nav-btn.next { right: 24px; }

/* Phone Mockup */
.phone-frame-mockup {
  width: 320px;
  height: 510px;
  background: #020617;
  border-radius: 40px;
  border: 8px solid #1e293b;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(251, 191, 36, 0.25);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 85px;
  height: 18px;
  background: #000;
  border-radius: 20px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-camera-lens {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1e1b4b;
  border: 1px solid #334155;
}

.phone-speaker {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: #334155;
}

.phone-screen-inner {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
  border-radius: 32px;
  background: #fff;
}

.phone-screen-inner::-webkit-scrollbar {
  width: 4px;
}
.phone-screen-inner::-webkit-scrollbar-thumb {
  background: rgba(244, 63, 94, 0.4);
  border-radius: 4px;
}

/* Phone Screen Elements */
.phone-invitation-container {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.phone-cover-box {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.phone-cover-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.phone-frame-mockup:hover .phone-cover-media {
  transform: scale(1.08);
}

.phone-cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%);
}

.phone-cover-overlay {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  color: #fff;
}

.phone-card-body {
  padding: 16px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.phone-kbach-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.phone-kbach-symbol {
  font-size: 1.4rem;
}

.phone-blessing-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.phone-hero-host-role {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--slate-600);
  text-transform: uppercase;
}

.phone-hero-names {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.3;
  margin: 2px 0;
  font-family: 'Moul', 'Dangrek', cursive, serif;
}

.phone-hero-names-en {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--primary);
}

.phone-meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--slate-700);
  margin: 0 auto;
}

.phone-ceremonies-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 14px;
  padding: 10px 12px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.phone-section-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.phone-ceremony-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.68rem;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.phone-ceremony-row:last-child {
  border-bottom: none;
}

.phone-ceremony-time {
  font-weight: 800;
  color: #b45309;
  white-space: nowrap;
}

.phone-ceremony-title {
  color: var(--slate-700);
  font-weight: 600;
}

.phone-actions-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.phone-action-btn {
  flex: 1;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.phone-action-btn:hover {
  transform: translateY(-1px);
}

.phone-action-btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
}

.phone-action-btn.secondary {
  background: #fbbf24;
  color: #78350f;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* ==========================================================================
   TEXT UP STAGGERED REVEAL ANIMATIONS
   ========================================================================== */
@keyframes textSlideUpFade {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  60% {
    opacity: 0.85;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-up-animated {
  animation: textSlideUpFade 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.text-up-delay-1 { animation-delay: 0.08s; }
.text-up-delay-2 { animation-delay: 0.18s; }
.text-up-delay-3 { animation-delay: 0.28s; }
.text-up-delay-4 { animation-delay: 0.38s; }
.text-up-delay-5 { animation-delay: 0.48s; }
.text-up-delay-6 { animation-delay: 0.58s; }

/* Swapper Ribbon at Bottom */
.liveview-swap-strip-container {
  background: rgba(2, 6, 23, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 18px 16px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.liveview-swap-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.liveview-category-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 2px;
}

.chip-filter {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.chip-filter:hover, .chip-filter.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.liveview-thumbnails-ribbon {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 4px 14px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.liveview-thumbnails-ribbon::-webkit-scrollbar {
  height: 6px;
}
.liveview-thumbnails-ribbon::-webkit-scrollbar-thumb {
  background: rgba(251, 191, 36, 0.45);
  border-radius: 6px;
}

.liveview-thumb-card {
  flex-shrink: 0;
  width: 124px;
  background: rgba(15, 23, 42, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  text-align: left;
}

.liveview-thumb-card:hover {
  transform: translateY(-3px);
  border-color: #fbbf24;
  box-shadow: 0 6px 18px rgba(251, 191, 36, 0.25);
}

.liveview-thumb-card.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary), 0 8px 20px rgba(244, 63, 94, 0.4);
  transform: translateY(-3px);
}

.liveview-thumb-card.active::after {
  content: "✓ កំពុងមើល";
  position: absolute;
  top: 4px;
  right: 4px;
  background: #059669;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
}

.liveview-thumb-img {
  width: 100%;
  height: 75px;
  object-fit: cover;
  display: block;
}

.liveview-thumb-info {
  padding: 6px 8px;
}

.liveview-thumb-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.liveview-thumb-tag {
  font-size: 0.62rem;
  color: #fbbf24;
  font-weight: 600;
  margin-top: 2px;
}

/* ==========================================================================
   APPRECIATION & APOLOGY CARD (សូមអរគុណ និងសូមអភ័យទោស)
   ========================================================================== */
.appreciation-card {
  position: relative;
  background: linear-gradient(180deg, #fffdf8 0%, #fffaf0 55%, #fff5e3 100%);
  border: 2px solid rgba(217, 119, 6, 0.35);
  border-radius: 20px;
  padding: 28px 24px 24px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(217, 119, 6, 0.12), inset 0 0 40px rgba(254, 240, 138, 0.25);
  overflow: hidden;
}

.appreciation-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #b45309, #f59e0b, #fbbf24, #f59e0b, #b45309);
}

.appreciation-decor-drapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: radial-gradient(ellipse at top, rgba(251, 191, 36, 0.22) 0%, transparent 75%);
  pointer-events: none;
}

.appreciation-petals-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 12% 18%, rgba(244, 63, 94, 0.22) 0%, transparent 6px),
    radial-gradient(circle at 88% 22%, rgba(244, 63, 94, 0.2) 0%, transparent 8px),
    radial-gradient(circle at 82% 78%, rgba(244, 63, 94, 0.22) 0%, transparent 7px),
    radial-gradient(circle at 16% 82%, rgba(244, 63, 94, 0.16) 0%, transparent 6px);
}

.appreciation-title {
  font-family: 'Moul', 'Dangrek', cursive, serif;
  font-size: 1.35rem;
  color: #b45309;
  margin: 6px 0 3px;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(180, 83, 9, 0.25);
}

.appreciation-sub-en {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #d97706;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.appreciation-body {
  font-size: 0.95rem;
  line-height: 1.95;
  color: #78350f;
  font-weight: 500;
  text-align: justify;
  text-justify: inter-word;
  margin: 0 auto 16px;
  max-width: 520px;
}

.appreciation-couple-sign {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(217, 119, 6, 0.12);
  border: 1px dashed rgba(217, 119, 6, 0.4);
  border-radius: 30px;
  font-weight: 800;
  color: #92400e;
  font-size: 0.88rem;
}

/* Phone Mockup Appreciation Box */
.phone-appreciation-box {
  background: linear-gradient(180deg, #fffdf8 0%, #fff7eb 100%);
  border: 1.5px solid rgba(217, 119, 6, 0.35);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.1);
  position: relative;
  overflow: hidden;
}

.phone-appreciation-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #b45309, #f59e0b, #fbbf24);
}

.phone-appreciation-title {
  font-family: 'Moul', 'Dangrek', cursive, serif;
  font-size: 0.88rem;
  color: #b45309;
  line-height: 1.4;
  margin-top: 2px;
}

.phone-appreciation-sub {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #d97706;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.phone-appreciation-body {
  font-size: 0.65rem;
  line-height: 1.65;
  color: #78350f;
  text-align: justify;
  text-justify: inter-word;
  margin: 0 0 8px;
}

.phone-appreciation-sign {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(217, 119, 6, 0.12);
  border: 1px dashed rgba(217, 119, 6, 0.4);
  border-radius: 20px;
  font-size: 0.66rem;
  font-weight: 800;
  color: #92400e;
}

/* ==========================================================================
   GUESTS TABLE PAGINATION BAR (PAGE 1, 2, 3...)
   ========================================================================== */
.table-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--border, #e2e8f0);
  background: var(--bg-card, #ffffff);
  border-bottom-left-radius: var(--radius-lg, 14px);
  border-bottom-right-radius: var(--radius-lg, 14px);
}

.pagination-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-600, #475569);
}

.pagination-size-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pagination-size-select {
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--border, #cbd5e1);
  background: var(--slate-50, #f8fafc);
  color: var(--slate-800, #1e293b);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border, #e2e8f0);
  background: var(--bg-card, #ffffff);
  color: var(--slate-700, #334155);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--primary, #f43f5e);
  color: var(--primary, #f43f5e);
  background: var(--primary-light, #ffe4e6);
}

.page-btn.active {
  background: var(--primary, #f43f5e);
  border-color: var(--primary, #f43f5e);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(244, 63, 94, 0.25);
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-ellipsis {
  padding: 0 4px;
  color: var(--slate-400, #94a3b8);
  font-weight: 700;
}

body[data-color-mode="dark"] .table-pagination-bar {
  background: var(--bg-card, #0f172a);
  border-top-color: rgba(255, 255, 255, 0.08);
}

body[data-color-mode="dark"] .page-btn:not(.active) {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

body[data-color-mode="dark"] .pagination-size-select {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
}





/* ==========================================================================
   THEAP DIGITAL - AUTHENTICATION GATEKEEPER & ROLE DASHBOARD STYLES
   ========================================================================== */
.auth-portal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.auth-portal-overlay.active {
  display: flex !important;
}

.auth-portal-backdrop {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(244, 63, 94, 0.15) 0%, rgba(15, 23, 42, 0.94) 80%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1;
}

.auth-portal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(244, 63, 94, 0.25);
  border-radius: 24px;
  padding: 1.85rem 1.85rem;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.4), 0 0 40px rgba(244, 63, 94, 0.2);
  animation: authPortalZoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Social Auth Modal Z-Index (Must be higher than auth portal overlay 99999) */
.social-auth-modal {
  z-index: 100005 !important;
}

.social-auth-modal .modal-overlay {
  background: rgba(15, 23, 42, 0.7) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.social-auth-modal .modal-content {
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 0, 0, 0.3) !important;
  animation: authPortalZoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mini OTP Channel Switcher Buttons */
.btn-channel-mini {
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.3;
}

.btn-channel-mini:hover {
  border-color: #94a3b8;
  color: #334155;
}

.btn-channel-mini.active {
  border-color: #0284c7;
  background: #f0f9ff;
  color: #0284c7;
  font-weight: 800;
}

body[data-color-mode="dark"] .auth-portal-card {
  background: rgba(15, 23, 42, 0.96);
  border-color: rgba(244, 63, 94, 0.35);
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(244, 63, 94, 0.25);
}

@keyframes authPortalZoomIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.auth-portal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-brand-logo-frame {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(244, 63, 94, 0.3);
  border: 2px solid #f59e0b;
}

.auth-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-badge-sparkle {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(244, 63, 94, 0.15));
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
  margin-bottom: 6px;
}

body[data-color-mode="dark"] .auth-badge-sparkle {
  color: #fbbf24;
}

.auth-portal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900, #0f172a);
  margin: 0 0 6px 0;
}

body[data-color-mode="dark"] .auth-portal-title {
  color: #f8fafc;
}

.auth-portal-subtitle {
  font-size: 0.82rem;
  color: var(--slate-500, #64748b);
  margin: 0;
  line-height: 1.45;
}

.auth-tabs-nav {
  display: flex;
  background: var(--slate-100, #f1f5f9);
  padding: 4px;
  border-radius: 14px;
  gap: 4px;
  margin-bottom: 1.5rem;
}

body[data-color-mode="dark"] .auth-tabs-nav {
  background: rgba(30, 41, 59, 0.7);
}

.auth-tab-btn {
  flex: 1;
  padding: 9px 12px;
  border: none;
  background: transparent;
  color: var(--slate-600, #475569);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

body[data-color-mode="dark"] .auth-tab-btn {
  color: #94a3b8;
}

.auth-tab-btn.active {
  background: #ffffff;
  color: var(--primary, #f43f5e);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body[data-color-mode="dark"] .auth-tab-btn.active {
  background: #1e293b;
  color: #fb7185;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.auth-alert-box {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.auth-alert-box.error {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #f87171;
}

.auth-alert-box.success {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #4ade80;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 12px;
  font-size: 1rem;
  pointer-events: none;
}

.input-with-icon .form-control {
  padding-left: 40px !important;
}

.auth-submit-btn {
  padding: 12px 20px;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.35);
  margin-top: 4px;
}

/* Social Login Divider & Buttons */
.auth-social-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.15rem 0 0.9rem;
}

.auth-social-divider::before,
.auth-social-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border, #e2e8f0);
}

.auth-social-divider span {
  padding: 0 12px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--slate-400, #94a3b8);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body[data-color-mode="dark"] .auth-social-divider::before,
body[data-color-mode="dark"] .auth-social-divider::after {
  border-color: rgba(255, 255, 255, 0.12);
}

.auth-social-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 0.5rem;
}

@media (max-width: 480px) {
  .auth-social-buttons-grid {
    grid-template-columns: 1fr;
  }
}

.btn-social-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-social-auth:hover {
  transform: translateY(-1.5px);
}

.btn-social-auth:active {
  transform: translateY(0);
}

.btn-auth-google {
  background: #ffffff;
  color: #1f2937;
  border-color: #e5e7eb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.btn-auth-google:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body[data-color-mode="dark"] .btn-auth-google {
  background: #1e293b;
  color: #f8fafc;
  border-color: #334155;
}

body[data-color-mode="dark"] .btn-auth-google:hover {
  background: #334155;
  border-color: #475569;
}

.btn-auth-telegram {
  background: linear-gradient(135deg, #229ED9 0%, #1787be 100%);
  color: #ffffff;
  border: 1px solid #1c88c0;
  box-shadow: 0 3px 10px rgba(34, 158, 217, 0.3);
}

.btn-auth-telegram:hover {
  background: linear-gradient(135deg, #29a7e3 0%, #1e92cd 100%);
  box-shadow: 0 5px 16px rgba(34, 158, 217, 0.45);
}

.social-icon {
  flex-shrink: 0;
}

/* Step 2 Dedicated Verification Screen Styles */
.btn-verify-back:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

body[data-color-mode="dark"] .btn-verify-back {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}

body[data-color-mode="dark"] .verify-target-box {
  background: rgba(30, 41, 59, 0.5) !important;
  border-color: #475569 !important;
}

body[data-color-mode="dark"] #verify-target-display {
  color: #f1f5f9 !important;
}

body[data-color-mode="dark"] #verify-otp-input {
  background: #0f172a !important;
  color: #fbbf24 !important;
  border-color: #d97706 !important;
}

.otp-channel-mini-switch {
  display: inline-flex;
  background: #f1f5f9;
  padding: 2px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

body[data-color-mode="dark"] .otp-channel-mini-switch {
  background: #1e293b;
  border-color: #334155;
}

.btn-channel-mini {
  padding: 3px 9px;
  font-size: 0.72rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: #64748b;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

body[data-color-mode="dark"] .btn-channel-mini {
  color: #94a3b8;
}

.btn-channel-mini.active {
  background: #ffffff;
  color: #d97706;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

body[data-color-mode="dark"] .btn-channel-mini.active {
  background: #0f172a;
  color: #fbbf24;
}

/* Dashboard Linked Accounts Card */
.linked-accounts-card {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.linked-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  margin-top: 8px;
  background: var(--bg-card-glass, rgba(248, 250, 252, 0.7));
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.linked-item-row:hover {
  border-color: var(--primary-light, #fed7aa);
}

.linked-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.linked-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
}

.linked-badge.connected {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.linked-badge.not-connected {
  background: rgba(148, 163, 184, 0.12);
  color: #64748b;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.auth-demo-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border, #e2e8f0);
}

.auth-demo-label {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--slate-500, #64748b);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 480px) {
  .auth-demo-grid {
    grid-template-columns: 1fr;
  }
}

.btn-demo-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.btn-demo-pill:hover {
  background: rgba(245, 158, 11, 0.16);
  border-color: #f59e0b;
  transform: translateY(-1px);
}

.btn-demo-pill .demo-icon {
  font-size: 1.4rem;
}

.btn-demo-pill .demo-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.btn-demo-pill strong {
  font-size: 0.78rem;
  color: var(--slate-900, #0f172a);
}

body[data-color-mode="dark"] .btn-demo-pill strong {
  color: #f8fafc;
}

.btn-demo-pill small {
  font-size: 0.68rem;
  color: var(--slate-500, #64748b);
}

.auth-portal-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.72rem;
  color: var(--slate-400, #94a3b8);
}


/* Activity Badges in Admin Dashboard */
.act-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

.act-badge-login { background: #dbeafe; color: #1d4ed8; }
.act-badge-register { background: #fef3c7; color: #b45309; }
.act-badge-rsvp { background: #dcfce7; color: #15803d; }
.act-badge-music { background: #f3e8ff; color: #7e22ce; }
.act-badge-state { background: #fee2e2; color: #b91c1c; }
.act-badge-admin { background: #fef08a; color: #854d0e; }

/* ==========================================================================
   HOST LUXURY DASHBOARD OVERVIEW STYLES
   ========================================================================== */
.dash-welcome-hero {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 2rem;
  border-radius: var(--radius-xl, 20px);
  background: linear-gradient(135deg, rgba(255, 241, 245, 0.95) 0%, rgba(255, 255, 255, 0.98) 50%, rgba(254, 243, 199, 0.6) 100%);
  border: 1px solid rgba(244, 63, 94, 0.2);
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

body[data-color-mode="dark"] .dash-welcome-hero {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.85) 0%, rgba(15, 23, 42, 0.95) 50%, rgba(49, 46, 129, 0.7) 100%);
  border-color: rgba(251, 191, 36, 0.25);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.dash-welcome-content {
  flex: 1;
  min-width: 280px;
}

.dash-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(244, 63, 94, 0.12);
  color: var(--primary, #f43f5e);
  margin-bottom: 0.5rem;
}

body[data-color-mode="dark"] .dash-hero-badge {
  background: rgba(251, 191, 36, 0.18);
  color: #fbbf24;
}

.dash-hero-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main, #1e293b);
  margin: 0 0 0.4rem 0;
  line-height: 1.3;
}

#dash-welcome-couple-names {
  background: linear-gradient(135deg, #e11d48, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.dash-hero-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
  margin: 0;
  line-height: 1.5;
  max-width: 600px;
}

/* Glass Countdown Card in Host Hero */
.dash-countdown-glass-card {
  padding: 1rem 1.4rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.12);
  text-align: center;
  min-width: 250px;
}

body[data-color-mode="dark"] .dash-countdown-glass-card {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(251, 191, 36, 0.3);
}

.countdown-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted, #64748b);
  margin-bottom: 0.4rem;
}

.countdown-digits-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
}

.countdown-box strong {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: monospace, var(--font-main);
  color: var(--primary, #f43f5e);
  line-height: 1;
}

body[data-color-mode="dark"] .countdown-box strong {
  color: #fbbf24;
}

.countdown-box span {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted, #64748b);
  text-transform: uppercase;
  margin-top: 2px;
}

.countdown-sep {
  font-size: 1.25rem;
  font-weight: 800;
  color: rgba(244, 63, 94, 0.4);
  line-height: 1;
  padding-bottom: 12px;
}

.countdown-date-hint {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  margin-top: 0.5rem;
}

/* Quick Action Launchpad Tiles */
.dash-quick-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  text-decoration: none;
  color: inherit;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.dash-quick-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary, #f43f5e);
  box-shadow: 0 8px 20px rgba(244, 63, 94, 0.12);
}

.dash-quick-card.highlight {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.08) 0%, rgba(251, 191, 36, 0.12) 100%);
  border-color: rgba(244, 63, 94, 0.35);
}

.dash-quick-icon {
  font-size: 1.7rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-card-glass, rgba(244, 63, 94, 0.06));
  flex-shrink: 0;
}

.dash-quick-card strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main, #1e293b);
}

.dash-quick-card small {
  font-size: 0.72rem;
  color: var(--text-muted, #64748b);
}

/* Recent Guest Wishes Feed Item */
.dash-wish-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-card-glass, #f8fafc);
  border: 1px solid var(--border, #e2e8f0);
  margin-bottom: 10px;
  transition: all 0.18s ease;
}

.dash-wish-item:hover {
  background: var(--bg-card, #ffffff);
  border-color: var(--primary-light, #fb7185);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.dash-wish-item:last-child {
  margin-bottom: 0;
}

.dash-wish-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  gap: 8px;
}

.dash-wish-guest-name {
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--text-main, #0f172a);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-wish-time {
  font-size: 0.7rem;
  color: var(--text-muted, #94a3b8);
}

.dash-wish-quote {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted, #475569);
  font-style: italic;
  margin: 4px 0 0;
  padding-left: 8px;
  border-left: 2px solid var(--primary, #f43f5e);
}

/* ==========================================================================
   ROYAL KHMER VIP DIGITAL INVITATION PASS & MODAL
   ========================================================================== */

.vip-pass-modal-box {
  max-width: 480px !important;
  width: 95vw !important;
  max-height: 92vh !important;
  background: #ffffff !important;
  border-radius: 24px !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.45), 0 0 30px rgba(245, 158, 11, 0.2) !important;
  overflow-y: auto !important;
  padding: 0 !important;
}

body[data-color-mode="dark"] .vip-pass-modal-box {
  background: #0f172a !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
}

.vip-modal-header {
  padding: 1.15rem 1.35rem !important;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25) !important;
}

body[data-color-mode="dark"] .vip-modal-header {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  border-bottom-color: rgba(245, 158, 11, 0.25) !important;
}

.vip-modal-body {
  padding: 1.25rem 1rem !important;
}

/* Theme Switcher Bar */
.vip-pass-theme-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 8px 12px;
  margin-bottom: 1.25rem;
}

body[data-color-mode="dark"] .vip-pass-theme-selector {
  background: #1e293b;
  border-color: #334155;
}

.theme-sel-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
}

body[data-color-mode="dark"] .theme-sel-label {
  color: #cbd5e1;
}

.theme-sel-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.btn-pass-theme {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #475569;
}

body[data-color-mode="dark"] .btn-pass-theme {
  background: #0f172a;
  border-color: #475569;
  color: #e2e8f0;
}

.btn-pass-theme:hover {
  transform: translateY(-1px);
}

.btn-pass-theme.active[data-pass-theme="gold"] {
  background: #fef3c7;
  color: #b45309;
  border-color: #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.btn-pass-theme.active[data-pass-theme="crimson"] {
  background: #ffe4e6;
  color: #be123c;
  border-color: #f43f5e;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.4);
}

.btn-pass-theme.active[data-pass-theme="navy"] {
  background: #0f172a;
  color: #fbbf24;
  border-color: #fbbf24;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

/* Card Container */
.vip-invitation-card-container {
  display: flex;
  justify-content: center;
  padding: 2px;
}

/* THE CARD - SLEEK & COMPACT */
.vip-invitation-card {
  width: 100%;
  max-width: 375px;
  position: relative;
  border-radius: 18px;
  padding: 16px 16px 12px 16px;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.3s ease;
  overflow: visible !important;
}

/* Theme 1: Royal Khmer Gold */
.vip-invitation-card.theme-gold {
  background: linear-gradient(145deg, #fffdf8 0%, #fef8eb 40%, #fef3c7 100%);
  border: 2px solid #d97706;
  box-shadow: 0 12px 30px -8px rgba(217, 119, 6, 0.22), inset 0 0 0 2px #ffffff, inset 0 0 0 4px rgba(245, 158, 11, 0.4);
  color: #451a03;
}

/* Theme 2: Crimson Ruby */
.vip-invitation-card.theme-crimson {
  background: linear-gradient(145deg, #fff7f7 0%, #ffe4e6 45%, #fed7aa 100%);
  border: 2px solid #be123c;
  box-shadow: 0 12px 30px -8px rgba(190, 18, 60, 0.22), inset 0 0 0 2px #ffffff, inset 0 0 0 4px rgba(244, 63, 94, 0.4);
  color: #881337;
}

/* Theme 3: Midnight Sapphire */
.vip-invitation-card.theme-navy {
  background: linear-gradient(145deg, #090e17 0%, #0f172a 45%, #1e1b4b 100%);
  border: 2px solid #f59e0b;
  box-shadow: 0 15px 35px -8px rgba(0, 0, 0, 0.65), inset 0 0 0 2px #090e17, inset 0 0 0 4px rgba(245, 158, 11, 0.45);
  color: #ffffff;
}

/* Corner Kbach Motifs */
.kbach-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  opacity: 0.8;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(217, 119, 6, 0.25));
}

.kbach-corner.top-left { top: 8px; left: 8px; }
.kbach-corner.top-right { top: 8px; right: 8px; }
.kbach-corner.bottom-left { bottom: 8px; left: 8px; }
.kbach-corner.bottom-right { bottom: 8px; right: 8px; }

/* Card Head */
.vip-card-head {
  margin-bottom: 4px;
}

.vip-pass-royal-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vip-invitation-card.theme-gold .vip-pass-royal-tag {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fcd34d;
}

.vip-invitation-card.theme-crimson .vip-pass-royal-tag {
  background: #ffe4e6;
  color: #be123c;
  border: 1px solid #fecdd3;
}

.vip-invitation-card.theme-navy .vip-pass-royal-tag {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.vip-card-event-title {
  font-family: 'Kantumruy Pro', 'Moul', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 3px 0 1px 0;
  line-height: 1.3;
}

.vip-invitation-card.theme-gold .vip-card-event-title {
  color: #92400e;
  text-shadow: 0 1px 1px rgba(254, 243, 199, 0.8);
}

.vip-invitation-card.theme-crimson .vip-card-event-title {
  color: #9f1239;
}

.vip-invitation-card.theme-navy .vip-card-event-title {
  color: #fbbf24;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

.vip-card-filigree {
  display: none;
}

/* Couple Avatar & Names */
.vip-card-hero {
  margin: 4px 0 6px 0;
}

.vip-card-avatar-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  padding: 2.5px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24, #d97706);
  box-shadow: 0 3px 12px rgba(217, 119, 6, 0.3);
}

.vip-card-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.vip-card-couple-names {
  font-family: 'Kantumruy Pro', 'Moul', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  margin-top: 4px;
  line-height: 1.25;
}

.vip-invitation-card.theme-gold .vip-card-couple-names {
  color: #78350f;
}

.vip-invitation-card.theme-crimson .vip-card-couple-names {
  color: #881337;
}

.vip-invitation-card.theme-navy .vip-card-couple-names {
  color: #fef08a;
  text-shadow: 0 0 8px rgba(254, 240, 138, 0.3);
}

.vip-card-couple-en {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.75;
  text-transform: uppercase;
  margin-top: 1px;
}

/* Date, Time & Venue */
.vip-card-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  margin: 4px 0;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 3px;
}

.meta-divider {
  opacity: 0.4;
}

.vip-card-venue-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 4px;
  max-width: 92%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vip-invitation-card.theme-gold .vip-card-venue-badge {
  background: rgba(245, 158, 11, 0.12);
  color: #92400e;
}

.vip-invitation-card.theme-crimson .vip-card-venue-badge {
  background: rgba(244, 63, 94, 0.12);
  color: #9f1239;
}

.vip-invitation-card.theme-navy .vip-card-venue-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

/* Divider */
.vip-card-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 6px 0;
}

.vip-card-divider .divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 119, 6, 0.35), transparent);
}

.vip-card-divider .divider-emblem {
  font-size: 0.9rem;
}

/* Honored Guest Section & 3D Gold Plaque */
.vip-card-guest-section {
  margin-bottom: 6px;
}

.guest-honorific-label {
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 3px;
  opacity: 0.88;
}

.vip-guest-gold-plaque {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 1.2px, transparent 1.6px) repeat-x top 2px left 10px / 9px 3px,
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 1.2px, transparent 1.6px) repeat-x bottom 2px left 10px / 9px 3px,
    linear-gradient(180deg, #f59e0b 0%, #fef08a 16%, #fffbeb 50%, #fef08a 84%, #d97706 100%);
  border: 2px solid #fbbf24;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.95), 0 0 0 1px #78350f;
  border-radius: 9999px;
  padding: 4px 18px;
  margin: 3px auto 6px auto;
  min-height: 34px;
  max-width: 90%;
  overflow: visible;
}

.vip-guest-gold-plaque::before,
.vip-guest-gold-plaque::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #fef08a 0%, #d97706 100%);
  border: 1px solid #78350f;
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.vip-guest-gold-plaque::before { left: -4px; }
.vip-guest-gold-plaque::after { right: -4px; }

.vip-guest-gold-plaque .guest-name-text {
  font-family: 'Kantumruy Pro', 'Moul', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1c1917;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
}

.vip-guest-details-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 3px;
}

.vip-detail-pill {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.68rem;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.vip-invitation-card.theme-gold .vip-detail-pill {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(217, 119, 6, 0.25);
  color: #78350f;
}

.vip-invitation-card.theme-crimson .vip-detail-pill {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(225, 29, 72, 0.25);
  color: #881337;
}

.vip-invitation-card.theme-navy .vip-detail-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: #f1f5f9;
}

/* QR Code Showcase */
.vip-card-qr-section {
  margin: 6px 0 4px 0;
}

.vip-qr-box {
  position: relative;
  background: #ffffff !important;
  border: 1.5px solid #f59e0b;
  border-radius: 12px;
  padding: 8px;
  width: fit-content;
  margin: 0 auto;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06), inset 0 0 8px rgba(245, 158, 11, 0.08);
}

.vip-qr-box .qr-corner-accent {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: #d97706;
  border-style: solid;
}

.vip-qr-box .qr-corner-accent.tl { top: -2px; left: -2px; border-width: 2.5px 0 0 2.5px; border-top-left-radius: 4px; }
.vip-qr-box .qr-corner-accent.tr { top: -2px; right: -2px; border-width: 2.5px 2.5px 0 0; border-top-right-radius: 4px; }
.vip-qr-box .qr-corner-accent.bl { bottom: -2px; left: -2px; border-width: 0 0 2.5px 2.5px; border-bottom-left-radius: 4px; }
.vip-qr-box .qr-corner-accent.br { bottom: -2px; right: -2px; border-width: 0 2.5px 2.5px 0; border-bottom-right-radius: 4px; }

.qr-canvas-holder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-canvas-holder canvas,
.qr-canvas-holder img {
  border-radius: 4px;
  display: block;
}

.vip-qr-instructions {
  font-size: 0.7rem;
  font-weight: 700;
  margin: 5px 0 2px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.vip-invitation-card.theme-gold .vip-qr-instructions {
  color: #b45309;
}

.vip-invitation-card.theme-crimson .vip-qr-instructions {
  color: #be123c;
}

.vip-invitation-card.theme-navy .vip-qr-instructions {
  color: #fde047;
}

.vip-pass-security-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.8;
  text-transform: uppercase;
}

/* Mode Selector Switcher Styling */
.vip-pass-mode-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
  margin-bottom: 8px;
}
.btn-pass-mode {
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-pass-mode:hover {
  border-color: #0284c7;
  color: #0284c7;
}
.btn-pass-mode.active[data-pass-mode="invite"] {
  background: #f0fdf4;
  color: #15803d;
  border-color: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.3);
}
.btn-pass-mode.active[data-pass-mode="gift"] {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.3);
}

/* KHQR Box in VIP Pass */
.vip-khqr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
}
.vip-khqr-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}
.khqr-red-tag {
  background: #dc2626;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.68rem;
  padding: 1px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.khqr-bank-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: #475569;
}
.vip-khqr-account-info {
  margin-top: 4px;
  text-align: center;
}
.khqr-account-name {
  font-weight: 800;
  font-size: 0.74rem;
  color: #1e293b;
}
.khqr-account-id {
  font-size: 0.68rem;
  font-weight: 700;
  color: #0284c7;
}

/* Card Bottom Blessing & Branding */
.vip-card-footer {
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px dashed rgba(217, 119, 6, 0.25);
}

.vip-invitation-card.theme-navy .vip-card-footer {
  border-top-color: rgba(251, 191, 36, 0.25);
}

.vip-blessing-text {
  font-size: 0.62rem;
  font-style: italic;
  line-height: 1.3;
  margin: 0;
  opacity: 0.8;
}

.vip-brand-sub {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-top: 2px;
  opacity: 0.5;
  text-transform: uppercase;
}

/* Modal Footer Buttons */
.vip-modal-footer {
  padding: 1rem 1.25rem !important;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: flex-end !important;
}

body[data-color-mode="dark"] .vip-modal-footer {
  background: #0f172a !important;
  border-top-color: #334155 !important;
}

.btn-vip-action {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 10px;
}

.btn-vip-download {
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #ffffff !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-vip-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45) !important;
}

/* =========================================================================
   GRAND LUXURY ONBOARDING SHOWCASE & EMPTY STATES
   ========================================================================= */
.empty-state-cell {
  background: transparent !important;
  border: none !important;
  padding: 2.5rem 1rem !important;
}

.grand-empty-showcase {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.25rem 2rem;
  background: linear-gradient(145deg, #ffffff 0%, #fffdfa 60%, #fef8eb 100%);
  border: 1.5px solid #fde68a;
  border-radius: 24px;
  box-shadow: 0 12px 35px -8px rgba(245, 158, 11, 0.15), 0 2px 10px rgba(0, 0, 0, 0.03);
  text-align: center;
  position: relative;
  overflow: hidden;
}

body[data-color-mode="dark"] .grand-empty-showcase {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-color: #78350f;
  box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.5);
}

.showcase-icon-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 1rem;
}

.showcase-icon {
  font-size: 3rem;
  line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(245, 158, 11, 0.3));
  display: inline-block;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border: 1px solid #fcd34d;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.showcase-title {
  font-family: 'Kantumruy Pro', 'Moul', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  line-height: 1.45;
}

body[data-color-mode="dark"] .showcase-title {
  color: #f8fafc;
}

.showcase-subtitle {
  font-size: 0.9rem;
  color: #475569;
  max-width: 520px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.6;
}

body[data-color-mode="dark"] .showcase-subtitle {
  color: #94a3b8;
}

.showcase-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-showcase-add {
  padding: 10px 24px !important;
  font-size: 0.92rem !important;
  border-radius: 9999px !important;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.35) !important;
  transition: all 0.2s ease !important;
}

.btn-showcase-add:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45) !important;
}

.btn-showcase-excel {
  padding: 10px 22px !important;
  font-size: 0.92rem !important;
  border-radius: 9999px !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #334155 !important;
  transition: all 0.2s ease !important;
}

body[data-color-mode="dark"] .btn-showcase-excel {
  background: #1e293b !important;
  border-color: #475569 !important;
  color: #f1f5f9 !important;
}

.btn-showcase-excel:hover {
  border-color: #0284c7 !important;
  color: #0284c7 !important;
  transform: translateY(-2px);
}

.showcase-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: left;
  border-top: 1px dashed rgba(217, 119, 6, 0.25);
  padding-top: 1.5rem;
}

@media (max-width: 640px) {
  .showcase-steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  padding: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 14px;
  transition: all 0.2s ease;
}

body[data-color-mode="dark"] .step-card {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(245, 158, 11, 0.15);
}

.step-card:hover {
  border-color: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.12);
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
}

.step-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

body[data-color-mode="dark"] .step-title {
  color: #f8fafc;
}

.step-desc {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.45;
}

body[data-color-mode="dark"] .step-desc {
  color: #94a3b8;
}

/* Search empty box */
.search-empty-box {
  padding: 2rem 1.5rem;
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
}

.search-empty-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.search-empty-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.35rem 0;
}

body[data-color-mode="dark"] .search-empty-title {
  color: #f8fafc;
}

.search-empty-sub {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}

/* =========================================================================
   VIP INVITATION TICKET PASS ENHANCEMENTS
   ========================================================================= */
.vip-invitation-card {
  overflow: visible !important;
}

.vip-ticket-cutout-left,
.vip-ticket-cutout-right {
  position: absolute;
  top: 53%;
  width: 22px;
  height: 22px;
  background: var(--bg-modal, #ffffff);
  border-radius: 50%;
  z-index: 10;
  pointer-events: none;
}

body[data-color-mode="dark"] .vip-ticket-cutout-left,
body[data-color-mode="dark"] .vip-ticket-cutout-right {
  background: #0f172a;
}

.vip-ticket-cutout-left {
  left: -12px;
  border-right: 2px solid #d97706;
  box-shadow: inset -2px 0 4px rgba(0, 0, 0, 0.12);
}

.vip-ticket-cutout-right {
  right: -12px;
  border-left: 2px solid #d97706;
  box-shadow: inset 2px 0 4px rgba(0, 0, 0, 0.12);
}

.vip-ticket-dash-line {
  position: absolute;
  top: 53%;
  left: 16px;
  right: 16px;
  margin-top: 10px;
  border-top: 2px dashed rgba(217, 119, 6, 0.35);
  pointer-events: none;
}

.vip-card-filigree-svg {
  display: inline-block;
  vertical-align: middle;
  fill: #d97706;
}

