/* ==========================================================================
   SimpleShare Studios — Meeting Studio 3-Room Bundle & 5 Theme Skins
   Modular styles for Meeting Room, Waiting Lobby, and Replay Simulation
   ========================================================================== */

/* ── 3-Column Studio Layout Override for Meeting Studio ─────────────────── */
.meeting-studio-layout.has-studio-deck {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: stretch;
  width: 100%;
  height: calc(100vh - 225px);
  min-height: 480px;
  box-sizing: border-box;
  overflow: hidden;
  transition: grid-template-columns 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.meeting-studio-layout.has-studio-deck > .studio-deck-left {
  grid-column: 1 !important;
  width: 280px;
  max-width: 280px;
  min-width: 0;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.meeting-studio-layout.has-studio-deck > .meeting-stage-wrap {
  grid-column: 2 !important;
  min-width: 0;
}

.meeting-studio-layout.has-studio-deck > .meeting-inspector {
  grid-column: 3 !important;
  width: 340px;
  max-width: 340px;
  min-width: 340px;
}

/* Collapsed Left Deck for Meeting Studio */
.meeting-studio-layout.has-studio-deck.deck-collapsed {
  grid-template-columns: 0px minmax(0, 1fr) 340px !important;
  gap: 16px;
}

.meeting-studio-layout.has-studio-deck.deck-collapsed > .studio-deck-left {
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.meeting-studio-layout.has-studio-deck.deck-collapsed .stage-deck-expand-btn {
  display: inline-flex !important;
}

@media (max-width: 1300px) {
  .meeting-studio-layout.has-studio-deck {
    grid-template-columns: 240px minmax(0, 1fr) 300px;
    gap: 12px;
  }
  .meeting-studio-layout.has-studio-deck.deck-collapsed {
    grid-template-columns: 0px minmax(0, 1fr) 300px !important;
    gap: 12px;
  }
  .meeting-studio-layout.has-studio-deck > .meeting-inspector {
    width: 300px;
    max-width: 300px;
    min-width: 300px;
  }
}

@media (max-width: 992px) {
  .meeting-studio-layout.has-studio-deck {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    overflow-y: visible;
    gap: 16px;
  }
  .meeting-studio-layout.has-studio-deck > .studio-deck-left,
  .meeting-studio-layout.has-studio-deck > .meeting-stage-wrap,
  .meeting-studio-layout.has-studio-deck > .meeting-inspector {
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

/* ── Meeting Stage Container: 100% Responsive Screen (Zero Vertical Scrollbars) ── */
.meeting-stage-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: hidden !important;
  gap: 6px;
  box-sizing: border-box;
  padding: 0;
}

.meeting-stage-wrap .browser-mockup-frame {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden !important;
  border-radius: 12px;
}

.meeting-stage-wrap .meeting-stage-canvas-wrap {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden !important;
  padding: 0;
  box-sizing: border-box;
}

.meeting-stage-wrap .meeting-stage-canvas {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden !important;
}

.meeting-bundle-canvas {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: 0 0 12px 12px;
  overflow: hidden !important;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
  border: none;
  box-sizing: border-box;
}

.meeting-stage-wrap .studio-share-dock {
  flex: 0 0 auto;
  margin: 0;
  border-radius: 8px;
  padding: 6px 14px;
}

/* Room 1: Live Interactive Conference Stage (Responsive Flex Container) */
.meeting-subroom-view {
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.meeting-room-bar {
  flex: 0 0 auto;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  flex-wrap: nowrap !important;
  overflow: hidden;
  gap: 10px;
}

.meeting-room-bar .mrb-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-shrink: 1;
  flex-wrap: nowrap !important;
  overflow: hidden;
}

.meeting-room-bar .mrb-video-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.meeting-room-bar .mrb-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap !important;
  min-width: 0;
  flex-shrink: 0;
}

.meeting-room-bar .meeting-view-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap !important;
  min-width: 0;
}

.meeting-room-bar .meeting-view-tabs .mvt-btn {
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 4px;
}

/* Dynamic Meeting Stage Video Container: 100% Flex Fill without voids */
.meeting-video-container {
  position: relative;
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 0 12px 12px !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

/* Stage views in Room 1: Speaker, Gallery, Multi, Whiteboard */
.meeting-stage-view {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  width: 100% !important;
  overflow: hidden !important;
  display: none;
  position: relative;
}

.meeting-stage-view.active {
  display: flex !important;
  flex-direction: column;
}

.stage-speaker {
  height: auto !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  background: #020610;
  position: relative;
  overflow: hidden;
}

.speaker-stage-canvas {
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

@keyframes speakerAuraPulse {
  0% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.45), 0 0 0 0 rgba(59, 130, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 42px rgba(6, 182, 212, 0.75), 0 0 0 12px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.45), 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

.speaker-avatar-giant {
  animation: speakerAuraPulse 3s ease-in-out infinite;
}

.stage-gallery {
  height: auto !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  background: #020610;
  padding: 10px;
  box-sizing: border-box;
}

.gallery-grid-canvas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.stage-multi {
  height: auto !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  background: #020610;
  padding: 10px;
  box-sizing: border-box;
}

.multi-presenter-canvas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.stage-whiteboard {
  height: auto !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden;
}

/* Transport Bar: Pinned cleanly at bottom of Room without pushing screen */
.meeting-transport-bar {
  flex: 0 0 auto !important;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  box-sizing: border-box;
  margin: 0 !important;
  border-radius: 0 0 12px 12px;
  background: rgba(4, 9, 22, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: nowrap !important;
  overflow: hidden;
  gap: 6px;
  z-index: 10;
}

.meeting-transport-bar .mtb-left {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap !important;
  min-width: 0;
  flex-shrink: 1;
}

.meeting-transport-bar .mtb-av-btn {
  padding: 3px 6px !important;
  font-size: 10.5px !important;
  gap: 4px !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.meeting-transport-bar #btnMeetingRaiseHand span:not(:first-child),
.meeting-transport-bar #btnQuickVirtualBg span:not(:first-child) {
  display: none !important;
}

.meeting-transport-bar #btnMeetingRaiseHand,
.meeting-transport-bar #btnQuickVirtualBg {
  padding: 3px 6px !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.meeting-transport-bar .mtb-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 4px;
}

.meeting-transport-bar .meeting-emoji-launcher {
  gap: 2px;
  padding: 2px 4px;
}

.meeting-transport-bar .emoji-btn {
  font-size: 11.5px;
  padding: 1px 2px;
}

.meeting-transport-bar .mtb-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap !important;
  min-width: 0;
  flex-shrink: 0;
}

.meeting-transport-bar .mtb-right .tool-btn {
  padding: 3px 6px !important;
  font-size: 10px !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* ── Meeting Inspector Column (Right) with Scrollbar ─────────────────────── */
.meeting-inspector {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 340px;
  max-width: 340px;
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  box-sizing: border-box;
  padding: 0 4px 24px 0;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.45) rgba(2, 6, 16, 0.6);
}

.meeting-inspector::-webkit-scrollbar {
  width: 6px;
}
.meeting-inspector::-webkit-scrollbar-track {
  background: rgba(2, 6, 16, 0.6);
  border-radius: 4px;
}
.meeting-inspector::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.45);
  border-radius: 4px;
}
.meeting-inspector::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 0.75);
}

