
.agora-stream {

    .stream-player {
        width: 100%;
        height: calc(100vh - 220px);
        background-color: transparent;
    }

    .player {
        width: 100%;
        height: calc(100vh - 220px);
        background-color: $gray-200;
        border-radius: 10px;

        & > div {
            border-radius: 10px;
            background-color: transparent;
        }

        video {
            border-radius: 10px;
            object-fit: contain !important;
        }

        @media (max-width: $screen-sm-max) {
            height: 60vh;
        }
    }

    .remote-stream-box {
        display: flex;
        align-items: center;
        position: absolute;
        right: 0;
        bottom: 15px;
        z-index: 131;

        &.is-fullscreen {
            position: static !important;
        }

        .remote-stream {
            position: relative;
            transition: all 0.3s ease;

            > div {
                margin-right: 15px;
                width: 200px !important;
                height: 140px !important;
                border-radius: 5px;
                border: 1px solid #585656;

                @media (max-width: $screen-sm-max) {
                    width: 100px !important;
                    height: 90px !important;
                }
            }

            .remote-stream-fullscreen {
                position: absolute;
                top: 10px;
                right: 25px;
                width: 32px;
                height: 32px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                padding: 5px;
                border-radius: 5px;
                background-color: rgba(0, 0, 0, 0.5);
                color: #FFFFFF;
                cursor: pointer;
                z-index: 111;

                @media (max-width: $screen-sm-max) {
                    width: 24px;
                    height: 24px;
                    padding: 3px;
                    top: 5px;
                    right: 20px;
                }
            }

            .remote-stream-user-info {
                position: absolute;
                width: 100%;
                padding: 5px;
                border-radius: 5px;
                background-color: rgba(0, 0, 0, 0.5);
                font-size: 12px;
                font-weight: 500;
                color: #FFFFFF;
                bottom: 0;
                z-index: 11;
            }

            &.is-fullscreen {
                position: absolute;
                inset: 0;
                z-index: 131;

                > div {
                    margin-right: 0;
                    width: 100% !important;
                    height: 100% !important;
                    border-radius: 10px;
                    border: none;
                }
            }
        }
    }

    .time-item {
        width: 24px;
    }

    .stream-player.screen-shared {
        position: absolute !important;
        width: 250px;
        height: 150px;
        left: 0;
        z-index: 5;
    }

    .stream-footer {

        .stream-bottom-actions {

            &.dont-join-users {
                .icon-box {
                    position: relative;

                    &:after {
                        content: "";
                        position: absolute;
                        width: 40px;
                        height: 2px;
                        background-color: $dark;
                        transform: rotate(38deg);
                        left: -5px;
                        top: 12px;
                    }
                }
            }
        }

        @media (max-width: $screen-sm-max) {
            flex-wrap: wrap;

            .stream-bottom-actions {
                flex: 1 1 90px;
            }
        }
    }
}
