/*
Template Name:FGNIC HONGXIN BIO. 
*/
.pagination {
    display: flex;          /* 启用Flex布局 */
    justify-content: center; /* 水平居中 */
    margin: 20px 0;         /* 垂直间距保持不变 */
    width: 100%;            /* 确保占据父容器宽度 */
}
.pagination-btn {
    display: inline-flex;        /* 启用Flex布局 */
    align-items: center;        /* 垂直居中 */
    justify-content: center;    /* 水平居中 */
    padding: 8px 16px;
    margin: 0 5px;
    background: #0000b8;
    color: #ffffff;
    border-radius: 4px;
    transition: background 0.3s ease;
    font-weight: 500;
}
.pagination-btn img {
    width: 16px;                /* 统一图标尺寸 */
    height: 16px;
}
/* 悬停效果 */
.pagination-btn:hover:not(.disabled) {
    background: #5221c9; /* 悬停背景色 */
    transform: translateY(-2px); /* 轻微上浮效果 */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* 添加阴影增强立体感 */
}
/* 禁用状态 */
.pagination-btn.disabled {
    background: #a9a1d0; /* 禁用状态浅紫色 */
    cursor: not-allowed;
    opacity: 0.7;        /* 降低透明度 */
}
/* 点击反馈效果 */
.pagination-btn:active:not(.disabled) {
    transform: translateY(1px); /* 点击下沉效果 */
}

        /* 悬浮容器样式 */
        #floating-qrcode {
            position: fixed;         /* 固定定位 */
            top: 55%;                /* 顶部距离视口50% */
            right: 100px;            /* 右侧距离视口100px */
            transform: translateY(-50%); /* 向上偏移自身高度的50%，实现垂直居中 */
            z-index: 1000;           /* 确保悬浮层置顶 */
            background: white;
            padding: 10px;
            border-radius: 8px;
            box-shadow: 0 0 15px rgba(0,0,0,0.2);
            transition: transform 0.3s ease;
            /* 确保容器不会移动 */
            will-change: transform; /* 优化性能 */
        }
        #floating-qrcode:hover {
            transform: translateY(-50%) translateY(-5px); /* 悬停时在垂直居中基础上再上浮5px */
        }
        /* 提示文字样式 */
        .qrcode-tip {
            text-align: center;
            font-size: 14px;
            color: #666;
            margin-top: 5px;
        }
        /* 响应式调整：小屏幕隐藏二维码 */
        @media (max-width: 768px) {
            #floating-qrcode { 
                display: none;       /* 小屏幕隐藏 */
            } 
        }
        
        
        /* 授权查询 */
                .container1 { 
            max-width: 1000px; 
            margin: 0 auto; 
            background: white; 
            padding: 20px; 
            border-radius: 8px; 
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
        }
        .search-box1 { 
            padding: 25px; 
            background: #e9ecef; 
            border-radius: 8px; 
            text-align: center; 
            margin-bottom: 30px;
        }
        input[type="text"] { 
            width: 70%; 
            padding: 14px; 
            border: 1px solid #ced4da; 
            border-radius: 4px; 
            font-size: 16px; 
            box-sizing: border-box;
        }
        input[type="submit"] { 
            padding: 14px 28px; 
            background: #007bff; 
            color: white; 
            border: none; 
            border-radius: 4px; 
            cursor: pointer; 
            font-size: 16px; 
            transition: background 0.3s;
        }
        input[type="submit"]:hover {
            background: #0069d9;
        }
        .result-item1 { 
            margin: 25px 0; 
            border: 1px solid #dee2e6; 
            border-radius: 8px; 
            padding: 20px; 
            background: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }
        .shop-detail1 { 
            margin: 20px 0; 
            padding: 15px; 
            background: #f8f9fa; 
            border-radius: 6px; 
            border-left: 4px solid #007bff;
        }
        .error1 { 
            color: #dc3545; 
            font-weight: bold; 
            padding: 15px; 
            background: #f8d7da; 
            border-radius: 4px;
        }
        .info1 { 
            color: #0c5460; 
            padding: 15px; 
            background: #d1ecf1; 
            border-radius: 4px;
            text-align: center;
        }
        .result-count1 {
            font-size: 18px;
            margin-bottom: 20px;
            color: #6c757d;
        }
        h10 {
            color: #2c3e50;
            border-bottom: 2px solid #007bff;
            padding-bottom: 12px;
            margin-top: 0;
        }