/* styles.css - Ensemble Travel Event App Design System & Dual Viewport Presentation */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Brand Colors */
  --navy: #222222;        /* Secondary color: Charcoal */
  --navy-light: #333333;
  --navy-dark: #1A1A1A;
  --cream: #FFFFFF;       /* Background: White */
  --cream-dark: rgb(239, 232, 226); /* Tertiary color: Beige */
  --white: #FFFFFF;
  --gold: #ef5e17;        /* Primary color: Orange */
  --gold-light: rgba(239, 94, 23, 0.12);
  --gold-dark: #d24e0f;
  --sage: #6E8A75;
  --sage-light: #EBF2ED;
  --coral: #C97A70;
  --coral-light: #FBEFEF;
  --grey-light: rgb(239, 232, 226); /* Tertiary Beige */
  --grey-medium: #D5D2CC; /* Beige-grey border */
  
  /* Text Colors */
  --text-primary: #222222; /* Charcoal */
  --text-muted: #666666;
  --text-light: #FFFFFF;
  
  /* System Values */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(34, 34, 34, 0.04);
  --shadow-md: 0 8px 24px rgba(34, 34, 34, 0.08);
  --shadow-lg: 0 16px 48px rgba(34, 34, 34, 0.12);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --phone-width: 330px;
  --phone-height: 700px;
  --browser-width: 720px;
  --browser-height: 700px;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #121824; /* Dark canvas background */
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  padding: 24px;
}

h1, h2, h3, .serif-font {
  font-family: 'Playfair Display', serif;
}

/* Presentation Grid Layout */
.app-container {
  display: flex;
  gap: 20px;
  max-width: calc(100% - 290px);
  width: calc(100% - 290px);
  justify-content: flex-start;
  align-items: center;
  position: relative;
  transition: var(--transition);
  margin-left: 290px;
}

.app-container.sidebar-collapsed {
  margin-left: 0;
  max-width: 100%;
  width: 100%;
}

/* LEFT: Devis Sidebar & Technical Proposal Column */
.devis-inspector {
  position: fixed;
  top: 60px;
  left: 0;
  bottom: 0;
  width: 290px;
  background-color: var(--navy);
  color: var(--text-light);
  padding: 20px 16px;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
  gap: 12px;
  opacity: 1;
  z-index: 1000;
  border-radius: 0; /* Flat integrated edge */
  transition: var(--transition);
}

.devis-inspector.collapsed {
  left: -290px;
  opacity: 0;
  pointer-events: none;
}

.inspector-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.inspector-header h2 {
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 4px;
}

.inspector-header p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.close-inspector-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
  padding: 4px;
}

.close-inspector-btn:hover {
  color: var(--gold);
}

.devis-list {
  flex: 1;
  overflow-y: auto;
  list-style: none;
  padding-right: 4px;
}

.devis-list::-webkit-scrollbar {
  width: 4px;
}
.devis-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.devis-item {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-sm);
  padding: 8px 12px;
  margin-bottom: 6px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.devis-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
}

.devis-item.active-highlight {
  background-color: rgba(239, 94, 23, 0.18);
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(239, 94, 23, 0.2);
}

.devis-item .info {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.devis-item .title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.devis-item .desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
  line-height: 1.4;
  white-space: normal;
}

.devis-item.active-highlight .desc {
  max-height: 180px;
  opacity: 1;
  margin-top: 6px;
}

.devis-item .badge {
  font-size: 9px;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: 600;
  flex-shrink: 0;
}

/* Proposal details text card inside sidebar */
.proposal-details-card {
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: var(--border-radius-md);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 180px;
  max-height: 240px;
  overflow-y: auto;
}

.proposal-details-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proposal-details-text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

/* Floating button to reopen sidebar */
.floating-inspector-btn {
  position: fixed;
  left: 20px;
  top: 20px;
  background-color: var(--navy);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: none;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.floating-inspector-btn:hover {
  background-color: var(--navy-light);
  border-color: var(--gold);
}

/* RIGHT: Simulators Area Container */
.simulators-workspace {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
  transition: var(--transition);
}

.presentation-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  padding: 0 4px;
}

.presentation-title-bar h2 {
  font-size: 20px;
  font-weight: 400;
}

.presentation-title-bar h2 span {
  color: var(--gold);
  font-weight: 700;
}

