/*coba custom sidebar mini */    
		
#accordionSidebar {
    position: fixed;
    top: 0;
    left: -224px;
    width: 224px;
    height: 100vh;
    transition: all 0.3s ease;
    z-index: 1060;
}

/* --- CUSTOM CSS KHUSUS MOBILE / HP KECIL (< 600px) --- */
@media only screen and (max-width: 600px) {
    #accordionSidebar {
    position: fixed;
    top: 0;
    left: -100px;
    width: 100px;
    height: 100vh;
    transition: all 0.3s ease;
    z-index: 1060;
}
}

/* triger dr js */
#accordionSidebar.sidebar-show {
    left: 0 !important;
}

/* Area pemicu hover agar selalu di depan */
.sidebar-hover-area {
    position: fixed;
    left: 0;
    top: 0;
    width: 15px; 
    height: 100vh;
    z-index: 1050; 
    background: transparent;
}
/* area trigger hover di kiri */
/*
.sidebar-hover-area {
    position: fixed;
    left: 0;
    top: 0;
    width: 20px;
    height: 100vh;
    z-index: 999;
}
*/

/* sidebar muncul */

.sidebar-show {
    left: 0 !important;
}


#content-wrapper {
    margin-left: 0 !important;
}

.topbar .navbar-brand{
    font-weight:600;
    font-size:18px;
}

body {
    padding-top: 55px;
}

#content-wrapper{
    margin-top: 20px;
}

.topbar{
    backdrop-filter: blur(60px);
    z-index: 1050;
}

body{
    background-color:#fffff;
}

.card{
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.img-profile{
    transition: transform 0.2s ease;
}

.topbar .nav-link:hover .img-profile{
    transform: scale(1.08);
}
.nav-item.dropdown:hover .dropdown-menu{
    display:block;
    margin-top:0;
}
.dropdown-menu{
    border:none;
    border-radius:10px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}
/* Loader tipis seperti YouTube */
#yt-loader{
    position: fixed;
    top: 0; /* Tepat di atas topbar */
    left: 0;
    width: 100%;
    height: 3px; /* tipis */
    background: transparent;
    z-index: 9999;
    overflow: hidden;
}

#yt-loader::before{
    content:'';
    position: absolute;
    left: -30%; /* mulai dari luar layar kiri */
    width: 30%; /* panjang garis loader */
    height: 100%;
    /*background-color: #000; /* hitam YouTube style */
    /*animation: yt-loading 1s linear infinite; */
	background: linear-gradient(90deg, #000 0%, #555 50%, #000 100%);
    animation: yt-loading 1.2s ease-in-out infinite;
}

@keyframes yt-loading{
    0%{ left: -30%; }
    50%{ left: 50%; } /* tengah layar */
    100%{ left: 100%; } /* keluar layar kanan */
}
#yt-loader::before{
    
}
/* === button eye show pass === */
.field-icon {
      float: right;
      margin-right: 18px;
      margin-top: -32px;
      position: relative;
      z-index: 2;
      cursor: pointer;
      color: #007bff;
    }
    .field-icon:hover {
    color: #0056b3;
  }
  
/* trial navigasi bottom footer */

		/* 1. Tampilan Default (Untuk Mobile/HP) */
		body .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 55px;
        background-color: #ffffff;
        display: flex !important; /* Muncul di HP */
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        border-top: 1px solid #e3e6f0;
        box-shadow: 0 -3px 10px rgba(0,0,0,0.1);
        z-index: 99999;
        padding: 0;
        margin: 0;
    }

    /* 2. Sembunyikan di Desktop (Layar Lebar) */
    @media (min-width: 768px) {
        body .bottom-nav {
            display: none !important; /* Hilang total di Desktop */
        }
        body {
            margin-bottom: 0; /* Reset margin bawah di desktop */
        }
    }

    /* Styling Item (Tetap sama) */
    body .bottom-nav .nav-item {
        flex: 1;
        text-align: center;
        text-decoration: none !important;
        color: #858796;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    body .bottom-nav .nav-item.active {
        color: #4e73df;
    }  
