#videoContainer {
    position: relative;
    width: 100%;
    min-height: 250px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    display: none;
}

#videoContainer.active {
    display: block;
}

#canvas {
    width: 100%;
    height: 100%;
    min-height: 250px;
    display: block;
    object-fit: cover;
    object-position: center;
}
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 300px;
    aspect-ratio: 1;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    pointer-events: none;
}

.overlay::before,
.overlay::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 4px solid #4ade80;
}

.overlay::before {
    top: -4px;
    left: -4px;
    border-right: none;
    border-bottom: none;
}

.overlay::after {
    bottom: -4px;
    right: -4px;
    border-left: none;
    border-top: none;
}

.corner-tl {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 30px;
    height: 30px;
    border: 4px solid #4ade80;
    border-left: none;
    border-bottom: none;
}

.corner-br {
    position: absolute;
    bottom: -4px;
    left: -4px;
    width: 30px;
    height: 30px;
    border: 4px solid #4ade80;
    border-right: none;
    border-top: none;
}