/* WebRTC Video Call UI Styles */

.webrtc-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

.webrtc-video-local {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 200px;
    height: 150px;
    border: 2px solid #fff;
    border-radius: 8px;
    z-index: 10;
    background: #000;
}

.webrtc-video-remote {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webrtc-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50px;
    z-index: 20;
}

.webrtc-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.webrtc-btn:hover {
    transform: scale(1.1);
}

.webrtc-btn-audio {
    background: #4CAF50;
    color: white;
}

.webrtc-btn-audio.muted {
    background: #f44336;
}

.webrtc-btn-video {
    background: #2196F3;
    color: white;
}

.webrtc-btn-video.paused {
    background: #ff9800;
}

.webrtc-btn-end {
    background: #f44336;
    color: white;
}

.webrtc-call-status {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 20px;
    z-index: 15;
}

.webrtc-incoming-call {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    text-align: center;
}

.webrtc-incoming-call button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.webrtc-incoming-call .accept {
    background: #4CAF50;
    color: white;
}

.webrtc-incoming-call .decline {
    background: #f44336;
    color: white;
}
