:root {
  --white-clean: #fff;
  --white-mid: #fdfeff;
  
  --gray-light: #f5f6f8;
  --gray-mid: #E9EEF2;
  --gray-blue: #c1d0db;
  --gray-dark: #333332;
  --green-soft: #39e5ad;
  --color01: #396277;
  --color02: #2AB2AB;
  --color03: #37acd9;
  --color04: #e4873c;
  
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
    /*
    text-decoration: none;
    -webkit-font-smoothing: antialiased; */
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    color: var(--color01);

}

a:-webkit-any-link {
    color: var(--color01);
}

li{
    list-style: none;
}

body, html {
  height: 100%;
  font-family: 'Roboto', sans-serif;
  background-color: var(--gray-light);
}

h1, .h1 {
    font-size: 37px;
	font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

h2, .h2 {
    font-size: 30px;
	font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

h3, .h3 {
    font-size: 24px;
	font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

h4, .h4 {
    font-size: 17px;
	font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

h5, .h5 {
    font-size: 14px;
	font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

p {
    font-size: calc(0.8em + 0.2vw);
    font-weight: 400;
}

.color01{
	color: var(--color01);
}

.color02{
	color: var(--color02);
}

.c-white{
	color: var(--white-clean);
}

.bg-white{
	background-color: var(--white-clean);
}

.bg-color01{
	background-color: var(--color01);
}

.bg-color02{
	background-color: var(--color02);
}

.bg-color03{
    background-color: var(--color03) !important;
}

.flex {
	display:flex;
}


.tex-center {
	text-align: center;
}

.gap {
	gap: calc(1vw + 0.5vh);
}

.grid
 {
    display: grid;
    grid-auto-flow: column;
    width: inherit;
    align-items: anchor-center;
}

.grid-2 {
	display:grid;
    grid-template-columns: repeat(2, 1fr);
}

.h-100 {
	height: 100%;
}

.w-100 {
	width: 100%;
}

.space-between {
	display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    flex-direction: row;
    -webkit-box-align: center;
    align-items: center;
    width: 100%;
}

.hint-header {
	display: flex;
    -webkit-box-pack: justify;
    flex-direction: row;
    -webkit-box-align: center;
    align-items: center;
    width: 100%;
}


.button-small {
    background-color: var(--color02);
    max-height: 65px;
	min-width: 150px;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: bold;
    color: #fff !important;
    align-items: center;
    text-align: center;
	justify-content: center;
    border: none;
	cursor: pointer;
	box-shadow: 0 5px 0px var(--color01);
}

.button-small.disable {
    background-color: var(--gray-mid);
    box-shadow: 0 5px 0px var(--gray-blue);
}

.button-small.disable:hover {
    background-color: var(--gray-blue);
}

.button-small:hover
 {
    background-color: var(--color01);
}

.button-trans {
    border-radius: 10px;
    padding: 5px 20px;
    font-size: 16px;
    font-weight: bold;
    display: block;
    align-items: center;
	justify-content: center;
	align-content: center;
	cursor: pointer;
    background-color: var(--gray-mid);
    border: 2px solid var(--gray-mid);
    color: var(--color01);
}

.button-trans:hover {
    color: var(--color02);
	border: 2px solid var(--gray-blue);
}

.items-center {
	align-items: center;
}

.items-anchor-center {
	align-items: anchor-center;
}

.anchor-center {
	/* justify-self: anchor-center; */
    margin: auto;
}

.pad {
    padding: 20px 30px;
}

.pad-10 {
    padding: 10px;
}

.pad-bot {
    padding-bottom: 25px;
}

.mar-bot {
    margin-bottom: 25px;
}

.rad {
	border-radius: 20px;
}

.shad {
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);
}

.sticky {
	position: sticky;
}

.fixed {
    position: fixed;
}

.progress-bar {
    height: 12px;
    background-color: var(--gray-mid);
    overflow: hidden;
    display: flex;
    position: relative;
    border-radius: 10px;
    width: 100%;
}

.progress-fill {
    height: 100%;
    background-color: var(--color02);
    width: 0%;
}


/*=====================================header Start===========================================*/

/*
nav.headbar {
    position: sticky;
    width: 100%;
	top: 0px;
    height: 60px;
    max-height: 80px;
	overflow: hidden;
	background-color: var(--white-clean);
    border-bottom: 2px solid var(--gray-blue);
	z-index: 999;
}

.headbar-wraper {
    max-width: 1200px;
    padding: 0 25px;
    width:95vw;
    margin: auto;
}
*/

/* Menghapus overflow: hidden; untuk memungkinkan dropdown terlihat */
nav.headbar {
    position: sticky;
    width: 100%;
    top: 0;
    height: 60px;
    background-color: var(--white-clean);
    border-bottom: 2px solid var(--gray-blue);
    z-index: 999;
}

/* Penyesuaian headbar-wraper */
.headbar-wraper {
    max-width: 1200px;
    padding: 0 25px;
    width: 95vw;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%; /* Pastikan wrapper mengambil seluruh tinggi headbar */
}

img.logo-png {
    max-height: 50px;
    margin: auto;
    display: block;
}

.menu li {
    list-style: none;
	font-family: "roboto";
    color: var(--color01);
    font-size: 16px;
}

/*=====================================header End===========================================*/

/*=====================================Content Start===========================================*/

.main-container {
    display: grid;
    max-width: 1200px;
	padding: 0 25px;
	padding-top: 20px;
	width:95vw;
        padding-bottom: 90px;
}



.section.course {
    color: var(--white-clean);
}

.meta-course {
	background-color: var(--color02);
	background: linear-gradient(to right, var(--color02), var(--color03) 100%);
    width: 43%;
    max-width: 550px;
}

#course .course-name {
    /* .course-name { */
	/* color: var(--gray-dark); */
    color: var(--white-mid);
}

.section.levels {
    background-color: var(--white-clean);
}

.circle {
	width: 60px;
	height: 40px;
	background-color: var(--gray-mid);
	border-radius: 50%; /* membuat bentuk lingkaran */
	box-shadow: 0 6px 0px rgba(0, 0, 0, 0.2); /* bayangan ke bawah */
	display: flex;
	align-items: center;
	justify-content: center;
	align-content: center;
    text-align: center;
	color: #fff;
}
	
.active .circle {
	background-color: var(--color02);
	box-shadow: 0 6px 0px #396277; /* bayangan ke bawah */
}
	

.meta-course>div>.icon {
	font-size: 90px;
	padding-bottom: 20px;
}


.subgroup-level {
    margin-top: 45px;
}

.subgroup-level:nth-child(4n+1) {
    justify-content: center;
}

/* Setiap elemen ke-3 dimulai dari 2: center */
.subgroup-level:nth-child(4n+2) {
  justify-content: flex-start;
}
/* Setiap elemen ke-3 dimulai dari 2: center */
.subgroup-level:nth-child(4n+3) {
  justify-content: center;
}

/* Setiap elemen ke-3 dimulai dari 3: flex-end */
.subgroup-level:nth-child(4n) {
  justify-content: flex-end;
}

    .subgroup-level {
        /* background-color: #f0f0f0; */
        padding: 10px;
        margin-bottom: 5px;
        border-radius: 85px; 
        text-decoration: none;
        color: #333;
        transition: background-color 0.3s ease;
        display: flex; /* PENTING: Agar seluruh area <a> menjadi flex container */
        align-items: center;
        gap: 10px;
        /* Tambahan untuk memastikan area klik yang responsif */
        min-height: 48px; /* Pastikan tinggi minimum untuk target sentuh */
        width: 100%; /* Pastikan mengambil lebar penuh */
        box-sizing: border-box; /* Pastikan padding termasuk dalam lebar/tinggi */
        position: relative; /* PENTING: Diperlukan untuk z-index */
        z-index: 10; /* PENTING: Coba berikan z-index yang lebih tinggi */
    }

    .subgroup-level:hover {
        background-color: #e0e0e0;
    }

    .subgroup-level.active {
        
        background-color: #d4edda;
        border: 1px dashed #28a745;
        
        font-weight: bold;
        cursor: pointer;
        pointer-events: auto; /* PENTING: Pastikan ini aktif untuk tautan yang bisa diklik */
        position: relative !important; /* Memaksa posisi relative */
        z-index: 100 !important; /* Memaksa z-index lebih tinggi */
    }

    .subgroup-level.active:hover {
        background-color: #c3e6cb;
    }

    .subgroup-level.disabled,
    .subgroup-level.completed { /* Gabungkan disabled dan completed untuk pointer-events */
        /* background-color: #e9ecef; */
        border: 1px dashed #6c757d;
        color: #6c757d;
        cursor: not-allowed;
        opacity: 0.7;
        pointer-events: none; /* Menonaktifkan klik untuk tautan yang tidak aktif */
    }

    .subgroup-level.completed {
        background-color: #e2f0fb;
        border: 1px solid #007bff;
        color: #0056b3;
        font-weight: bold;
        cursor: pointer;
        pointer-events: auto; 
    }

    .subgroup-level .circle {
        font-size: 0.8em;	
        flex-shrink: 0;	
        margin-bottom: 5px;	

/*        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: #007bff;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.8em;
        flex-shrink: 0; */
    }

    .subgroup-level.active .circle {
        background-color: var(--color03); /*  #28a745; */
    }

    .subgroup-level.completed .circle {
        background-color: #007bff;
    }

    .subgroup-level.disabled .circle {
        background-color: #6c757d;
    }

    .subgroup-level .box {
/*        flex-grow: 1;
        padding: 5px 10px;
        border-radius: 3px;
        word-wrap: break-word;
        overflow-wrap: break-word;
*/
        flex-grow: 1;
        padding: 0px 10px;
        border-radius: 3px;
        word-wrap: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;

    }

.group {
    /*width: 300px;*/
    /*
    max-width: 300px;
	width: 100%;
	margin-bottom: 55px; */
    max-width: 400px;	
    width: 400px;	
    margin: auto auto 55px auto;	
}

.level {
    /* justify-items: anchor-center; */
    justify-items: center;
    display: grid;
}

.level-name {
	font-weight: 300;
}


/* ===========================Catalog=========================== */
.section.header {
    padding: 30px 0;
	color: var(--gray-dark);
}

.group-card {
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: content-box;
}

.group-card.flex {
  display: flex;
  flex-wrap: wrap;           /* Agar bisa wrap ke baris berikutnya jika perlu */
  gap: 1rem;                 /* Jarak antar card */
}

/* Di layar kecil: tampilkan vertikal (column) */
@media (max-width: 767.98px) {
  .group-card.flex {
    flex-direction: column;  /* Stack card secara vertikal */
    align-items: center;     /* Opsional: center card secara horizontal */
  }
}

/* Jika ingin tetap horizontal di tablet ke atas */
@media (min-width: 768px) {
  .group-card.flex {
    flex-direction: row;     /* Horizontal */
    justify-content: flex-start;
  }
}


.box-card {
  background-color: var(--white-clean);
  /* max-height: 330px; */
  height: 200px;
  width: 200px;
  padding: 22.72%;
  border-radius: 10px;
  align-content: center;
  text-align-last: center;
  overflow: hidden;
	box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.15);
}

.boxed-card {
  background-color: var(--white-clean);
  /* max-height: 330px; */
  border-radius: 10px;
  align-content: center;
  text-align-last: center;
  overflow: hidden;
	box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.15);
}

.card {
	align-content: center;
  text-align: center;
    /*  width: 100%; */
	position: relative;

}

.card:hover .box-card{
	box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.35);

}