.presentation-budget-pill {
  background-color: var(--gold);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.viewports-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* Simulator Device Frames */
.device-frame {
  background-color: var(--navy-dark);
  border: 12px solid #222222;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Cellphone Simulator Specifics */
.cell-frame {
  width: var(--phone-width);
  height: var(--phone-height);
  border-radius: 44px;
}

/* Computer Simulator Specifics */
.computer-frame {
  width: var(--browser-width);
  height: var(--browser-height);
  border-radius: 24px;
}

/* Phone Status Bar */
.status-bar {
  height: 44px;
  background-color: var(--cream);
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 24px 8px 24px;
  font-size: 13px;
  font-weight: 500;
  z-index: 100;
  letter-spacing: -0.2px;
}

.status-bar .right-icons {
  display: flex;
  gap: 6px;
  align-items: center;
}

.status-bar i {
  font-size: 11px;
}

/* Computer Browser Chrome Header */
.browser-header {
  height: 40px;
  background-color: var(--grey-light);
  border-bottom: 1px solid var(--grey-medium);
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 100;
}

.browser-actions {
  display: flex;
  gap: 6px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #D1D5DB;
}

.browser-dot.red { background-color: #EF4444; }
.browser-dot.yellow { background-color: #F59E0B; }
.browser-dot.green { background-color: #10B981; }

.browser-url-bar {
  flex: 1;
  margin: 0 16px;
  background-color: var(--white);
  border: 1px solid var(--grey-medium);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: monospace;
}

.browser-url-bar i {
  color: var(--sage);
}

/* Screen Areas */
.app-screen {
  flex: 1;
  background-color: var(--cream);
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  padding-bottom: 84px; /* Space for bottom nav */
}

.computer-screen {
  flex: 1;
  background-color: var(--cream);
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Home Indicator for cell */
.home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 5px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  z-index: 101;
  pointer-events: none;
}

/* Bottom Navigation Bar (Cell) */
.bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 76px;
  background-color: rgba(34, 34, 34, 0.95);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px 12px 10px;
  z-index: 90;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 9.5px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  gap: 4px;
  padding: 6px 2px;
  border-radius: 12px;
  white-space: nowrap;
  flex: 1;
}

.nav-item i {
  font-size: 18px;
}

.nav-item.active {
  color: var(--gold);
}

.nav-item:hover {
  color: var(--white);
}

/* Screens Common Styling */
.view-container {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  flex-direction: column;
}

.view-container.active {
  display: flex;
  opacity: 1;
  flex: 1;
}

/* Desktop view-containers should not stretch — let content determine height */
.computer-screen > .view-container.active {
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.view-header {
  background-color: var(--cream);
  color: var(--text-primary);
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--grey-medium);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.view-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.view-header h1 {
  font-size: 24px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.view-header h1 span {
  color: var(--gold);
}

.view-header-meta {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ============================================
   SPLASH SCREEN
   ============================================ */

.splash-screen {
  position: absolute;
  inset: 0;
  z-index: 999;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.splash-screen.visible {
  opacity: 1;
  pointer-events: all;
}

.splash-screen.hiding {
  opacity: 0;
}

.splash-screen--desktop {
  border-radius: 0; /* inherits computer-screen rounding from parent overflow */
}

.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: splashFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

/* Logo ring with pulse */
.splash-logo-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 0 rgba(239, 94, 23, 0.6);
  animation: splashRingPulse 1.6s ease-out infinite;
  position: relative;
}

.splash-logo-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(239, 94, 23, 0.35);
  animation: splashRingGrow 1.6s ease-out infinite;
}

.splash-logo-ring::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px solid rgba(239, 94, 23, 0.15);
  animation: splashRingGrow 1.6s ease-out 0.2s infinite;
}

.splash-logo-ring--lg {
  width: 120px;
  height: 120px;
}

@keyframes splashRingPulse {
  0%   { box-shadow: 0 0 0 0 rgba(239,94,23,0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(239,94,23,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,94,23,0); }
}

@keyframes splashRingGrow {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

.splash-logo-img {
  width: 66px;
  height: auto;
  border-radius: 8px;
  animation: splashLogoReveal 0.7s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.splash-logo-ring--lg .splash-logo-img {
  width: 88px;
}

@keyframes splashLogoReveal {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

.splash-brand {
  font-size: 18px;
  font-weight: 800;
  color: white;
  letter-spacing: 0.5px;
  margin-top: 6px;
  font-family: 'Georgia', serif;
  animation: splashFadeUp 0.6s 0.3s both;
}

.splash-tagline {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: splashFadeUp 0.6s 0.45s both;
}

/* Bouncing loading dots */
.splash-dots {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  animation: splashFadeUp 0.6s 0.6s both;
}

.splash-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: splashDotBounce 0.9s ease-in-out infinite;
}

.splash-dots span:nth-child(2) { animation-delay: 0.15s; }
.splash-dots span:nth-child(3) { animation-delay: 0.30s; }

@keyframes splashDotBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%            { transform: scale(1);   opacity: 1; }
}

/* Auth / SSO Screen (Mobile & Desktop) */
.auth-screen {
  background-color: var(--navy-dark);
  color: var(--text-light);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  text-align: center;
}

.auth-logo {
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--white);
}

.auth-logo span {
  color: var(--gold);
}

.auth-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
}

.auth-box {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.auth-box h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--gold);
  text-align: center;
}

.btn {
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--gold-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--grey-medium);
}

.btn-outline:hover {
  background-color: var(--grey-light);
}

/* For outline buttons inside dark screens like auth */
.auth-screen .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}
.auth-screen .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.auth-divider {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 16px 0;
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
}

.auth-divider::before, .auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
  padding: 0 8px;
}

.magic-link-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: -4px;
}

.input-field {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  transition: var(--transition);
}

.input-field:focus {
  outline: none;
  border-color: var(--gold);
  background-color: rgba(255, 255, 255, 0.08);
}

/* Event List Portal & Filters */
.search-filter-bar {
  padding: 16px 20px;
  background-color: var(--white);
  border-bottom: 1px solid var(--grey-medium);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input-wrapper input {
  width: 100%;
  padding: 8px 16px 8px 36px;
  border-radius: 20px;
  border: 1px solid var(--grey-medium);
  font-size: 12px;
  background-color: var(--white);
  outline: none;
  color: var(--text-primary);
}

.filters-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.filters-row::-webkit-scrollbar {
  display: none;
}

.filter-badge {
  padding: 5px 12px;
  border-radius: 14px;
  background-color: var(--grey-light);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.filter-badge.active {
  background-color: var(--gold);
  color: var(--white);
}


/* Profile Avatar Button (top-right mobile header) */
.profile-avatar-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 2px;
  border-radius: 20px;
  transition: var(--transition);
}

.profile-avatar-btn:active {
  opacity: 0.8;
  transform: scale(0.97);
}

.profile-avatar-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  display: block;
}

