/* ==========================================================================
   ZAD MEET - MODERN GOOGLE MEET & ZOOM STYLE STYLESHEET
   ========================================================================== */

:root {
  --bg-primary: #0b0f17;
  --bg-secondary: #131b2a;
  --bg-surface: #1e293b;
  --bg-card: #192233;
  --bg-hover: #273549;
  
  --emerald-primary: #059669;
  --emerald-hover: #047857;
  --emerald-light: rgba(5, 150, 105, 0.15);
  
  --gold-accent: #d97706;
  --gold-light: rgba(217, 119, 6, 0.15);
  
  --danger-primary: #ea4335;
  --danger-hover: #d93025;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(5, 150, 105, 0.5);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(5, 150, 105, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

/* Common View Visibility */
.view-section {
  display: none;
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
}

.view-section.active {
  display: flex;
  flex-direction: column;
}

.hidden {
  display: none !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-hover));
  color: white;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.6);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  color: white;
}

.btn-outline-danger {
  background: transparent;
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-outline-danger:hover {
  background: rgba(239, 68, 68, 0.15);
}

.btn-large {
  padding: 16px 28px;
  font-size: 18px;
}

.btn-block {
  width: 100%;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideDown 0.3s ease-out forwards;
  pointer-events: auto;
}

.toast.toast-success {
  border-color: var(--emerald-primary);
  color: #34d399;
}

.toast.toast-error {
  border-color: var(--danger-primary);
  color: #f87171;
}

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

/* ==========================================================================
   VIEW 1: HOME & HERO
   ========================================================================== */
.home-header {
  height: 80px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(11, 15, 23, 0.8);
  backdrop-filter: blur(12px);
}

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

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.brand-text h1 {
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}

.brand-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.brand-text p {
  font-size: 13px;
  color: var(--text-muted);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #34d399;
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
}

.live-pulse {
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.home-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: radial-gradient(circle at 50% 30%, rgba(5, 150, 105, 0.08) 0%, transparent 60%);
  overflow-y: auto;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.pill-badge {
  display: inline-block;
  background: var(--emerald-light);
  color: #34d399;
  border: 1px solid rgba(5, 150, 105, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-text h2 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 35px;
}

.actions-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.join-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 6px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.input-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: var(--text-dim);
}

.join-box input {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 16px;
  font-weight: 600;
  width: 220px;
}

.join-box input::placeholder {
  color: var(--text-dim);
}

/* Hero Mockup Preview */
.mockup-window {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(5, 150, 105, 0.15);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.mockup-window:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
  background: rgba(15, 23, 42, 0.8);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-header .dot.red { background: #ef4444; }
.mockup-header .dot.yellow { background: #f59e0b; }
.mockup-header .dot.green { background: #10b981; }

.mockup-title {
  margin-right: auto;
  font-size: 12px;
  color: var(--text-dim);
  font-family: monospace;
}

.mockup-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: 240px;
}

.mock-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.mock-card.teacher-card {
  grid-column: span 2;
  border-color: var(--emerald-primary);
  box-shadow: 0 0 15px rgba(5, 150, 105, 0.25);
}

.mock-avatar {
  font-size: 32px;
  margin-bottom: 8px;
}

.mock-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  background: rgba(0,0,0,0.5);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.speaking-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #10b981;
}

.mock-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.6);
  padding: 10px;
  border-radius: var(--radius-md);
}

.mock-bottom-bar .m-icon {
  background: var(--bg-hover);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 14px;
}

.mock-bottom-bar .m-icon.active {
  background: var(--emerald-primary);
}

.mock-bottom-bar .m-icon.red {
  background: var(--danger-primary);
}

/* ==========================================================================
   VIEW 2: LOBBY / PRE-JOIN ROOM
   ========================================================================== */
#view-lobby {
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(circle at 50% 50%, #172338 0%, #0b0f17 100%);
}

.lobby-container {
  max-width: 840px;
  width: 100%;
}

.lobby-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.lobby-header {
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.6);
}

.btn-icon-back {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon-back:hover {
  background: var(--bg-hover);
}

.lobby-room-info h3 {
  font-size: 20px;
  font-weight: 800;
  color: white;
}

.lobby-room-info p {
  font-size: 14px;
  color: var(--text-muted);
}

.highlight-code {
  color: #34d399;
  font-family: monospace;
  font-weight: 700;
}

.lobby-body {
  padding: 30px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

.preview-box-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.preview-wrapper {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1); /* Mirror camera */
}

.avatar-fallback {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald-primary), #0284c7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 800;
  color: white;
  box-shadow: var(--shadow-lg);
}

.preview-overlay-info {
  position: absolute;
  top: 14px;
  left: 14px;
}

.mic-level-pill {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  color: #34d399;
}

.meter-bar {
  width: 40px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: 0%;
  background: #10b981;
  transition: width 0.1s ease;
}

.lobby-media-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.control-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.control-btn:hover {
  background: var(--bg-hover);
  transform: scale(1.05);
}

.control-btn.btn-off {
  background: var(--danger-primary);
  border-color: transparent;
}

.lobby-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.form-group input,
.form-group select {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: white;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

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

/* ==========================================================================
   VIEW 3: IN-CALL MEETING ROOM
   ========================================================================== */
#view-meeting {
  background-color: var(--bg-primary);
}

.meeting-header {
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(11, 15, 23, 0.95);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.meeting-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.meeting-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meeting-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.meeting-room-title {
  font-size: 17px;
  font-weight: 800;
  color: white;
  font-family: monospace;
}

.btn-copy-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy-pill:hover {
  background: var(--bg-hover);
  color: white;
  border-color: var(--emerald-primary);
}

.meeting-timer {
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
}

.meeting-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.secure-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #34d399;
}

.secure-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.header-icon-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.header-icon-btn:hover {
  background: var(--bg-surface);
  color: white;
}

/* Meeting Workspace */
.meeting-workspace {
  flex: 1;
  display: flex;
  position: relative;
  overflow: hidden;
  padding: 16px;
  gap: 16px;
}

.video-stage {
  flex: 1;
  display: grid;
  gap: 16px;
  align-content: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
}

/* Dynamic Grid Classes */
.video-stage.grid-1 { grid-template-columns: 1fr; max-width: 1000px; margin: 0 auto; }
.video-stage.grid-2 { grid-template-columns: repeat(2, 1fr); }
.video-stage.grid-3, .video-stage.grid-4 { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); }
.video-stage.grid-5, .video-stage.grid-6 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); }
.video-stage.grid-many { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Video Participant Tile */
.participant-tile {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 180px;
}

.participant-tile.active-speaker {
  border-color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.participant-tile.raised-hand {
  border-color: #f59e0b;
}

.participant-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.participant-tile.is-local:not(.screen-share) video {
  transform: scaleX(-1); /* Mirror local user camera */
}

.tile-avatar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
}

.tile-avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald-primary), #0284c7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: white;
  box-shadow: var(--shadow-lg);
}

