
                        .knowledge-search-container {
                            position: relative;
                            margin: 0 auto;
                        }

                        .knowledge-search-form {
                            margin-top: 2rem;
                            margin-bottom: 6rem;
                            position: relative;
                        }

                        /* Обертка для инпута и кнопки */
                        .search-input-wrapper {
                            display: flex;
                            gap: 1rem;
                        }

                        .knowledge-search-input {
                            background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.16667 15.8333C12.8486 15.8333 15.8333 12.8486 15.8333 9.16667C15.8333 5.48477 12.8486 2.5 9.16667 2.5C5.48477 2.5 2.5 5.48477 2.5 9.16667C2.5 12.8486 5.48477 15.8333 9.16667 15.8333Z' stroke='%23919EAB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M17.5 17.5L13.875 13.875' stroke='%23919EAB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
                            background-repeat: no-repeat;
                            background-size: 2rem;
                            background-position: 1rem 50%;
                            background-color: #fff;
                            flex: 1;
                            padding: 1.4rem 2.4rem 1.4rem 4rem;
                            border: none;
                            font-size: 1.6rem;
                            line-height: 1.4;
                            outline: none;
                            border: 0;
                            border-radius: 1.2rem;
                        }

                        .knowledge-search-input::placeholder {
                            color: #8c8f94;
                        }

                        /* Контейнер подсказок */
                        .search-suggestions {
                            position: absolute;
                            top: 100%;
                            left: 0;
                            right: 0;
                            background: white;
                            border: 1px solid #e1e5e9;
                            border-top: none;
                            border-radius: 0 0 12px 12px;
                            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
                            z-index: 1000;
                            max-height: 400px;
                            overflow-y: auto;
                        }

                        /* Элемент подсказки */
                        .suggestion-item {
                            padding: 12px 20px;
                            border-bottom: 1px solid #f0f0f1;
                            cursor: pointer;
                            transition: background-color 0.2s ease;
                        }

                        .suggestion-item:last-child {
                            border-bottom: none;
                        }

                        .suggestion-item:hover,
                        .suggestion-item.active {
                            background: #f6f7f7;
                        }

                        .suggestion-content {
                            display: flex;
                            justify-content: space-between;
                            align-items: center;
                            gap: 12px;
                        }

                        .suggestion-title {
                            flex: 1;
                            font-size: 14px;
                            line-height: 1.4;
                            color: #1d2327;
                        }

                        .suggestion-type {
                            display: flex;
                            align-items: center;
                            gap: 6px;
                            font-size: 12px;
                            color: #646970;
                            background: #f0f0f1;
                            padding: 4px 8px;
                            border-radius: 6px;
                            white-space: nowrap;
                        }

                        .suggestion-type svg {
                            width: 14px;
                            height: 14px;
                        }

                        /* Состояния загрузки и ошибок */
                        .suggestion-loading,
                        .suggestion-error,
                        .no-suggestions {
                            padding: 16px 20px;
                            text-align: center;
                            color: #646970;
                            font-size: 14px;
                        }

                        .suggestion-error {
                            color: #d63638;
                        }

                        /* Страница результатов поиска */
                        .search-results-page {
                            max-width: 1200px;
                            margin: 0 auto;
                            padding: 20px;
                        }

                        .search-form-container {
                            margin-bottom: 40px;
                        }

                        .search-results-container h2 {
                            font-size: 24px;
                            margin-bottom: 30px;
                            color: #1d2327;
                        }

                        /* Категории результатов */
                        .search-category {
                            margin-bottom: 40px;
                        }

                        .search-category h3 {
                            font-size: 20px;
                            margin-bottom: 20px;
                            color: #1d2327;
                            display: flex;
                            align-items: center;
                            gap: 8px;
                        }

                        .search-category .count {
                            font-size: 16px;
                            color: #646970;
                            font-weight: normal;
                        }

                        /* Список результатов */
                        .search-results-list {
                            display: grid;
                            gap: 20px;
                            margin-bottom: 20px;
                        }

                        /* Элемент результата */
                        .search-result-item {
                            padding: 20px;
                            background: white;
                            border: 1px solid #e1e5e9;
                            border-radius: 8px;
                            transition: box-shadow 0.3s ease;
                        }

                        .search-result-item:hover {
                            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
                        }

                        .search-result-item h4 {
                            margin: 0 0 12px 0;
                            font-size: 18px;
                            line-height: 1.3;
                        }

                        .search-result-item h4 a {
                            color: #0073aa;
                            text-decoration: none;
                            transition: color 0.3s ease;
                        }

                        .search-result-item h4 a:hover {
                            color: #005a87;
                            text-decoration: underline;
                        }

                        .search-result-item p {
                            margin: 0;
                            color: #646970;
                            line-height: 1.5;
                        }

                        /* Кнопка "Смотреть все" */
                        .view-all-btn {
                            display: inline-flex;
                            align-items: center;
                            padding: 12px 20px;
                            background: #f6f7f7;
                            color: #0073aa;
                            text-decoration: none;
                            border-radius: 6px;
                            font-weight: 500;
                            transition: all 0.3s ease;
                        }

                        .view-all-btn:hover {
                            background: #e1e5e9;
                            color: #005a87;
                            text-decoration: none;
                        }

                        /* Состояние загрузки результатов */
                        .search-results-content .loading {
                            text-align: center;
                            padding: 40px;
                            color: #646970;
                            font-size: 16px;
                        }

                        /* Адаптивность */
                        @media (max-width: 768px) {
                            .search-input-wrapper {
                                flex-direction: column;
                            }

                            .suggestion-content {
                                flex-direction: column;
                                align-items: flex-start;
                                gap: 8px;
                            }

                            .search-results-page {
                                padding: 20px 15px;
                            }

                            .search-results-container h2 {
                                font-size: 20px;
                            }

                            .search-category h3 {
                                font-size: 18px;
                            }
                        }

                        @media (max-width: 480px) {
                            .knowledge-search-input {
                                padding: 14px 16px;
                                font-size: 16px; /* Предотвращает зум на iOS */
                            }

                            .suggestion-item {
                                padding: 12px 16px;
                            }

                            .search-result-item {
                                padding: 16px;
                            }

                            .search-result-item h4 {
                                font-size: 16px;
                            }
                        }