.profile-avatar-chevron {
  font-size: 9px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.profile-avatar-chevron.open {
  transform: rotate(180deg);
}

/* Profile Dropdown */
.profile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 12px;
  width: 200px;
  background: var(--white);
  border: 1px solid var(--grey-medium);
  border-radius: var(--border-radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 200;
  overflow: hidden;
  animation: dropdownFadeIn 0.18s ease;
}

.profile-dropdown.open {
  display: block;
}

/* Notification Badge & Dropdown */
.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--coral);
  color: white;
  font-size: 8px;
  font-weight: 700;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid white;
}

.notifications-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 12px;
  width: 250px;
  background: var(--white);
  border: 1px solid var(--grey-medium);
  border-radius: var(--border-radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 200;
  overflow: hidden;
  animation: dropdownFadeIn 0.18s ease;
}

.notifications-dropdown.open {
  display: block;
}

.notifications-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--cream);
  border-bottom: 1px solid var(--grey-medium);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy);
}

.notifications-list {
  max-height: 180px;
  overflow-y: auto;
}

.notification-item {
  padding: 10px 12px;
  border-bottom: 1px solid var(--grey-light);
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.notification-item:hover {
  background: var(--grey-light);
}

.notification-item.unread {
  background-color: rgba(217, 119, 6, 0.05);
  border-left: 3px solid var(--gold);
}

.notification-item .time {
  font-size: 9px;
  color: var(--text-muted);
}

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

.profile-dropdown-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--cream);
}

.profile-dropdown-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.profile-dropdown-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.profile-dropdown-info strong {
  font-size: 11.5px;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-dropdown-info span {
  font-size: 9.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-dropdown-divider {
  height: 1px;
  background: var(--grey-medium);
}

.profile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.15s;
}

.profile-dropdown-item i {
  width: 14px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
}

.profile-dropdown-item:hover {
  background-color: var(--grey-light);
}

.profile-dropdown-logout {
  color: #e53e3e;
  font-weight: 600;
}

.profile-dropdown-logout i {
  color: #e53e3e;
}

/* Keep segment-banner hidden (unused now, kept for JS compat) */
.segment-banner { display: none !important; }


/* Event List Card */
.events-list {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-medium);
  cursor: pointer;
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.event-card-img {
  height: 130px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.event-card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--gold);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.event-card-info {
  padding: 14px;
}

.event-card-date {
  font-size: 10px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.event-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.event-card-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
}

.event-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Event Detail Page View */
.event-detail-header {
  height: 190px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: var(--text-light);
  flex-shrink: 0;
}

.event-detail-header::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(to top, rgba(20,20,20,0.92) 0%, rgba(20,20,20,0.15) 60%, transparent 100%);
}

.event-detail-header-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.event-detail-back {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  color: white;
  font-size: 12px;
  transition: var(--transition);
}

.event-detail-back:hover { background-color: rgba(0,0,0,0.75); }

.event-detail-tabs {
  background-color: var(--white);
  border-bottom: 1px solid var(--grey-medium);
  display: flex;
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.detail-tab {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  min-width: 60px;
  transition: var(--transition);
}

.detail-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.detail-content {
  display: none;
  flex: 1;
  overflow-y: auto;
}

.detail-content.active {
  display: block;
}

.detail-content p {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 12px;
}

/* Detail sections wrapper */
.detail-section {
  padding: 14px 16px 80px;
}

.detail-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary, #555);
  margin-bottom: 14px;
}

/* Stats row */
.detail-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.detail-stat {
  background: var(--white);
  border: 1px solid var(--grey-medium);
  border-radius: var(--border-radius-sm);
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--navy);
}

.detail-stat i {
  color: var(--gold);
  font-size: 14px;
}

/* Info block */
.detail-info-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  background: var(--white);
  border: 1px solid var(--grey-medium);
  border-radius: var(--border-radius-sm);
  padding: 10px 12px;
}

.detail-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11.5px;
}

.detail-info-row i {
  color: var(--gold);
  width: 14px;
  margin-top: 1px;
  flex-shrink: 0;
}

.detail-info-row div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.detail-info-row strong {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.detail-info-row span {
  font-size: 12px;
  color: var(--navy);
  font-weight: 500;
}

/* Speakers */
.detail-speakers-row {
  display: flex;
  gap: 12px;
}

.detail-speaker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.detail-speaker:hover {
  transform: translateY(-2px);
}

.detail-speaker img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--grey-medium);
  transition: all 0.25s ease;
}

.detail-speaker:hover img {
  border-color: var(--gold);
  box-shadow: 0 4px 8px rgba(183, 143, 80, 0.35);
}

.detail-speaker span {
  font-size: 9.5px;
  color: var(--text-muted);
  text-align: center;
  transition: all 0.25s ease;
}

.detail-speaker:hover span {
  color: var(--navy);
  font-weight: 600;
}

/* Agenda items in detail */
.detail-agenda-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-light);
}

.detail-agenda-item:last-child { border-bottom: none; }

.detail-agenda-time {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  min-width: 38px;
  padding-top: 2px;
  flex-shrink: 0;
}

.detail-agenda-item div { flex: 1; }

.detail-agenda-item strong {
  display: block;
  font-size: 11.5px;
  color: var(--navy);
  font-weight: 700;
}