.tile-tag-bottom {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: white;
}

.tag-role {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
}

.tag-role.role-teacher {
  background: var(--emerald-primary);
}

.tag-audio-state {
  display: flex;
  align-items: center;
}

.tag-audio-state.muted {
  color: #ef4444;
}

.tag-hand-raised {
  font-size: 16px;
  animation: bounce 1s infinite;
}

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

/* Side Drawers (Chat & Participants) */
.meeting-drawer {
  width: 340px;
  height: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  z-index: 20;
}

.drawer-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-header h3 {
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

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

.chat-system-msg {
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.chat-bubble {
  background: var(--bg-surface);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border-bottom-right-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 90%;
  align-self: flex-start;
}

.chat-bubble.mine {
  background: #064e3b;
  border-bottom-right-radius: var(--radius-md);
  border-bottom-left-radius: 4px;
  align-self: flex-end;
}

.chat-bubble-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

.chat-sender-name {
  font-weight: 800;
  color: #34d399;
}

.chat-bubble-text {
  font-size: 14px;
  color: white;
  line-height: 1.4;
  word-break: break-word;
}

.chat-input-form {
  padding: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-input-form input {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: var(--radius-full);
  color: white;
  outline: none;
  font-size: 14px;
}

.chat-send-btn {
  background: var(--emerald-primary);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.chat-send-btn:hover {
  transform: scale(1.05);
}

/* Participants List in Drawer */
.participants-list {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.participant-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
}

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

.pi-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: white;
}

.pi-name {
  font-size: 14px;
  font-weight: 700;
}

.pi-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.participants-actions {
  padding: 16px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   FLOATING DOCK (FOOTER CONTROLS)
   ========================================================================== */
.meeting-footer {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  z-index: 10;
}

.controls-dock {
  background: rgba(19, 27, 42, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0,0,0,0.5);
}

.dock-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 64px;
  position: relative;
}

.dock-btn .btn-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.dock-btn:hover {
  background: var(--bg-hover);
  transform: translateY(-2px);
  color: white;
}

.dock-btn.is-active {
  border-color: var(--emerald-primary);
  color: #34d399;
}

.dock-btn.is-muted,
.dock-btn.is-off {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #f87171;
}

.dock-btn.is-hand-raised {
  background: rgba(245, 158, 11, 0.25);
  border-color: #f59e0b;
  color: #fbbf24;
}

.dock-btn.btn-leave {
  background: var(--danger-primary);
  border-color: transparent;
  color: white;
}

.dock-btn.btn-leave:hover {
  background: var(--danger-hover);
  box-shadow: 0 4px 14px rgba(234, 67, 53, 0.4);
}

.badge-dot {
  position: absolute;
  top: 6px;
  left: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .actions-group {
    justify-content: center;
  }
  .lobby-body {
    grid-template-columns: 1fr;
  }
  .dock-btn .btn-label {
    display: none;
  }
  .dock-btn {
    min-width: 48px;
    padding: 10px;
  }
  .meeting-drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border-radius: 0;
  }
}
