﻿pre.code-block {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    overflow-x: auto;
    white-space: pre-wrap;
}

.tabs-wrapper-as {
    position: relative;
    overflow: hidden;
}

.tab-container-as {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    border-bottom: 2px solid #e0e0e0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .tab-container-as::-webkit-scrollbar {
        display: none;
    }

.tab-item-as {
    flex: 0 0 auto;
    padding: 12px 16px;
    font-weight: bold;
    color: #595c73;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

    .tab-item-as.active-as {
        color: #1a1a1a;
        border-bottom: 3px solid #1a1a1a;
    }

.tab-content-as {
    display: none;
    padding: 20px 0;
}

    .tab-content-as.active-as {
        display: block;
    }

.arrow-as {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #7c3aed;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.arrow-left-as {
    left: 5px;
    top: 23px;
}

.arrow-right-as {
    right: 5px;
    top: 23px;
}

.arrow-as.hidden-as {
    display: none;
}

.gradient-left-as,
.gradient-right-as {
    position: absolute;
    top: 0;
    bottom: 5px;
    width: 45px;
    z-index: 1;
    pointer-events: none;
    display: none;
}

.gradient-left-as {
    left: 0;
    background: linear-gradient(to right, #F6F8FD 60%, transparent);
}

.gradient-right-as {
    right: 0;
    background: linear-gradient(to left, #F6F8FD 60%, transparent);
}

    .gradient-left-as.visible-as,
    .gradient-right-as.visible-as {
        display: block;
    }

/*Table Quiz Responsive*/
.responsive-table-riwayat {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    font-family: sans-serif;
}

    .responsive-table-riwayat th,
    .responsive-table-riwayat td {
        border: 1px solid #ddd;
        padding: 10px;
        text-align: left;
    }
/*End Table Quiz Responsive*/

@media (max-width: 768px) {
    .tab-item-as {
        padding: 12px 10px;
        font-size: 14px;
    }


   /*Table responsive quiz*/
    .responsive-table-riwayat {
        border: 0;
    }

        .responsive-table-riwayat thead {
            display: none;
        }

        .responsive-table-riwayat tr {
            display: block;
            margin-bottom: 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            padding: 10px;
            background-color: #fff;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

        .responsive-table-riwayat td {
            display: flex;
            justify-content: space-between;
            padding: 8px 10px;
            border: none;
            border-bottom: 1px solid #eee;
            font-size: 14px;
        }

            .responsive-table-riwayat td:last-child {
                border-bottom: none;
            }

            .responsive-table-riwayat td::before {
                content: attr(data-label);
                font-weight: bold;
                color: #333;
            }
   /*End table responsive quiz*/
}

.content-desc {
    overflow: hidden;
    max-height: 100px; 
    transition: max-height 0.3s ease-in-out;
}

.p-last-of-type p:last-of-type {
    margin-bottom: 0 !important;
}

.p-color-inherit p {
    color: inherit;
}



.info-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box {
    display: flex;
    align-items: center;
    border: 1px solid #d4d4d8;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 7px;
    justify-content: center;
    height: 100%;
}

.separator {
    margin: 0 8px;
    color: #aaa;
}

.info-time {
    display: flex;
    align-items: center;
    font-weight: 300;
    font-size: 14px;
}

.time-text {
    margin-left: 5px;
}

.module-type-icon {
    color: #71717a;
}

div.shadow-fixed-bottom {
    box-shadow: 0 -3px 3px -3px #3333332e;
}

.text-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.as-color-gray-dark-v5 {
    color: #a1a1aa !important;
}

.classroom-bottom-nav__next:hover, .classroom-bottom-nav__prev:hover {
    background: #f4f4f5;
    border-radius: 4px;
    color: #3f3f46 !important;
    text-decoration: unset
}

/*Css for tooltip footer navigation lesson*/
.custom-icon-bar {
    display: flex;
    gap: 20px;
}

.custom-icon-item {
    position: relative;
    width: 45px;
    height: 45px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    outline: none;
    border: none;
}

    .custom-icon-item {
        background-color: #f2f2f2;
    }

    .custom-icon-item.active {
        color: #fff;
        background-color: #4285f4;
    }

.custom-icon-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    font-size: 11px;
    padding: 0px 4px;
    border-radius: 999px;
    min-width: 18px;
    text-align: center;
}

.custom-icon-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
}
/*End css for tooltip footer navigation lesson*/

/*For Video*/
.embed-responsive {
    border-radius: 10px !important;
}

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden
}

    .embed-responsive::before {
        display: block;
        content: ""
    }

    .embed-responsive .embed-responsive-item, .embed-responsive embed, .embed-responsive iframe, .embed-responsive object, .embed-responsive video {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0
    }

.embed-responsive-21by9::before {
    padding-top: 42.857143%
}

.embed-responsive-16by9::before {
    padding-top: 56.25%
}

.embed-responsive-4by3::before {
    padding-top: 75%
}

.embed-responsive-1by1::before {
    padding-top: 100%
}
/*End For Video*/


.equal-height-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.equal-height-col {
    display: flex;
    flex-direction: column;
}

.scroll-size {
    min-height: 100vh; /* Pastikan minimal setinggi viewport */
    /*display: flex;*/
    justify-content: center;
    align-items: center;
}

.body-quiz-flex-centered {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Menengahkan konten secara vertikal */
    align-items: center;
    min-height: 100vh; /* Gunakan min-height agar tetap responsif */
}


.as-btn-secondary {
    background-color: #f4f4f5;
    border-color: #d4d4d8;
    color: #3f3f46
}

.as-btn {
    background: 0 0;
    border: 1px solid transparent;
    border-radius: 2px;
    color: #3f3f46;
    cursor: pointer;
    display: inline-block;
    font-size: 16px !important;
    font-weight: 700;
    letter-spacing: unset;
    line-height: 24px;
    outline: 1px solid transparent !important;
    outline-offset: -4px;
    padding: 8px 24px;
    position: relative;
    text-align: center;
    text-transform: unset !important;
    transition: all .15s ease-in-out
}

    .as-btn::after {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        content: "";
        border: 1px solid #fff;
        opacity: 0;
        border-radius: 1.5px;
        transition: all .1s ease-in-out
    }

    .as-btn:hover {
        color: inherit;
        text-decoration: none
    }

    .as-btn:focus::after {
        top: 4px;
        right: 4px;
        bottom: 4px;
        left: 4px;
        opacity: .5
    }

    .as-btn.disabled, .as-btn:disabled {
        cursor: not-allowed;
        opacity: .65
    }

.as-btn-sm {
    font-size: .875rem !important;
    line-height: 1.5;
    padding: .5rem .81rem
}

.as-font-size-18 {
    font-size: 18px !important;
}

.media {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start
}

.media-body {
    -ms-flex: 1;
    flex: 1
}

.hover-underline:hover {
    text-decoration: underline;
    color: #6281C8;
    cursor: pointer;
}

@media (max-width: 991.98px) {
    .ishorizontal-topbar, .isvertical-bottombar {
        left: 0 !important
    }
}