/* ==========================================================================
   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%;
  box-sizing: border-box;
}

@media (max-width: 1300px) {
  .meeting-studio-layout.has-studio-deck {
    grid-template-columns: 240px minmax(0, 1fr) 300px;
  }
}

@media (max-width: 992px) {
  .meeting-studio-layout.has-studio-deck {
    grid-template-columns: 1fr;
  }
}

/* ── Meeting Stage Container ─────────────────────────────────────────────── */
.meeting-bundle-canvas {
  width: 100%;
  height: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   THE 5 BUNDLE THEME SKINS
   ========================================================================== */

/* 1. SIMPLESHARE SIGNATURE (Flagship) */
.skin-simpleshare {
  background: radial-gradient(circle at 50% 20%, rgba(59, 130, 246, 0.12) 0%, #030712 70%);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 35px rgba(59, 130, 246, 0.2);
}
.skin-simpleshare .stage-tile-active {
  border: 2px solid #3b82f6;
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.45);
}
.skin-simpleshare .stage-dock-bar {
  background: rgba(7, 14, 27, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 99px;
}

/* 2. EXECUTIVE GRID (Zoom-Inspired, Corporate Boardroom) */
.skin-executive {
  background: #0b0f19;
  border-color: rgba(255, 255, 255, 0.12);
}
.skin-executive .stage-tile-active {
  border: 2px solid #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.3);
}
.skin-executive .stage-dock-bar {
  background: #111827;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

/* 3. FROSTED HORIZON (Google Meet-Inspired, Elevated Glass) */
.skin-frosted {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px);
}
.skin-frosted .stage-tile-active {
  border: 2px solid #60a5fa;
  border-radius: 18px;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.35);
}
.skin-frosted .stage-dock-bar {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
}

/* 4. BROADCAST SPOTLIGHT (GoToWebinar-Inspired, Asymmetric Keynote) */
.skin-stage {
  background: #081226;
  border-color: rgba(30, 58, 138, 0.6);
}
.skin-stage .stage-tile-active {
  border: 2px solid #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}
.skin-stage .stage-dock-bar {
  background: #0c1c38;
  border-top: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 6px;
}

/* 5. HIGH-IMPACT STUDIO (WebinarJam-Inspired, Conversion Masterclass) */
.skin-conversion {
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.18) 0%, #0d0722 80%);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.25);
}
.skin-conversion .stage-tile-active {
  border: 2px solid #c084fc;
  box-shadow: 0 0 18px rgba(192, 132, 252, 0.5);
}
.skin-conversion .stage-dock-bar {
  background: rgba(22, 12, 45, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 12px;
}

/* ==========================================================================
   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;
}