#catalog .section {
    width: 100%;
    overflow: hidden;
}

.section.header {
    padding: 30px 25px;
	color:#fff;
	background: linear-gradient(to right, var(--color02), var(--color03) 100%);
}

.course-name::before {
    content: "";
    cursor: inherit;
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 0;
    width: 100%;
    height: 100%;
}

/* ================================================================== */

.cardin {
    background-color: var(--gray-mid);
    border-radius: 10px;
    align-content: center;
    padding: 10px 0;
    max-height: none;
}

.card-title {
    font-weight: bold;
    color: var(--color01);
    font-size: min(calc(9px + 0.8vw), 20px);
    text-align: center;
    border-bottom: 1px solid var(--gray-mid);
    margin-bottom: 8px;
    padding-bottom: 4px;
    display: inline-table;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/*===========================quiz=========================*/

.options label {
    /*
    display: block;
    background-color: var(--white-clean);
    border: 2px solid var(--white-clean);
    box-shadow: 0 4px 0px var(--white-clean);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    */
    display: block;
    background-color: var(--white-clean);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 0px var(--gray-mid);
}


.options label:hover{
    background-color: var(--gray-blue);
	border: 2px solid var(--gray-mid);
    box-shadow: 0 4px 0px var(--gray-mid);
    transition: all 0.2s ease;
}

.options label.selected {
	background-color: var(--color02);
    border: 2px solid var(--color01);
    box-shadow: 0 4px 0px var(--color01);
    transition: all 0.2s ease;
	color:#fff;
}

.question-text {
    padding: 25px 3px;
}

.hint-btn-wrapper {
	text-align: center;
	justify-items: end;
}



#quiz .footer {
    /*
    max-width: 1200px;
    width: 95vw;
	bottom:0;
	padding: 0 25px;
	align-items: flex-end;
    */
    max-width: 1200px;
    bottom: -20px;
    align-items: flex-end;
    position: sticky;
}

