#spots {
    /* display: none; */
}

.modal {
    z-index: 320;
}

.modal__container {
    position: relative;
}

.close-modal {
    display: block;
    margin: 0 auto;
    cursor: pointer;
    font-size: 34px;
    font-weight: bold;
    padding: 12px 34px;
    line-height: 1.2;
    border-radius: 34px;
    color: #fff;
    background-color: rgb(93 95 239);
}

.close-modal:hover {
    background-color: rgb(72, 75, 225);
}

/* .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: 100;
}

.step1_overlay {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 12;
}
#preloader {
    z-index: 220;
}

.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 {
    50% {
        opacity: 0.5;
    }
}

.form-wrap {
    margin-top: 48px;
    color: #1fb757;
}

.grid {
    gap: 10px;
}

.questionair {
    display: none;
}

#step_1 {
    width: calc(100vh * (16 / 9));
    max-width: 100%;
    margin: auto;
    position: relative;
    width:fit-content;
}

/* Custom progress bar */
#customProgressBar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: #242424;
    overflow: hidden;
    max-width: 850px;
    margin: 0 auto;
    width: 100%;
}

.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;
    position: relative;
}

#customProgressBar .filler:before {
    content: "";
    width: 10px;
    height: 10px;
    background: white;
    border: 1px solid rgb(151, 151, 151);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: -2px;
    transform: translateY(-50%);
    transition: right 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;
}

.qModal {
    display: none;
    height: 100vh;
}

.mOpen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 1440px) {
    .close-modal {
        font-size: 28px;
    }
}
@media screen and (max-width: 1200px) {
    .close-modal {
        font-size: 24px;
    }
}
@media screen and (max-width: 991px) {
    .close-modal {
        font-size: 18px;
    }
}

@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;
    }
}
@media only screen and (max-width: 576px) {
    #step_1 {
        height: auto;
        width: auto;
    }
}
