/* ========================================
           PRETTYPRINT CODE STYLING
           ======================================== */
        
        /* Container pour le code */
        .code-wrapper {
            position: relative;
            margin: 2rem 0;
            border-radius: 15px;
            overflow: hidden;
            background: #1e293b;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        /* Header du bloc de code */
        .code-header {
            background: #0f172a;
            padding: 0.8rem 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .code-language {
            color: #34d399;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .copy-button {
            background: #10b981;
            color: white;
            border: none;
            padding: 0.4rem 0.8rem;
            border-radius: 5px;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .copy-button:hover {
            background: #059669;
        }

        .copy-button.copied {
            background: #22c55e;
        }

        /* Prettyprint base styles */
        pre.prettyprint {
            margin: 0;
            padding: 1.5rem;
            overflow-x: auto;
            background: #1e293b !important;
            border: none !important;
            font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
            font-size: 0.9rem;
            line-height: 1.6;
            color: #e2e8f0;
        }

        /* Scrollbar styling */
        pre.prettyprint::-webkit-scrollbar {
            height: 8px;
        }

        pre.prettyprint::-webkit-scrollbar-track {
            background: #0f172a;
        }

        pre.prettyprint::-webkit-scrollbar-thumb {
            background: #475569;
            border-radius: 4px;
        }

        pre.prettyprint::-webkit-scrollbar-thumb:hover {
            background: #64748b;
        }

        /* ========================================
           SYNTAX HIGHLIGHTING - JAVA THEME
           ======================================== */
        
        /* Plain text */
        .prettyprint .pln {
            color: #e2e8f0;
        }

        /* String literals */
        .prettyprint .str {
            color: #a5f3fc;
        }

        /* Keywords (public, class, void, etc.) */
        .prettyprint .kwd {
            color: #c084fc;
            font-weight: bold;
        }

        /* Comments */
        .prettyprint .com {
            color: #64748b;
            font-style: italic;
        }

        /* Types (String, int, etc.) */
        .prettyprint .typ {
            color: #67e8f9;
        }

        /* Literals (numbers, true/false) */
        .prettyprint .lit {
            color: #f472b6;
        }

        /* Punctuation */
        .prettyprint .pun {
            color: #94a3b8;
        }

        /* Operators */
        .prettyprint .opn {
            color: #e2e8f0;
        }

        /* Close parenthesis */
        .prettyprint .clo {
            color: #e2e8f0;
        }

        /* Tags */
        .prettyprint .tag {
            color: #ff79c6;
        }

        /* Attributes */
        .prettyprint .atn {
            color: #f1fa8c;
        }

        /* Attribute values */
        .prettyprint .atv {
            color: #50fa7b;
        }

        /* Declarations */
        .prettyprint .dec {
            color: #f8f8f2;
        }

        /* Variables */
        .prettyprint .var {
            color: #8be9fd;
        }

        /* Functions */
        .prettyprint .fun {
            color: #50fa7b;
        }

        /* Line numbers (if enabled) */
        .prettyprint.linenums {
            padding-left: 3rem;
        }

        .prettyprint.linenums ol {
            margin: 0;
            padding: 0;
        }

        .prettyprint.linenums li {
            list-style-type: decimal;
            color: #475569;
            border-left: 2px solid #334155;
            padding-left: 1rem;
            margin-left: -3rem;
        }

        .prettyprint.linenums li:hover {
            background: rgba(99, 102, 241, 0.1);
        }

        /* Language specific styles */
        .lang-java .typ {
            color: #22d3ee;
            font-weight: 600;
        }

        .lang-xml .tag {
            color: #f472b6;
        }

        .lang-xml .atn {
            color: #a78bfa;
        }

        .lang-css .kwd {
            color: #60a5fa;
        }

        .lang-css .pln {
            color: #fbbf24;
        }

