﻿.modal-body .livekit-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.modal-body .livekit-content .livekit-header {
    width: 100%;
    border: 1px solid black;
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 8px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.modal-body .livekit-content .livekit-header .livekit-users {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.modal-body .livekit-content .livekit-header .livekit-users .livekit-users-aligned {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-end;
}

.modal-body .livekit-content .livekit-header .livekit-video {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}


.modal-body .livekit-content .livekit-header .agent {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.modal-body .livekit-content .livekit-header .local-user {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.modal-body .livekit-content .livekit-header .agent lottie-player, .modal-body .livekit-content .livekit-header .agent img,
.modal-body .livekit-content .livekit-header .local-user lottie-player, .modal-body .livekit-content .livekit-header .local-user img {
    width: 64px;
    height: 48px;
}

.modal-body .livekit-content .livekit-header .agent lottie-player,
.modal-body .livekit-content .livekit-header .local-user lottie-player {
    display: none;
}

.modal-body .livekit-content .livekit-header .agent img,
.modal-body .livekit-content .livekit-header .local-user img {
    display: block;
}

.modal-body .livekit-content .livekit-header .agent.speaking lottie-player,
.modal-body .livekit-content .livekit-header .local-user.speaking lottie-player {
    display: block;
}

.modal-body .livekit-content .livekit-header .agent.speaking img,
.modal-body .livekit-content .livekit-header .local-user.speaking img {
    display: none;
}

.modal-body .livekit-content .livekit-header .livekit-camera-view {
    height: 80px;
    max-width: calc(100% - 56px);
    background: black;
}

.video-change-facing {
    margin-left: 8px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #353535;
    position: relative;
}

.video-change-facing img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0s;
}

.video-change-facing img.rotated {
    transform: translate(-50%, -50%) rotate(180deg);
    transition: transform 0.5s;
}

.modal-body .livekit-content .livekit-scroll-area {
    border: 1px solid black;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-body .livekit-content .livekit-scroll-area .livekit-scrollable-content {
    width: 100%;
    padding: 8px 8px 0 8px;
}

.modal-body .livekit-content .livekit-chat {
    margin-bottom: 8px;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
}

.modal-body .livekit-content .livekit-chat.agent {
    justify-content: flex-start;
}

.modal-body .livekit-content .livekit-chat.local-user {
    justify-content: flex-end;
}

.modal-body .livekit-content .livekit-chat .livekit-chat-bubble {
    border: 1px solid black;
    border-radius: 8px;
    padding: 8px;
    max-width: 75%;
}

.modal-body .livekit-content .livekit-chat.agent .livekit-chat-bubble {
    background: #e9e9e9;
    color: black;
}

.modal-body .livekit-content .livekit-chat.agent .livekit-chat-bubble h5 {
    text-align: start;
}

.modal-body .livekit-content .livekit-chat.local-user .livekit-chat-bubble {
    background: #377DBC;
    color: white;
}

.modal-body .livekit-content .livekit-chat.local-user .livekit-chat-bubble h5 {
    text-align: end;
}

.modal-body .livekit-content .livekit-chat-content-placeholder {
    height: 100px;
}

#livekit-card { 
    padding: 8px;
}

#livekit-card > div {
    color: rgb(240, 240, 240);
    background: #444444;
}
