/* 全局样式 */
body {
    font-family: 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
}

/* 导航栏样式 */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* 账号卡片样式 */
.account-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.account-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.account-image {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.account-card:hover .account-image {
    transform: scale(1.05);
}

/* 登录页面样式 */
.login-container {
    margin-top: 100px;
    margin-bottom: 100px;
}

.login-container .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.login-container .card-body {
    padding: 2rem;
}

/* 表单样式 */
.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px 15px;
}

/* 按钮样式 */
.btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* 移动端分页按钮样式 */
.mobile-pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    border: none;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
    text-decoration: none;
}

.mobile-pagination-btn i {
    font-size: 0.75rem;
}

.mobile-pagination-btn-prev {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    color: #404c5a;
    border: 1px solid #d9e2ef;
    box-shadow: 0 6px 14px rgba(64, 76, 90, 0.12);
}

.mobile-pagination-btn-prev:hover {
    transform: translateY(-1px);
    color: #162033;
    border-color: #c3ccda;
    box-shadow: 0 10px 20px rgba(64, 76, 90, 0.18);
}

.mobile-pagination-btn-next {
    background: linear-gradient(135deg, #0d6efd 0%, #3b82f6 60%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.38);
}

.mobile-pagination-btn-next:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
}

.mobile-pagination-btn.disabled,
.mobile-pagination-btn.disabled:hover {
    opacity: 0.45;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.mobile-pagination-btn-prev.disabled {
    background: #f4f6f8;
    color: #9aa3b0;
    border-color: #e5eaf2;
}

.mobile-pagination-btn-next.disabled {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: #f8fafc;
    box-shadow: none;
}

.mobile-pagination-btn-home {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 60%, #c2410c 100%);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(249, 115, 22, 0.35);
}

.mobile-pagination-btn-home:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.45);
    color: #ffffff;
}

/* 收藏按钮样式 */
.btn-favorite {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
}

.btn-favorite i {
    font-size: 1.2rem;
    color: #6c757d;
    transition: all 0.3s ease;
}

.btn-favorite:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-favorite:hover i {
    color: #dc3545;
}

.btn-favorite.favorited i {
    color: #dc3545;
    animation: heartBeat 0.5s ease;
}

.btn-favorite.favorited:hover i {
    color: #c82333;
}

/* 手机端收藏按钮 */
.btn-favorite-mobile {
    width: 32px;
    height: 32px;
}

.btn-favorite-mobile i {
    font-size: 1rem;
}

/* 收藏按钮动画 */
@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(1.1);
    }
    75% {
        transform: scale(1.2);
    }
}

/* 内联收藏按钮（标题旁边） */
.btn-favorite-inline {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.btn-favorite-inline i {
    font-size: 1rem;
}

/* 手机端内联收藏按钮 */
.btn-favorite-mobile.btn-favorite-inline {
    width: 28px;
    height: 28px;
}

.btn-favorite-mobile.btn-favorite-inline i {
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    border: none;
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
}

/* 卡片样式 */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    border-radius: 12px 12px 0 0 !important;
    padding: 1rem 1.5rem;
}

.card-header h5 {
    margin: 0;
    color: #495057;
    font-weight: 600;
}

/* 徽章样式 */
.badge {
    font-size: 0.75rem;
    padding: 0.4em 0.8em;
    border-radius: 6px;
}

/* 倒计时样式 */
.countdown {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 8px 12px;
    margin: 5px 0;
}

.countdown-display {
    font-weight: 600;
    font-size: 0.9rem;
}

/* 关键字标签样式 */
.keywords {
    margin-top: 10px;
}

.keywords .badge {
    font-size: 0.7rem;
    margin-right: 4px;
    margin-bottom: 4px;
}

/* 表格样式 */
.table {
    border-radius: 8px;
    overflow: hidden;
}

