/* 现代化分页样式 */
.ui.borderless.pagination.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.ui.borderless.pagination.menu .item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* min-width: 40px; */
    height: 30px;
    padding: 0 10px;
    margin: 0;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    background-color: #ffffff;
    color: #666666;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
}

.ui.borderless.pagination.menu .item:hover {
    background-color: #f5f5f5;
    border-color: #d0d0d0;
    color: #333333;
    transform: translateY(-1px);
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); */
}

.ui.borderless.pagination.menu .item:active {
    transform: translateY(0);
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
}

/* 激活状态 */
.ui.borderless.pagination.menu .active.item {
    background-color: #1890ff;
    border-color: #1890ff;
    color: #ffffff;
    font-weight: 600;
    /* box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3); */
}

.ui.borderless.pagination.menu .active.item:hover {
    background-color: #40a9ff;
    border-color: #40a9ff;
    color: #ffffff;
    transform: translateY(-1px);
    /* box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4); */
}

/* 禁用状态 */
.ui.borderless.pagination.menu .disabled.item {
    background-color: #f5f5f5;
    border-color: #e8e8e8;
    color: #bfbfbf;
    cursor: not-allowed;
    /* box-shadow: none; */
}

.ui.borderless.pagination.menu .disabled.item:hover {
    background-color: #f5f5f5;
    border-color: #e8e8e8;
    color: #bfbfbf;
    transform: none;
    /* box-shadow: none; */
}

/* 省略号样式 */
.ui.borderless.pagination.menu .disabled.item:not(.active) {
    background-color: transparent;
    border-color: transparent;
    color: #999999;
    cursor: default;
    /* box-shadow: none; */
    /* min-width: 20px; */
    padding: 0 8px;
}

.ui.borderless.pagination.menu .disabled.item:not(.active):hover {
    background-color: transparent;
    border-color: transparent;
    color: #999999;
    transform: none;
    /* box-shadow: none; */
}

/* 上一页下一页按钮 */
.ui.borderless.pagination.menu .item i.icon {
    font-size: 12px;
    margin: 0 4px;
}

/* 分页容器样式 */
.search-result-content .inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 20px 0;
    flex-wrap: wrap;
}

/* 分页组件容器 */
.search-result-content .inline .ui.borderless.pagination.menu {
    margin: 0;
    display: flex;
    align-items: center;
}

/* 每页展示数量下拉框样式 */
.search-result-content .ui.selection.dropdown.-dropdown-updatePageSize {
    /* min-width: 140px; */
    height: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    background-color: #ffffff;
    color: #666666;
    font-size: 12px;
    font-weight: 400;
    transition: all 0.2s ease;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
    margin-left: 4px;
}

.search-result-content .ui.selection.dropdown.-dropdown-updatePageSize:hover {
    border-color: #d0d0d0;
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); */
}

.search-result-content .ui.selection.dropdown.-dropdown-updatePageSize.active {
    border-color: #1890ff;
    /* box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3); */
}

.search-result-content .ui.selection.dropdown.-dropdown-updatePageSize .text {
    color: #666666 !important;
    font-weight: 400;
}

.search-result-content .ui.selection.dropdown.-dropdown-updatePageSize .menu {
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
    margin-top: 4px;
}

.search-result-content .ui.selection.dropdown.-dropdown-updatePageSize .menu .item {
    padding: 8px 12px;
    color: #666666;
    transition: all 0.2s ease;
    font-size: 12px;
}

.search-result-content .ui.selection.dropdown.-dropdown-updatePageSize .menu .item:hover {
    background-color: #f5f5f5;
    color: #333333;
}

.search-result-content .ui.selection.dropdown.-dropdown-updatePageSize .menu .item.selected {
    background-color: #1890ff;
    color: #ffffff;
}

/* 响应式设计 */
@media only screen and (max-width: 768px) {
    .search-result-content .inline {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .search-result-content .inline .ui.borderless.pagination.menu {
        width: 100%;
        justify-content: center;
    }
    
    .search-result-content .ui.selection.dropdown.-dropdown-updatePageSize {
        /* min-width: 140px; */
        height: 28px;
        font-size: 11px;
        margin-left: 0;
    }
    
    .ui.borderless.pagination.menu {
        gap: 6px;
    }
    
    .ui.borderless.pagination.menu .item {
        /* min-width: 36px; */
        height: 28px;
        padding: 0 8px;
        font-size: 11px;
    }
}

@media only screen and (max-width: 480px) {
    .search-result-content .inline {
        gap: 8px;
    }
    
    .search-result-content .ui.selection.dropdown.-dropdown-updatePageSize {
        /* min-width: 120px; */
        height: 26px;
        font-size: 10px;
        margin-left: 0;
    }
    
    .ui.borderless.pagination.menu {
        gap: 4px;
    }
    
    .ui.borderless.pagination.menu .item {
        /* min-width: 32px; */
        height: 26px;
        padding: 0 6px;
        font-size: 10px;
    }
    
    /* 在小屏幕上隐藏部分页码 */
    .ui.borderless.pagination.menu .item:not(.active):not(:first-child):not(:last-child):not(:nth-child(2)):not(:nth-last-child(2)) {
        display: none;
    }
} 