/* pre-login button */
.lun-prelogin {
    margin-top: 10px;
    color: white;
    text-align: center;
}

.learndash-wrapper .lun-prelogin .ld-button:not(.ld-button-reverse):not(.learndash-link-previous-incomplete):not(.ld-button-transparent):not(.ld--ignore-inline-css) {
    margin-top: 10px;
    text-align: center;
    background-color: #ffd200 !important;
    color: #000000;
    font-size: 15px;
}
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 0; /* Ensure no margin above or below */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


.video-container {
    text-align: center;
}
/* checkout padding */
body.woocommerce-checkout .wc-block-checkout, body.woocommerce-cart #content {
    padding: 0 20px;
}
/* shop sold out badge */
.sold-out-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    z-index: 10;
}

/* error */
.lun-inline-error {
    margin: 0 10px;
    color: #aa0000;
    font-size: 13px;
}
/* notice */
.lun-notice {
    /*background: #003644;*/
    /*border: 1px solid #9AEBA2;*/
    /*color: #ffffff;*/
    border-radius: 16px;
    text-align: center;
    width: 100%;
}

.lun-notice.spaced {
    margin: 25px 0 0 0;
}

.task-glossary, .task-description {
    margin: 25px 0;
}
.task-glossary b, .task-description b, .task-title {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}
.task-glossary a, .task-description a {
    /*color: #9AEBA2;*/

}

/* dialog */
.lun-dialog {
    /*background: #003644;*/
    /*border-top: 1px solid #9AEBA2;*/
    /*color: #ffffff;*/
    /* 	border-radius: 16px; */
    text-align: center;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 11;
    width: 100%;
}
.lun-dialog .lun-button-bar {
    font-weight: bold;
    border-radius: 0;
    margin-top: 0;
}
.lun-dialog-inner {
    width: 100%;
    padding: 30px 10px 0px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.lun-dialog .top-icon {
    position: absolute;
    top: -28px;
    width: 56px;
    height: 56px;
    border-radius: 80px;
    border: 2px solid #9AEBA2;
    background: #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lun-dialog .top-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.lun-dialog.success {
    /*background: #9AEBA2;*/
    /*color: #003644;*/
}
.lun-dialog.success h1 {
    /*color: #003644 !important;*/
}

.lun-dialog h1, .lun-dialog p {
    margin-bottom: 0 !important;
}

/* generic button, button bar */
.lun-button, .lun-button-bar {
    padding: 0 20px;
    font-size: 14px;
    display: inline-flex;
    /*background: #5D4AA5;*/
    /*color: #ffffff;*/
    border-radius: 6px;
    height: 40px;
    min-width: 100px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lun-button-bar {
    margin-top: 36px;
    border-radius: 16px;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    width: 100%;
}

.lun-button-bar .ld-icon {
    margin: 0 5px;
}

.lun-button.large {
    font-family: "Simona", sans-serif;
    font-size: 24px;
    padding: 10px 40px;
    border-radius: 40px;
}

.lun-button:hover, .lun-button-bar:hover {
    /*background: #003644;*/
}
.lun-button.completed, .lun-button-bar.completed {
    /*background: #9AEBA2;*/
    /*color: #003644;*/
}

.lun-button.disabled, .lun-button-bar.disabled {
    background: #aaaaaa;
    color: #666666;
    cursor: not-allowed;
}

.lun-button .ld-icon, .lun-button-bar .ld-icon {
    margin-left: 6px;
}
/* progress bars */
.lun-progress {
    height: 20px;
    width: 100%;
    border-radius: 20px;
    border: 1px solid #9AEBA2;
    display: flex;
    margin: 10px 0;
}
.lun-progress-inner {
    line-height: 18px;
    border-radius: 20px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background: #9AEBA2;
    color: #008C65;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}

.lun-progress-inner.completed {
    width: 100%;
    border-radius: 0;
    background: #ffffff;
}

/* lesson nav */
.lun-lesson-nav {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.lun-lesson-nav .ld-content-action.title {
    text-align: center;
}

.lun-lesson-nav .ld-icon {
    color: #ffffff;
    font-size: 22px;
}

/* animations */
.confetti-icon {
    animation: popIn 1.5s ease;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
