
#vidyoConnector {
    transition: width 0.3s ease;
}

#chatContainer {
    position: absolute;
    top: 0;
    right: 0;
    height: 51vh;
    width: 300px;
    display: none;
    background: #1e1e1e;
}


.chat_header {
    background: #9e3434;
    color: #fff;
    padding: 8px;
    font-weight: bold;
}

.chat_close {
    float: right;
    cursor: pointer;
}

.chat_messages {
    height: calc(100% - 80px);
    overflow-y: auto;
    background: #1e1e1e;
    color: #fff;
    padding: 8px;
}

.chat_input_wrap {
    display: flex;
    padding: 6px;
    background: #2c2c2c;
}

.chat_input_wrap input {
    flex: 1;
    padding: 6px;
}

.chat_input_wrap button {
    margin-left: 6px;
    padding: 8px 12px;
    background: #9e3434;
    color: #fff;
    border: none;
    cursor: pointer;
}

.video_wrap {
    position: relative;
}

.chat_msg {
    margin-bottom: 8px;
    font-size: 13px;
}

.chat_msg.me {
    text-align: right;
}

.chat_bubble {
    display: inline-block;
    padding: 3px 5px;
    background: #007bff;
    color: #fff;
    border-radius: 6px;
    max-width: 85%;
}

.chat_time {
    display: block;
    font-size: 10px;
    opacity: 0.6;
    margin-top: 2px;
}
.chat_msg.received {
    text-align: left;
}

.chat_bubble.received {
    background: chocolate;
    color: #fff;
}

.chat_badge {
    position: absolute;
    top: 8px;
    right: -4px;
    background: red;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 2px;
    min-width: 16px;
    text-align: center;
}

.chat_btn {
    position: relative;
}

.bubble_wrap {
    position: relative;
    display: inline-block;
}

.bubble_wrap.me {
    text-align: right;
}

.bubble_wrap.received {
    text-align: left;
}

/* Triangle tip */
.bubble_tip {
    position: absolute;
    top: -6px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

/* Tip for sent message */
.bubble_wrap.me .bubble_tip {
    right: 10px;
    border-bottom: 6px solid #007bff;
}

/* Tip for received message */
.bubble_wrap.received .bubble_tip {
    left: 10px;
    border-bottom: 6px solid #3a3a3a;
}

.chat_bubble a {
    color: #ffdd57;
    text-decoration: underline;
    word-break: break-all;
}

.chat_bubble a:hover {
    opacity: 0.85;
}



