        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            color-scheme: dark;
        }

        body {
            font-family: "Inter", "Poppins", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
            background-attachment: fixed;
            color: #ffffff;
            display: flex;
            min-height: 100vh;
            position: relative;
            line-height: 1.6;
            font-weight: 400;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Animated background particles */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 20% 80%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(0, 123, 255, 0.05) 0%, transparent 50%);
            z-index: -1;
            animation: none;
        }

        @keyframes particleFloat {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

        a { text-decoration: none; color: inherit; }

        /* ====================== */
        /* SIDEBAR */
        /* ====================== */
        .sidebar {
            width: 268px;
            flex-shrink: 0;
            padding: 32px 26px 28px;
            background: linear-gradient(195deg, rgba(17, 20, 36, 0.94) 0%, rgba(8, 10, 22, 0.9) 100%);
            border-right: 1px solid rgba(99, 102, 241, 0.18);
            box-shadow: 12px 0 36px rgba(8, 12, 24, 0.28);
            border-radius: 0 28px 28px 0;
            display: flex;
            flex-direction: column;
            gap: 28px;
            position: relative;
            overflow-y: auto;
            color: rgba(226, 232, 240, 0.94);
        }

        .sidebar::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(120% 100% at -20% 0%, rgba(56, 189, 248, 0.18), transparent 60%);
            pointer-events: none;
        }

        .sidebar::after {
            content: '';
            position: absolute;
            inset: 0;
            border: 1px solid rgba(148, 163, 184, 0.05);
            border-left: none;
            border-radius: 0 28px 28px 0;
            pointer-events: none;
        }

        .sidebar::-webkit-scrollbar {
            width: 6px;
        }

        .sidebar::-webkit-scrollbar-track {
            background: transparent;
        }

        .sidebar::-webkit-scrollbar-thumb {
            background: rgba(148, 163, 184, 0.18);
            border-radius: 3px;
        }

        .sidebar-inner {
            display: flex;
            flex-direction: column;
            gap: 28px;
            position: relative;
            z-index: 1;
            flex: 1;
        }

        .sidebar-header {
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding-bottom: 18px;
            border-bottom: 1px solid rgba(148, 163, 184, 0.1);
        }

        .sidebar-logo-link {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 8px;
        }

        .sidebar-logo {
            max-width: 200px;
            height: auto;
            filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.24));
            transition: transform 0.35s ease, filter 0.35s ease;
        }

        .sidebar-logo-link:hover .sidebar-logo {
            transform: translateY(-1px) scale(1.04);
            filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.36));
        }

        .sidebar-heading {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .sidebar-title {
            font-size: 16px;
            font-weight: 600;
            letter-spacing: 0.6px;
            color: rgba(248, 250, 252, 0.92);
        }

        .sidebar-tagline {
            font-size: 12px;
            letter-spacing: 0.4px;
            text-transform: uppercase;
            color: rgba(148, 163, 184, 0.6);
        }

        .sidebar-user-pill {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 6px;
            padding: 7px 12px;
            background: rgba(99, 102, 241, 0.12);
            border: 1px solid rgba(99, 102, 241, 0.25);
            border-radius: 999px;
            font-size: 12.5px;
            font-weight: 600;
            color: rgba(165, 180, 252, 0.95);
            letter-spacing: 0.2px;
            width: fit-content;
            text-decoration: none;
            cursor: pointer;
            transition: background 0.2s ease, border-color 0.2s ease;
        }

        a.sidebar-user-pill:hover,
        a.sidebar-user-pill:focus-visible {
            background: rgba(99, 102, 241, 0.22);
            border-color: rgba(129, 140, 248, 0.45);
        }

        .sidebar-user-pill i {
            font-size: 11px;
            color: #818cf8;
        }

        .sidebar-nav {
            display: flex;
            flex-direction: column;
            gap: 26px;
        }

        .sidebar-section {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .sidebar-section-title {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 1.4px;
            text-transform: uppercase;
            color: rgba(148, 163, 184, 0.52);
            padding-left: 4px;
        }

        .sidebar-section-title i {
            color: rgba(125, 211, 252, 0.68);
            font-size: 12px;
        }

        .sidebar-links {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .sidebar-link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border-radius: 12px;
            color: rgba(226, 232, 240, 0.88);
            font-weight: 500;
            letter-spacing: 0.2px;
            border: 1px solid transparent;
            background: rgba(255, 255, 255, 0.008);
            position: relative;
            transition: all 0.35s ease;
        }

        .sidebar-link::before {
            content: '';
            position: absolute;
            top: 10px;
            bottom: 10px;
            left: 8px;
            width: 2px;
            border-radius: 999px;
            background: linear-gradient(180deg, rgba(56, 189, 248, 0.55), rgba(129, 140, 248, 0.55));
            opacity: 0;
            transition: opacity 0.35s ease;
        }

        .sidebar-link i {
            font-size: 16px;
            width: 20px;
            text-align: center;
            color: rgba(165, 180, 252, 0.68);
        }

        .sidebar-link span {
            flex: 1;
        }

        .sidebar-link:hover,
        .sidebar-link:focus-visible {
            background: linear-gradient(120deg, rgba(79, 70, 229, 0.12), rgba(14, 165, 233, 0.08));
            border-color: rgba(99, 102, 241, 0.22);
            color: rgba(248, 250, 252, 0.95);
            transform: translateX(6px);
            box-shadow: 0 14px 32px rgba(76, 106, 255, 0.14);
        }

        .sidebar-link:hover::before,
        .sidebar-link:focus-visible::before,
        .sidebar-link.active::before {
            opacity: 1;
        }

        .sidebar-link.active {
            background: linear-gradient(120deg, rgba(79, 70, 229, 0.2), rgba(14, 165, 233, 0.12));
            border-color: rgba(99, 102, 241, 0.32);
            color: rgba(248, 250, 252, 0.98);
            box-shadow: 0 14px 32px rgba(76, 106, 255, 0.16);
        }

        .sidebar-link.active i {
            color: rgba(199, 210, 254, 0.82);
        }

        .sidebar-pill {
            margin-left: auto;
            padding: 2px 10px;
            border-radius: 999px;
            background: rgba(79, 70, 229, 0.22);
            color: rgba(199, 210, 254, 0.9);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .sidebar-link-external {
            font-size: 12px;
            margin-left: 6px;
            color: rgba(148, 163, 184, 0.5);
        }

        .sidebar-link:hover .sidebar-link-external,
        .sidebar-link:focus-visible .sidebar-link-external {
            color: rgba(226, 232, 240, 0.7);
        }

        .sidebar-link.is-hidden {
            display: none;
        }

        .sidebar-credits {
            margin: 0 0 18px 0;
            padding: 12px 14px;
            border-radius: 12px;
            background: linear-gradient(145deg, rgba(102, 126, 234, 0.14), rgba(118, 75, 162, 0.08));
            border: 1px solid rgba(148, 163, 184, 0.12);
        }
        .sidebar-credits-title {
            font-size: 0.68rem;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            color: rgba(226, 232, 240, 0.5);
            margin: 0 0 10px 0;
            font-weight: 600;
        }
        .sidebar-credits-row {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            gap: 10px;
            font-size: 0.78rem;
            margin-bottom: 8px;
            color: rgba(226, 232, 240, 0.88);
        }
        .sidebar-credits-row:last-of-type {
            margin-bottom: 0;
        }
        .sidebar-credits-label {
            color: rgba(226, 232, 240, 0.65);
        }
        .sidebar-credits-val {
            font-weight: 700;
            color: #c7d2fe;
            font-variant-numeric: tabular-nums;
        }
        .sidebar-credits-foot {
            margin-top: 10px;
            padding-top: 8px;
            border-top: 1px solid rgba(148, 163, 184, 0.1);
        }
        .sidebar-credits-link {
            font-size: 0.72rem;
            color: #a5b4fc;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        .sidebar-credits-link:hover {
            color: #e0e7ff;
            text-decoration: underline;
        }

        .sidebar-footer {
            margin-top: auto;
            padding-top: 24px;
            border-top: 1px solid rgba(148, 163, 184, 0.1);
            display: flex;
            flex-direction: column;
            gap: 10px;
            position: relative;
            z-index: 1;
        }

        .sidebar-footer .sidebar-link {
            background: rgba(255, 255, 255, 0.015);
        }

        @media (max-width: 1024px) {
            .sidebar {
                width: 240px;
                padding: 28px 22px 24px;
            }
        }

        /* ====================== */
        /* MAIN CONTENT */
        /* ====================== */
        .main {
            flex-grow: 1;
            padding: 40px 48px;
            background: rgba(10, 10, 15, 0.3);
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: rgba(0, 191, 255, 0.3) transparent;
        }

        .main::-webkit-scrollbar {
            width: 6px;
        }

        .main::-webkit-scrollbar-track {
            background: transparent;
        }

        .main::-webkit-scrollbar-thumb {
            background: rgba(0, 191, 255, 0.3);
            border-radius: 3px;
        }