/* ========================================
   pdf-viewer.css - PDF查看器页面样式
   ======================================== */

/* Banner区域 */
.pdf-banner {
  position: relative;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
  overflow: hidden;
}

.pdf-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(126,182,59,0.1)" stroke-width="0.5"/></svg>') repeat;
  background-size: 60px 60px;
  opacity: 0.5;
}

.pdf-banner-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  z-index: 1;
}

.pdf-banner-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.pdf-banner-breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.pdf-banner-breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-sep {
  color: rgba(255,255,255,0.3);
}

.breadcrumb-current {
  color: rgba(255,255,255,0.9);
}

.pdf-banner-title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.2;
}

.pdf-banner-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin: 0;
  max-width: 600px;
}

/* PDF查看器区域 */
.pdf-viewer-section {
  width: 100%;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  background: #1a1a2e;
}

/* 文档信息栏 */
.pdf-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 1%;
  background: #0f0f1a;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.pdf-info-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.pdf-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.pdf-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pdf-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.pdf-meta-item svg {
  opacity: 0.7;
}

.pdf-info-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pdf-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pdf-download-btn:hover {
  background: #6a9a32;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(126,182,59,0.3);
}

/* PDF展示容器 */
.pdf-container {
  flex: 1;
  width: 98%;
  height: 100vh;
  margin: 0 auto;
  padding: 16px 0;
  overflow: hidden;
}

.pdf-container iframe {
  width: 100%;
  height: 100vh;
  border: none;
  border-radius: 8px;
  background: #fff;
}

/* 响应式 */
@media (max-width: 1024px) {
  .pdf-banner {
    padding: 60px 0 40px;
  }

  .pdf-banner-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .pdf-banner {
    padding: 50px 0 30px;
  }

  .pdf-banner-title {
    font-size: 28px;
  }

  .pdf-banner-desc {
    font-size: 14px;
  }

  .pdf-viewer-section {
    min-height: 500px;
  }

  .pdf-info-bar {
    flex-direction: column;
    gap: 12px;
    padding: 12px 1%;
  }

  .pdf-info-left {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .pdf-title {
    font-size: 18px;
  }

  .pdf-meta {
    gap: 16px;
  }

  .pdf-meta-item {
    font-size: 13px;
  }

  .pdf-container {
    padding: 8px 0;
  }
}

@media (max-width: 480px) {
  .pdf-banner {
    padding: 40px 0 24px;
  }

  .pdf-banner-title {
    font-size: 24px;
  }

  .pdf-banner-breadcrumb {
    font-size: 12px;
  }

  .pdf-title {
    font-size: 16px;
  }

  .pdf-meta {
    flex-direction: column;
    gap: 8px;
  }

  .pdf-download-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}
