/* Base Styles */ body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #1e1e1e; color: #e0e0e0; margin: 0; padding: 20px; display: flex; justify-content: center; } .container { width: 100%; max-width: 1200px; } header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 10px; } .status { font-weight: bold; color: #fca5a5; /* Red-ish for disconnected */ } /* Remote Streams Grid */ .remote-streams { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 30px; } .peer-card { background-color: #2d2d2d; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.3); display: flex; flex-direction: column; } .peer-header { background-color: #333; padding: 8px 12px; font-size: 0.9em; font-weight: bold; color: #aaa; display: flex; justify-content: space-between; } .peer-media { position: relative; width: 100%; /* Aspect ratio placeholder or min-height */ min-height: 200px; background-color: #000; display: flex; justify-content: center; align-items: center; } .peer-media img { width: 100%; height: auto; display: block; max-height: 400px; object-fit: contain; } .peer-media .placeholder { color: #555; font-size: 0.8em; } /* Local Preview */ .local-preview { margin-top: 20px; border-top: 1px solid #333; padding-top: 20px; opacity: 0.6; } .local-preview video { width: 200px; border-radius: 4px; background: #000; } /* Controls */ .audio-controls { display: flex; gap: 15px; margin-top: 20px; justify-content: center; } button { padding: 10px 20px; border: none; border-radius: 4px; background-color: #3b82f6; color: white; font-weight: bold; cursor: pointer; transition: background-color 0.2s; } button:hover { background-color: #2563eb; } button.active { background-color: #ef4444; /* Red for Stop */ }