.single-video {
    position: relative;
}

#videoPlayer {
    width: 100%;
    cursor: pointer;
    transition: filter 0.3s ease;
    filter: blur(5px);
}

#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: 80px;
    left: 125px;
    width: 471px;
    color: white;
    height: 277px;
    background-color: transparent;
    max-height: 272px;
    overflow-y: hidden;
    pointer-events: none;
}


.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 48VH;
    overflow-y: auto;
    width: 450px;
    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: 120%;
    cursor: pointer; /* Add cursor style to indicate it's clickable */
    transition: filter 0.2s ease; /* Smooth transition for the blur effect */
    filter: blur(8px); /* Initial blur */

}

#liveInfo {
    position: absolute;
    top: 80%;
    left: -53%;
    background-color: rgba(249, 0, 0, 0.8);
    padding: 5px;
    color: white;
}


#customControls {
    position: absolute;
    top: 5%;
    left: -2%;
    background-color: rgba(235, 16, 16, 0.8);
    padding: 9px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    color: #ccc;
    width: 95px;
    height: 35px;
}

#playButton {
    font-size: 7px;
}

#commentField {
    position: absolute;
    bottom: 30px;
    left: 130px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 12px;
    border-radius: 5px;
    width: 410px;
    transition: background-color 0.3s ease;
}

#commentField:focus {
    background-color: rgba(255, 255, 255, 0.9);
}

#sendButton {
    position: absolute;
    bottom: 30px;
    left: 525px;
    background-color: #ef0505;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#sendButton:hover {
    background-color: #0056b3;
}











.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    animation: fadeIn 0.5s ease-in-out forwards;
  }
  
  .popup-content {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    background-color: #0C091A ;
    padding: 20px;
    color: white;
    border-radius: 20px;
    text-align: center;
    animation: slideIn 0.5s ease-in-out forwards;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes slideIn {
    from {
      transform: translate(-50%, -60%);
    }
    to {
      transform: translate(-50%, -50%);
    }
  }
  
  button {
    padding: 10px 20px;
    border: none;
    background-color: #A80294;
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  button:hover {
    background:transparent;
    transform: scale(1.05);
    border: 2px solid #fff;

  }