.meeting-inspector .mit-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

/* ==========================================================================
   THE 5 BUNDLE THEME SKINS (AUTHENTIC PLATFORM INSPIRATIONS)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SIMPLESHARE SIGNATURE (Flagship Studio)
   Visual Signature: Deep obsidian glass, vibrant electric indigo/cyan neon, refined micro-borders
   -------------------------------------------------------------------------- */
.meeting-bundle-canvas.skin-simpleshare {
  background: radial-gradient(circle at 50% 15%, rgba(59, 130, 246, 0.16) 0%, #030712 80%);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.8), 0 0 32px rgba(59, 130, 246, 0.25);
}

.skin-simpleshare .meeting-room-bar {
  background: rgba(3, 7, 18, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.25);
}

.skin-simpleshare .gallery-tile,
.skin-simpleshare .speaker-video-placeholder,
.skin-simpleshare .mp-box {
  background: rgba(7, 14, 27, 0.88);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
}

.skin-simpleshare .gallery-tile.active-speaker,
.skin-simpleshare .mp-box.active-speaker {
  border: 2px solid #06b6d4;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.5), inset 0 0 12px rgba(59, 130, 246, 0.25);
}

.skin-simpleshare .gt-active-tag {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.skin-simpleshare .meeting-transport-bar {
  background: rgba(7, 14, 27, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 99px;
  margin: 6px 10px 8px 10px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  width: calc(100% - 20px) !important;
  padding: 0 10px !important;
}

.skin-simpleshare .waiting-brand-crest {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  box-shadow: 0 0 28px rgba(6, 182, 212, 0.45);
  border-radius: 18px;
}

.skin-simpleshare .waiting-status-card {
  background: rgba(7, 14, 27, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.skin-simpleshare .waiting-pulse-dot {
  background: #06b6d4;
  box-shadow: 0 0 12px #06b6d4;
}

.skin-simpleshare .replay-pitch-offer-card {
  background: rgba(7, 14, 30, 0.96);
  border: 1px solid rgba(6, 182, 212, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 24px rgba(6, 182, 212, 0.35);
}

.skin-simpleshare .btn-pitch-cta {
  background: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.45);
}

/* --------------------------------------------------------------------------
   2. EXECUTIVE GRID (Zoom-Inspired, Corporate Boardroom)
   Visual Signature: Dark slate chrome (#0e1628), crisp active speaker green border (#22c55e),
   Zoom-style square-ish video tiles, full-width dark slate bottom bar
   -------------------------------------------------------------------------- */
.meeting-bundle-canvas.skin-executive {
  background: #0b0f19;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85);
}

.skin-executive .meeting-room-bar {
  background: #0e1628;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.skin-executive .gallery-tile,
.skin-executive .speaker-video-placeholder,
.skin-executive .mp-box {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.skin-executive .gallery-tile.active-speaker,
.skin-executive .mp-box.active-speaker {
  border: 2px solid #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.45);
}

.skin-executive .gt-active-tag {
  background: #16a34a;
  color: #ffffff;
  font-weight: 700;
  border-radius: 4px;
}

.skin-executive .meeting-transport-bar {
  background: #0e1628;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 12px 12px;
  margin: 0;
  width: 100%;
  padding: 8px 16px;
}

.skin-executive .waiting-brand-crest {
  background: #1e293b;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  color: #f8fafc;
}

.skin-executive .waiting-status-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.skin-executive .waiting-pulse-dot {
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.skin-executive .replay-pitch-offer-card {
  background: #0e1628;
  border: 1px solid rgba(34, 197, 94, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(34, 197, 94, 0.25);
  border-radius: 8px;
}

.skin-executive .btn-pitch-cta {
  background: #16a34a;
  box-shadow: 0 0 14px rgba(22, 163, 74, 0.4);
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   3. FROSTED HORIZON (Google Meet-Inspired, Elevated Glass)
   Visual Signature: Translucent frosted glass, soft 20px rounded corners, airy modern layout,
   floating translucent device dock, sky-blue active halo
   -------------------------------------------------------------------------- */
.meeting-bundle-canvas.skin-frosted {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(28px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.skin-frosted .meeting-room-bar {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skin-frosted .gallery-tile,
.skin-frosted .speaker-video-placeholder,
.skin-frosted .mp-box {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}

.skin-frosted .gallery-tile.active-speaker,
.skin-frosted .mp-box.active-speaker {
  border: 2px solid #60a5fa;
  box-shadow: 0 0 24px rgba(96, 165, 250, 0.45);
  border-radius: 20px;
}

.skin-frosted .gt-active-tag {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border-radius: 99px;
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.skin-frosted .meeting-transport-bar {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  margin: 12px 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  width: calc(100% - 40px);
}

.skin-frosted .waiting-brand-crest {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.skin-frosted .waiting-status-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
}

.skin-frosted .waiting-pulse-dot {
  background: #60a5fa;
  box-shadow: 0 0 12px #60a5fa;
}

.skin-frosted .replay-pitch-offer-card {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(96, 165, 250, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
  border-radius: 20px;
}

.skin-frosted .btn-pitch-cta {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 16px;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.4);
}

/* --------------------------------------------------------------------------
   4. BROADCAST SPOTLIGHT (GoToWebinar-Inspired, Asymmetric Keynote)
   Visual Signature: Formal keynote look, deep navy & royal cobalt palette,
   prominent speaker framing, broadcast console bar
   -------------------------------------------------------------------------- */
.meeting-bundle-canvas.skin-stage {
  background: #060d1d;
  border-color: rgba(30, 58, 138, 0.7);
  box-shadow: 0 16px 45px rgba(8, 18, 38, 0.9);
}

.skin-stage .meeting-room-bar {
  background: #0a1936;
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
}

.skin-stage .gallery-tile,
.skin-stage .speaker-video-placeholder,
.skin-stage .mp-box {
  background: #09152b;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
}

.skin-stage .gallery-tile.active-speaker,
.skin-stage .mp-box.active-speaker {
  border: 2px solid #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.45);
}

.skin-stage .gt-active-tag {
  background: #1e3a8a;
  color: #93c5fd;
  font-weight: 700;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.skin-stage .meeting-transport-bar {
  background: #09162e;
  border-top: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 0;
  margin: 0;
  width: 100%;
  padding: 8px 16px;
}

.skin-stage .waiting-brand-crest {
  background: linear-gradient(135deg, #1e3a8a, #0c1c38);
  border: 1px solid #38bdf8;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.skin-stage .waiting-status-card {
  background: #0a1936;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 8px;
}

.skin-stage .waiting-pulse-dot {
  background: #38bdf8;
  box-shadow: 0 0 12px #38bdf8;
}

.skin-stage .replay-pitch-offer-card {
  background: #0a1936;
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(56, 189, 248, 0.3);
  border-radius: 8px;
}

.skin-stage .btn-pitch-cta {
  background: linear-gradient(135deg, #0284c7 0%, #1e40af 100%);
  border-radius: 6px;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
}

/* --------------------------------------------------------------------------
   5. HIGH-IMPACT STUDIO (WebinarJam-Inspired, Conversion Masterclass)
   Visual Signature: High-converting masterclass theme, dark amethyst & deep violet,
   vibrant violet/amber accents, sticky conversion pitch card, urgency badges
   -------------------------------------------------------------------------- */
.meeting-bundle-canvas.skin-conversion {
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.22) 0%, #0d0722 80%);
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.3);
}

.skin-conversion .meeting-room-bar {
  background: rgba(22, 12, 45, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.35);
}

.skin-conversion .gallery-tile,
.skin-conversion .speaker-video-placeholder,
.skin-conversion .mp-box {
  background: rgba(26, 14, 52, 0.88);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 12px;
}

.skin-conversion .gallery-tile.active-speaker,
.skin-conversion .mp-box.active-speaker {
  border: 2px solid #c084fc;
  box-shadow: 0 0 22px rgba(192, 132, 252, 0.55);
}

.skin-conversion .gt-active-tag {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}

.skin-conversion .meeting-transport-bar {
  background: rgba(22, 12, 45, 0.94);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 14px;
  margin: 8px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  width: calc(100% - 24px);
}

.skin-conversion .waiting-brand-crest {
  background: linear-gradient(135deg, #a855f7, #6d28d9);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.5);
  border-radius: 18px;
}

.skin-conversion .waiting-status-card {
  background: rgba(22, 12, 45, 0.9);
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.skin-conversion .waiting-pulse-dot {
  background: #c084fc;
  box-shadow: 0 0 12px #c084fc;
}

.skin-conversion .replay-pitch-offer-card {
  background: rgba(26, 14, 52, 0.98);
  border: 1px solid rgba(192, 132, 252, 0.6);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.85), 0 0 28px rgba(168, 85, 247, 0.45);
}

.skin-conversion .btn-pitch-cta {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.5);
}

/* ==========================================================================
   ROOM 1: THE LIVE MEETING STAGE
   ========================================================================== */
.meeting-live-view {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.meeting-tiles-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  padding: 16px;
  align-items: center;
  justify-content: center;
}

.meeting-cam-tile {
  background: rgba(10, 20, 38, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.tile-avatar-giant {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ss-brand-gradient, linear-gradient(135deg, #3b82f6, #1d4ed8));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.tile-hud-bar {
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tile-name-tag {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
}

/* ==========================================================================
   ROOM 2: THE WAITING ROOM / LOBBY PREVIEW
   ========================================================================== */
.waiting-room-view {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
}

.waiting-brand-crest {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: var(--ss-brand-gradient, linear-gradient(135deg, #3b82f6, #1d4ed8));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 18px;
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.35);
}

.waiting-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.waiting-host-subtitle {
  font-size: 13px;
  color: var(--ss-text-muted, #94a3b8);
  margin-bottom: 20px;
}

.waiting-status-card {
  background: rgba(10, 20, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 24px;
  max-width: 440px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.waiting-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 10px #3b82f6;
  animation: waitingPulse 1.8s infinite;
}

@keyframes waitingPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.waiting-av-mirror-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(2, 6, 16, 0.7);
  border-radius: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   ROOM 3: THE SIMULATED REPLAY & WEBINAR PITCH ENGINE
   ========================================================================== */
.replay-simulation-view {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  position: relative;
}

.replay-stage-video {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #000000;
}

.replay-video-placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Timed Dynamic Conversion Offer Dock */
.replay-pitch-offer-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(13, 7, 34, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 24px rgba(168, 85, 247, 0.35);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  animation: slideUpPitch 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 50;
}

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

.pitch-headline {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.pitch-subline {
  font-size: 11.5px;
  color: #c084fc;
}

.btn-pitch-cta {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.4);
  white-space: nowrap;
}

/* Synchronized Chat Replay Drawer */
.replay-synced-chat-col {
  width: 280px;
  background: rgba(5, 10, 20, 0.95);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

.replay-chat-header {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.replay-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.replay-chat-bubble {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.replay-chat-author {
  font-size: 11px;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 2px;
}

.replay-chat-text {
  font-size: 11.5px;
  color: #e2e8f0;
  line-height: 1.35;
}

/* ==========================================================================
   MEETING STUDIO: PROFESSIONAL TOP TOOLBAR & BRAND HARMONIZATION
   Inspired by enterprise meeting platforms (Zoom Pro, Teams, Google Meet)
   ========================================================================== */

#viewMeeting .section-top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  background: linear-gradient(180deg, rgba(8, 15, 30, 0.95) 0%, rgba(4, 8, 18, 0.98) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  width: 100%;
  flex-wrap: wrap;
}

#viewMeeting .section-title-lockup {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1 1 380px;
}

#viewMeeting .section-title-lockup h1 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#viewMeeting .section-title-lockup p {
  font-size: 11.5px;
  color: var(--ss-text-muted, #94a3b8);
  margin: 0;
  line-height: 1.4;
  max-width: 680px;
}

/* Harmonized Telemetry Capsule */
.meeting-telemetry-capsule {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.meeting-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
  text-transform: uppercase;
}

.meeting-mode-pill,
.waiting-room-pill,
.audio-formula-pill,
.resolution-pill,
.brand-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  letter-spacing: 0.03em;
  transition: all 0.18s ease;
  user-select: none;
  white-space: nowrap;
}

.meeting-mode-pill:hover,
.waiting-room-pill:hover {
  border-color: rgba(6, 182, 212, 0.5);
  color: #38bdf8;
  background: rgba(14, 165, 233, 0.12);
}

.audio-formula-pill {
  border-color: rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.1);
}

.audio-formula-pill svg {
  color: #38bdf8;
}

.resolution-pill {
  border-color: rgba(168, 85, 247, 0.3);
  color: #d8b4fe;
  background: rgba(168, 85, 247, 0.1);
}

.brand-badge-pill {
  border-color: rgba(59, 130, 246, 0.25);
  color: #ffffff;
}

.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px currentColor;
}

/* Professional Meeting Top Toolbar */
#viewMeeting .studio-action-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.meeting-top-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.studio-btn-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 23, 42, 0.7);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-actions-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 4px;
}

/* Group 1: Primary Meeting Launcher */
.btn-instant-meet {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 11.5px !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.4) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.btn-instant-meet:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%) !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.6) !important;
  transform: translateY(-1px);
}

.btn-schedule-meet {
  color: #e2e8f0 !important;
}

#viewMeeting .tool-btn {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

#viewMeeting .tool-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}

/* Waiting Room Queue Button Badge */
.waiting-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  display: inline-block;
  box-shadow: 0 0 8px #38bdf8;
}

/* Client Sign-off Stamp Button */
.btn-meeting-approve {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.25)) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.btn-meeting-approve:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.28), rgba(5, 150, 105, 0.38)) !important;
  border-color: #34d399 !important;
  color: #ffffff !important;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.45) !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   MULTI-VIEWPORT RESPONSIVENESS & ZERO-BLEED CONSTRAINTS
   ========================================================================== */

@media (max-width: 1200px) {
  #viewMeeting .section-top-strip {
    padding: 12px 16px;
    gap: 12px;
  }

  .meeting-room-bar {
    padding: 8px 12px;
    gap: 8px;
  }
}

@media (max-width: 992px) {
  #viewMeeting .section-top-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  #viewMeeting .studio-action-cluster {
    width: 100%;
    justify-content: flex-start;
  }

  .replay-simulation-view {
    flex-direction: column;
    height: auto;
    min-height: 480px;
  }

  .replay-synced-chat-col {
    width: 100%;
    max-height: 280px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .meeting-transport-bar {
    width: 100% !important;
    margin: 8px 0 !important;
    border-radius: 8px !important;
    padding: 8px 10px !important;
  }
}

@media (max-width: 768px) {
  .meeting-view-tabs {
    overflow-x: auto;
    scrollbar-width: none;
    max-width: 100%;
  }

  .meeting-room-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .mrb-right {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .meeting-transport-bar {
    justify-content: center;
  }

  .mtb-left,
  .mtb-center,
  .mtb-right {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .studio-btn-group {
    width: 100%;
    justify-content: space-between;
  }

  .studio-actions-divider {
    display: none;
  }
}

