    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        :root {
            --primary: #2c3e50;
            --secondary: #3498db;
            --success: #27ae60;
            --danger: #e74c3c;
            --warning: #f39c12;
            --light: #ecf0f1;
            --dark: #2c3e50;
            --white: #ffffff;
            --sidebar-width: 260px;
            --header-height: 70px;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --border-radius: 10px;
        }

        body {
            background: #f5f7fa;
            min-height: 100vh;
        }

        .dashboard {
            display: flex;
            min-height: 100vh;
        }

        /* ===== SIDEBAR STYLES ===== */
        .sidebar {
            width: var(--sidebar-width);
            background: var(--primary);
            color: var(--white);
            position: fixed;
            height: 100vh;
            overflow-y: auto;
            transition: all 0.3s ease;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        }

        .sidebar-header {
            padding: 20px;
            text-align: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            margin-bottom: 20px;
        }

        .sidebar-header h2 {
            font-size: 1.5rem;
            font-weight: 500;
            letter-spacing: 0.5px;
        }

        .sidebar-header h2 span {
            display: block;
            font-size: 0.8rem;
            opacity: 0.7;
            margin-top: 5px;
            font-weight: 300;
        }

        .nav-menu {
            list-style: none;
            padding: 0 10px;
        }

        .nav-item {
            margin-bottom: 5px;
        }

        .nav-link {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.3s;
            font-weight: 400;
        }

        .nav-link:hover {
            background: rgba(255, 255, 255, 0.1);
            color: var(--white);
        }

        .nav-link.active {
            background: var(--secondary);
            color: var(--white);
            box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
        }

        .nav-link i {
            margin-right: 10px;
            font-size: 1.2rem;
            width: 24px;
            text-align: center;
        }

        /* Simple icon placeholders (using emoji as fallback) */
        .icon-home::before { content: "🏠"; }
        .icon-book::before { content: "📚"; }
        .icon-users::before { content: "👥"; }
        .icon-calendar::before { content: "📅"; }
        .icon-grade::before { content: "📊"; }
        .icon-assignment::before { content: "📝"; }
        .icon-messages::before { content: "💬"; }
        .icon-settings::before { content: "⚙️"; }
        .icon-logout::before { content: "🚪"; }

        /* ===== MAIN CONTENT AREA ===== */
        .main-content {
            flex: 1;
            margin-left: var(--sidebar-width);
            padding: 30px;
        }

        /* Header */
        .top-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            background: var(--white);
            padding: 15px 25px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }

        .page-title h1 {
            font-size: 1.8rem;
            color: var(--dark);
            font-weight: 500;
        }

        .page-title p {
            color: #7f8c8d;
            font-size: 0.9rem;
            margin-top: 5px;
        }

        .user-profile {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .user-info {
            text-align: right;
        }

        .user-name {
            font-weight: 600;
            color: var(--dark);
        }

        .user-role {
            font-size: 0.8rem;
            color: #7f8c8d;
        }

        .user-avatar {
            width: 45px;
            height: 45px;
            background: var(--secondary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-weight: 600;
            font-size: 1.2rem;
        }

        /* Stats Cards */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 25px;
            margin-bottom: 30px;
        }

        .stat-card {
            background: var(--white);
            padding: 25px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: transform 0.3s;
        }

        .stat-card:hover {
            transform: translateY(-5px);
        }

        .stat-info h3 {
            font-size: 2rem;
            color: var(--dark);
            margin-bottom: 5px;
        }

        .stat-info p {
            color: #7f8c8d;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .stat-icon {
            width: 60px;
            height: 60px;
            background: rgba(52, 152, 219, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: var(--secondary);
        }

        /* Section Title */
        .section-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .section-title h2 {
            font-size: 1.5rem;
            color: var(--dark);
            font-weight: 500;
        }

        .view-all {
            color: var(--secondary);
            text-decoration: none;
            font-size: 0.9rem;
        }

        /* Link Boxes Grid */
        .boxes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }

        .link-box {
            background: var(--white);
            border-radius: var(--border-radius);
            padding: 25px;
            box-shadow: var(--shadow);
            text-decoration: none;
            color: inherit;
            transition: all 0.3s;
            display: block;
            border: 1px solid transparent;
        }

        .link-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            border-color: var(--secondary);
        }

        .box-icon {
            width: 60px;
            height: 60px;
            background: rgba(52, 152, 219, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            margin-bottom: 20px;
            color: var(--secondary);
        }

        .link-box h3 {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: var(--dark);
        }

        .link-box p {
            color: #7f8c8d;
            font-size: 0.95rem;
            line-height: 1.5;
            margin-bottom: 15px;
        }

        .box-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #ecf0f1;
        }

        .box-link {
            color: var(--secondary);
            font-weight: 500;
            font-size: 0.9rem;
        }

        .box-link i {
            margin-left: 5px;
            transition: transform 0.3s;
        }

        .link-box:hover .box-link i {
            transform: translateX(5px);
        }

        .box-date {
            color: #95a5a6;
            font-size: 0.8rem;
        }

        /* Footer */
        .footer {
            margin-top: 40px;
            text-align: center;
            color: #7f8c8d;
            font-size: 0.9rem;
            padding: 20px 0;
            border-top: 1px solid #ecf0f1;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .sidebar {
                width: 70px;
                overflow: visible;
            }

            .sidebar-header h2 span,
            .nav-link span:not(.icon) {
                display: none;
            }

            .nav-link {
                justify-content: center;
                padding: 15px;
            }

            .nav-link i {
                margin-right: 0;
                font-size: 1.4rem;
            }

            .main-content {
                margin-left: 70px;
            }

            .stats-grid {
                grid-template-columns: 1fr;
            }

            .boxes-grid {
                grid-template-columns: 1fr;
            }

            .top-header {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }

            .user-profile {
                width: 100%;
                justify-content: center;
            }
        }

        /* Custom colors for variety */
        .box-icon.orange { background: rgba(243, 156, 18, 0.1); color: var(--warning); }
        .box-icon.green { background: rgba(39, 174, 96, 0.1); color: var(--success); }
        .box-icon.red { background: rgba(231, 76, 60, 0.1); color: var(--danger); }
        .box-icon.purple { background: rgba(155, 89, 182, 0.1); color: #9b59b6; }
    </style>