@charset "UTF-8";

/* ==========================================================================
   Premium Course Demo Player
   ========================================================================== */

.mp-modal-override {
    border-radius: 20px !important;
    border: none !important;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, .4);
    background: #fff;
}

/* Keep modal above everything */
.modal {
    z-index: 999999 !important;
}

/* --------------------------------------------------------------------------
   Modal sizing
-------------------------------------------------------------------------- */

#moopressDemoModal .modal-dialog {
    max-width: 1200px;
}

#moopressDemoModal .modal-content {
    max-height: 90vh;
    overflow: hidden;
}

#moopressDemoModal .modal-body {
    overflow-y: auto;
}

/* --------------------------------------------------------------------------
   Video
-------------------------------------------------------------------------- */

.mp-player-wrapper {
    background: #000;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

#mp-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 55vh;
    object-fit: contain;
    background: #000;
}

/* Plyr */

.plyr {
    width: 100%;
    max-height: 55vh;
}

.plyr video {
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   Close Button
-------------------------------------------------------------------------- */

.btn-close {
    z-index: 100;
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Meta
-------------------------------------------------------------------------- */

.mp-meta .badge {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
}

.mp-badge-rating {
    background: #fef3c7 !important;
    color: #92400e !important;
}

.mp-badge-rating i {
    color: #f59e0b;
}

.mp-badge-cert {
    background: #ecfdf5 !important;
    color: #065f46 !important;
}

/* --------------------------------------------------------------------------
   Purchase Card
-------------------------------------------------------------------------- */

.mp-purchase-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .05);
}

.fw-black {
    font-weight: 900;
}

/* --------------------------------------------------------------------------
   Button
-------------------------------------------------------------------------- */

.mp-modal-override .btn-enroll-action {
    background: #b58863 !important;
    border-color: #b58863 !important;
    border-radius: 12px !important;
    font-size: 16px;
    font-weight: 700;
    transition: .25s;
}

.mp-modal-override .btn-enroll-action:hover {
    background: #b58863 !important;
    border-color: #b58863 !important;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Lists
-------------------------------------------------------------------------- */

.mp-custom-list {
    margin: 0;
    padding: 0;
}

.mp-custom-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.5;
    color: #334155;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.arrow-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Scrollbar
-------------------------------------------------------------------------- */

.modal-dialog-scrollable .modal-body {
    scrollbar-width: thin;
}

/* --------------------------------------------------------------------------
   Responsive
-------------------------------------------------------------------------- */

@media (min-width:1200px) {

    .modal-xl {
        --bs-modal-width: 1200px;
    }

}

@media (max-width:991px) {

    #mp-video,
    .plyr {
        max-height: 35vh;
    }

}

@media (max-width:576px) {

    .modal-body {
        padding: 1.25rem !important;
    }

    #mpModalTitle {
        font-size: 1.35rem;
    }

    .btn-enroll-action {
        width: 100%;
    }

}

/* --------------------------------------------------------------------------
   Reset
-------------------------------------------------------------------------- */

.list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

#mp-player-container,
#mp-player-container video,
#mp-player-container .plyr,
#mp-player-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 55vh;
    display: block;
    background: #000;
}

#mp-player-container{
    width:100%;
    aspect-ratio:16/9;
    background:#000;
}

#mp-player-container iframe,
#mp-player-container video{
    width:100%;
    height:100%;
    border:0;
    display:block;
}

.crx-inline-player {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 20;
}

.crx-inline-player-inner,
.crx-inline-player-inner video,
.crx-inline-player-inner iframe,
.crx-inline-player-inner .plyr {
    width: 100%;
    height: 100%;
    display: block;
}

.crx-inline-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 21;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}