/* Cookie Panel Styles */
        #cookie-panel {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, #2c3e50, #34495e);
            color: white;
            padding: 25px;
            box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
            z-index: 10000;
            transform: translateY(100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
        }

        #cookie-panel.show {
            transform: translateY(0);
        }

        .cookie-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 30px;
            align-items: center;
        }

        .cookie-content h3 {
            font-size: 1.4em;
            margin-bottom: 12px;
            color: #ecf0f1;
        }

        .cookie-content p {
            font-size: 0.95em;
            line-height: 1.5;
            color: #bdc3c7;
            margin-bottom: 15px;
        }

        .cookie-links {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .cookie-links a {
            color: #3498db;
            text-decoration: none;
            font-size: 0.9em;
            transition: color 0.3s ease;
        }

        .cookie-links a:hover {
            color: #5dade2;
            text-decoration: underline;
        }

        .cookie-actions {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .cookie-btn {
            padding: 12px 24px;
            border: none;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.95em;
            white-space: nowrap;
        }

        .accept-all {
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            color: white;
        }

        .accept-all:hover {
            background: linear-gradient(135deg, #229954, #28b463);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
        }

        .customize {
            background: transparent;
            color: #ecf0f1;
            border: 2px solid #7f8c8d;
        }

        .customize:hover {
            background: rgba(236, 240, 241, 0.1);
            border-color: #bdc3c7;
        }

        .reject-all {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
            color: white;
        }

        .reject-all:hover {
            background: linear-gradient(135deg, #dc3545, #b52d3c);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
        }

        /* Preferences Modal */
        #cookie-preferences {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 10001;
            display: none;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(5px);
        }

        .preferences-modal {
            background: white;
            max-width: 600px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            border-radius: 15px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            animation: modalSlideIn 0.3s ease-out;
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: scale(0.9) translateY(-20px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .preferences-header {
            background: linear-gradient(135deg, #2c3e50, #34495e);
            color: white;
            padding: 25px;
            border-radius: 15px 15px 0 0;
        }

        .preferences-header h3 {
            font-size: 1.5em;
            margin-bottom: 8px;
        }

        .preferences-content {
            padding: 30px;
        }

        .cookie-category {
            margin-bottom: 25px;
            border: 1px solid #ecf0f1;
            border-radius: 10px;
            overflow: hidden;
        }

        .category-header {
            background: #f8f9fa;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .category-info h4 {
            color: #2c3e50;
            margin-bottom: 5px;
        }

        .category-info p {
            color: #7f8c8d;
            font-size: 0.9em;
        }

        .toggle-switch {
            position: relative;
            width: 60px;
            height: 30px;
        }

        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: 0.4s;
            border-radius: 30px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 22px;
            width: 22px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: 0.4s;
            border-radius: 50%;
        }

        input:checked + .slider {
            background-color: #27ae60;
        }

        input:checked + .slider:before {
            transform: translateX(30px);
        }

        .preferences-actions {
            padding: 20px 30px;
            background: #f8f9fa;
            display: flex;
            gap: 15px;
            justify-content: flex-end;
        }

        .close-btn {
            position: absolute;
            top: 20px;
            right: 25px;
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .cookie-container {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .cookie-actions {
                justify-content: center;
            }

            .preferences-modal {
                width: 95%;
                margin: 20px;
            }

            .preferences-content {
                padding: 20px;
            }
        }