/* 图库详情页样式 */

/* 从_folder.vue提取的样式 */
.gallery-detail-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 15px 80px;
  background: #fff;
  min-height: 100vh;
}

.header-row {
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px 0;
}

.header-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.02));
  margin-bottom: 20px;
}

.navigation-area {
  display: flex;
  align-items: center;
}

.back-img {
  width: 28px;
  height: 28px;
  cursor: pointer;
  transition: transform 0.2s ease;
  margin-right: 165px;
  opacity: 0.7;
}

.back-img:hover {
  transform: translateX(-3px);
  opacity: 1;
}

.desktop-only {
  display: inline-block;
}

.header-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  margin-right: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.logo-divider {
  height: 28px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05));
  margin: 0 15px;
}

.logo-title {
  background: linear-gradient(90deg, #444 0%, #222 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

.gallery-header {
  padding: 0 0 25px;
  margin-bottom: 20px;
}

.gallery-title {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 16px;
  color: #333;
  letter-spacing: -0.5px;
  line-height: 1.2;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

.gallery-tags {
  display: inline-block;
}

.gallery-detail-container .tag {
  color: #777 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  cursor: pointer;
  margin-right: 12px;
  display: inline-block;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transition: none !important;
  text-decoration: none !important;
}

.gallery-detail-container .tag:hover {
  color: #777 !important;
  text-decoration: none !important;
  border: none !important;
  background: none !important;
}

.gallery-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 50px;
}

.gallery-img-item {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  background: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  width: 100%;
}

.gallery-img-item:hover {
  transform: translateY(-5px);
}

.gallery-img-item img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.gallery-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  background: #f8f9fa;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 30px;
}

.footer-space {
  height: 30px;
  width: 100%;
}

.img-preview-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.preview-controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.img-preview-big {
  max-width: 90vw;
  max-height: 85vh;
  display: block;
}

.preview-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.preview-count {
  color: white;
  margin-top: 15px;
  font-size: 14px;
}

.img-preview-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: white;
  cursor: pointer;
  z-index: 10001;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .logo-img {
    width: 42px;
    height: 42px;
  }
  
  .logo-divider {
    height: 24px;
    margin: 0 12px;
  }
  
  .logo-title {
    font-size: 24px;
  }
  
  .gallery-title {
    font-size: 22px;
  }
  
  .gallery-images {
    gap: 15px;
  }
  
  .img-preview-close {
    top: 15px;
    right: 15px;
    font-size: 28px;
  }
  
  .preview-nav {
    width: 35px;
    height: 35px;
  }
  
  .prev {
    left: 10px;
  }
  
  .next {
    right: 10px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
} 