/* 现代化UI样式 */

/* 现代化输入框样式 */
.modern-input {
  border-radius: 8px !important;
  border: 1px solid #e1e5e9 !important;
  transition: all 0.3s ease !important;
  height: 36px !important;
  padding: 8px 12px !important;
}

.modern-input:hover,
.modern-input:focus {
  border-color: #667eea !important;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2) !important;
}

/* 现代化按钮样式 */
.modern-btn {
  border-radius: 8px !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border: none !important;
  height: 36px !important;
  padding: 0 16px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  color: #fff !important;
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2) !important;
}

.modern-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3) !important;
}

.modern-btn-secondary {
  border-radius: 8px !important;
  border: 1px solid #d9d9d9 !important;
  height: 36px !important;
  padding: 0 16px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  background: #fff !important;
  color: #666 !important;
}

.modern-btn-secondary:hover {
  border-color: #667eea !important;
  color: #667eea !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2) !important;
}

/* 现代化标签样式 */
.modern-tag {
  border-radius: 12px !important;
  padding: 4px 12px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
}

.modern-tag:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* 现代化卡片样式 */
.modern-card {
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow: hidden !important;
}

.modern-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04) !important;
}

/* 现代化搜索区域样式 */
.modern-search-area {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
  border-radius: 16px !important;
  padding: 20px !important;
  margin-bottom: 20px !important;
}

/* 统一搜索表单样式 */
.search-form-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.search-form-item {
  display: flex;
  align-items: center;
  margin-right: 16px;
}

.search-form-label {
  font-weight: 500;
  color: #333;
  margin-right: 8px;
  white-space: nowrap;
}

.search-form-input {
  width: 200px !important;
  border-radius: 8px !important;
  border: 1px solid #e1e5e9 !important;
  transition: all 0.3s ease !important;
  height: 36px !important;
  padding: 8px 12px !important;
}

.search-form-input:hover,
.search-form-input:focus {
  border-color: #667eea !important;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2) !important;
}

.search-form-select {
  width: 150px !important;
  border-radius: 8px !important;
  border: 1px solid #e1e5e9 !important;
  transition: all 0.3s ease !important;
  height: 36px !important;
}

.search-form-select:hover,
.search-form-select:focus {
  border-color: #667eea !important;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2) !important;
}

/* 现代化标签组样式 */
.modern-tag-group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 12px !important;
}

/* 现代化分页样式 */
.modern-pagination {
  text-align: center !important;
  margin: 20px 0 !important;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .modern-search-area {
    padding: 16px !important;
  }
  
  .modern-btn,
  .modern-btn-secondary {
    height: 32px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
  }
  
  .modern-input {
    height: 32px !important;
    font-size: 14px !important;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* 恢复默认滚动条样式 */
::-webkit-scrollbar {
  width: auto;
  height: auto;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 图片自适应样式 */
.modern-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  transition: transform 0.3s ease;
  max-height: 200px;
}

.modern-image:hover {
  transform: scale(1.05);
}

/* 视频自适应样式 */
.modern-video {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.modern-video:hover {
  transform: scale(1.02);
}

/* 响应式图片容器 */
.modern-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.modern-image-container img,
.modern-image-container lazy-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.modern-image-container:hover img,
.modern-image-container:hover lazy-image {
  transform: scale(1.05);
} 