@charset "utf-8";
                /* header 容器样式 */
        .header {
            background-color: #fff;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            padding: 0 20px;
        }
        
        /* 头部主区域（logo+搜索框） */
        .main {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center; /* 整体居中，搜索框在中间 */
            padding: 15px 0;
            position: relative;
        }

        /* logo 样式 */
        .site_logo {
            position: absolute;
            left: 0; /* logo 靠左 */
        }

        .site_logo img {
            width: 200px;
            height: 60px;
            object-fit: contain; /* 保证图片比例 */
        }

        /* 搜索容器样式 */
        .search-container {
            flex: 0 1 600px; /* 搜索框最大宽度500px，可自适应 */
            position: relative;
        }

        /* 搜索表单 - 弹性布局让输入框和按钮并排 */
        #form {
            display: flex;
            width: 100%;
        }

        /* 搜索输入框样式 */
        .itstyle {
            flex: 1; /* 输入框占满剩余空间 */
            height: 48px;
            padding: 0 15px 0 40px; /* 左侧留空间放图标 */
            border: 1px solid #e5e7eb;
            border-radius: 24px 0 0 24px; /* 左圆角 */
            font-size: 15px;
            color: #333;
            outline: none;
            transition: all 0.3s ease;
            background: #f9fafb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239ca3af' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E") no-repeat 15px center;
        }

        /* 输入框提示文字样式 */
        .itstyle::placeholder {
            color: #9ca3af;
        }

        /* 输入框聚焦样式 */
        .itstyle:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        /* 搜索按钮样式 */
        .ibstyle {
            height: 48px;
            padding: 0 25px;
            border: none;
            border-radius: 0 24px 24px 0; /* 右圆角 */
            background-color: #3b82f6;
            color: #ffffff;
            font-size: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        /* 按钮悬浮样式 */
        .ibstyle:hover {
            background-color: #2563eb;
            transform: translateY(-1px);
        }

        /* 按钮点击样式 */
        .ibstyle11:active {
            transform: translateY(0);
        }

        /* 清除浮动的样式（保留原有，兼容旧代码） */
        .clear {
            clear: both;
        }