.submit-btn-wrapper {
	/*
    text-align: center;
    border-radius: 20px 20px 0 0;
    */
    text-align: center;	
    border-radius: 20px;	
    height: 100px;	
    align-content: center;	

}

.hint-wrapper {
    border-radius: 20px 20px 0 0;
}

/*===========================chart pie=========================*/
.circle-bg {
  fill: none;
  stroke: var(--color04);
  stroke-width: 3.8;
}


.circle-data01 {
  fill: none;
  stroke: var(--color01);
  stroke-width: 3.8;
  stroke-linecap: round;
}

.circle-data02 {
  fill: none;
  stroke: var(--color02);
  stroke-width: 3.8;
  stroke-linecap: round;
}

.circle-text.value {
    font-size: 0.7em;
}

.circle-text02.value {
    font-size: 0.7em;
}

.circle-text.satuan {
    font-size: 0.25em;
}

.circle-text,
.circle-text02 {
    fill: var(--color01);
    text-anchor: middle;
    font-weight: 900;
}

.progress-legend {
  font-size: calc(3px + 0.5vw);
  color: var(--color01);
}

.dat-data {
	display: flex;
	padding-top: 1vh;
	align-items: anchor-center;
}


.dot {
    border-radius: 50%;
    margin-right: 5px;
    padding: 4px;
    color: #fff;
    width: max(2vw, 15px);
    height: max(2vw, 15px);
    text-align: center;
    align-content: center;
}



