@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;
}

/* 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;
}

.card-blur {
    position: relative; /* Wajib ada */
    overflow: hidden;
    border-radius: 15px;
    padding: 20px;
    background: #ffffff; /* Background dasar */
}

/* Lapisan kaca buram di atas konten */
.card-blur::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Efek blur pada lapisan ini */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.4);
    z-index: 10; /* Menutupi konten */
    pointer-events: auto;
}
/* --- CSS Kustom Progress Tracker --- */
.wizard-tracker {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

/* Garis penghubung horizontal di latar belakang */
.wizard-tracker::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #e9ecef;
    z-index: 1;
}

/* Item per langkah */
.tracker-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

/* Lingkaran Angka / Indikator */
.tracker-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    font-weight: bold;
    border: 4px solid #fff; /* Membuat efek potongan pada garis belakang */
    transition: all 0.3s ease;
}

/* Teks label di bawah lingkaran */
.tracker-label {
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
    display: block;
}

/* STATUS 1: Tahap yang SEDANG AKTIF saat ini (Biru) */
.tracker-step.active .tracker-circle {
    background-color: #007bff;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}
.tracker-step.active .tracker-label {
    color: #007bff;
    font-weight: 700;
}

/* STATUS 2: Tahap yang SUDAH SELESAI dilewati (Hijau) */
.tracker-step.completed .tracker-circle {
    background-color: #28a745;
    color: #fff;
}
.tracker-step.completed .tracker-label {
    color: #28a745;
}

/* --- 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 .navbar .navbar-brand span{
    color: #ffffff !important;
}
body.dark-mode .navbar .nav-item a{
    color: #ffffff !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;
}
body.dark-mode .menu-utama a h6.text-black,body.dark-mode .footer-menu a.active i,body.dark-mode .footer-menu a.active small,body.dark-mode .breadcrumb-item a,body.dark-mode #table_fitur td,body.dark-mode #view_menu_akun a,body.dark-mode .text-black{
    color: #ffffff !important;
}
body.dark-mode .menu-utama a div.bg-primary{
    background-color: #5F6368 !important;
}
body.dark-mode .alert-info,body.dark-mode .alert-warning{
    background-color: #5F6368 !important;
    color: #ffffff !important;
    border: none !important;
}
body.dark-mode .card,body.dark-mode .custom-card,body.dark-mode .card .card-header,body.dark-mode .card .card-body,body.dark-mode .card .card-footer,body.dark-mode .fixed-bottom,body.dark-mode .modal-dialog .modal-content,body.dark-mode .form-control-plaintext,body.dark-mode .jconfirm-box,body.dark-mode .fixed-top{
    background-color: #2C2C2C !important;
    color: #ffffff !important;
    border: none !important;
}
body.dark-mode .btn-outline-primary{
    color: #ffffff !important;
    border-color: #ffffff !important;
}
body.dark-mode .btn-outline-primary:hover{
    border: none !important;
}
body.dark-mode .card.channel{
    background-color: #1E1E1E !important;
    color: #ffffff !important;
}
body.dark-mode .card.channel.border-primary{
     background-color: #5F6368 !important;
}
body.dark-mode .text-muted{
    color: #b6b6b6 !important;
}
body.dark-mode .sweet-alert{
    background-color: #5F6368 !important;
    color: #ffffff !important;
    border: none !important;
}
/* ==========================================
   🌙 MODE GELAP (Saat body.dark-mode aktif)
   ========================================== */
body.dark-mode .highcharts-background {
  fill: #1e1e24; /* Berubah jadi hitam/abu tua */
}
body.dark-mode .highcharts-title {
  fill: #ffffff; /* Judul jadi putih */
}
body.dark-mode .highcharts-axis-labels {
  fill: #94a3b8; /* Teks label jadi abu terang */
}
body.dark-mode .highcharts-grid-line {
  stroke: #334155; /* Garis grid jadi gelap samar */
}
body.dark-mode .highcharts-legend-item text {
  fill: #e2e8fo; /* Teks legenda jadi terang */
}
body.dark-mode .highcharts-color-0 {
  fill: #0ea5e9;   /* Warna grafik disesuaikan untuk dark mode */
  stroke: #0ea5e9;
}






