      <!-- ========== Left Sidebar Start ========== -->
            <div class="left side-menu">
                <div class="slimscroll-menu" id="remove-scroll">

                    <!--- Sidemenu -->
                    <div id="sidebar-menu">
                        
                        <!-- Left Menu Start -->
                        <ul class="metismenu" id="side-menu">
                            <li class="menu-title">MAIN MENU</li>
                            
                            <!-- Dashboard -->
                            <li>
                                <a href="{{route('admin.dashboard')}}" 
                                   class="waves-effect {{ request()->is('admin/dashboard') ? 'active' : '' }}">
                                    <div class="menu-item">
                                        <i class="ti-home"></i>
                                        <span>Dashboard</span>
                                    </div>
                                </a>
                            </li>

                            <!-- Data Karyawan -->
                            <li>
                                <a href="/employees" 
                                   class="waves-effect {{ request()->is('employees*') ? 'active' : '' }}">
                                    <div class="menu-item">
                                        <i class="ti-user"></i>
                                        <span>Data Karyawan</span>
                                    </div>
                                </a>
                            </li>

                            <!-- Monitoring Presensi -->
                            <li>
                                <a href="{{route('admin.attendance')}}" 
                                   class="waves-effect {{ request()->is('admin/attendance*') ? 'active' : '' }}">
                                    <div class="menu-item">
                                        <i class="ti-calendar"></i>
                                        <span>Monitoring Presensi</span>
                                    </div>
                                </a>
                            </li>

                             <!-- Menu Izin --> 
                             <li>
                                <a href="{{route('admin.izin')}}" 
                                   class="waves-effect {{ request()->is('admin/izin*') ? 'active' : '' }}">
                                    <div class="menu-item">
                                        <i class="ti-time"></i>
                                        <span>Izin</span>
                                    </div>
                                </a>
                            </li>

                            <!-- Menu Cuti -->
                            <li>
                                <a href="{{route('admin.leave')}}" 
                                   class="waves-effect {{ request()->is('admin/leave*') ? 'active' : '' }}">
                                    <div class="menu-item">
                                        <i class="dripicons-backspace"></i>
                                        <span>Pengajuan Cuti</span>
                                    </div>
                                </a>
                            </li>

                            <!-- Rekap Data -->
                            <li>
                                <a href="/check" 
                                   class="waves-effect {{ request()->is('admin/check*') ? 'active' : '' }}">
                                    <div class="menu-item">
                                        <i class="ti-file"></i>
                                        <span>Rekap Data</span>
                                    </div>
                                </a>
                            </li>

                            <li>
                                <a href="{{ route('announcements.announcement') }}" 
                                   class="waves-effect {{ request()->is('admin/announcements*') ? 'active' : '' }}">
                                    <div class="menu-item">
                                        <i class="ti-announcement"></i>
                                        <span>Pengumuman</span>
                                    </div>
                                </a>
                            </li>
                        </ul>

                    </div>
                    <!-- Sidebar -->
                    <div class="clearfix"></div>

                </div>
                <!-- Sidebar -left -->

            </div>
            <!-- Left Sidebar End -->

<style>
.left.side-menu {
    background: linear-gradient(to bottom, #1a237e, #3949ab);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    padding-top: 20px;
    overflow: hidden; /* Mencegah overflow */
    width: 250px; /* Lebar sidebar normal */
    transition: width 0.3s; /* Transisi saat sidebar dikecilkan */
}

.left.side-menu.collapsed {
    width: 70px; /* Lebar sidebar saat dikecilkan */
}

#sidebar-menu {
    padding: 0 15px;
}

.menu-title {
    padding: 15px 20px;
    letter-spacing: 1px;
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    margin-bottom: 10px;
}

.metismenu {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.metismenu li {
    margin: 5px 0;
}

.metismenu li a {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    text-decoration: none;
}

.metismenu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    transform: translateX(5px);
}

.metismenu li a.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-item i {
    font-size: 20px;
    min-width: 25px;
    text-align: center;
    opacity: 0.9;
}

.menu-item span {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Custom Scrollbar */
.slimscroll-menu::-webkit-scrollbar {
    width: 4px;
}

.slimscroll-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.slimscroll-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.slimscroll-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Active Menu Indicator */
.metismenu li a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 65%;
    width: 3px;
    background: #ffffff;
    border-radius: 0 3px 3px 0;
}

/* Hover Animation */
.metismenu li a:hover .menu-item i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .left.side-menu {
        padding-top: 15px;
    }

    .menu-item span {
        font-size: 13px;
    }

    .menu-item i {
        font-size: 18px;
    }

    .logo img {
        height: 30px; /* Ukuran logo saat sidebar kecil */
    }

    .logo h1 {
        display: none; /* Menyembunyikan teks saat sidebar kecil */
    }
}

.logo {
    display: flex;
    align-items: center;
    padding: 10px; /* Padding untuk logo */
}

.logo img {
    height: 40px; /* Ukuran logo */
    width: auto; /* Memastikan proporsi logo tetap terjaga */
}

/* Responsif */
@media (max-width: 768px) {
    .logo img {
        height: 30px; /* Ukuran logo saat sidebar kecil */
    }

    .logo h1 {
        display: none; /* Menyembunyikan teks saat sidebar kecil */
    }
}
</style>
