﻿#video-call {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    background: #000;
    overflow: hidden;
    border-radius: 4px;
}

#remote-videos {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0px, 1fr));
    gap: 6px;
    background: #000;
    overflow: hidden;
}

    #remote-videos video {
        width: auto !important;
        height: 100% !important;
        max-width: 100%;
        max-height: 100%;
        display: block;
        object-fit: contain !important;
        background: #000;
    }

.participant-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.participant-name {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 4px 8px;
    background: rgba(0,0,0,.6);
    color: white;
    border-radius: 4px;
    font-size: 14px;
    font-family: Arial;
    pointer-events: none;
}

#local-video {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 22%;
    max-width: 200px;
    min-width: 120px;
    aspect-ratio: 16 / 9;
    border: 1px solid white;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 15px rgba(0,0,0,.4);
    z-index: 10;
}

    #local-video video {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
        background: #000;
        transform: scaleX(-1);
    }