.detail-agenda-item p {
  font-size: 10.5px;
  color: var(--text-muted);
  margin: 2px 0 0;
  line-height: 1.4;
}

/* Package cards */
.detail-package-card {
  background: var(--white);
  border: 1px solid var(--grey-medium);
  border-radius: var(--border-radius-md);
  padding: 14px;
  margin-bottom: 10px;
  position: relative;
}

.detail-package-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.detail-package-badge {
  position: absolute;
  top: -1px;
  right: 12px;
  background: var(--gold);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 0 0 6px 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-package-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.detail-package-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
}

.detail-package-price span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.detail-package-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.detail-package-perks li {
  font-size: 11px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-package-perks i {
  color: var(--gold);
  font-size: 10px;
}

/* FAQ */
.detail-faq-item {
  border-bottom: 1px solid var(--grey-light);
  padding: 12px 0;
}

.detail-faq-item:first-child { padding-top: 0; }

.detail-faq-q {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 5px;
}

.detail-faq-q i { color: var(--gold); font-size: 12px; margin-top: 1px; flex-shrink: 0; }

.detail-faq-a {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 18px;
}

/* Sticky Register CTA Footer */
.detail-cta-footer {
  position: sticky;
  bottom: 0; /* directly above the bottom nav when scrolled, but behaves as sticky inside container */
  left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--grey-medium);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
  z-index: 50;
  flex-shrink: 0;
}


.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.info-item {
  background-color: var(--white);
  border-radius: var(--border-radius-sm);
  padding: 10px;
  border: 1px solid var(--grey-medium);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-item .label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.info-item .value {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

/* Multi-step Registration Wizard */
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(34, 34, 34, 0.5);
  z-index: 150;
  display: none;
  justify-content: flex-end;
  flex-direction: column;
}

.modal-sheet {
  background-color: var(--cream);
  border-top-left-radius: var(--border-radius-lg);
  border-top-right-radius: var(--border-radius-lg);
  max-height: 85%;
  overflow-y: auto;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.1, 0.76, 0.55, 0.94);
}

.modal-overlay.active {
  display: flex;
}

.modal-overlay.active .modal-sheet {
  transform: translateY(0);
}

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

.modal-header h2 {
  font-size: 18px;
  color: var(--navy);
}

.modal-close {
  font-size: 18px;
  cursor: pointer;
  color: var(--text-muted);
}

.wizard-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 6px;
}

.wizard-steps::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 10px;
  right: 10px;
  height: 2px;
  background-color: var(--grey-medium);
  z-index: 1;
}

.wizard-step-indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--grey-medium);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
  position: relative;
  transition: var(--transition);
}

.wizard-step-indicator.active {
  background-color: var(--gold);
  color: var(--white);
  box-shadow: 0 0 0 4px var(--gold-light);
}

.wizard-step-indicator.completed {
  background-color: var(--navy);
  color: var(--white);
}

.wizard-content {
  flex: 1;
}

.wizard-pane {
  display: none;
}

