/**
 * YzmCMS 黄页模板 - 分页样式
 * 统一的分页组件样式
 */

/* 分页信息 */
.pageinfo { 
    font-size: 14px; 
    color: #64748b; 
    margin-right: 15px;
    padding: 8px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.pageinfo strong { 
    color: #2563eb; 
    font-weight: 600; 
}

/* 分页按钮基础样式 */
.homepage, .prepage, .listpage, .curpage, .nextpage, .endpage, .nopage { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    min-width: 36px; 
    height: 36px; 
    padding: 0 12px; 
    border-radius: 8px; 
    background: white; 
    border: 1px solid #e2e8f0; 
    color: #475569; 
    font-size: 14px; 
    text-decoration: none; 
    transition: all 0.2s;
    margin: 0 2px;
}

/* 分页按钮悬停效果 */
.homepage:hover, .prepage:hover, .listpage:hover, .nextpage:hover, .endpage:hover { 
    background: #eff6ff; 
    border-color: #2563eb; 
    color: #2563eb; 
}

/* 当前页高亮 */
.curpage { 
    background: #2563eb; 
    border-color: #2563eb; 
    color: white; 
    font-weight: 600; 
}

/* 禁用状态 */
.nopage { 
    opacity: 0.5; 
    cursor: not-allowed; 
    background: #f1f5f9;
}

/* 跳转输入框 */
.jumpbox { 
    margin-left: 15px; 
    font-size: 14px; 
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.jumpbox .jumppage {
    width: 50px;
    padding: 4px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-align: center;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .pageinfo {
        font-size: 13px;
        padding: 6px 12px;
    }
    .homepage, .prepage, .listpage, .curpage, .nextpage, .endpage, .nopage {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
    }
}
