

/* Video Call Container */
.video-call-container {
    display: flex;
    gap: 20px;
    height: calc(100vh - 250px);
    min-height: 500px;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Main Video Area */
.main-video-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #000;
    position: relative;
}

.video-frame {
    width: 100%;
    height: 100%;
    background: #2c3e50;
    position: relative;
}

.video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.video-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.remote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    padding: 10px;
}

/* Controls Bar */
.controls-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #424242;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: #616161;
    transform: scale(1.05);
}

.control-btn.danger {
    background: #dc3545;
}

.control-btn.danger:hover {
    background: #c82333;
}

/* Chat Sidebar */
.chat-sidebar {
    width: 300px;
    background: white;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.chat-sidebar.hidden {
    transform: translateX(100%);
}

.chat-header {
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 10px;
}

#chat-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    outline: none;
}

#send-message {
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#send-message:hover {
    background: #1557b0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-call-container {
        flex-direction: column;
        height: auto;
    }

    .chat-sidebar {
        width: 100%;
        height: 300px;
    }

    .main-video-area {
        height: 400px;
    }
}