.version-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 12px rgba(139, 92, 246, 0.4);
}

.version-btn.active {
    background: #8b5cf6 !important;
    color: #fff !important;
}

/* 快速预览模态框样式 */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: #2d2d2d;
    border-radius: 10px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-view-images {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    overflow-x: auto;
    padding: 10px 0;
}

.quick-view-item {
    min-width: 150px;
    text-align: center;
}

.quick-view-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

.btn-view-full {
    display: block;
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 20px;
    font-weight: bold;
}

/* 分页容器布局 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 20px 0;
}

/* 禁用状态 */
.page-btn.disabled,
.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 跳转输入框区域 */
.jump-box {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
}
.jump-box input {
  border: 1px solid #444;
  background: #222;
  color: #fff;
  border-radius: 4px;
  outline: none;
}
.jump-box input:focus {
  border-color: #8b5cf6;
}
.jump-box .jump-btn {
  padding: 4px 10px;
  background: #8b5cf6;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}
.jump-box .jump-btn:hover {
  background: #7c3aed;
}