/* Style dla pluginu Odigo Stream */
.odigo-stream-content {
    padding: 16px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.odigo-stream-container {
    /*margin-bottom: 20px;*/
    /*padding: 16px;*/
    background-color: #f9f9f9;
    border-radius: 5px;
    opacity: 1;
}
.odigo-stream-container[data-is-off='1'][data-is-admin='0'] {
    display: none;
}
.odigo-stream-container[data-is-off='1'][data-is-admin='1'] #stream-chat {
    opacity: 0.5;
}

.odigo-stream-container h2 {
    font-size: 24px;
    color: #333;
}
.stream-messages-wrapper {
    display: flex;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #fafafa;
    min-height: 100px;
    height: 400px;
    overflow-y: scroll;
    /*gap: 50px;*/
    display: flex;
    flex-direction: row;
    height: 70%;
}
#stream-messages {
    display: flex;
    flex-direction: column;
    border-right: 2px solid #000000;
    padding-right: 50px;
    height: fit-content;
}
.present-messages {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding-left: 50px;
}
.present-messages .options-wrapper {
    display: none !important;
}
.present-messages .remove-btn-wrapper {
    display: none;
}
.present-messages .stream-message-wrapper.present_mode.highlighted .stream-message-text {
    background-color: #df2a5a !important;
    color: #FFFFFF !important;
}
.present-messages .stream-message-wrapper.present_mode .stream-message-text {
    background-color: #e6e7e8 !important;
    color: #000000 !important;
}
.vertical-line {
    height: 100vh;
    border-left: 3px solid #000000;
}

#stream-messages {
    width: 50%;
    /*margin-top: 20px;*/
    /*padding: 20px;*/
    /*border: 1px solid #ddd;*/
    /*background-color: #fafafa;*/
    /*min-height: 100px;*/
    /*height: 400px;*/
    /*overflow-y: scroll;*/
    /*gap: 50px;*/
    /*display: flex;*/
    /*flex-direction: column;*/
    /*height: 70%;*/
}

#load-stream {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#load-stream:hover {
    background-color: #005a8c;
}
#stream-message-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border: 2px solid #df2a5a;
    border-radius: 0 0 0 16px;
    background: #df2a5a;
    color: #fff;
    font: 700 18px/1 "Nexa", sans-serif;
    height: 53.2px;
}
#stream-message-send:hover {
    background: transparent;
    color: #2a3045;
}
#stream-send-message {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
#stream-message {
    height: 80px;
    flex-grow: 1;
}
#stream-error-message {
    color: red;
    margin-top: 20px;
}
.stream_message .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    border: 2px solid #FFFFFF;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    background-color: #e6e7e8;
}
.stream_message .btn i {
    font-size: 12px;
}
.stream_message .btn.active {
    background-color: #df2a5a;
    color: #FFFFFF;
}
.stream-message-wrapper {
    display: flex;
    width: 100%;
}

.stream_message[data-is-admin='0'] .options-wrapper {
    display: flex;
    position: absolute;
    left: 0;
}
.stream_message[data-is-admin='1'] .options-wrapper {
    display: flex;
    position: absolute;
    right: 0;
}
.stream_message[data-is-admin='1'] .respond-btn-wrapper {
    display: none
}
.stream_message .checkbox-wrapper {
    display: flex;
    align-content: center;
    justify-content: center;
}
.stream_message .checkbox-wrapper input {
    width: 20px;
    height: 20px;
    margin-left: 20px;
    margin-right: 10px;
}
/*.is_answered .stream-message-text{*/
/*    border: 2px solid green;*/
/*}*/
.stream_message .present_mode .stream-message-text {
    border: 2px solid #df2a5a;
}
/*.present_mode .stream-message-text{*/
/*    border: 2px solid orange;*/
/*}*/
.stream-message-text {
    width: fit-content;
    border: 2px solid #e6e7e8;
    border-radius: 10px;
    padding: 10px;
    position: relative;
}

.stream-message-text strong {
    font-weight: bold;
    font-size: 16px;
}

#stream-respond-message {
    margin-top: 20px;
}

.stream-respond-message__header {
    display: flex;
    justify-content: space-between;
}
.stream-respond-message__user {
    font-weight: bold;
}

.stream-respond-message__header .btn {
    font-weight: bold;
}

.stream-respond-message__message {
    font-size: 14px;
    margin-top: 15px;
}

.stream_message {
    position: relative;
}
.response-messages-wrapper {
    opacity: 0.75;
    width: fit-content;
    margin-left: 50px;
    margin-top: 20px;
}
.respond-message {
    padding: 10px;
    background-color:#df2a5a;
    color:#FFFFFF;
    border-radius: 10px;
    border: 2px solid #e6e7e8;
}
#stream-chat-scroll-bottom {
    display: none;
    position: absolute;
    top: -5px;
    right: 16px;
    padding: 8px;
    font-size: 14px;
}
#stream-service-messages .select2-selection {
    height: 48px;
}
.chat_off_checkbox-wrapper {
    display: none;
    align-items: center;
    gap: 10px
}
.chat_off_checkbox-wrapper-admin {
    padding: 16px;
    width: 100%;
}
#clear_service_message_button,
#service_message_button {
    margin-left: 16px;
}
#chat_on_checkbox,
#chat_off_checkbox,
#chat_rating {
    margin-right: 10px;
}

#stream-message-send:disabled {
    background-color: #ddd;
    color: #777;
    cursor: not-allowed;
    border: 1px solid #ccc;
}

