/* Root Variables */
:root {
    --main-color: #9c64f4;
    --white-color: #fff;
}

/* Global Styles */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.main-content header{
   max-height: 75px;
   height: 75px;
}
h1 {
    margin: 0px;
    color: #fff;
}

/* Main Content */
.main-content {
    padding: 30px;
    height: 100vh;
    background: #111111;
}

/* Video Player */
.video-player {
    width: 75%;
}

.video-player video {
    width: 100%;
    height: 100%;
}

.video-player .fit-aspect-ratio {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-player iframe,
.video-player #player {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.video-player #unmuteButton {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: transparent;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 99;
    font-size: 60px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes blink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: .5;
    }
    100% {
        opacity: 1;
    }
}

.video-player #unmuteButton .fa {
    background-color: red;
    padding: 10px 10px;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    animation: blink 1s linear infinite;
}

.video-player #playButton {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    background-color: transparent;
    z-index: 99;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.video-player #playButton .fa {
    background-color: #222;
    width: 120px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.video-player #playPauseButton {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    z-index: 1;
    background-color: transparent;
    outline: none;
    border: none;
}

/* Live Stream Container */
.live-stream-container {
    display: flex;
    justify-content: space-between;
    height: calc(100% - 75px);
    gap: 30px;
    border-radius: 8px;
}

.live-stream-video {
    width: 75%;
    height: auto;
    background-color: #000;
}

/* Live Chat Container */
.live-chat-container {
    width: 25%;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
}

.live-chat-header {
    background: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
}

.live-chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    background: #242424;
    border-radius: 8px;
}

.live-chat-messages::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

.live-chat-input {
    border: none;
    padding: 10px;
    border-top: 1px solid #ccc;

}

/* Chat Message Styles */
.live-chat-messages ul {
    padding: 10px;
    margin: 0px;
    list-style: none;
}

.live-chat-messages ul li {
    display: flex;
    margin-bottom: 20px;
    gap: 10px;
    color: #fff;
}

.live-chat-messages ul li .avatar {
    width: 40px;
    height: 40px;
    background-color: #E6E6E6;
    display: block;
    border-radius: 100%;
    text-align: center;
    line-height: 40px;
    color: #828282;
}

.live-chat-messages ul li .user-info {
    display: block;
    width: calc(100% - 40px);
    line-break: anywhere;
}

.live-chat-messages ul li .user-info span {
    display: block;
}

.live-chat-messages ul li .user-info span.name {
    color: #828282;
    font-size: 16px;
    line-height: 16px;
    font-weight: bold;
}

.live-chat-messages ul li .user-info span.message {
    font-size: 18px;
    line-height: 28px;
    line-break: auto;
}

/* Form Chat Styles */
form.form-chat {
    position: relative;
    margin-top: 10px;
}

form.form-chat input {
    height: 50px;
    background: #3D3D3D;
    border-radius: 8px;
    border: 1px solid #BCBCBC;
    width: 100%;
    padding: 16px;
    color: #fff;
}

.submit-chat {
    background-color: var(--main-color);
    width: 30px;
    height: 30px;
    border-radius: 100%;
    border: none;
    outline: none;
    position: absolute;
    right: 10px;
    top: 10px;
}

.submit-chat:focus {
    border: none;
}

.submit-chat .icon-send {
    content: url("data:image/svg+xml,%3Csvg width='10px' height='10px' viewBox='0 0 576 501' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' xmlns:serif='http://www.serif.com/' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3E%3Cg transform='matrix(1,0,0,1,-100,-149.968)'%3E%3Cpath d='M589.65,375L125,375C111.285,375 100,386.285 100,400C100,413.715 111.285,425 125,425L589.65,425L407.3,607.3C402.607,611.993 399.968,618.364 399.968,625C399.968,638.732 411.268,650.032 425,650.032C431.636,650.032 438.007,647.393 442.7,642.7L667.7,417.7C672.4,413.012 675.045,406.639 675.045,400C675.045,393.361 672.4,386.988 667.7,382.3L442.7,157.3C438.007,152.607 431.636,149.968 425,149.968C411.268,149.968 399.968,161.268 399.968,175C399.968,181.636 402.607,188.007 407.3,192.7L589.65,375Z' style='fill:white;fill-rule:nonzero;'/%3E%3C/g%3E%3C/svg%3E%0A");
}


/* Additional Styles */
.logo {
    margin-bottom: 20px;
}


.logo h1 img {
    width: 150px;
    height: auto;
    object-fit: contain;
    text-align: left;
}

.cwi-fixed-popup .popup-wrap {
    max-width: 100% !important;
    margin-bottom: 0px !important;
}

.cwi-fixed-popup {
    width: 75% !important;
    padding: 30px 30px;
}

@media only screen and (max-width: 1728px) {
    .cwi-fixed-popup .popup-wrap > .popup-act-btn {
        width: 140px !important;
    }
    .cwi-fixed-popup .popup-wrap > .popup-info{
        display: block !important;
        align-self: center;
        text-align: center;
    }   
}


@media only screen and (max-width: 768px) {
    .cwi-fixed-popup {
        width: 100% !important;
        padding: 10px;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .live-stream-container {
        display: block;
    }

    .live-stream-video, .live-chat-container {
        width: 100%;
    }

    .main-content {
        padding: 10px;
    }

    .video-player {
        width: 100%;
    }

    .live-chat-container {
        height: 45vh;
        margin-top: 10px;
    }

    .logo h1 {
        text-align: center;
    }
}
@media (max-width: 767px) {
    .cwi-fixed-popup .popup-wrap > .popup-act-btn {
        width: 100% !important;
    }
}

body.replay_v_1_5  .logo {
    text-align: center;
}
body.replay_v_1_5 .live-stream-container {
    display: block;
}
body.replay_v_1_5  .live-stream-container .video-player {
    margin: 0 auto;
}
body.replay_v_1_5 .cwi-fixed-popup {
    transform: translate(-50%);
    left: 50%;
    bottom: 30px !important;
    padding: 0px;
}
body.replay_v_1_5 .main-content {
    padding: 0px;
    padding-top: 30px;
}