.dot.dot-data01 { background-color: var(--color01); }
.dot.dot-data02 { background-color: var(--color02); }
.dot.dot-all { background-color: var(--color04); }

.chart-container {
    width: 100%;
    height: calc(100% - 25px);
    max-height: 380px;
    position: relative;
    display: flex;
    align-items: center;
    place-items: center;
    gap: 1vw;
    justify-content: center;
	padding: 30px;
}

.progress-chart {
    width: 50%;
}


.gauge .circle-bg {
    stroke: var(--gray-mid);
}

.gauge .circle-data01 {
    stroke: var(--color02);
}



/*========================================================================*/

@media (max-width: 880px) {

.headbar-wraper {
    padding: 0 10px;
}
	
.logo-image {
    display: none;
}
	
.main-container {
    grid-template-columns: repeat(1, 1fr);
    width: 100vw;
	padding: 0;
    padding-bottom: 90px;
}

.meta-course {
    position: static;
	border-radius: 0;
	padding: 25px 25px;
	width:100%;
	max-width:100%;
}

.section.course {
    padding: 0;
}

.section.levels {
    margin-top: -15px;
}

/*===========catalog========*/
.box-card {
    height: 40vw;
    width: 40vw;
}

.section.header {
        padding: 30px 25px;
        border-radius: 0;
        margin: 0;
}
/*===========quiz========*/

#quiz .footer {
/*        grid-template-columns: repeat(1, 1fr);
        width: 100vw;
        padding: 0; */

    max-width: 1200px;	
    bottom: -20;	
    align-items: flex-end;	
    position: sticky;	
    
}
	
.hint-wrapper {
    border-radius: 20px;
	margin: 0 20px;
}

.btn-back span.text {
    display: none;
}

