    /* === NAVBAR STYLES === */
    .navbar {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
       /* === border-bottom: 1px solid rgba(229, 231, 235, 0.5); === */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1100;
        padding: 7px 0;
    }

    .navbar .container {
        display: flex;
        max-width: 1200px;
        align-items: center;
        justify-content: space-between;
        padding-left: 12px;
        padding-right: 16px;
        gap: 12px;
    }

    /* Brand Logo */
    .navbar-brand {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .navbar-brand .logo {
        height: 60px;
        width: auto;
    }

    .brand-text {
        font-size: 24px;
        font-weight: 700;
        color: #1f2937;
    }

    /* Navigation Menu */
    .navbar-menu {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .navbar-nav {
        display: flex;
        list-style: none;
        gap: 32px;
    }

    .nav-link {
        text-decoration: none;
        color: #6b7280;
        font-weight: 500;
        transition: color 0.3s ease;
        position: relative;
    }

    .nav-link:hover,
    .nav-link.active {
        color: #1f2937;
    }

    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(120deg, #84cc16, #65a30d);
        border-radius: 1px;
    }


    /* === USER AVATAR === */
    :root {
        --tm-accent: #84cc16;
        --tm-accent-dark: #65a30d;
    }

    .btn-user.btn-user--avatar {
        position: relative;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border-radius: 9999px;
        background: #fff;
        border: 1px solid #e5e7eb;
        cursor: pointer;
        transition: box-shadow 0.25s ease, transform 0.08s ease, border-color 0.25s ease;
        overflow: hidden;
    }

    .btn-user.btn-user--avatar:hover {
        border-color: rgba(132, 204, 22, 0.45);
    }

    .btn-user.btn-user--avatar:focus {
        outline: 0;
        box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.35);
    }

    .btn-user.btn-user--avatar:active {
        transform: translateY(1px);
    }

    .user-avatar-img {
        width: 70%;
        height: 70%;
        object-fit: contain;
        transition: transform 0.18s ease, filter 0.25s ease;
        filter: grayscale(15%);
    }

    /* Hover tint effect */
    .btn-user.btn-user--avatar:hover .user-avatar-img {
        transform: scale(1.06);
        filter: brightness(0) saturate(100%) invert(61%) sepia(53%)
            saturate(495%) hue-rotate(41deg) brightness(94%) contrast(93%);
    }

    /* Pulse ring when open */
    .user-menu.open .btn-user.btn-user--avatar::after {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: inherit;
        box-shadow: 0 0 0 0 rgba(132, 204, 22, 0.25);
        animation: tmPulse 1.8s ease-out infinite;
    }

    @keyframes tmPulse {
        0% { box-shadow: 0 0 0 0 rgba(132, 204, 22, 0.25); }
        70% { box-shadow: 0 0 0 10px rgba(132, 204, 22, 0); }
        100% { box-shadow: 0 0 0 0 rgba(132, 204, 22, 0); }
    }

    /* === USER MENU DROPDOWN === */
    .user-menu {
        position: relative;
    }

    .btn-user {
        display: flex;
        align-items: center;
        gap: 8px;
        background: none;
        border: none;
        color: #6b7280;
        cursor: pointer;
        padding: 8px 12px;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .btn-user:hover {
        background: #f9fafb;
        color: #1f2937;
    }

    .user-role {
        font-size: 12px;
        background: #e5e7eb;
        color: #6b7280;
        padding: 2px 6px;
        border-radius: 4px;
        font-weight: 500;
    }

    .user-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        min-width: 200px;
        padding: 8px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1001;
    }

    .user-dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
        color: #6b7280;
        text-decoration: none;
        transition: background-color 0.2s ease;
        font-size: 14px;
    }

    .dropdown-item:hover {
        background: #f9fafb;
        color: #1f2937;
    }

    .dropdown-divider {
        height: 1px;
        background: #e5e7eb;
        margin: 8px 0;
    }

    .logout-btn {
        width: 100%;
        text-align: left;
        background: none;
        border: none;
        font: inherit;
        cursor: pointer;
    }

    /* === MOBILE MENU TOGGLE === */
    .mobile-menu-toggle {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1100;
        position: relative;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: #1f2937;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Toggle animation (becomes X) */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }
    .desktop-only {
    display: inline-flex; /* tampil di desktop */
    }

    .mobile-only {
    display: none; /* sembunyikan di desktop */}

        /* === RESPONSIVE NAVBAR === */
        @media (max-width: 768px) {
            .navbar-menu {
                position: absolute;
                display: none;
                top: 70px;
                left: 0;
                right: 0;
                background: #ffffff;
                flex-direction: column;
                align-items: flex-start;
                padding: 20px 30px;
                gap: 20px;
                border-top: 1px solid rgba(0, 0, 0, 0.1);
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
                transition: all 0.3s ease;
                opacity: 0;
                visibility: hidden;
                transform: translateY(-10px);
                z-index: 1100;
            }

            .navbar .container {
            position: relative;
            }

            .mobile-menu-toggle {
                position: absolute;
                right: 12px; /* jarak dari kanan */
                top: 50%;
                transform: translateY(-50%);
            }

            .navbar-actions {
                margin-right: 50px; /* beri ruang antara tombol user dan burger */
            }

            .navbar-menu.is-open {
                display: flex;
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }

            .mobile-menu-toggle {
                display: flex;
            }

            .navbar-nav {
                flex-direction: column;
                gap: 16px;
                width: 100%;
            }

            .nav-link {
                font-size: 18px;
                width: 100%;
                padding: 8px 0;
                color: #374151;
            }

            .nav-link.active::after {
                display: none;
            }
            .mobile-menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
            }

            .mobile-menu-toggle.active span:nth-child(2) {
                opacity: 0;
            }

            .mobile-menu-toggle.active span:nth-child(3) {
                transform: rotate(-45deg) translate(5px, -5px);
            }
            .desktop-only {
            display: none !important; /* sembunyikan di mobile */
            }
            .mobile-only {
                display: block !important; /* tampilkan di mobile */
            }
        }
