.cookie-consent {
            position: fixed;
            bottom: 20px;
            left: 20px;
            right: 20px;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            padding: 16px;
            z-index: 1000;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            display: none;
            border: 1px solid #e0e0e0;
        }

        .cookie-consent.active {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            animation: slideUp 0.3s ease-out;
            max-width: 300px !important;   
        }

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

        .cookie-content {
            display: flex;
            align-items: center;
            gap: 12px;
            flex: 1;
        }

        .cookie-icon {
            font-size: 20px;
            color: #4a90e2;
            flex-shrink: 0;
        }

        .cookie-text {
            color: #666;
            font-size: 14px;
            line-height: 1.4;
            margin: 0;
        }

        .cookie-text a {
            color: #4a90e2;
            text-decoration: none;
        }

        .cookie-text a:hover {
            text-decoration: underline;
        }

        .cookie-buttons {
            display: flex;
            gap: 8px;
            flex-shrink: 0;
        }

        .cookie-btn {
            padding: 8px 16px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s ease;
        }

        .cookie-btn-accept {
            background: #4a90e2;
            color: white;
        }

        .cookie-btn-accept:hover {
            background: #357abd;
        }

        .cookie-btn-settings {
            background: #f5f5f5;
            color: #666;
            border: 1px solid #ddd;
        }

        .cookie-btn-settings:hover {
            background: #e8e8e8;
        }
        
        
        @media (max-width: 500px) {
            .cookie-consent.active {
                max-width: 100% !important;
            }
        }
        

        /* Адаптивность для мобильных */
        @media (max-width: 768px) {
            .cookie-consent.active {
                flex-direction: column;
                text-align: center;
               
            }

            .cookie-content {
                flex-direction: column;
                text-align: center;
            }

            .cookie-buttons {
                width: 100%;
                justify-content: center;
            }

            .cookie-btn {
                flex: 1;
                min-width: 120px;
            }
            
            .cookie-btn {
                flex: 1;
                min-width: 120px;
            }
        }
        
        @media (min-width: 768px) and (min-width: 1024px) {
            .cookie-consent.active {
                 
            }
        }
        
        
        

        /* Темная тема */
        @media (prefers-color-scheme: dark) {
            .cookie-consent {
                background: #ffffff;
                border-color: #fafafa;
            }

            .cookie-text {
                color: #777;
            }

            .cookie-btn-settings {
                background: #404040;
                color: #ccc;
                border-color: #555;
            }

            .cookie-btn-settings:hover {
                background: #505050;
            }
        }