* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; line-height: 1.6; min-height: 100vh; } .container { max-width: 1400px; margin: 0 auto; padding: 20px; } /* Header */ header { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border-radius: 15px; padding: 20px 30px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(255, 255, 255, 0.2); } header h1 { font-size: 1.8rem; display: flex; align-items: center; gap: 10px; } header h1 i { color: #4cc9f0; } .status { display: flex; align-items: center; gap: 10px; padding: 8px 16px; background: rgba(0, 0, 0, 0.3); border-radius: 20px; } .status-indicator { width: 10px; height: 10px; border-radius: 50%; background: #ff4757; } .status-indicator.connected { background: #2ed573; } .status-indicator.connecting { background: #ffa502; animation: pulse 1.5s infinite; } @keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } } /* Main Layout */ main { display: grid; grid-template-columns: 350px 1fr; gap: 20px; margin-bottom: 20px; } @media (max-width: 1200px) { main { grid-template-columns: 1fr; } } /* Panels */ .panel { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border-radius: 15px; padding: 25px; border: 1px solid rgba(255, 255, 255, 0.2); } .panel h2 { color: #4cc9f0; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; font-size: 1.4rem; } /* Connection Panel */ .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 8px; color: #a9b7c6; font-weight: 500; } .form-group input { width: 100%; padding: 12px 15px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; color: white; font-size: 1rem; transition: all 0.3s; } .form-group input:focus { outline: none; border-color: #4cc9f0; box-shadow: 0 0 0 2px rgba(76, 201, 240, 0.2); } .button-group { display: flex; gap: 10px; margin-bottom: 25px; } .btn { padding: 12px 20px; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; } .btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); } .btn:active { transform: translateY(0); } .btn-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; } .btn-secondary { background: #6c757d; color: white; } .btn-success { background: #28a745; color: white; } .btn-danger { background: #dc3545; color: white; } .btn-warning { background: #ffc107; color: #333; } .btn-info { background: #17a2b8; color: white; } .btn-copy { background: #495057; color: white; } .btn-whatsapp { background: #25D366; color: white; } .btn-email { background: #EA4335; color: white; } /* Room Info */ .info-box { background: rgba(0, 0, 0, 0.3); padding: 15px; border-radius: 10px; margin-bottom: 20px; } .info-box p { margin-bottom: 10px; display: flex; justify-content: space-between; } .info-box strong { color: #a9b7c6; } .share-section { margin-top: 25px; } .share-section h4 { margin-bottom: 15px; color: #a9b7c6; } .share-box { display: flex; gap: 10px; margin-bottom: 15px; } .share-box input { flex: 1; padding: 10px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 6px; color: white; } .share-buttons { display: flex; gap: 10px; } /* Controls */ .controls { margin-top: 25px; } .control-buttons { display: flex; flex-wrap: wrap; gap: 10px; } /* Video Panel */ .video-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); gap: 20px; margin-bottom: 20px; } @media (max-width: 1100px) { .video-container { grid-template-columns: 1fr; } } .video-box { background: #000; border-radius: 15px; overflow: hidden; position: relative; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); } .video-header { position: absolute; top: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.7); padding: 15px; display: flex; justify-content: space-between; align-items: center; z-index: 10; } .video-header h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; } .video-stats { display: flex; gap: 15px; font-size: 0.9rem; color: #a9b7c6; } video { width: 100%; height: 400px; object-fit: cover; display: block; } .video-status { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.7); padding: 10px 15px; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; } /* Proctoring Controls */ .proctoring-controls { margin-top: 20px; } .tool-buttons { display: flex; gap: 10px; flex-wrap: wrap; } /* Chat Panel */ .chat-panel { grid-column: 1 / -1; margin-top: 20px; } .chat-messages { height: 300px; overflow-y: auto; background: rgba(0, 0, 0, 0.3); border-radius: 10px; padding: 15px; margin-bottom: 15px; } .system-message { color: #4cc9f0; padding: 8px; border-radius: 6px; background: rgba(76, 201, 240, 0.1); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; } .chat-message { padding: 10px; margin-bottom: 10px; border-radius: 8px; max-width: 80%; } .chat-message.sent { background: rgba(76, 201, 240, 0.2); margin-left: auto; } .chat-message.received { background: rgba(255, 255, 255, 0.1); } .chat-input { display: flex; gap: 10px; } .chat-input input { flex: 1; padding: 12px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px; color: white; } /* Modal */ .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); display: flex; align-items: center; justify-content: center; z-index: 1000; } .modal.hidden { display: none; } .modal-content { background: rgba(26, 26, 46, 0.95); backdrop-filter: blur(20px); padding: 30px; border-radius: 15px; width: 90%; max-width: 500px; border: 1px solid rgba(255, 255, 255, 0.2); } .modal-content h2 { margin-bottom: 20px; color: #4cc9f0; } .modal-buttons { display: flex; gap: 10px; margin-top: 20px; } /* Footer */ footer { text-align: center; padding: 20px; color: #a9b7c6; font-size: 0.9rem; } footer .disclaimer { margin-top: 10px; color: #ffa502; font-style: italic; } /* Toast */ #toastContainer { position: fixed; top: 20px; right: 20px; z-index: 1001; } .toast { background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); color: white; padding: 15px 20px; border-radius: 8px; margin-bottom: 10px; border-left: 4px solid #4cc9f0; animation: slideIn 0.3s ease; } @keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } } /* Utilities */ .hidden { display: none !important; } /* Add this to your existing CSS */ .remote-videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 15px; margin-bottom: 20px; } .remote-video-container { background: #000; border-radius: 10px; overflow: hidden; position: relative; height: 200px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); min-height: 200px; } .remote-video-container video { width: 100%; height: 100%; object-fit: cover; background: #000; } .no-video { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.7); color: #a9b7c6; z-index: 1; } .no-video.hidden { display: none; } /* Fix for no-video overlay */ .no-video { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.8); color: white; display: flex; align-items: center; justify-content: center; z-index: 1; transition: opacity 0.3s; } .no-video.hidden { display: none !important; opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; } .remote-video { position: relative; z-index: 2; /* Make sure video is above the overlay */ width: 100%; height: 100%; object-fit: cover; background: #000; }