.dhls-player-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
    background-color: #000;
    line-height: 0;
    cursor: pointer;
}

.dhls-player-wrapper .dhls-video-player {
    width: 100%;
    height: auto;
    display: block;
    /* max-width: calc(100% - 19%); */
}


/* --- Play Button Overlay --- */
.dhls-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 55px;
    height: 35px;
    background-color: rgb(255 0 0);
    border: none;
    border-radius: 5px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.dhls-play-button:hover {
    background-color: rgb(255 0 0); /* A nice green on hover */
    transform: translate(-50%, -50%) scale(1.1);
}

.dhls-play-button svg {
    width: 25px;
    height: 25px;
    /* margin-left: 0; */
}

/* Hide the play button when the video is playing */
.dhls-is-playing .dhls-play-button {
    display: none;
}
/* Also hide the cursor pointer */
.dhls-is-playing {
    cursor: default;
}


/* Fallback / Error styling */
.dhls-error, .dhls-notice {
    background-color: #f2f2f2;
    border-left: 4px solid #d9534f;
    padding: 15px;
    margin: 10px 0;
    color: #333;
    line-height: 1.5;
}

.dhls-notice {
    border-left-color: #5bc0de;
}

.dhls-notice p, .dhls-error p {
    margin: 0;
    padding: 0;
}