/* Ready2Teach Classroom Display camera takeover layer. */

.r2t-classroom-display {
    position: relative;
}

.r2t-classroom-camera {
    position: absolute;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #05070a;
}

.r2t-classroom-camera[hidden] {
    display: none !important;
}

.r2t-classroom-camera video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #05070a;
    transform: none;
}

.r2t-classroom-camera video.is-mirrored {
    transform: scaleX(-1);
}

.r2t-classroom-camera-status {
    position: absolute;
    left: 50%;
    bottom: clamp(18px, 4vh, 48px);
    transform: translateX(-50%);
    max-width: min(760px, calc(100% - 40px));
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(5, 7, 10, .78);
    color: #fff;
    text-align: center;
    font-size: clamp(.9rem, 1.5vw, 1.15rem);
    font-weight: 850;
    line-height: 1.3;
}

.r2t-classroom-camera-status[hidden] {
    display: none !important;
}

.r2t-classroom-display.is-camera-active {
    overflow: hidden;
}