.btn-back.button-small {
    justify-content: center;
    min-width: 20px;
    padding: 10px 15px;
}

}

.mt-1 { margin-top: 0.25rem; }  /* 4px */
.mt-2 { margin-top: 0.5rem; }   /* 8px */
.mt-3 { margin-top: 1rem; }     /* 16px */
.mt-4 { margin-top: 1.5rem; }   /* 24px */
.mt-5 { margin-top: 3rem; }     /* 48px */

    @media (max-width: 768px) { /* Untuk perangkat kecil (tablet dan mobile) */
        .main-container.grid-2 {
            grid-template-columns: 1fr; /* Satu kolom untuk mobile */
        }
        .section.course .meta-course.fixed {
            position: static; /* Hapus fixed position di mobile agar tidak menutupi konten */
            width: auto;
            margin-bottom: 20px; /* Tambahkan margin bawah */
        }

        /* --- PENTING: Sembunyikan elemen DSE yang mungkin menutupi --- */
        #dse-quicksearch,
        #dse-disabledpopup,
        #dse-quicksearchdiv {
            display: none !important;
            visibility: hidden !important;
            pointer-events: none !important;
            z-index: -9999 !important; /* Dorong ke belakang semua elemen */
        }
    }

    @media (max-width < 860px) {
    /* ... kode lainnya ... */
    .group {
        max-width: 100%; /* Batasi max-width di mobile agar tidak meluap */
        width: 100%; /* Pastikan mengambil lebar penuh */
    }
/* --- PENTING: Sembunyikan elemen DSE yang mungkin menutupi --- */
        #dse-quicksearch,
        #dse-disabledpopup,
        #dse-quicksearchdiv {
            display: none !important;
            visibility: hidden !important;
            pointer-events: none !important;
            z-index: -9999 !important; /* Dorong ke belakang semua elemen */
        }
}

    @media (max-width: 880px) { /* Untuk perangkat kecil (tablet dan mobile) */
        .main-container.grid-2 {
            grid-template-columns: 1fr; /* Satu kolom untuk mobile */
        }
        .section.course .meta-course.fixed {
            position: static; /* Hapus fixed position di mobile agar tidak menutupi konten */
            width: auto;
            margin-bottom: 20px; /* Tambahkan margin bawah */
        }
        /* Pastikan .group juga responsif di mobile */
        .group {
            max-width: 100%; /* Batasi max-width di mobile agar tidak meluap */
            width: 100%; /* Pastikan mengambil lebar penuh */
        }

        /* --- PENTING: Sembunyikan elemen DSE yang mungkin menutupi --- */
        #dse-quicksearch,
        #dse-disabledpopup,
        #dse-quicksearchdiv {
            display: none !important;
            visibility: hidden !important;
            pointer-events: none !important;
            z-index: -9999 !important; /* Dorong ke belakang semua elemen */
        }
    }

.category-thumb {
    width: 42px;
    height: 42px;
    object-fit: cover; /* Memastikan gambar mengisi area tanpa distorsi */
    /* border-radius: 50%; */ /* Opsional: jika Anda ingin gambar berbentuk lingkaran */
    flex-shrink: 0; /* Mencegah gambar menyusut di dalam flex container */
}

/* Fixed width in rem */
.w-1  { width: 1rem; }     /* 16px */
.w-2  { width: 2rem; }     /* 32px */
.w-3  { width: 3rem; }     /* 48px */
.w-4  { width: 4rem; }     /* 64px */
.w-5  { width: 5rem; }     /* 80px */
.w-6  { width: 6rem; }     /* 96px */
.w-8  { width: 8rem; }     /* 128px */
.w-10 { width: 10rem !important; }    /* 160px */
.w-12 { width: 12rem !important; }    /* 192px */
.w-16 { width: 16rem !important; }    /* 256px */
.w-20 { width: 20rem; }    /* 320px */
.w-24 { width: 24rem !important; }    /* 384px */
.w-32 { width: 32rem; }    /* 512px */
.w-48 { width: 48rem; }    /* 768px */
.w-64 { width: 64rem; }    /* 1024px */