.table th {
    background: linear-gradient(135deg, #343a40 0%, #495057 100%);
    color: white;
    font-weight: 600;
    border: none;
    padding: 15px 12px;
}

.table td {
    padding: 15px 12px;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* 按钮组样式 */
.btn-group-sm .btn {
    padding: 4px 8px;
    font-size: 0.8rem;
}

/* 警告框样式 */
.alert {
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

/* 页脚样式 */
footer {
    margin-top: auto;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .login-container {
        margin-top: 50px;
        margin-bottom: 50px;
    }
    
    .account-card {
        margin-bottom: 20px;
    }
    
    .table-responsive {
        border-radius: 8px;
    }
    
    .btn-group-sm .btn {
        padding: 6px 10px;
    }
    
    /* 手机端卡片横向布局 */
    .account-card {
        margin-bottom: 15px !important;
    }
    
    .account-card .card-body {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    
    .mobile-layout {
        display: flex;
        flex-direction: row;
        height: 95px; /* 进一步减小高度 */
        padding: 8px;
    }
    
    .mobile-layout .account-image {
        width: 80px; /* 进一步减小图片尺寸 */
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
        margin-right: 10px;
        flex-shrink: 0;
    }
    
    .mobile-layout .account-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow: hidden;
    }
    
    .mobile-layout .card-title {
        font-size: 0.85rem;
        margin-bottom: 4px;
        line-height: 1.1;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .mobile-layout .price {
        font-size: 1rem;
        margin-bottom: 3px;
        font-weight: bold;
    }
    
    .mobile-layout .badges {
        margin-bottom: 4px;
    }
    
    .mobile-layout .badges .badge {
        font-size: 0.5rem;
        padding: 1px 3px;
        margin-right: 2px;
    }
    
    .mobile-layout .countdown {
        padding: 2px 4px;
        font-size: 0.65rem;
    }
    
    .mobile-layout .keywords .badge {
        font-size: 0.5rem;
        padding: 1px 3px;
        margin-right: 1px;
    }
    
    /* 确保手机端一页能显示3个账号 */
    @media (max-width: 480px) {
        .mobile-layout {
            height: 85px; /* 进一步减小 */
            padding: 6px;
        }
        
        .mobile-layout .account-image {
            width: 70px;
            height: 70px;
        }
        
        .mobile-layout .card-title {
            font-size: 0.8rem;
            -webkit-line-clamp: 2;
            margin-bottom: 3px;
        }
        
        .mobile-layout .price {
            font-size: 0.95rem;
            margin-bottom: 2px;
        }
        
        .mobile-layout .badges .badge {
            font-size: 0.45rem;
            padding: 1px 2px;
        }
        
        .mobile-layout .countdown {
            font-size: 0.6rem;
            padding: 1px 3px;
        }
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 图标样式 */
.fas, .far {
    margin-right: 5px;
}

/* 筛选区域样式 */
.card-header i {
    color: #007bff;
}

/* 价格显示样式 */
.text-danger.fs-4 {
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* 空状态样式 */
.text-center.py-5 {
    padding: 3rem 1rem !important;
}

.text-center.py-5 i {
    opacity: 0.5;
}

/* 文件上传样式 */
.form-control[type="file"] {
    padding: 8px 12px;
}

/* 时间输入样式 */
.form-control[type="datetime-local"] {
    padding: 10px 12px;
}

/* 轮播图样式 */
.carousel {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.carousel-inner {
    border-radius: 12px 12px 0 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    margin-bottom: 10px;
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 3px;
}

/* 图片管理卡片样式 */
.image-management-card {
    border: 2px dashed #dee2e6;
    transition: border-color 0.2s ease;
}

.image-management-card:hover {
    border-color: #007bff;
}

/* 图片输入组样式 */
.image-input-group {
    transition: all 0.2s ease;
}

.image-input-group:hover {
    transform: translateY(-1px);
}

/* 状态徽章样式 */
.badge.bg-warning {
    color: #000 !important;
}

/* 图片排序按钮样式 */
.move-up, .move-down {
    transition: all 0.2s ease;
}

.move-up:hover, .move-down:hover {
    transform: translateY(-1px);
}

/* 筛选卡片样式 */
.filter-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: none;
}

.filter-card .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
}

.filter-card .card-header h6 {
    color: #495057;
    font-weight: 600;
}

.transition-icon {
    transition: transform 0.3s ease;
}

.filter-card .card-body {
    padding: 0.75rem 1rem;
}

/* 小屏幕筛选优化 */
@media (max-width: 768px) {
    .filter-card .card-body {
        padding: 0.5rem 0.75rem;
    }
    
    .form-label.small {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }
}

/* 详情页图片样式优化 */
.main-image-container {
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.main-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.02);
}

.thumbnail-image {
    width: 100%;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.thumbnail-image:hover {
    transform: scale(1.05);
    border-color: #007bff;
}

/* 响应式详情页图片 */
@media (max-width: 992px) {
    .main-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .main-image {
        height: 200px;
    }
    
    .thumbnail-image {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .main-image {
        height: 180px;
    }
    
    .thumbnail-image {
        height: 50px;
    }
}

/* 后台管理移动端样式 */
.admin-account-card {
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.admin-account-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.admin-account-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

/* 后台移动端优化 */
@media (max-width: 992px) {
    .admin-account-card {
        margin-bottom: 15px;
    }
    
    .admin-account-image {
        height: 70px;
    }
}

@media (max-width: 768px) {
    .admin-account-image {
        height: 60px;
    }
    
    .admin-account-card .card-body {
        padding: 12px;
    }
    
    .admin-account-card h6 {
        font-size: 0.85rem;
        line-height: 1.1;
    }
    
    /* 后台表单在小屏幕上的优化 */
    .form-control, .form-select {
        font-size: 0.9rem;
    }
    
    .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 480px) {
    .admin-account-image {
        height: 50px;
    }
    
    .admin-account-card .card-body {
        padding: 10px;
    }
    
    .admin-account-card h6 {
        font-size: 0.8rem;
    }
    
    .admin-account-card .btn-sm {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}

/* 渐进式图片加载样式 */
.progressive-image {
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    background-image: linear-gradient(45deg, #f8f9fa 25%, transparent 25%), 
                      linear-gradient(-45deg, #f8f9fa 25%, transparent 25%), 
                      linear-gradient(45deg, transparent 75%, #f8f9fa 75%), 
                      linear-gradient(-45deg, transparent 75%, #f8f9fa 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.progressive-image.loading {
    opacity: 0.7;
    animation: pulse 1.5s ease-in-out infinite alternate;
}

.progressive-image.preview-loaded {
    opacity: 0.9;
    filter: blur(2px);
    transform: scale(1.02);
}

.progressive-image.fully-loaded {
    opacity: 1;
    filter: none;
    transform: scale(1);
    animation: sharpFadeIn 0.5s ease;
}

.progressive-image.error-state {
    opacity: 0.5;
    filter: grayscale(100%);
}

@keyframes pulse {
    from {
        opacity: 0.7;
    }
    to {
        opacity: 1;
    }
}

@keyframes sharpFadeIn {
    from {
        filter: blur(2px);
        opacity: 0.9;
        transform: scale(1.02);
    }
    to {
        filter: none;
        opacity: 1;
        transform: scale(1);
    }
}

/* 图片缓存优化 */
.account-image {
    will-change: transform;
    backface-visibility: hidden;
}

/* 图片查看器优化 */
.zoomable-image {
    transition: transform 0.3s ease;
    transform-origin: center center;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

/* 支持触摸缩放 */
.modal-body {
    overflow: hidden;
    touch-action: pan-x pan-y pinch-zoom;
}

/* 图片查看器中的控制按钮 */
#prevImageBtn, #nextImageBtn {
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

#prevImageBtn:hover, #nextImageBtn:hover {
    opacity: 1;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .zoomable-image {
        max-height: 70vh !important;
        max-width: 95vw !important;
    }
    
    #prevImageBtn, #nextImageBtn {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .modal-title {
        font-size: 1rem;
    }
}

/* 预加载指示器 */
.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 刷新控制区域样式 */
.refresh-control {
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-bottom: 1rem;
}

.refresh-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.refresh-info span {
    white-space: nowrap;
}

.refresh-btn {
    transition: all 0.3s ease;
    border-radius: 6px;
    font-weight: 500;
    min-width: 90px;
}

.refresh-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.refresh-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.refresh-btn .fa-spin {
    animation: fa-spin 1s infinite linear;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .refresh-control {
        padding: 0.5rem 0.75rem;
    }
    
    .refresh-control .d-flex {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.75rem;
    }
    
    .refresh-info {
        justify-content: center;
        text-align: center;
    }
    
    .refresh-info span {
        font-size: 0.85rem;
    }
    
    .refresh-btn {
        width: 100%;
        padding: 0.5rem 1rem;
    }
}

/* 状态更新提示动画 */
@keyframes fadeInOut {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.status-updating {
    animation: fadeInOut 2s infinite;
}

/* ============ 优化的分页导航样式 ============ */

/* 分页容器 */
.pagination-rounded .page-link {
    border: 1px solid #e9ecef;
    color: #495057;
    padding: 0.5rem 0.75rem;
    margin: 0 0.125rem;
    border-radius: 50px !important;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 悬停效果 */
.pagination-rounded .page-link:hover {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

/* 当前页面样式 */
.pagination-rounded .page-item.active .page-link.current-page {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-color: #007bff;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,123,255,0.4);
    transform: scale(1.1);
}

/* 禁用状态 */
.pagination-rounded .disabled-link {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

/* 首页末页按钮特殊样式 */
.pagination-rounded .page-link i.fa-angle-double-left,
.pagination-rounded .page-link i.fa-angle-double-right {
    font-size: 0.9rem;
}

/* 省略号样式 */
.pagination-rounded .page-item.disabled .page-link {
    background-color: transparent;
    border: none;
    color: #6c757d;
    cursor: default;
    box-shadow: none;
}

/* 分页统计信息样式 */
.badge.bg-light {
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.875rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.badge.bg-light:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 响应式分页 */
@media (max-width: 576px) {
    /* 小屏设备分页优化 */
    .pagination-rounded .page-link {
        padding: 0.4rem 0.6rem;
        min-width: 35px;
        height: 35px;
        font-size: 0.875rem;
        margin: 0 0.075rem;
    }
    
    /* 隐藏首页末页按钮在小屏设备 */
    .pagination-rounded .page-item:first-child,
    .pagination-rounded .page-item:last-child {
        display: none;
    }
    
    /* 统计信息响应式 */
    .badge.bg-light {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
        margin: 0.25rem;
    }
    
    .d-flex.justify-content-center {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 400px) {
    /* 超小屏设备进一步优化 */
    .pagination-rounded .page-link {
        padding: 0.35rem 0.5rem;
        min-width: 32px;
        height: 32px;
        font-size: 0.8rem;
        margin: 0 0.05rem;
    }
    
    /* 只显示上一页、当前页码、下一页 */
    .pagination-rounded .page-item:not(.active) {
        display: none;
    }
    
    .pagination-rounded .page-item.active,
    .pagination-rounded .page-item:nth-child(2),
    .pagination-rounded .page-item:nth-last-child(2) {
        display: block;
    }
}

/* 分页卡片样式 */
.card.border-0.shadow-sm {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    overflow: hidden;
}

/* 分页动画效果 */
@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pagination-rounded {
    animation: pageLoad 0.5s ease-out;
}

/* 分页导航图标样式 */
.pagination-rounded .page-link i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.pagination-rounded .page-link:hover i {
    transform: scale(1.1);
}

/* 分页加载状态 */
.pagination-loading {
    opacity: 0.7;
    pointer-events: none;
}

.pagination-loading .page-link {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
}
