<style>
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        background: #f1f5f9;
        color: #1e293b;
        min-height: 100vh;
    }
    .admin-navbar {
        background: #fff;
        padding: 0.75rem 1.5rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.06);
        border-bottom: 1px solid #e2e8f0;
        position: sticky;
        top: 0;
        z-index: 100;
    }
    .admin-navbar-content {
        max-width: 1600px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .admin-navbar-brand {
        font-size: 1.35rem;
        font-weight: 700;
        color: #6366f1;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .admin-navbar-brand:hover { color: #4f46e5; }
    .admin-navbar-user {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .admin-user-info {
        color: #64748b;
        font-size: 0.9rem;
    }
    .admin-logout-btn {
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
        color: #fff;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.9rem;
        transition: transform 0.2s, box-shadow 0.2s;
    }
    .admin-logout-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    }
    .admin-wrap {
        display: flex;
        min-height: calc(100vh - 56px);
    }
    .admin-sidebar {
        width: 260px;
        flex-shrink: 0;
        background: #fff;
        border-right: 1px solid #e2e8f0;
        padding: 1.25rem 0;
        box-shadow: 1px 0 0 rgba(0,0,0,0.03);
    }
    .admin-sidebar-nav {
        list-style: none;
    }
    .admin-sidebar-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1.25rem;
        color: #64748b;
        text-decoration: none;
        font-weight: 500;
        transition: background 0.2s, color 0.2s;
        border-left: 3px solid transparent;
    }
    .admin-sidebar-link:hover {
        background: #f8fafc;
        color: #6366f1;
    }
    .admin-sidebar-link.active {
        background: #eef2ff;
        color: #6366f1;
        border-left-color: #6366f1;
    }
    .admin-sidebar-link i { width: 1.25rem; text-align: center; }
    .admin-main {
        flex: 1;
        padding: 1.5rem 2rem;
        overflow-x: hidden;
    }
    @media (max-width: 1024px) {
        .admin-sidebar {
            width: 72px;
            padding: 1rem 0;
        }
        .admin-sidebar-link span { display: none; }
        .admin-sidebar-link { justify-content: center; padding: 1rem; }
        .admin-sidebar-link i { width: auto; }
    }
    @media (max-width: 768px) {
        .admin-wrap { flex-direction: column; }
        .admin-sidebar {
            width: 100%;
            border-right: none;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            padding: 0.5rem;
            overflow-x: auto;
        }
        .admin-sidebar-nav {
            display: flex;
            gap: 0;
            flex: 1;
        }
        .admin-sidebar-link span { display: none; }
        .admin-sidebar-link { flex: 1; justify-content: center; min-width: 48px; }
        .admin-main { padding: 1rem; }
    }
</style>
