@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');
html,body{
    font-family: 'Poppins', sans-serif !important;
}
.fs-40{
    font-size: 40pt !important;
}
.fs-30{
    font-size: 30pt !important;
}
.fs-25{
    font-size: 25pt !important;
}
.fs-20{
    font-size: 20pt !important;
}
.fs-17{
    font-size: 17pt !important;
}
.fs-15{
    font-size: 15pt !important;
}
.fs-14{
    font-size: 14pt !important;
}
.fs-13{
    font-size: 13pt !important;
}
.fs-12{
    font-size: 12pt !important;
}
.fs-11{
    font-size: 11pt !important;
}
.fs-10{
    font-size: 10pt !important;
}
.fs-9{
    font-size: 9pt !important;
}
.fs-8{
    font-size: 8pt !important;
}
.mt-6{
    margin-top: 5rem !important;
}
.mt-7{
    margin-top: 5rem !important;
}
.mb-6{
    margin-bottom: 5.25rem !important;
}
.border-2{
    border-width: 2px !important;
}
.bg-primary{
    background-color: #3B47B8 !important;
}
.text-primary{
    color: #3B47B8 !important;
}
.text-black{
    color: #000000 !important;
}
.text-bold{
    font-weight: bold !important;
}
.btn-primary {
    background-color: #3B47B8 !important;
    border-color: #3B47B8 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    background-color: #2f3a9b !important; /* versi sedikit lebih gelap untuk efek hover */
    border-color: #2f3a9b !important;
}
.btn-outline-primary {
    color: #2F3A9B !important;
    border-color: #2F3A9B !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #fff !important;
    background-color: #2F3A9B !important;
    border-color: #2F3A9B !important;
}
.btn-link{
    color: #3B47B8 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.btn-link:hover,
.btn-link:focus,
.btn-link:active{
    color: #2f3a9b !important;
    text-decoration: none;
}
.form-control-plaintext{
    background-color: #f6f6f6;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 3px;
}


/*loading*/
.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(../../files/images/Skolastika.id.png) 50% 50% no-repeat rgb(249,249,249);
    opacity: .8;
}
.no-caret::after {
    display: none;
}

/* --- LIGHT MODE (default) --- */
.navbar {
    background:  #ffffff !important;
    border: 0 !important;
}
.navbar .nav-link,
.navbar .navbar-brand {
    color: #000 !important;   /* teks hitam */
}

.navbar .nav-link:hover {
    color: #333 !important;
}
/* --- Dark Mode --- */
body.dark-mode {
    background-color: #1e1e1e;
    color: #e6e6e6;
}

body.dark-mode .navbar {
    background: #2c2c2c !important;
    border-bottom: 1px solid #444 !important;
}

body.dark-mode .dropdown-menu {
    background: #2c2c2c !important;
    color: white;
}

body.dark-mode .list-group-item {
    background: #2c2c2c;
    color: #ddd;
    border-color: #444;
}

body.dark-mode .list-group-item:hover {
    background: #3a3a3a;
}

body.dark-mode .dropdown-item {
    color: #eee;
}

body.dark-mode .dropdown-item:hover {
    background: #3a3a3a;
}

/* Sidebar kanan fixed (desktop) */
.fixed-right-panel {
    position: fixed;
    top: 80px; /* jarak dari navbar atas, sesuaikan */
    right: 0;
    width: 330px; /* mengikuti lebar col-md-3 */
    bottom: 60px; /* jarak dari tombol navigasi bawah */
    overflow-y: auto;
    z-index: 1030;
}
.fixed-right-panel .number{
    width: 39px; 
    height: 39px;
    border: 2px solid #6C757D;
    color: #6C757D !important;
    background: none;
}
.fixed-right-panel .number:hover,.fixed-right-panel .number.active:hover,.fixed-right-panel .number.terjawab:hover{
     border: 2px solid #6C757D !important;
    color: white !important;
    background-color: #6C757D !important;
}
.fixed-right-panel .number.active{
    background-color: #3B47B8 !important;
    color: white !important;
    border-color: #3B47B8 !important;
}
.fixed-right-panel .number .abjad{
    height: 25px; 
    width: 25px; 
    border: 2px solid #919196; 
    display: block; 
    border-radius: 100%; 
    top: -15px; 
    right: -10px; 
    background-color: #fdfdff; 
    position: absolute;
}
.fixed-right-panel .number.active .abjad{
    background-color: #3B47B8;
    color: white;
    border-color: white;
}
.fixed-right-panel .number.terjawab{
    background-color: #298839;
    color: white !important;
    border-color: #298839;
}
.fixed-right-panel .number.terjawab .abjad{
    background-color: #298839;
    color: white;
    border-color: white;
}

