#spots {
    /* display: none; */
}

.modal {
    z-index: 20;
}

.modal__container {
    position: relative;
}

.close-modal {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 34px;
    line-height: 1;
}

/* .video-player {
    margin: 0 auto;
    width: 100%;
    max-width: 96%;
    position: relative;
} */

.video-player__watching-counter {
    position: absolute;
    top: 12px;
    left: calc(50% - 124px);
    right: auto;
    z-index: 300;
}

.step1_overlay {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 12;
}

.step1_overlay:hover {
    background-color: #0000001a;
    cursor: pointer;
}

video {
    width: 100%;
}

#step_2,
.available-spots,
.spots-wrapper,
.form-wrap,
.modal,
.register-wrapper,
#videoCounter,
#showForm {
    display: none;
}

.register-wrapper .btn-main {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.spot {
    border: none;
    opacity: 0.85;
}

.available {
    background-color: #4caf50; /* Green */
}
.taken {
    background-color: #e12b1e; /* Red */
    animation: pulse 0.5s ease infinite alternate;
}

/* Pulse Animation */
@keyframes pulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

.form-wrap {
    margin-top: 48px;
}

.grid {
    gap: 30px;
}

@media only screen and (max-width: 600px) {
    .grid {
        gap: 8px;
    }
    .video-player__watching-counter {
        position: absolute;
        top: 12px;
        left: calc(50% - 106px);
        right: auto;
        z-index: 300;
    }
}

#step_1 {
    width: 100%;
    max-width: 96%;
    margin: auto;
    position: relative;
}

/* Custom progress bar */
#customProgressBar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: #eee;
    overflow: hidden;
}

.plyr--video .plyr__control:focus-visible,
.plyr--video .plyr__control:hover,
.plyr--video .plyr__control[aria-expanded="true"] {
    background: rgb(70 72 206);
    color: var(--plyr-video-control-color-hover, #fff);
}

/* Progress bar filler */
#customProgressBar .filler {
    width: 0%;
    height: 100%;
    background: rgb(70 72 206);
    transition: width 0.1s linear;
}

/* Countdown timer */
#countdown {
    position: absolute;
    bottom: 25px;
    right: 10px;
    font-size: 16px;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 4px;
}
