.app-navbar {
            height: 64px;
            background: #fff;
            border-bottom: 1px solid #f1f5f9;
            box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
            display: flex;
            align-items: center;
            padding: 0 20px;
            position: sticky;
            top: 0;
            z-index: 1000;
            gap: 12px;
        }

        .app-navbar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, #6c8edb, #3ac08d);
        }

        .profile-trigger {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 0;
            border-radius: 50%;
            border: none;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
            background: transparent;
        }

        .profile-trigger:hover {
            opacity: 0.85;
        }

        .profile-trigger:focus {
            outline: none;
        }

        .profile-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #64748b;
            flex-shrink: 0;
        }

        .profile-info {
            display: none;
        }

        .profile-chevron {
            display: none;
        }

        .profile-dropdown {
            min-width: 240px !important;
            border: 1px solid #e2e8f0 !important;
            border-radius: 16px !important;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
            padding: 0 !important;
            overflow: hidden !important;
            margin-top: 8px !important;
            right: 0 !important;
            left: auto !important;
        }

        .dd-header {
            padding: 20px;
            background: linear-gradient(135deg, rgba(108, 142, 219, 0.06) 0%, rgba(58, 192, 141, 0.04) 100%);
            border-bottom: 1px solid #f1f5f9;
            display: flex;
            align-items: center;
            gap: 12px;
            position: relative;
        }

        .dd-header::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, #6c8edb, transparent);
            opacity: 0.4;
        }

        .sidebar-toggler {
            display: flex;
            flex-direction: column;
            justify-content: center;
            cursor: pointer;
            padding: 6px;
        }

        .sidebar-toggler span {
            display: block;
            width: 18px;
            height: 2px;
            background-color: #444;
            margin: 3px 0;
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .dd-avatar {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: linear-gradient(135deg, #2563eb, #7dd3fc);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: 700;
            color: #fff;
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
        }

        .dd-user-info .dd-name {
            font-size: 0.88rem;
            font-weight: 700;
            color: #1e293b;
        }

        .dd-user-info .dd-email {
            font-size: 0.73rem;
            color: #94a3b8;
            margin-top: 2px;
            word-break: break-all;
        }

        .dd-menu-list {
            padding: 8px;
        }

        .dd-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            border-radius: 10px;
            color: #475569;
            font-size: 0.84rem;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.18s;
            cursor: pointer;
        }

        .dd-item:hover {
            background: #f8fafc;
            color: #1e293b;
            text-decoration: none;
        }

        .dd-item-icon {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            flex-shrink: 0;
            transition: all 0.18s;
        }

        .dd-item:hover .dd-item-icon {
            background: linear-gradient(135deg, #6c8edb22, #3ac08d22);
            color: #6c8edb;
        }

        .dd-divider {
            height: 1px;
            background: #f1f5f9;
            margin: 4px 8px;
        }

        .dd-item.logout {
            color: #e11d48;
        }

        .dd-item.logout:hover {
            background: #fff1f2;
            color: #e11d48;
        }

        .dd-item.logout:hover .dd-item-icon {
            background: #fff1f2;
            color: #e11d48;
        }

        /* =============================================
           NOTIFICATION
           ============================================= */

        .notif-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            flex-shrink: 0;
        }

        .notif-btn {
            position: relative;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: none;
            background: transparent;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #334155;
            transition: all 0.2s;
            flex-shrink: 0;
            font-size: 22px;
        }

        .notif-btn:hover,
        .notif-btn.active {
            background: #f1f5f9;
            color: #1e293b;
        }

        .notif-badge {
            position: absolute;
            top: 2px;
            right: 0px;
            min-width: 20px;
            height: 20px;
            border-radius: 999px;
            background: #ef4444;
            border: 2px solid #fff;
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 5px;
            line-height: 1;
        }

        /* DROPDOWN DESKTOP */
        .notif-dropdown {
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            left: auto;
            transform: none;
            width: 380px;
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 18px;
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
            overflow: hidden;
            display: none;
            z-index: 9999;
        }

        .notif-dropdown.open {
            display: block;
            animation: notif-slide-in 0.18s ease;
        }

        @keyframes notif-slide-in {
            from {
                opacity: 0;
                transform: translateY(-6px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* DROPDOWN MOBILE */
        @media (max-width: 576px) {
            .notif-dropdown {
                position: fixed !important;
                top: 68px !important;
                right: auto !important;
                left: 50% !important;
                transform: translateX(-50%) !important;
                width: calc(100vw - 24px) !important;
                max-width: 420px;
                border-radius: 16px;
            }

            .notif-dropdown.open {
                animation: notif-slide-in-mobile 0.2s ease forwards !important;
            }

            @keyframes notif-slide-in-mobile {
                from {
                    opacity: 0;
                    transform: translateX(-50%) translateY(-8px);
                }

                to {
                    opacity: 1;
                    transform: translateX(-50%) translateY(0);
                }
            }
        }

        .notif-header {
            padding: 18px 20px 14px;
            border-bottom: 1px solid #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: linear-gradient(135deg, rgba(108, 142, 219, 0.05) 0%, rgba(58, 192, 141, 0.03) 100%);
        }

        .notif-header h3 {
            font-size: 0.92rem;
            font-weight: 700;
            color: #1e293b;
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0;
        }

        .notif-count-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #6c8edb;
            color: #fff;
            font-size: 0.7rem;
            font-weight: 700;
            min-width: 22px;
            height: 22px;
            padding: 0 6px;
            border-radius: 999px;
        }

        .notif-clear {
            font-size: 0.78rem;
            color: #6c8edb;
            cursor: pointer;
            border: none;
            background: none;
            font-weight: 600;
            padding: 4px 8px;
            border-radius: 6px;
            transition: background 0.15s;
        }

        .notif-clear:hover {
            background: #eef4ff;
            color: #4a6cc7;
        }

        .notif-list {
            padding: 8px;
            max-height: 380px;
            overflow-y: auto;
        }

        .notif-list::-webkit-scrollbar {
            width: 4px;
        }

        .notif-list::-webkit-scrollbar-track {
            background: transparent;
        }

        .notif-list::-webkit-scrollbar-thumb {
            background: #e2e8f0;
            border-radius: 4px;
        }

        .notif-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 12px 14px;
            border-radius: 12px;
            cursor: pointer;
            transition: background 0.15s;
        }

        .notif-item:hover {
            background: #f8fafc;
        }

        .notif-item.unread {
            background: #f0f5ff;
            border-left: 3px solid #6c8edb;
            margin-left: 2px;
        }

        .notif-item.unread:hover {
            background: #e8effc;
        }

        .notif-icon {
            width: 38px;
            height: 38px;
            border-radius: 11px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .notif-icon.blue {
            background: #e8effd;
            color: #6c8edb;
        }

        .notif-icon.red {
            background: #fee2e2;
            color: #ef4444;
        }

        .notif-icon.green {
            background: #dcfce7;
            color: #16a34a;
        }

        .notif-icon.amber {
            background: #fef9c3;
            color: #d97706;
        }

        .notif-icon.purple {
            background: #f3e8ff;
            color: #a855f7;
        }

        .notif-body {
            flex: 1;
            min-width: 0;
        }

        .notif-title {
            font-size: 0.84rem;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 3px;
        }

        .notif-desc {
            font-size: 0.77rem;
            color: #64748b;
            white-space: normal;
            word-break: break-word;
            line-height: 1.5;
            margin-top: 1px;
        }

        .notif-time {
            font-size: 0.71rem;
            color: #94a3b8;
            margin-top: 5px;
        }

        .unread-dot {
            width: 9px;
            height: 9px;
            background: #6c8edb;
            border-radius: 50%;
            margin-top: 5px;
            flex-shrink: 0;
            animation: dot-pulse 2s ease-in-out infinite;
        }

        @keyframes dot-pulse {

            0%,
            100% {
                opacity: 1;
                transform: scale(1);
            }

            50% {
                opacity: 0.5;
                transform: scale(0.75);
            }
        }

        .notif-footer {
            border-top: 1px solid #f1f5f9;
            padding: 12px 14px;
            text-align: center;
            background: #fafbfc;
        }

        .notif-footer a {
            font-size: 0.82rem;
            color: #6c8edb;
            font-weight: 600;
            text-decoration: none;
        }

        .notif-footer a:hover {
            color: #4a6cc7;
        }

        .notif-push-btn {
            width: 100%;
            border: 1.5px solid #e2e8f0;
            background: #fff;
            color: #475569;
            border-radius: 10px;
            padding: 9px 12px;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            margin-bottom: 10px;
            transition: all 0.18s;
        }

        .notif-push-btn:hover {
            background: #eef4ff;
            color: #4a6cc7;
            border-color: #c7d7f5;
        }

        .notif-empty,
        .notif-loading,
        .notif-error {
            padding: 32px 16px;
            text-align: center;
            color: #94a3b8;
            font-size: 0.82rem;
        }

        .notif-error {
            color: #e11d48;
        }

        /* =============================================
           NAVBAR RIGHT SECTION
           ============================================= */
        .navbar-right {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-left: auto;
            /* ← INI yang dorong ke kanan */
            flex-shrink: 0;
        }

        .app-header-nav {
            box-sizing: border-box;
            flex-wrap: nowrap !important;
        }

        @media (min-width: 992px) {
            .app-header-nav {
                min-width: 0;
            }

            .app-header-nav .navbar-right {
                margin-left: auto !important;
                margin-right: 0 !important;
            }
        }

        /* Hapus batas dan bayangan header agar menyatu dengan konten utama */
        .navbar {
            border-bottom: none !important;
            box-shadow: none !important;
            background-color: #ffffff !important;
        }