<style>
        html, body { 
            height: 100%; 
        }
        body {
            margin: 0;
            background: #120027;
            font-family: "Poppins", sans-serif;
            color: #fff;
            display:flex;
            flex-direction:column;
        }
        .main-wrapper { 
            display: flex; 
            width: 100%; 
        }
        .sidebar {
            width: 260px;
            background: #1a012f;
            backdrop-filter: blur(14px);
            min-height: 100vh;
            padding: 25px;
            border-right: 1px solid rgba(255,255,255,0.12);
            position: fixed;
            top: 0;
            left: 0;
            z-index: 200;
        }
        .content-area {
            margin-left: 260px;
            width: calc(100% - 260px);
            min-height: calc(100vh - 70px);
            display: flex;
            flex-direction: column;
        }
        .logo-text {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 25px;
        }
        .sidebar-profile { 
            text-align: center; 
            margin-bottom: 30px; 
        }
        .sidebar-profile img,
        .nav-profile-img {
            width: 100px;
            height: 100px;
        }
        .sidebar-name { 
            font-size: 18px; 
            font-weight: 600; 
        }
        .sidebar-role { 
            font-size: 14px; 
            opacity: 0.7; 
        }
        .sidebar-menu { 
            list-style: none; 
            padding: 0; 
            margin-top: 20px; 
        }
        .sidebar-menu li { 
            margin-bottom: 12px; 
        }
        .sidebar-menu a {
            text-decoration: none;
            color: #fff;
            padding: 12px 15px;
            border-radius: 8px;
            display: block;
            font-size: 15px;
            transition: 0.3s;
        }
        .sidebar-menu a i { 
            margin-right: 10px; 
        }
        .sidebar-menu a:hover { 
            background: rgba(255,255,255,0.12); 
        }

        .topnav {
            top: 0;
            left: 0;
            width: 100%;
            z-index: 400;
            padding: 12px 25px;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            background: #1a012f;
            border-bottom: 1px solid rgba(255,255,255,0.15);
        }

        .sidebar.active {
            z-index: 400; 
        }

        .notif-container { 
            position: relative; 
            margin-right: 25px; 
        }
        .notif-icon { 
            font-size: 20px; 
            cursor: pointer; 
        }
        .notif-card {
            display: none;
            position: absolute;
            top: 40px;
            right: 0;
            width: 290px;
            background: #24103f;
            color: white;
            border: 1px solid #4a2a73;
            border-radius: 14px;
            padding: 12px 0;
            box-shadow: 0 8px 20px rgba(0,0,0,0.4);
            animation: fadeIn 0.25s ease-out;
            z-index: 1000;
            text-align: center; 
        }

        .notif-item {
            padding: 12px 16px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            position: relative;
        }

        .notif-item:last-child {
            border-bottom: none;
        }

        .notif-icon-wrapper {
            font-size: 24px;
            margin-bottom: 10px;
        }

        .notif-content strong {
            display: block;
            font-size: 16px;
            margin-bottom: 5px;
        }

        .notif-content p {
            margin: 0 0 5px 0;
        }

        .notif-content small {
            opacity: 0.7;
        }

        .notif-close-btn {
            position: absolute;
            top: 8px;
            right: 10px;
            font-size: 18px;
            color: #ff5f5f;
            cursor: pointer;
            font-weight: bold;
        }

        .notif-close-btn:hover {
            color: #ff2f2f;
        }


        .profile-btn {
            background: none;
            border: none;
            color: #fff;
            display: flex;
            align-items: center;
        }
        .nav-profile-img {
            width: 50px;
            height: 50px;
            margin-right:20px;
        }

        .dropdown-menu { 
            background: #1a1a1a; 
            border: 1px solid #333; 
        }
        .dropdown-item { 
            color: #fff; 
        }
        .dropdown-item:hover { 
            background: #6217d2; 
        }
  
        footer {
            background: rgba(20,0,45,0.35);
            color: #fff;
            text-align: center;
            padding: 20px;
            font-size: 15px;
            margin-top: auto;
        }

        @media (max-width: 768px) {
            .logo-text {
                font-size: 20px; 
            }

            .sidebar {
                position: absolute;
                left: -100%;
                width: 260px;
                transition: 0.4s ease;
                z-index: 300;
            }
            .sidebar.active { 
                left: 0; 
            }
            .content-area { 
                margin-left: 0; 
                width: 100%; 
            }
            .footer-area { 
                margin-left: 0; 
            }
            .topnav { 
                justify-content: space-between; 
            }

            .notif-card {
                width: 200px !important;       
                left: 50% !important;          
                transform: translateX(-50%);  
                right: 0!important;
                top: 55px !important;         
                max-height: 250px;
                overflow-y: auto;
                padding-bottom: 15px;
            }

            .notif-item {
                text-align: center;            
            }
        }

        

</style>