@media (max-width: 768px) {
    .navbar-nav .nav-item {
        margin-left: 5px !important;
        margin-right: 5px !important;
    }

    /* Supaya ikon tidak terlalu mepet ke atas/bawah */
    .navbar-nav .nav-link {
        padding-left: 3px !important;
        padding-right: 3px !important;
    }
    .navbar .dropdown-menu {
        position: absolute !important;
        top: 100%;
        right: 0;
        left: auto;
        transform: none !important;
        margin-top: .5rem;
        max-height: 70vh;
        overflow-y: auto;
    }
    #notifDropdown + .dropdown-menu {
        position: fixed !important;
        top: 60px !important;      /* posisi di bawah navbar */
        right: 10px !important;
        left: 10px !important;
        width: auto !important;
        max-height: calc(100vh - 80px) !important; /* full tinggi layar */
        overflow-y: auto !important;
        border-radius: 14px !important;
        z-index: 999999 !important;
    }
    /*start tabs*/
    .custom-tabs {
        display: flex;
        justify-content: space-around;
        border-bottom: 1px solid #e0e0e0;
    }

    .custom-tabs .nav-item {
        flex: 1;
        text-align: center;
    }

    .custom-tabs .nav-link {
        font-size: 14px;
        padding: 8px 0;
        color: #6c757d;
        border: none !important;
    }

    .custom-tabs .nav-link.active {
        color: #007bff;
        border-bottom: 2px solid #007bff !important;
        background: transparent !important;
    }
    /*end tabs*/
     .fixed-right-panel {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        bottom: auto !important;
    }
}

/* Shadow atas agar terlihat “floating” */
.header-shadow {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.footer-shadow {
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

/* Menu item dasar */
.footer-menu .menu-item {
    text-decoration: none;
    color: #6c757d !important; /* muted */
    font-weight: 600;
    padding: 4px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.25s ease-in-out;
}

/* Icon style */
.footer-menu .menu-item i {
    font-size: 20px;
    transition: 0.25s ease-in-out;
    color: #6c757d; /* muted */
}

/* Hover effect */
.footer-menu .menu-item:hover i {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* ACTIVE menu */
.footer-menu .menu-item.active i {
    color: #3f51b5 !important; /* Primary */
    transform: translateY(-3px);
}

.footer-menu .menu-item.active small {
    color: #3f51b5 !important;
}

/* Text style */
.footer-menu small {
    font-size: 11px;       /* supaya rapi tidak terlalu besar */
    font-weight: 600;
    transition: 0.25s;
}
#slickSpotlight .slick-slide {
    padding: 0 !important;
    margin: 0 !important;
}

/*start breadcumb*/
/* Hilangkan background & padding Bootstrap */
.custom-breadcrumb {
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0;
}

/* Chevron sebagai pemisah */
.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d; /* warna muted */
}

/* Item tidak aktif: hitam */
.custom-breadcrumb .breadcrumb-item a {
    color: #000; 
    text-decoration: none;
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: #000;
}

/* Item aktif: abu-abu */
.custom-breadcrumb .breadcrumb-item.active {
    color: #6c757d !important; 
}

/* Item aktif saat hover → hitam */
.custom-breadcrumb .breadcrumb-item.active:hover {
    color: #000 !important;
    cursor: pointer;
}
/*end breadcumb*/

/*start tabs*/
 /* Tabs underline style */
    .custom-tabs .nav-link {
        border: none;
        color: #6c757d;
        font-weight: 500;
        padding-bottom: 10px;
    }

    .custom-tabs .nav-link.active {
        color: #3B47B8;
        border-bottom: 3px solid #3B47B8;
    }

    .custom-tabs .nav-link:hover {
        color: #3B47B8;
    }

    /* Card style */
    .custom-card {
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        padding: 10px;
    }

    .custom-card:hover {
        transform: translateY(-3px);
        box-shadow: 0px 4px 12px rgba(0,0,0,0.08);
    }

/*end tabs*/

/*start input search*/
.search-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
    pointer-events: none;
}

.search-input {
    padding-left: 38px !important;  /* beri ruang untuk icon */
    height: 42px;
    border-radius: 8px;
}
/*end input search*/

/*start videojs*/
.video-wrapper {
    border: 2px solid #d1d1d1;
    overflow: hidden;
}
/*end videojs*/

/*list menu*/
.materi-list {
    counter-reset: nomor;
}

.materi-list li {
    counter-increment: nomor;
    margin-bottom: 12px;
}

.materi-list li .item {
    display: block;
    padding: 12px 15px 12px 45px; /* ruang untuk nomor */
    background: #f8f9fa;
    border-radius: 8px;
    position: relative;
    color: #000;
    text-decoration: none;
    border: 1px solid #e0e0e0;
}

/* Nomor muncul di dalam box */
.materi-list li .item::before {
    content: counter(nomor) ".";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
}
.badge-outline-secondary{
    border:2px solid #6C757D !important;
    background: none !important;
    color: #6C757D !important;
}


