/* Video container with aspect ratio enforcement */
.wplive-streamer-player {
    position: relative;
    width: 100%;
    max-width: 100%; /* Ensures the player doesn't exceed its container */
    overflow: hidden; /* Hides overflow content */
    background: black; /* Fallback background color */
    padding-top: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625 or 56.25%) */
}

/* Video element inside the container */
.wplive-streamer-player video,
.wplive-streamer-player .video-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* "Live" label styling */
.wplive-streamer-player .live-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Center the play button */
.wplive-streamer-player .vjs-big-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20; /* Ensures it sits above other elements */
    background-color: rgba(0, 0, 0, 0.5); /* Optional: semi-transparent background */
    border-radius: 50%; /* Makes the button circular */
    border: none; /* Removes any default borders */
    width: 60px; /* Adjust the size of the button */
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease; /* Optional: Smooth animation on hover */
}

/* Optional: Hover effect */
.wplive-streamer-player .vjs-big-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1); /* Slightly enlarge on hover */
}

/* "Live" label styling in control bar */
.vjs-live-indicator {
    display: flex;
    align-items: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    margin-left: 10px;
    margin-right: 20px; /* Add padding to the right */
}

.vjs-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: red;
    border-radius: 50%;
    margin-right: 5px;
}
