        /* ============================================
           GDPR Consent Banner
           ============================================ */
        .consent-banner {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 10000;
            padding: 20px;
            background: var(--card-bg, #1a1a2e);
            border-top: 2px solid var(--primary, #00d4ff);
            box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
            animation: slideUp 0.3s ease-out;
        }

        @keyframes slideUp {
            from { transform: translateY(100%); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .consent-banner.active {
            display: block;
        }

        .consent-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .consent-text {
            flex: 1;
            min-width: 200px;
            font-size: 14px;
            line-height: 1.5;
            color: var(--text-color, #e0e0e0);
        }

        .consent-text a {
            color: var(--primary, #00d4ff);
            text-decoration: underline;
        }

        .consent-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .consent-btn {
            padding: 10px 20px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .consent-btn-accept {
            background: var(--primary, #00d4ff);
            color: #000;
        }

        .consent-btn-accept:hover {
            background: var(--primary-hover, #00b8d9);
            transform: translateY(-1px);
        }

        .consent-btn-reject {
            background: transparent;
            color: var(--text-color, #e0e0e0);
            border: 1px solid var(--border-color, #333);
        }

        .consent-btn-reject:hover {
            background: rgba(255,255,255,0.1);
        }

        .consent-btn-customize {
            background: transparent;
            color: var(--primary, #00d4ff);
            border: 1px solid var(--primary, #00d4ff);
        }

        .consent-btn-customize:hover {
            background: rgba(0,212,255,0.1);
        }

        /* Customize panel */
        .consent-customize-panel {
            display: none;
            width: 100%;
            margin-top: 15px;
            padding: 15px;
            background: rgba(0,0,0,0.2);
            border-radius: 8px;
        }

        .consent-customize-panel.active {
            display: block;
        }

        .consent-category {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid var(--border-color, #333);
        }

        .consent-category:last-child {
            border-bottom: none;
        }

        .consent-category-info {
            flex: 1;
        }

        .consent-category-name {
            font-weight: 600;
            font-size: 14px;
            color: var(--text-color, #e0e0e0);
        }

        .consent-category-desc {
            font-size: 12px;
            color: var(--text-secondary, #999);
            margin-top: 2px;
        }

        /* Toggle switch */
        .consent-toggle {
            position: relative;
            width: 44px;
            height: 24px;
            flex-shrink: 0;
            margin-left: 15px;
        }

        .consent-toggle input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .consent-toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0; left: 0; right: 0; bottom: 0;
            background: #555;
            border-radius: 24px;
            transition: 0.3s;
        }

        .consent-toggle-slider:before {
            content: "";
            position: absolute;
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background: white;
            border-radius: 50%;
            transition: 0.3s;
        }

        .consent-toggle input:checked + .consent-toggle-slider {
            background: var(--primary, #00d4ff);
        }

        .consent-toggle input:checked + .consent-toggle-slider:before {
            transform: translateX(20px);
        }

        .consent-toggle input:disabled + .consent-toggle-slider {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .consent-save-btn {
            display: block;
            margin: 15px auto 0;
            padding: 10px 30px;
            background: var(--primary, #00d4ff);
            color: #000;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.2s ease;
        }

        .consent-save-btn:hover {
            background: var(--primary-hover, #00b8d9);
            transform: translateY(-1px);
        }

        /* Mobile responsive */
        @media (max-width: 600px) {
            .consent-banner {
                padding: 15px;
            }
            .consent-content {
                flex-direction: column;
                align-items: stretch;
            }
            .consent-buttons {
                flex-direction: column;
            }
            .consent-btn {
                text-align: center;
            }
        }

        /* Mappings panel dark mode support */
        .mappings-panel {
            background-color: var(--bg-tertiary) !important;
            border-left: 4px solid var(--examples-border) !important;
        }
        .mappings-panel h3 {
            color: var(--text-primary) !important;
        }
        .mappings-panel p {
            color: var(--text-secondary) !important;
        }
        .mappings-panel input,
        .mappings-panel select {
            background: var(--input-bg) !important;
            color: var(--text-primary) !important;
            border: 2px solid var(--input-border) !important;
        }
        .mappings-panel #mappingsList {
            background: var(--bg-secondary) !important;
            border: 1px solid var(--border-color) !important;
        }
        .mappings-panel table tr {
            border-bottom: 1px solid var(--border-color) !important;
        }
        .mappings-panel table tr:first-child {
            background-color: var(--bg-tertiary) !important;
        }
        .mappings-panel table td {
            color: var(--text-primary) !important;
        }


        /* ===== Theme Picker Dropdown ===== */
        .theme-dropdown {
            position: fixed;
            top: 80px;
            right: 20px;
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 6px;
            min-width: 200px;
            box-shadow: 0 10px 30px var(--shadow-color);
            z-index: 1002;
            display: none;
        }
        .theme-dropdown.open { display: block; }
        .theme-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 10px;
            border-radius: 6px;
            cursor: pointer;
            transition: background 0.15s;
            font-size: 13px;
            color: var(--text-primary);
        }
        .theme-item:hover { background: var(--bg-tertiary); }
        .theme-item.active { background: var(--bg-tertiary); font-weight: 600; }
        .theme-swatch {
            width: 22px; height: 22px;
            border-radius: 6px;
            border: 1px solid var(--border-color);
            flex-shrink: 0;
        }
        .theme-swatch[data-swatch="dark"]      { background: linear-gradient(135deg, #0f1115, #6366f1); }
        .theme-swatch[data-swatch="light"]     { background: linear-gradient(135deg, #ffffff, #6366f1); }
        .theme-swatch[data-swatch="cyber"]     { background: linear-gradient(135deg, #06070e, #00ffd1); }
        .theme-swatch[data-swatch="solarized"] { background: linear-gradient(135deg, #002b36, #268bd2); }
        .theme-swatch[data-swatch="nord"]      { background: linear-gradient(135deg, #2e3440, #88c0d0); }
        .theme-swatch[data-swatch="dracula"]   { background: linear-gradient(135deg, #282a36, #bd93f9); }
        .theme-swatch[data-swatch="sunset"]    { background: linear-gradient(135deg, #1a0f0a, #f97316); }
        .theme-swatch[data-swatch="forest"]    { background: linear-gradient(135deg, #0d1b0d, #22c55e); }
        .theme-swatch[data-swatch="gradient"]  { background: linear-gradient(135deg, #fecdd3, #ccfbf1, #d9f99d); }
        /* theme-pro-badge eltávolítva — minden téma ingyenes */
        @media (max-width: 600px) {
            .theme-dropdown {
                top: 72px;
                right: 10px;
                min-width: 180px;
            }
        }

        /* Szótár Kezelő gombsor — mobilon 2x2 grid */
        @media (max-width: 600px) {
            .mappings-panel > div:first-child > div:last-child {
                display: grid !important;
                grid-template-columns: repeat(2, 1fr) !important;
                width: 100%;
            }
            .mappings-panel > div:first-child > div:last-child > button {
                padding: 10px 8px !important;
                font-size: 12px !important;
            }
            /* Új mapping form grid egymás alá */
            .mappings-panel > div[style*="grid-template-columns"] {
                grid-template-columns: 1fr !important;
            }
        }
