/* 触发按钮样式 */
.doc-trigger-btn {
  color: #409eff !important;
  font-size: 14px;
  padding: 8px 12px !important;
}

.doc-trigger-btn:hover {
  background: #f0f7ff !important;
  border-radius: 4px;
}

/* 对话框容器 */
.doc-dialog-container {
  border-radius: 12px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.doc-dialog-container .el-dialog__header {
  padding: 0;
}

.doc-dialog-container .el-dialog__body {
  padding: 0;
  flex: 1;
  overflow-y: auto;
}

.doc-dialog-container .el-dialog__footer {
  padding: 15px 25px;
  border-top: 1px solid #f0f2f5;
}

/* 下载区域 */
.doc-download-section {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
  border-bottom: 1px solid rgba(64, 158, 255, 0.2);
  padding: 20px 25px;
}

.doc-download-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.doc-download-icon {
  width: 48px;
  height: 48px;
  background: #409eff;
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-download-icon svg {
  width: 24px;
  height: 24px;
}

.doc-download-info {
  flex: 1;
}

.doc-download-title {
  margin: 0 0 5px 0;
  color: #303133;
  font-size: 18px;
  font-weight: 600;
}

.doc-download-desc {
  margin: 0;
  color: #606266;
  font-size: 13px;
}

/* 下载列表 */
.doc-download-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doc-download-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: white;
  border-radius: 10px;
  border: 1px solid #e4e7ed;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.doc-download-item:hover {
  border-color: #409eff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(64, 158, 255, 0.15);
}

.doc-item-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 8px;
  flex-shrink: 0;
}

.doc-item-content {
  flex: 1;
  min-width: 0;
}

.doc-item-title {
  color: #303133;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 5px;
}

.doc-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #909399;
  font-size: 12px;
}

.doc-item-format {
  background: #f0f2f5;
  padding: 2px 8px;
  border-radius: 4px;
}

.doc-item-size {
  color: #409eff;
}

.doc-item-action {
  flex-shrink: 0;
}

.doc-item-btn {
  display: inline-block;
  background: #409eff;
  color: white;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}

.doc-download-item:hover .doc-item-btn {
  background: #66b1ff;
}

/* 内容区域 */
.doc-content-wrapper {
  padding: 25px;
}

.doc-section {
  margin-bottom: 30px;
}

.doc-section:last-child {
  margin-bottom: 0;
}

.doc-section-title {
  margin: 0 0 15px 0;
  color: #303133;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 快速开始步骤 */
.doc-section-body {
  background: #fafbfc;
  border-radius: 10px;
  padding: 20px;
}

.doc-step-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f2f5;
}

.doc-step-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.doc-step-num {
  width: 32px;
  height: 32px;
  background: #409eff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.doc-step-content {
  flex: 1;
}

.doc-step-title {
  margin: 0 0 6px 0;
  color: #303133;
  font-size: 14px;
  font-weight: 500;
}

.doc-step-desc {
  margin: 0;
  color: #606266;
  font-size: 13px;
  line-height: 1.5;
}

/* 功能网格 */
.doc-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.doc-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e4e7ed;
}

.doc-feature-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  flex-shrink: 0;
}

.doc-feature-details {
  flex: 1;
}

.doc-feature-title {
  margin: 0 0 5px 0;
  color: #303133;
  font-size: 14px;
  font-weight: 500;
}

.doc-feature-text {
  margin: 0;
  color: #606266;
  font-size: 12px;
  line-height: 1.4;
}

/* 常见问题 */
.doc-faq-list {
  background: #fafbfc;
  border-radius: 10px;
  padding: 20px;
}

.doc-faq-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f2f5;
}

.doc-faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.doc-faq-question {
  color: #303133;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.doc-faq-answer {
  color: #606266;
  font-size: 13px;
  line-height: 1.5;
  padding-left: 15px;
  border-left: 3px solid #409eff;
}

/* 底部 */
.doc-footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.doc-footer-info {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #606266;
  font-size: 12px;
}

.doc-support-link {
  display: flex;
  align-items: center;
  gap: 5px;
}

.doc-update-time {
  display: flex;
  align-items: center;
  gap: 5px;
}

.doc-close-button {
  background: #409eff;
  border: none;
  padding: 7px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}

.doc-close-button:hover {
  background: #66b1ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(64, 158, 255, 0.2);
}

/* 滚动条样式 */
.doc-dialog-container .el-dialog__body::-webkit-scrollbar {
  width: 6px;
}

.doc-dialog-container .el-dialog__body::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 3px;
}

.doc-dialog-container .el-dialog__body::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.doc-dialog-container .el-dialog__body::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .doc-dialog-container {
    width: 90% !important;
  }

  .doc-feature-grid {
    grid-template-columns: 1fr;
  }

  .doc-footer-info {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}