.single-video {
    position: relative;
}

#videoPlayer {
    width: 100%;
    cursor: pointer;
    transition: filter 0.3s ease;
}

#commentField {
    position: absolute;
    bottom: 10px;
    left: 612px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 5px;
    border-radius: 5px;
    width: 378px;
    transition: background-color 0.3s ease;
}

#commentField:focus {
    background-color: rgba(255, 255, 255, 0.9);
}

#commentContainer {
    position: absolute;
    bottom: 50px;
    left: 612px;
    width: 590px;
    height: 277px;
    background-color: #313131;
    max-height: 280px;
    overflow-y: hidden;
    pointer-events: none; /* Allow clicks to pass through the comment container to the video */
}
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 50VH;
    overflow-y: auto;
    width: 295px;
    display: flex;
    flex-direction: column-reverse; /* Reverse direction to show latest comments at the bottom */
}

.comment {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5px;
    margin-bottom: 40px;
    border-radius: 5px;
    transition: transform 0.5s ease;
}

/* Popup container */
.popup-container {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #121212;
padding: 20px;
border: 1px solid #ccc;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
z-index: 1000;
text-align: center; /* Center text and button */

}

/* Close button */
.popup-close {
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
}

/* Overlay background */
.overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
/* background: rgba(0, 0, 0, 0.5); */
z-index: 999;
}

.centered-button {
margin-top: 20px;
padding: 10px 20px;
background-color: #FF0000;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}

.single-video {
    position: relative;
}

#videoPlayer {
    width: 110%;
    cursor: pointer;
    transition: filter 0.2s ease;
    border-radius: 14px;
}
#liveInfo {
    position: absolute;
    top: 1%;
    left: 80%;
    width: 197px;
    /* background-color: rgba(34, 31, 135, 0.6); */
    padding: 9px;
    color: white;
    border-radius: 28px;
    font-size: 20px;
}

#customControls {
    position: absolute;
    top: 7%;
    left: 90%;
    transform: translate(-50%, -50%);
    background-color: rgba(235, 16, 16, 0.8);
    padding: 0px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    color: #ccc;
    width: 78px;
    height: 26px;
}

#playButton {
    font-size: 7px;
}

#commentField {
    position: absolute;
    bottom: 10px;

    left: 612px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 5px;
    border-radius: 5px;
    width: 540px;
    transition: background-color 0.3s ease;
}

#commentField:focus {
    background-color: rgba(255, 255, 255, 0.9);
}

#sendButton {
    position: absolute;
    bottom: 10px;
    left: 1150px;
    background-color: #ef0505;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#sendButton:hover {
    background-color: #0056b3;
}

/* Style for the new navbar */
.new-navbar-wrapper {
    position: fixed;
    top: 30px;
    left: 0;
    width: 100%;
    background-color: #221F87;
    color: white;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin-top: 49px;
    z-index: 1;

}


.new-navbar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.new-navbar-menu li {
    margin-right: 20px;
}

.new-navbar-menu a {
    color: white;
    text-decoration: none;
}



