
/* Cookie Button */
        .cookie-settings-btn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: white;
            border: none;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 999;
        }

        .cookie-settings-btn:hover {
            box-shadow: 0 6px 20px rgba(0,0,0,0.25);
            transform: translateY(-2px);
        }

        .cookie-settings-btn svg {
            width: 28px;
            height: 28px;
            fill: #c4c4c4;
        }

        /* Overlay */
        .cookie-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 9998;
            animation: fadeIn 0.3s ease;
        }

        .cookie-overlay.show {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px 20px 20px 0px;
        }

        /* Main Popup */
        .cookie-popup {
            background: white;
            border-radius: 16px;
            max-width: 600px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            animation: slideUp 0.4s ease;
        }

        .cookie-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 30px 20px;
            color: white;
            border-radius: 16px 16px 0 0;
        }

        .cookie-header-content {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 10px;
        }

        .cookie-header-content svg {
            width: 36px;
            height: 36px;
            flex-shrink: 0;
        }

        .cookie-header h2 {
            font-size: 26px;
            font-weight: 700;
            margin: 0;
        }

        .cookie-header p {
            font-size: 14px;
            opacity: 0.9;
            margin: 0;
        }

        .cookie-body {
            padding: 30px;
        }

        .cookie-body > p {
            color: #555;
            line-height: 1.7;
            margin-bottom: 25px;
            font-size: 15px;
        }

        .info-boxes {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 15px;
            margin-bottom: 25px;
        }

        .info-box {
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            padding: 18px;
            display: flex;
            gap: 12px;
        }

        .info-box svg {
            width: 22px;
            height: 22px;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .info-box h3 {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 5px;
			margin-top: 0px;
            color: #333;
        }

        .info-box p {
            font-size: 13px;
            color: #666;
            line-height: 1.5;
            margin: 0;
        }

        .cookie-features {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 25px;
        }

        .cookie-features strong {
            display: block;
            margin-bottom: 10px;
            color: #333;
            font-size: 14px;
        }

        .cookie-features ul {
            list-style: none;
            padding: 0;
        }

        .cookie-features ul li {
            color: #666;
            font-size: 14px;
            padding: 5px 0;
            padding-left: 20px;
            position: relative;
        }

        .cookie-features ul li:before {
            content: "•";
            position: absolute;
            left: 5px;
            color: #667eea;
            font-weight: bold;
        }

        .cookie-buttons {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        .btn {
            flex: 1;
            min-width: 140px;
            padding: 14px 24px;
            border: none;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            text-align: center;
        }

        .btn-accept {
            background: #10b981;
            color: white;
        }

        .btn-accept:hover {
            background: #059669;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        }

        .btn-reject {
            background: #ef4444;
            color: white;
        }

        .btn-reject:hover {
            background: #dc2626;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
        }

        .btn-settings {
            background: #e5e7eb;
            color: #374151;
        }

        .btn-settings:hover {
            background: #d1d5db;
            transform: translateY(-1px);
        }

        .cookie-links {
            margin-top: 20px;
            text-align: center;
            font-size: 13px;
        }

        .cookie-links a {
            color: #667eea;
            text-decoration: none;
            margin: 0 8px;
        }

        .cookie-links a:hover {
            text-decoration: underline;
        }

        .user-id-display {
            margin-top: 15px;
            text-align: center;
            font-size: 11px;
            color: #999;
        }

        /* Settings Modal */
        .cookie-settings {
            display: none;
        }

        .cookie-settings.show {
            display: block;
        }

        .settings-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 25px 30px;
            color: white;
            border-radius: 16px 16px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .settings-header-content {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .settings-header h2 {
            font-size: 22px;
            font-weight: 700;
            margin: 0;
        }

        .settings-header svg {
            width: 28px;
            height: 28px;
        }

        .close-btn {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }

        .close-btn:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .close-btn svg {
            width: 20px;
            height: 20px;
            stroke: white;
        }

        .settings-body {
            padding: 30px;
            max-height: 60vh;
            overflow-y: auto;
        }

        .settings-body > p {
            color: #666;
            margin-bottom: 25px;
            line-height: 1.6;
        }

        .cookie-category {
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            padding: 22px;
            margin-bottom: 18px;
            transition: all 0.3s ease;
        }

        .cookie-category.active {
            border-color: #10b981;
            background: #f0fdf4;
        }

        .category-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 12px;
        }

        .category-info {
            display: flex;
            gap: 12px;
            flex: 1;
        }

        .category-icon {
            width: 28px;
            height: 28px;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .category-content h3 {
            font-size: 16px;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 6px;
			margin-top: 0px;
        }

        .category-content p {
            font-size: 14px;
            color: #6b7280;
            line-height: 1.6;
            margin: 0;
        }

        .category-examples {
            margin-top: 10px;
            font-size: 12px;
            color: #9ca3af;
        }

        /* Toggle Switch */
        .toggle-wrapper {
            margin-left: 15px;
        }

        .toggle {
            position: relative;
            width: 52px;
            height: 28px;
            background: #d1d5db;
            border-radius: 14px;
            cursor: pointer;
            transition: background 0.3s;
        }

        .toggle.active {
            background: #10b981;
        }

        .toggle.disabled {
            background: #9ca3af;
            cursor: not-allowed;
        }

        .toggle-slider {
            position: absolute;
            top: 3px;
            left: 3px;
            width: 22px;
            height: 22px;
            background: white;
            border-radius: 50%;
            transition: transform 0.3s;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }

        .toggle.active .toggle-slider {
            transform: translateX(24px);
        }

        .toggle-label {
            font-size: 11px;
            color: #6b7280;
            margin-top: 4px;
            text-align: center;
        }

        .settings-footer {
            border-top: 1px solid #e5e7eb;
            padding: 20px 30px;
            background: #f9fafb;
            border-radius: 0 0 16px 16px;
            display: flex;
            gap: 12px;
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive */
        @media (max-width: 640px) {
            .cookie-popup {
                margin: 10px;
            }

            .cookie-header {
                padding: 30px 20px;
            }

            .cookie-header h2 {
                font-size: 22px;
            }

            .cookie-body {
                padding: 25px 20px;
            }

            .info-boxes {
                grid-template-columns: 1fr;
            }

            .cookie-buttons {
                flex-direction: column;
            }

            .btn {
                width: 100%;
            }

            .settings-body {
                padding: 20px;
            }

            .category-header {
                flex-direction: column;
                gap: 15px;
            }

            .toggle-wrapper {
                margin-left: 0;
                align-self: flex-end;
            }
        }