/* Fixed width in px (jika perlu presisi piksel) */
.w-px      { width: 1px; }
.w-2px     { width: 2px; }
.w-4px     { width: 4px; }
.w-8px     { width: 8px; }
.w-12px    { width: 12px; }
.w-16px    { width: 16px; }
.w-24px    { width: 24px; }
.w-32px    { width: 32px; }
.w-48px    { width: 48px; }
.w-64px    { width: 64px; }

/* Viewport-based width */
.w-25vw    { width: 25vw; }
.w-50vw    { width: 50vw; }
.w-75vw    { width: 75vw; }
.w-100vw   { width: 100vw; }

/* Auto width */
.w-auto    { width: auto; }
.w-min     { width: min-content; }
.w-max     { width: max-content; }
.w-fit     { width: fit-content; }

/* Fixed height in rem */
.h-1   { height: 1rem; }
.h-2   { height: 2rem; }
.h-3   { height: 3rem; }
.h-4   { height: 4rem; }
.h-5   { height: 5rem; }
.h-6   { height: 6rem; }
.h-8   { height: 8rem; }
.h-10  { height: 10rem; }
.h-12  { height: 12rem; }
.h-16  { height: 16rem; }
.h-20  { height: 20rem; }
.h-24  { height: 24rem; }
.h-32  { height: 32rem; }
.h-48  { height: 48rem; }
.h-64  { height: 64rem; }

/* Fixed height in px */
.h-px      { height: 1px; }
.h-2px     { height: 2px; }
.h-4px     { height: 4px; }
.h-8px     { height: 8px; }
.h-12px    { height: 12px; }
.h-16px    { height: 16px; }
.h-24px    { height: 24px; }
.h-32px    { height: 32px; }
.h-48px    { height: 48px; }
.h-64px    { height: 64px; }

/* Viewport-based height */
.h-25vh    { height: 25vh; }
.h-50vh    { height: 50vh; }
.h-75vh    { height: 75vh; }
.h-100vh   { height: 100vh; }

/* Auto & intrinsic height */
.h-auto    { height: auto; }
.h-min     { height: min-content; }
.h-max     { height: max-content; }
.h-fit     { height: fit-content; }

#quiz .meta-course {
min-width: 100%;
}

.feedback-correct {
background-color: #d4f5dd;
transition: all 0.2s ease;
color: var(--color01);
display: flex;
align-items: anchor-center;
}

.feedback-incorrect {
background-color: var(--gray-mid);
transition: all 0.2s ease;
color: var(--color04);
display: flex;
align-items: anchor-center;
}

.options-list input.form-check-input:checked + label.rad {
background-color: var(--color02);
border: 2px solid var(--color02);
box-shadow: 0 4px 0px var(--color01);
transition: all 0.2s ease;
color: #fff;
}


/* ===========================Catalog=========================== */
.progress-bar-container {
width: 100%;
background-color: #e0e0e0;
border-radius: 50px;
overflow: hidden;
margin-top: 10px;
}

.card .progress-bar-container {
position: absolute;
width: 90%;
bottom: 60px;
left: 50%;
transform: translateX(-50%);
}
/* ===========================Catalog end=========================== */

/* Margin */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }

.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }

.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }

/* Padding */
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }

/* Menu Dropdown */
.point {
    position: relative;
    z-index: 10;
}
/* Styling Dropdown Menu Baru */
.user-dropdown-container {
            position: relative;
            z-index: 1000; 
        }

        .user-trigger {
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-radius: 20px;
            transition: background-color 0.3s ease;
        }
        
        .user-trigger:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        .user-menu {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 10px;
            background-color: #fff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            border-radius: 8px;
            overflow: hidden;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
            min-width: 150px;
        }

        .user-menu.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .user-menu ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .user-menu ul li a {
            display: block;
            padding: 12px 16px;
            color: #333;
            text-decoration: none;
            transition: background-color 0.3s ease;
            font-size: 15px;
        }
        
        .user-menu ul li a:hover {
            background-color: #f5f5f5;
        }

        /* Media Queries untuk responsif */
        @media (max-width: 768px) {
            .menu-nav {
                display: none;
            }

            .headbar-wraper {
                padding: 0 15px;
            }
            
            .user-menu {
                min-width: 120px;
                right: 5px; /* Sesuaikan posisi agar tidak keluar layar */
            }
        }