.wizard-pane.active {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Card Selection List */
.selection-card {
  background-color: var(--white);
  border: 2px solid var(--grey-medium);
  border-radius: var(--border-radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.selection-card.active {
  border-color: var(--gold);
  background-color: var(--grey-light);
}

.selection-card .details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.selection-card .title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.selection-card .desc {
  font-size: 11px;
  color: var(--text-muted);
}

.selection-card .price {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.badge {
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  white-space: nowrap;
}

/* Form Group layouts */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input, .form-group select {
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--grey-medium);
  outline: none;
  font-family: inherit;
  font-size: 12.5px;
  background-color: var(--white);
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--gold);
}

/* Square checkout sheet */
.square-sheet {
  background-color: var(--grey-light);
  border: 1px solid var(--grey-medium);
  border-radius: var(--border-radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.square-logo {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #222;
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
}

.square-logo i {
  color: #00D4B2;
}

.promo-input-row {
  display: flex;
  gap: 8px;
}

.promo-input-row input {
  flex: 1;
}

.promo-input-row button {
  width: auto;
  padding: 0 12px;
}

.price-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-muted);
  border-top: 1px solid var(--grey-medium);
  padding-top: 6px;
}

.price-summary-row.total {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  border-top: 1px dotted var(--grey-medium);
  padding-top: 6px;
  margin-top: 2px;
}

/* Session selectors inside wizard */
.session-select-item {
  border: 1px solid var(--grey-medium);
  border-radius: var(--border-radius-sm);
  padding: 10px;
  background-color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.session-select-details {
  flex: 1;
}

.session-select-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.session-select-time {
  font-size: 10.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.session-capacity-pill {
  font-size: 9.5px;
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
}

.session-capacity-pill.available {
  background-color: var(--sage-light);
  color: var(--sage);
}

.session-capacity-pill.limited {
  background-color: #FEF3C7;
  color: #D97706;
}

.session-capacity-pill.full {
  background-color: var(--coral-light);
  color: var(--coral);
}

.btn-checkbox {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--grey-medium);
  background-color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 12px;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-checkbox.checked {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.btn-checkbox.full-state {
  background-color: var(--grey-light);
  border-color: var(--grey-medium);
  cursor: not-allowed;
  color: var(--text-muted);
}

/* Agenda Calendar layout */
.agenda-day-bar {
  display: flex;
  background-color: var(--white);
  border-bottom: 1px solid var(--grey-medium);
  padding: 8px 16px;
  gap: 8px;
}

.agenda-day-btn {
  flex: 1;
  padding: 6px 10px;
  border-radius: var(--border-radius-sm);
  background-color: var(--grey-light);
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: var(--transition);
}

.agenda-day-btn.active {
  background-color: var(--gold);
  color: var(--white);
}

.agenda-day-btn .num {
  font-size: 14px;
  font-weight: 700;
}

.agenda-day-btn .day {
  font-size: 8px;
  text-transform: uppercase;
  font-weight: 600;
}

.agenda-timeline {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.agenda-item {
  display: flex;
  gap: 12px;
}

.agenda-time-column {
  width: 38px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
  padding-top: 4px;
}

.agenda-card {
  flex: 1;
  background-color: var(--white);
  border-radius: var(--border-radius-sm);
  padding: 12px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  border-top: 1px solid var(--grey-medium);
  border-right: 1px solid var(--grey-medium);
  border-bottom: 1px solid var(--grey-medium);
  position: relative;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.agenda-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.agenda-card.virtual {
  border-left-color: var(--sage);
}

.agenda-card.networking {
  border-left-color: var(--navy-light);
}

.agenda-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.agenda-card-speaker {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.agenda-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.agenda-card-room {
  font-size: 10px;
  background-color: var(--grey-light);
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--text-muted);
}

.btn-join-stream {
  padding: 4px 8px;
  font-size: 10px;
  background-color: var(--sage);
  color: var(--white);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

/* Virtual Zoom Mockup */
.virtual-stream-pane {
  background-color: #000;
  aspect-ratio: 16/9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.virtual-stream-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.virtual-stream-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.virtual-stream-overlay i {
  color: #EF4444;
  animation: pulse 1s infinite alternate;
}

.virtual-interaction-tabs {
  background-color: var(--white);
  border-bottom: 1px solid var(--grey-medium);
  display: flex;
}

.virtual-tab {
  flex: 1;
  text-align: center;
  padding: 10px 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.virtual-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.virtual-interactive-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  overflow-y: auto;
  min-height: 180px;
}

.virtual-pane-tab {
  display: none;
  flex-direction: column;
  height: 100%;
  padding: 10px;
}

.virtual-pane-tab.active {
  display: flex;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 6px;
  max-height: 150px;
}

.chat-message {
  font-size: 11.5px;
  background-color: var(--grey-light);
  padding: 6px 8px;
  border-radius: var(--border-radius-sm);
  max-width: 90%;
}

.chat-message .user {
  font-weight: 700;
  color: var(--navy);
  margin-right: 6px;
}

.chat-input-row {
  display: flex;
  gap: 6px;
}

.chat-input-row input {
  flex: 1;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--grey-medium);
  font-size: 11px;
}

.chat-input-row button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--navy-light);
  color: var(--white);
  border: none;
  cursor: pointer;
}

.qna-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  max-height: 150px;
  margin-bottom: 6px;
}

.qna-card {
  background-color: var(--grey-light);
  border-radius: var(--border-radius-sm);
  padding: 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
}

.qna-card-content {
  flex: 1;
  font-size: 11px;
}

.qna-card-user {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.qna-card-upvote {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--white);
  border: 1px solid var(--grey-medium);
  padding: 3px 5px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  min-width: 24px;
}

.qna-card-upvote.upvoted {
  background-color: var(--gold-light);
  border-color: var(--gold);
  color: var(--gold);
}

.poll-card {
  background-color: var(--grey-light);
  border-radius: var(--border-radius-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.poll-question {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.poll-option-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.poll-option {
  position: relative;
  background-color: var(--white);
  border: 1px solid var(--grey-medium);
  padding: 6px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 10.5px;
  font-weight: 500;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
}

.poll-option-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background-color: var(--gold-light);
  transition: width 0.5s ease;
  z-index: 1;
}

.poll-option-text {
  position: relative;
  z-index: 2;
}

.poll-option-pct {
  position: relative;
  z-index: 2;
  font-weight: 700;
}

/* Networking */
.matching-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.attendee-card {
  background-color: var(--white);
  border: 1px solid var(--grey-medium);
  border-radius: var(--border-radius-sm);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.attendee-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--grey-light);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.attendee-info {
  flex: 1;
}

.attendee-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
}

.attendee-title {
  font-size: 10px;
  color: var(--text-muted);
}

.attendee-match-badge {
  font-size: 8.5px;
  background-color: var(--sage-light);
  color: var(--sage);
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 700;
  display: inline-block;
  margin-top: 1px;
}

.btn-book {
  padding: 5px 10px;
  font-size: 10.5px;
  background-color: var(--gold);
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
}

/* Pass & QR code */
.pass-wrapper {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.pass-card {
  width: 100%;
  background-color: var(--navy);
  color: var(--text-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.pass-card-header {
  padding: 12px 16px;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pass-card-logo img {
  height: 18px;
  width: auto;
}

.pass-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pass-qr-wrapper {
  background-color: var(--white);
  padding: 10px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pass-qr-wrapper svg {
  width: 120px;
  height: 120px;
}

.pass-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.pass-role {
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.badge-print-indicator {
  width: 100%;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-sm);
  margin-top: 12px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.badge-print-indicator i {
  color: var(--sage);
}

.printed-badge-box {
  background-color: var(--white);
  border: 1px solid var(--grey-medium);
  border-radius: var(--border-radius-sm);
  padding: 12px;
  width: 100%;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: print-slide 1s ease forwards;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.printed-badge-header {
  width: 100%;
  background-color: var(--navy);
  color: var(--white);
  padding: 4px;
  text-align: center;
  font-weight: 700;
  font-size: 10px;
  margin-bottom: 8px;
}

/* Hotel pre-booking cards */
.hotel-room-card {
  background-color: var(--white);
  border: 1px solid var(--grey-medium);
  border-radius: var(--border-radius-sm);
  padding: 10px;
  display: flex;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.hotel-room-img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
}

.hotel-room-details {
  flex: 1;
  text-align: left;
}

.hotel-room-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.hotel-room-price {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  margin: 1px 0;
}

.hotel-room-inventory {
  font-size: 9.5px;
  color: var(--text-muted);
}

/* ========================================== */
/* DESKTOP SIMULATOR PORTAL SPECIFICS         */
/* ========================================== --> */

/* Top header navbar in desktop portal mockup */
.desktop-nav {
  height: 52px;
  background-color: var(--white);
  border-bottom: 1px solid var(--grey-medium);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  flex-shrink: 0;
}

.desktop-nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav-left img {
  height: 24px;
  width: auto;
  cursor: pointer;
}

.desktop-nav-menu {
  display: flex;
  gap: 12px; /* Reduced from 16px */
  list-style: none;
}

.desktop-menu-item {
  font-size: 11.5px; /* Reduced from 12px */
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 17px 2px; /* Reduced padding */
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.desktop-menu-item.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.desktop-menu-item:hover {
  color: var(--gold);
}

.desktop-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  white-space: nowrap;
}

.desktop-nav-right span {
  white-space: nowrap;
}

.desktop-nav-right strong {
  color: var(--navy);
}

.desktop-nav-logout {
  color: var(--coral);
  cursor: pointer;
  margin-left: 8px;
}

/* Main inner layout for desktop screens */
.desktop-container {
  padding: 16px 24px 24px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}

/* Layout variations */
.desktop-grid-2col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.desktop-grid-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

/* Desktop portal cards */
.desktop-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--grey-medium);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.desktop-card-header {
  border-bottom: 1px solid var(--grey-light);
  padding-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.desktop-card-header h3 {
  font-size: 15px;
  color: var(--navy);
  font-weight: 700;
}

/* Large Hero Event Banner for Desktop */
.desktop-hero-banner {
  height: 200px;
  border-radius: var(--border-radius-md);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: var(--white);
}

.desktop-hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(34,34,34,0.9) 0%, rgba(34,34,34,0.1) 100%);
  border-radius: var(--border-radius-md);
}

.desktop-hero-banner-content {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* Desktop Event details list */
.desktop-event-grid-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Desktop Table layout */
.desktop-table-wrapper {
  border: 1px solid var(--grey-medium);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  background: white;
}

.desktop-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.desktop-table th {
  background-color: var(--grey-light);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--grey-medium);
}

.desktop-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--grey-medium);
}

.desktop-table tr:last-child td {
  border-bottom: none;
}

/* Calendar Month Grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid var(--grey-medium);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.calendar-header-day {
  background-color: var(--grey-light);
  padding: 8px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--grey-medium);
}

.calendar-cell {
  background-color: var(--white);
  height: 80px;
  padding: 6px;
  border-right: 1px solid var(--grey-medium);
  border-bottom: 1px solid var(--grey-medium);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calendar-cell:nth-child(7n) { border-right: none; }

.calendar-day-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.calendar-cell.active-day .calendar-day-num {
  color: var(--gold);
}

.calendar-event-pill {
  font-size: 9px;
  background-color: var(--gold-light);
  color: var(--gold-dark);
  padding: 2px 4px;
  border-radius: 3px;
  border-left: 2px solid var(--gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.calendar-event-pill.virtual {
  background-color: var(--sage-light);
  color: var(--sage);
  border-left-color: var(--sage);
}

/* Admin Metric box (desktop) */
.desktop-admin-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 16px;
}

/* Desktop Zoom Video Layout */
.desktop-stream-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
  background-color: var(--white);
  border: 1px solid var(--grey-medium);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Admin Dashboard Sync logs terminal */
.admin-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-stat-card {
  background-color: var(--white);
  border-radius: var(--border-radius-sm);
  padding: 12px;
  border: 1px solid var(--grey-medium);
}

.admin-stat-label {
  font-size: 9.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
}

.admin-stat-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.admin-stat-sub {
  font-size: 9px;
  color: var(--sage);
  margin-top: 2px;
}

.admin-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  padding: 6px 14px;
  background-color: var(--grey-light);
  border-top: 1px solid var(--grey-medium);
  border-bottom: 1px solid var(--grey-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.crm-sync-box {
  padding: 12px 14px;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sync-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
}

.sync-status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.sync-status-indicator::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--sage);
}

.sync-log-terminal {
  background-color: #1A222D;
  color: #8CE8C1;
  font-family: monospace;
  font-size: 9.5px;
  padding: 8px;
  border-radius: var(--border-radius-sm);
  height: 80px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.sync-log-line {
  margin-bottom: 3px;
  line-height: 1.3;
}

.transaction-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px;
}

.transaction-table th {
  background-color: var(--grey-light);
  padding: 6px 8px;
  text-align: left;
  color: var(--text-muted);
}

.transaction-table td {
  padding: 8px;
  border-bottom: 1px solid var(--grey-medium);
  background-color: var(--white);
}

.btn-refund {
  padding: 2px 4px;
  background-color: var(--coral-light);
  color: var(--coral);
  border: 1px solid rgba(201, 122, 112, 0.3);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 10px;
}

.btn-refund:hover {
  background-color: var(--coral);
  color: var(--white);
}

.refunded-label {
  color: var(--text-muted);
  font-style: italic;
}

/* Toast Notifications */
.toast-container {
  position: absolute;
  top: 60px;
  left: 20px;
  right: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast-container-mobile {
  position: absolute;
  top: 55px;
  left: 10px;
  right: 10px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}

.toast-container-desktop {
  position: absolute;
  top: 70px;
  right: 20px;
  width: 320px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background-color: var(--navy);
  color: var(--text-light);
  border-radius: var(--border-radius-sm);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  animation: slideIn 0.3s cubic-bezier(0.1, 0.76, 0.55, 0.94) forwards,
             fadeOut 0.3s cubic-bezier(0.1, 0.76, 0.55, 0.94) 2.7s forwards;
  pointer-events: auto;
}

.toast.success {
  border-left-color: var(--sage);
}

.toast.error {
  border-left-color: var(--coral);
}

.toast-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
}

/* Animations */
@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

@keyframes pulse {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

@keyframes print-slide {
  0% { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
  100% { max-height: 250px; opacity: 1; padding-top: 12px; padding-bottom: 12px; }
}

/* Responsive Overrides (Presentational layout) */
@media (max-width: 1200px) {
  body {
    align-items: flex-start;
    overflow-x: auto;
  }
  .app-container {
    justify-content: flex-start;
  }
}

.mobile-inspector-toggle {
  display: none;
}

/* ========================================== */
/* DYNAMIC PRESENTATION WIDGET ENHANCEMENTS   */
/* ========================================== */

/* Desktop home page sidebar elements */
.desktop-sidebar-filters {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: var(--white);
  border: 1px solid var(--grey-medium);
  border-radius: var(--border-radius-md);
  padding: 20px;
}

.desktop-filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.desktop-filter-group h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.desktop-checkbox-label {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-muted);
}

.desktop-checkbox-label input {
  accent-color: var(--gold);
  cursor: pointer;
}

.partner-logo-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.partner-logo-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background-color: var(--white);
  border: 1px solid var(--grey-medium);
  border-radius: var(--border-radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.partner-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--gold-light);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Speakers gallery for event details page */
.speaker-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.speaker-card {
  background-color: var(--white);
  border: 1px solid var(--grey-medium);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.speaker-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--grey-light);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.speaker-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
}

.speaker-title {
  font-size: 10.5px;
  color: var(--text-muted);
}

/* Travel wallet cards (Flights, Weather) */
.travel-widget-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.travel-card {
  background-color: var(--white);
  border: 1px solid var(--grey-medium);
  border-radius: var(--border-radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.travel-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--gold-light);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.travel-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.travel-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.travel-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

/* SVG charts vectors rendering */
.svg-chart-container {
  width: 100%;
  height: 140px;
  background-color: var(--white);
  border: 1px solid var(--grey-medium);
  border-radius: var(--border-radius-sm);
  padding: 10px;
  margin-top: 6px;
}

.svg-chart-container svg {
  width: 100%;
  height: 100%;
}

/* Web Checkout portal elements */
.desktop-checkout-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
}

.desktop-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.desktop-checkout-form-section {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--grey-medium);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.desktop-checkout-form-section h3 {
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid var(--grey-light);
  padding-bottom: 10px;
  color: var(--navy);
}

@keyframes pulse {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

/* Portal Global CSS Override */
.portal-main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #1a2333;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
  z-index: 1100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.portal-logo-group {
  display: flex;
  align-items: center;
}

.portal-tab-bar {
  display: flex;
  gap: 12px;
}

.portal-tab-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.portal-tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
}

.portal-tab-btn.active {
  background-color: var(--gold);
  border-color: var(--gold);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 94, 23, 0.25);
}

/* Adjust main body and container for fixed header */
body {
  padding-top: 84px !important;
}

.portal-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100vh - 120px);
}

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

#section-demo {
  justify-content: flex-start !important;
}

/* Presentation Slides Layout */
.slides-container {
  width: 100%;
  max-width: 1420px;
  min-height: 680px;
  background: linear-gradient(135deg, rgba(20, 16, 35, 0.85) 0%, rgba(8, 7, 15, 0.92) 100%), url('premium_dark_bg.png');
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(239, 94, 23, 0.35); /* Elegant gold/orange accent border */
  border-radius: var(--border-radius-lg);
  padding: 64px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.75), inset 0 1px 2px rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  color: white;
  margin-top: 24px;
  position: relative;
  backdrop-filter: blur(25px);
  transition: background 0.5s ease;
}

/* Background Theme Variants */
.slides-container.bg-premium-dark {
  background: linear-gradient(135deg, rgba(20, 16, 35, 0.85) 0%, rgba(8, 7, 15, 0.92) 100%), url('premium_dark_bg.png');
  background-size: cover;
  background-position: center;
}

.slides-container.bg-luxury {
  background: linear-gradient(135deg, rgba(26, 21, 44, 0.88) 0%, rgba(13, 11, 23, 0.94) 100%), url('luxury_bg.png');
  background-size: cover;
  background-position: center;
}

.slides-container.bg-tech {
  background: linear-gradient(135deg, rgba(18, 24, 38, 0.88) 0%, rgba(10, 12, 18, 0.94) 100%), url('tech_bg.png');
  background-size: cover;
  background-position: center;
}

.slides-container.bg-charcoal {
  background: linear-gradient(135deg, #222222 0%, #0d0d0d 100%);
  background-size: cover;
  background-position: center;
}

.slide {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.slide.active {
  display: block;
}

.slide h2 {
  font-size: 52px; /* Enlarge title size */
  color: white;
  margin-bottom: 16px;
}

.slide-subtitle {
  font-size: 22px; /* Enlarge subtitle size */
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.5;
}

.slide-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px; /* Enlarge list spacing */
  margin-top: 15px;
}

.slide-list li {
  font-size: 21px; /* Enlarge list text size */
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  gap: 22px;
}

.slide-list li i {
  color: var(--gold);
  font-size: 34px; /* Enlarge list icon size */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
}

.slide-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.3s ease;
}

.slide-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
  border-color: var(--gold);
}

.slide-card h4 {
  font-size: 20px; /* Enlarge card title */
  color: white;
  margin-bottom: 10px;
}

.slide-card p {
  font-size: 13.5px; /* Enlarge card description */
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.slides-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  margin-top: 10px;
}

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

/* HubSpot Sync Visualizer Styles */
.sync-visual-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111827;
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 4px 0;
}

