/* ─── QuickMeet ─── */ :root { --bg: #f8f9fa; --surface: #ffffff; --surface-alt: #f1f3f4; --text-primary: #202124; --text-secondary: #5f6368; --text-hint: #80868b; --blue-600: #1a73e8; --blue-700: #1765cc; --blue-50: #e8f0fe; --red-500: #ea4335; --red-600: #d93025; --green-500: #34a853; --hairline: #dadce0; --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-full: 9999px; --elevation-1: 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15); --elevation-2: 0 1px 2px 0 rgba(60,64,67,.3), 0 2px 6px 2px rgba(60,64,67,.15); --elevation-3: 0 4px 8px 3px rgba(60,64,67,.15), 0 1px 3px rgba(60,64,67,.3); --transition: 200ms cubic-bezier(.4,0,.2,1); } *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--text-primary); min-height: 100vh; overflow: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: 14px; line-height: 1.5; } /* ─── Screens ────────────────────────────────────────────── */ .screen { display: none; width: 100vw; height: 100vh; } .screen.active { display: flex; } /* ─── Join Screen ────────────────────────────────────────── */ #joinScreen { align-items: center; justify-content: center; background: var(--bg); } .join-container { display: flex; flex-direction: column; align-items: center; gap: 32px; width: 100%; max-width: 448px; padding: 24px; } .logo-section { text-align: center; } .logo { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: var(--radius-lg); background: var(--blue-50); margin-bottom: 16px; } .logo .material-icons-round { font-size: 28px !important; color: var(--blue-600) !important; } .logo-section h1 { font-size: 28px; font-weight: 600; letter-spacing: -0.5px; color: var(--text-primary); background: none; -webkit-text-fill-color: var(--text-primary); } .subtitle { color: var(--text-secondary); font-size: 15px; font-weight: 400; margin-top: 6px; } .join-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 24px; width: 100%; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--elevation-1); } /* ─── Camera Preview ─────────────────────────────────────── */ .preview-container { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background: #202124; } .preview-container video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); } .preview-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #9aa0a6; font-size: 13px; gap: 8px; } .preview-placeholder .material-icons-round { font-size: 32px !important; color: #9aa0a6; } .preview-controls { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; } .preview-controls .ctrl-btn { width: 40px; height: 40px; background: rgba(32,33,36,.6); border: none; color: #fff; box-shadow: none; backdrop-filter: blur(4px); } .preview-controls .ctrl-btn:hover { background: rgba(32,33,36,.8); color: #fff; border: none; } .preview-controls .ctrl-btn:not(.active) { background: rgba(234,67,53,.85); border: none; color: #fff; } /* ─── Inputs ─────────────────────────────────────────────── */ input[type="text"] { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-sm); color: var(--text-primary); padding: 10px 14px; font-size: 14px; font-family: inherit; width: 100%; outline: none; transition: border-color var(--transition), box-shadow var(--transition); } input[type="text"]:focus { border-color: var(--blue-600); box-shadow: 0 0 0 2px rgba(26,115,232,.2); } input[type="text"]::placeholder { color: var(--text-hint); } /* ─── Buttons ────────────────────────────────────────────── */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 24px; border: none; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; font-family: inherit; cursor: pointer; transition: background var(--transition), box-shadow var(--transition); letter-spacing: 0.01em; user-select: none; } .btn-primary { background: var(--blue-600); color: #fff; width: 100%; height: 44px; } .btn-primary:hover { background: var(--blue-700); } .btn-primary:active { background: #1557b0; } .btn-secondary { background: var(--surface); color: var(--blue-600); border: 1px solid var(--hairline); padding: 10px 20px; font-weight: 500; height: 44px; } .btn-secondary:hover { background: var(--blue-50); border-color: var(--blue-600); } .btn-small { padding: 6px 16px; font-size: 13px; font-weight: 500; background: var(--blue-600); color: #fff; border: none; border-radius: var(--radius-sm); cursor: pointer; font-family: inherit; transition: background var(--transition); } .btn-small:hover { background: var(--blue-700); } .text-btn { background: none; border: none; color: var(--text-secondary); cursor: pointer; font-size: 13px; font-weight: 500; font-family: inherit; padding: 6px 12px; border-radius: var(--radius-sm); transition: background var(--transition); display: inline-flex; align-items: center; gap: 4px; } .text-btn:hover { background: var(--surface-alt); color: var(--text-primary); } .icon-btn { background: none; border: none; color: var(--text-secondary); cursor: pointer; font-size: 18px; padding: 4px; border-radius: var(--radius-full); width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; transition: background var(--transition); } .icon-btn:hover { background: var(--surface-alt); color: var(--text-primary); } .join-actions { display: flex; flex-direction: column; gap: 12px; } .join-row { display: flex; gap: 8px; } .join-row input { flex: 1; } .divider { display: flex; align-items: center; gap: 12px; color: var(--text-hint); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; } .divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--hairline); } /* ─── Call Screen ────────────────────────────────────────── */ #callScreen { flex-direction: column; background: #ffffff; } .call-layout { flex: 1; display: flex; overflow: hidden; } /* ─── Video Grid ─────────────────────────────────────────── */ .video-grid { flex: 1; display: grid; gap: 8px; padding: 8px; grid-template-columns: 1fr; grid-auto-rows: 1fr; } .video-grid[data-count="2"] { grid-template-columns: 1fr 1fr; } .video-grid[data-count="3"], .video-grid[data-count="4"] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; } .video-grid[data-count="5"], .video-grid[data-count="6"] { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; } .video-grid[data-count="7"], .video-grid[data-count="8"], .video-grid[data-count="9"] { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr 1fr; } .video-tile { position: relative; background: var(--surface-alt); border-radius: var(--radius-md); overflow: hidden; min-height: 0; } .video-tile video { width: 100%; height: 100%; object-fit: cover; } .video-tile[data-peer="local"] video { transform: scaleX(-1); } .video-off-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--surface-alt); } .avatar { width: 72px; height: 72px; border-radius: var(--radius-full); background: var(--blue-600); display: flex; align-items: center; justify-content: center; } .avatar .material-icons-round { font-size: 32px !important; color: #fff !important; } .tile-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 8px 12px; background: linear-gradient(transparent, rgba(0,0,0,.35)); display: flex; align-items: center; gap: 6px; pointer-events: none; } .tile-name { font-size: 12px; font-weight: 500; color: var(--text-primary); text-shadow: none; } .mic-indicator { display: flex; align-items: center; } .mic-indicator .material-icons-round { font-size: 14px !important; color: var(--text-primary); } .mic-indicator.muted .material-icons-round { color: #ea4335; } /* ─── Screen Share ───────────────────────────────────────── */ .video-tile.screen-share { grid-column: 1 / -1; max-height: 70vh; } .video-tile.screen-share video { object-fit: contain; background: var(--surface-alt); } /* ─── Chat Panel ─────────────────────────────────────────── */ .chat-panel { display: none; width: 320px; border-left: 1px solid var(--hairline); background: var(--surface); flex-direction: column; } .chat-panel.open { display: flex; } .chat-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--hairline); } .chat-header h3 { font-size: 14px; font-weight: 600; color: var(--text-primary); } .chat-messages { flex: 1; overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; } .chat-msg { font-size: 13px; line-height: 1.5; } .chat-msg .chat-name { font-weight: 600; color: var(--blue-600); margin-right: 4px; } .chat-msg .chat-time { font-size: 11px; color: var(--text-hint); margin-left: 4px; } .chat-msg .chat-text { color: var(--text-primary); } .chat-input-row { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--hairline); } .chat-input-row input { flex: 1; font-size: 13px; padding: 8px 12px; } /* ─── Call Controls ──────────────────────────────────────── */ .call-controls { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; background: #ffffff; border-top: 1px solid var(--hairline); } .controls-left, .controls-center, .controls-right { display: flex; align-items: center; gap: 12px; } .controls-left { flex: 1; } .controls-right { flex: 1; justify-content: flex-end; } .room-info { font-size: 13px; color: var(--text-secondary); font-weight: 500; } .peer-count { font-size: 13px; color: var(--text-secondary); } .call-controls .text-btn { color: var(--text-secondary); } .call-controls .text-btn:hover { background: var(--surface-alt); color: var(--text-primary); } /* ─── Control Buttons ────────────────────────────────────── */ .ctrl-btn { width: 48px; height: 48px; border-radius: var(--radius-full); border: none; background: var(--surface-alt); color: var(--text-primary); font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--transition); position: relative; box-shadow: none; } .ctrl-btn .material-icons-round { font-size: 22px; } .ctrl-btn .icon-off { display: none; } .ctrl-btn:hover { background: var(--hairline); } .ctrl-btn.active { background: var(--surface-alt); color: var(--text-primary); } .ctrl-btn.active:hover { background: var(--hairline); } /* Muted / toggled off */ .ctrl-btn:not(.active) { background: var(--red-500); color: #fff; } .ctrl-btn:not(.active):hover { background: var(--red-600); } .ctrl-btn:not(.active) .icon-on { display: none; } .ctrl-btn:not(.active) .icon-off { display: block; } /* ─── Leave Button ───────────────────────────────────────── */ .ctrl-btn.leave { background: var(--red-500); color: #fff; width: 56px; border-radius: 16px; } .ctrl-btn.leave:hover { background: var(--red-600); } /* ─── Screen / Chat / Record: neutral when inactive ──────── */ #screenBtn:not(.active), #chatBtn:not(.active), #recordBtn:not(.active) { background: #3c4043; color: #e8eaed; } #screenBtn:not(.active):hover, #chatBtn:not(.active):hover, #recordBtn:not(.active):hover { background: #4e5256; } #chatBtn .icon-off { display: inline !important; } #chatBtn .icon-on { display: none !important; } #chatBtn.active .icon-on { display: inline !important; } #chatBtn.active .icon-off { display: none !important; } #screenBtn .icon-off { display: inline !important; } #screenBtn .icon-on { display: none !important; } #screenBtn.active .icon-on { display: inline !important; } #screenBtn.active .icon-off { display: none !important; } /* ─── Record Button ──────────────────────────────────────── */ #recordBtn .icon-off { display: inline !important; } #recordBtn .icon-on { display: none !important; } #recordBtn.active .icon-on { display: inline !important; } #recordBtn.active .icon-off { display: none !important; } #recordBtn.recording { background: var(--red-500); color: #fff; animation: rec-pulse 1.4s ease-in-out infinite; } #recordBtn.recording:hover { background: var(--red-600); } @keyframes rec-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(234,67,53,.45); } 50% { box-shadow: 0 0 0 10px rgba(234,67,53,0); } } .record-timer { font-size: 12px; font-weight: 600; color: var(--red-500); font-variant-numeric: tabular-nums; margin-left: 2px; } /* ─── Toast ──────────────────────────────────────────────── */ .toast { position: fixed; bottom: 88px; left: 50%; transform: translateX(-50%) translateY(12px); background: #323232; color: #e8eaed; padding: 10px 24px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; opacity: 0; transition: all 0.25s cubic-bezier(.4,0,.2,1); pointer-events: none; z-index: 100; box-shadow: var(--elevation-3); border: none; } .toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); } /* ─── Responsive ─────────────────────────────────────────── */ @media (max-width: 768px) { .join-container { padding: 16px; } .chat-panel { position: absolute; right: 0; top: 0; bottom: 60px; z-index: 10; width: 100%; } .controls-left .room-info { display: none; } .ctrl-btn { width: 42px; height: 42px; } .ctrl-btn .material-icons-round { font-size: 20px; } .ctrl-btn.leave { width: 48px; border-radius: 14px; } .video-grid[data-count="2"] { grid-template-columns: 1fr; } } /* ─── Overlay Screen (Waiting Room) ──────────────────────── */ .overlay-screen { position: absolute; inset: 0; z-index: 50; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px); } .overlay-card { text-align: center; padding: 40px; max-width: 400px; } .overlay-card h2 { margin: 16px 0 8px; font-size: 22px; } .overlay-card p { color: var(--text-secondary); font-size: 14px; } /* ─── Reactions Overlay ──────────────────────────────────── */ .reactions-overlay { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); pointer-events: none; z-index: 40; width: 300px; height: 200px; } .reaction-float { position: absolute; bottom: 0; font-size: 32px; animation: float-up 2.5s ease-out forwards; pointer-events: none; } @keyframes float-up { 0% { opacity: 1; transform: translateY(0) scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-180px) scale(1.3); } } /* ─── Hand Indicator ─────────────────────────────────────── */ .hand-indicator { position: absolute; top: 8px; right: 8px; font-size: 24px; z-index: 5; animation: hand-wave 0.6s ease-in-out infinite alternate; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); } @keyframes hand-wave { 0% { transform: rotate(-10deg); } 100% { transform: rotate(10deg); } } /* ─── Side Panels ────────────────────────────────────────── */ .side-panel { display: none; width: 320px; border-left: 1px solid var(--hairline); background: var(--surface); flex-direction: column; overflow-y: auto; } .side-panel.open { display: flex; } .side-panel.wide-panel { width: 50vw; min-width: 400px; max-width: 900px; } .panel-header-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--hairline); flex-wrap: wrap; gap: 8px; } .panel-header-bar h3 { font-size: 14px; font-weight: 600; } .section-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-hint); padding: 12px 16px 4px; font-weight: 600; } /* ─── Host Controls ──────────────────────────────────────── */ .host-controls { padding: 12px 16px; border-bottom: 1px solid var(--hairline); display: flex; flex-wrap: wrap; gap: 8px; } .toggle-row { display: flex; gap: 12px; width: 100%; font-size: 13px; color: var(--text-secondary); margin-top: 4px; } .toggle-row label { display: flex; align-items: center; gap: 4px; cursor: pointer; } .toggle-row input[type="checkbox"] { accent-color: var(--blue-600); } .btn-outline { background: var(--surface); border: 1px solid var(--hairline); color: var(--text-primary); } .btn-outline:hover { background: var(--surface-alt); border-color: var(--blue-600); color: var(--blue-600); } /* ─── Participant List Items ─────────────────────────────── */ .participant-item { display: flex; align-items: center; gap: 10px; padding: 8px 16px; font-size: 13px; transition: background var(--transition); } .participant-item:hover { background: var(--surface-alt); } .participant-item .p-name { flex: 1; font-weight: 500; } .participant-item .p-role { font-size: 10px; text-transform: uppercase; color: var(--blue-600); font-weight: 600; letter-spacing: 0.04em; } .participant-item .p-hand { font-size: 16px; } .participant-item .p-actions { display: flex; gap: 4px; } .participant-item .p-actions button { background: none; border: none; cursor: pointer; color: var(--text-hint); font-size: 18px; padding: 2px; border-radius: var(--radius-full); transition: all var(--transition); display: flex; align-items: center; } .participant-item .p-actions button:hover { color: var(--red-500); background: rgba(234,67,53,.08); } /* ─── Waiting List Items ─────────────────────────────────── */ .waiting-item { display: flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 13px; } .waiting-item .w-name { flex: 1; font-weight: 500; } .waiting-item .btn-admit { background: var(--green-500); color: #fff; border: none; padding: 4px 12px; border-radius: 6px; font-size: 12px; cursor: pointer; font-weight: 500; } .waiting-item .btn-deny { background: var(--red-500); color: #fff; border: none; padding: 4px 12px; border-radius: 6px; font-size: 12px; cursor: pointer; font-weight: 500; } /* ─── Dropdown Menu ──────────────────────────────────────── */ .ctrl-dropdown { position: relative; } .dropdown-menu { display: none; position: absolute; bottom: 56px; left: 50%; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-md); box-shadow: var(--elevation-3); z-index: 30; overflow: hidden; min-width: 180px; } .ctrl-dropdown:hover .dropdown-menu, .ctrl-dropdown:focus-within .dropdown-menu { display: flex; } #reactionsMenu { flex-direction: row; padding: 8px; gap: 4px; min-width: auto; } .reaction-btn { font-size: 22px; background: none; border: none; cursor: pointer; padding: 6px 8px; border-radius: var(--radius-sm); transition: background var(--transition); } .reaction-btn:hover { background: var(--surface-alt); } .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: none; border: none; font-size: 13px; font-family: inherit; color: var(--text-primary); cursor: pointer; width: 100%; text-align: left; transition: background var(--transition); } .dropdown-item:hover { background: var(--surface-alt); } .dropdown-item .material-icons-round { font-size: 18px; color: var(--text-secondary); } /* ─── Hand Raise Button Active ───────────────────────────── */ #handBtn.raised { background: #fbbf24 !important; color: #000 !important; } #handBtn.raised:hover { background: #f59e0b !important; } /* ─── Participants Button Badge ──────────────────────────── */ #participantsBtn:not(.active), #handBtn:not(.raised), #moreBtn { background: #3c4043; color: #e8eaed; } #participantsBtn:not(.active):hover, #handBtn:not(.raised):hover, #moreBtn:hover { background: #4e5256; } /* ─── Meeting Timer ──────────────────────────────────────── */ .meeting-timer { font-size: 13px; color: var(--text-hint); font-weight: 500; font-variant-numeric: tabular-nums; } /* ─── Whiteboard ─────────────────────────────────────────── */ #whiteboardCanvas { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-sm); cursor: crosshair; width: 100%; height: auto; display: block; } .wb-tools { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: center; } .wb-tools input[type="color"] { width: 28px; height: 28px; border: none; padding: 0; cursor: pointer; border-radius: 4px; } .wb-tools input[type="range"] { width: 80px; } /* ─── Polls ──────────────────────────────────────────────── */ #createPollSection, #activePollsList { padding: 12px 16px; } #createPollSection { border-bottom: 1px solid var(--hairline); } .poll-option-input { margin-top: 6px; } .poll-card { background: var(--surface-alt); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 12px; } .poll-card h4 { font-size: 14px; margin-bottom: 8px; } .poll-option-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; cursor: pointer; padding: 6px 8px; border-radius: 6px; transition: background var(--transition); } .poll-option-row:hover { background: rgba(26,115,232,.06); } .poll-option-row.voted { background: rgba(26,115,232,.1); font-weight: 600; } .poll-bar { height: 6px; background: var(--hairline); border-radius: 3px; flex: 1; position: relative; overflow: hidden; } .poll-bar-fill { position: absolute; left: 0; top: 0; height: 100%; background: var(--blue-600); border-radius: 3px; transition: width 0.3s ease; } .poll-option-text { font-size: 13px; min-width: 80px; } .poll-option-pct { font-size: 12px; color: var(--text-hint); min-width: 40px; text-align: right; } .poll-total { font-size: 11px; color: var(--text-hint); margin-top: 4px; } /* ─── Breakout ───────────────────────────────────────────── */ #breakoutSetup, #breakoutActive { padding: 12px 16px; } .breakout-room-row { background: var(--surface-alt); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 8px; } .breakout-room-row input { margin-bottom: 6px; } .breakout-room-row .br-peers { display: flex; flex-wrap: wrap; gap: 4px; } .br-peer-chip { font-size: 11px; padding: 2px 8px; background: var(--blue-50); color: var(--blue-600); border-radius: 12px; cursor: pointer; } .br-peer-chip.assigned { background: var(--blue-600); color: #fff; } /* ─── Background Blur Active Indicator ───────────────────── */ .bgblur-active #localVideo { /* Handled via JS canvas, but visual marker */ } @media (max-width: 768px) { .side-panel, .side-panel.wide-panel { position: absolute; right: 0; top: 0; bottom: 60px; z-index: 10; width: 100%; min-width: unset; max-width: unset; } .controls-center { gap: 4px; } .ctrl-dropdown .dropdown-menu { min-width: 160px; } }