#rating_message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#rating-stars {
    display: flex;
    flex-direction: row;
    font-size: 30px;
    cursor: pointer;
}
#rating-stars i {
    color: #ddd;
}
#rating-stars .filled {
    color: #df2a5a;
}
#rating-stars i.disabled {
    cursor: not-allowed;
}
.message-user-name {
    font-weight: bold;
    font-size: 16px;
}
.message {
    font-size: 16px;
}
.odigo-stream-btns-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
}
.odigo-stream-btns-container-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 30px;
}
.odigo-stream-outer-container {
    display: none;
    justify-content: center;
    gap: 30px;
    width: 100%;
    position: relative;
}
/*.odigo-stream-iframe {*/
/*    width: 50%;*/
/*}*/
/*.odigo-stream-container {*/
/*    width: 50%;*/
/*}*/
.remove-btn-wrapper {
    position: absolute;
    right: -15px;
    top: -15px;
}
.respond-btn-wrapper {
    margin-left: 10px;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.modal-content__btn {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.modal-content button:hover {
    color: #df2a5a;
}

.odigo-stream-iframe[data-is-admin='0'] {
    width: 70%;
}
.odigo-stream-iframe[data-is-admin='1'] {
    position: absolute;
    right: 16px;
    width: 350px;
    height: 150px;
    z-index: 100;
}
.odigo-stream-iframe[data-is-admin='0'] iframe{
    min-height:fit-content !important;
}
.odigo-stream-iframe[data-is-admin='1'] iframe{
    min-height:fit-content !important;
}
.odigo-stream-container[data-is-admin='0'] {
    width: 30%;
}
.odigo-stream-container[data-is-admin='1'] {
    width: 100%;
}
.odigo-stream-container h2 {
    padding: 0 16px;
}
.odigo-stream-container[data-is-admin='1'] h2 {
    /*height: 175px;*/
}
.odigo-stream-container[data-is-admin='1'] .stream-message-text {
    width: 90%;
}

/*#stream-messages {*/
/*    display: none;*/
/*}*/
/*#stream-send-message {*/
/*    display: none;*/
/*}*/
#stream-chat {
    position: relative;
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 170px;
}
#stream-chat .message {
    word-break: break-all;
}
#stream-chat__turn {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: #e6e7e8;
    align-items: center;
    justify-content: center;
    padding: 15px;
}
@media screen and (max-width: 990px) {
    .odigo-stream-outer-container {
        flex-direction: column;
    }
    .odigo-stream-iframe[data-is-admin='0'] {
        width: 100%;
    }
    .odigo-stream-container[data-is-admin='0'] {
        width: 100%;
    }
    .chat_off_checkbox-wrapper-admin {
        flex-direction: column;
    }
}

@media screen and (max-width: 500px) {
    .odigo-stream-iframe[data-is-admin='1'] {
        width: 250px;
    }
}

.hidden {
    display: none !important;
}
@media screen and (min-width: 991px) {
    .stream_message-present_mode .stream-message-text .message-user-name {
        font-size: 1.388vw;
    }
    .stream_message-present_mode .stream-message-text .message {
        font-size: 1.944vw;
    }
}
@media screen and (max-width: 990px) {
    .stream_message-present_mode .stream-message-text .message-user-name {
        font-size: 2.326vw
    }
    .stream_message-present_mode .stream-message-text .message {
        font-size: 3.256vw
    }
}
@media screen and (max-width: 640px) {
    .stream_message-present_mode .stream-message-text .message-user-name {
        font-size: 3.489vw
    }
    .stream_message-present_mode .stream-message-text .message {
        font-size: 4.884vw
    }
}


.stream_message-present_mode .stream-message-text {
    background-color: #df2a5a;
    color: #FFFFFF;
    width: 100%
}
.stream_message-present_mode{
    display: flex;
    flex-direction: column;
    align-items: flex-end
}

.stream_message.stream_message-present_mode.present-mode-active {
    display: flex;
}
.stream_message.stream_message-present_mode.highlighted-message-active {
    display: flex;
}

.stream_message.stream_message-present_mode {
    display: none;
}
#chat_off_text {
    /*margin-left: auto;*/
    /*width: 60%;*/
    margin-left: 20px;
    width: auto;
    flex-grow: 1;
}
.odigo-stream__box:hover {
    cursor: pointer;
}
.odigo-stream-btns-container-title {
    font-size: 24px;
}
.odigo-stream__box {
    border: 1px black solid;
}
.odigo-stream__box .box {
    margin-bottom: 0;
}
.odigo-stream-container[data-is-admin='1'] #stream-chat,
.odigo-stream-container[data-is-speaker='1'] #stream-chat {
    height: 600px;
}
#finish_stream_button {
    margin-left: 16px;
}

.odigo-stream-container[data-is-admin ='1'] .stream_message[data-speaker-message='1'] .stream-message-text {
    background-color: #2a3045 !important;
    color: #FFFFFF !important;
}
.stream_message.stream_message-present_mode.speaker-message .stream-message-text {
    background-color: #2a3045 !important;
    color: #FFFFFF !important;
}
.present-messages .message-user-name {
    font-size: 16px !important;
}
.present-messages .message {
    font-size: 16px !important;
}
.present-messages .stream_message {
    margin-bottom: 15px;
}
#stream-messages .stream_message.stream_message-present_mode {
    margin-bottom: 15px;
}

.rating-indicator {
    display: none;
    padding: 0 16px;
 }