body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #121212;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}


video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Small Video (Bottom Right) */
#localVideo {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 150px;
    height: 100px;
    border: 2px solid white;
    border-radius: 10px;
}

/* Controls */
.controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.controls button {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.controls button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Hangup button (Red) */
.hangup {
    color: red;
}

.video-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 90vh;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

#remoteVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Local Video (Bottom-Right) */
.local-video-wrapper {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 150px;
    height: 100px;
    border: 2px solid white;
    border-radius: 10px;
    overflow: hidden;
}

#localVideo {
    width: 100%;
    height: 100%;
    background: black;
    border-radius: 10px;
    bottom: 0px !important;
    right: 0px !important;
}

/* Muted Overlay (Same Size as Local Video) */
.muted-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    visibility: hidden;
    /* Initially hidden */
    border-radius: 10px;
}

.muted-overlay {
    visibility: visible;
    /* Start with overlay visible */
}

/* #remoteMutedOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    visibility: hidden;
} */