.sync-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.sync-node.ensemble-node {
  background: white;
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 10px rgba(239, 94, 23, 0.2);
}

.sync-node.hubspot-node {
  background: #fff6f3;
  border: 1.5px solid #FF7A59;
  box-shadow: 0 0 10px rgba(255, 122, 89, 0.2);
}

.sync-node.hubspot-node i {
  color: #FF7A59;
  font-size: 18px;
}

.sync-connector {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 20px;
  margin: 0 8px;
}

.sync-connector::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, #FF7A59 100%);
  transform: translateY(-50%);
  opacity: 0.3;
}

.sync-dots {
  display: flex;
  gap: 5px;
  z-index: 1;
}

.sync-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: syncDotPulse 1.2s infinite ease-in-out;
}

.sync-dot:nth-child(1) {
  animation-delay: 0s;
}

.sync-dot:nth-child(2) {
  background: #f76c3b;
  animation-delay: 0.2s;
}

.sync-dot:nth-child(3) {
  background: #FF7A59;
  animation-delay: 0.4s;
}

@keyframes syncDotPulse {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.4);
    opacity: 1;
    box-shadow: 0 0 6px currentColor;
  }
}

.sync-arrow {
  color: var(--gold);
  font-size: 7px;
  opacity: 0.8;
  z-index: 1;
  animation: syncArrowPulse 1.5s infinite;
}

.sync-arrow-left {
  position: absolute;
  left: 2px;
  animation-name: syncArrowLeftAnim;
}

.sync-arrow-right {
  position: absolute;
  right: 2px;
  color: #FF7A59;
  animation-name: syncArrowRightAnim;
}

@keyframes syncArrowLeftAnim {
  0% { transform: translateX(3px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(-3px); opacity: 0; }
}

@keyframes syncArrowRightAnim {
  0% { transform: translateX(-3px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(3px); opacity: 0; }
}

/* Persistent mobile header styles & visibility rules */
.persistent-mobile-header {
  border-bottom: 1px solid var(--grey-medium);
  box-shadow: var(--shadow-sm);
  background-color: var(--cream);
  z-index: 100;
}

.app-screen:has(#view-login.active) .persistent-mobile-header,
.app-screen:has(.splash-screen.visible) .persistent-mobile-header {
  display: none !important;
}

/* Apple Wallet Mock Overlay Card Styles */
.apple-wallet-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
  border-radius: 44px; /* Matches phone screen rounded frame */
}

.apple-wallet-overlay.show-wallet {
  opacity: 1;
  pointer-events: auto;
}

.wallet-pass-card {
  width: 250px;
  background: linear-gradient(135deg, #111 0%, #222 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(40px) scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: white;
}

.apple-wallet-overlay.show-wallet .wallet-pass-card {
  transform: translateY(0) scale(1);
}

.wallet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.wallet-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wallet-pass-title {
  font-size: 13px;
  font-weight: 700;
  color: #ef5e17; /* Ensemble orange primary theme on card */
}

.wallet-pass-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.wallet-label {
  font-size: 7.5px;
  color: #888;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.wallet-value {
  font-size: 11px;
  font-weight: 600;
}

.wallet-qr-area {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.wallet-success-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: rgba(52, 199, 89, 0.15);
  border: 1px solid rgba(52, 199, 89, 0.3);
  color: #34c759;
  font-size: 10.5px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 20px;
  margin-top: 4px;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.4s ease 0.3s;
}

.wallet-success-badge.visible {
  opacity: 1;
  transform: scale(1);
}

/* Fix mobile registration modal height and scroll */
#registrationModal .modal-sheet {
  max-height: 98%;
  height: auto;
  overflow: hidden;
  padding: 14px 16px;
  gap: 10px;
}

#registrationModal .wizard-steps {
  margin-bottom: 2px;
}

#registrationModal h2 {
  font-size: 15px;
}

#registrationModal h3 {
  font-size: 12.5px;
  margin-bottom: 4px;
}

#registrationModal p {
  font-size: 9.5px;
  margin-bottom: 6px;
}

#registrationModal .selection-card {
  padding: 8px 10px;
  margin-top: 5px;
}

#registrationModal .selection-card .title {
  font-size: 11px;
}

#registrationModal .selection-card .desc {
  font-size: 9px;
  line-height: 1.2;
}

#registrationModal .selection-card .price {
  font-size: 12px;
}

#registrationModal .btn-checkbox {
  width: 14px;
  height: 14px;
}

#registrationModal .btn {
  padding: 8px 14px;
  font-size: 11.5px;
}

#registrationModal .input-field {
  padding: 5px 10px;
  font-size: 11px;
}

