.book-detail {
  display: flex;
  flex-wrap: nowrap;
  flex: 1;
}

.book-preview {
  margin-top: 16px;
}

.book-detail-main {
  flex: 1;
  background: #fff;
  padding: 32px 16px;
  margin-right: 16px;
  display: flex;
  flex-direction: column;
}

.book-detail-title {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}

.book-detail-author {
  text-align: center;
  margin-top: 16px;
  color: #999;
}

.book-detail-content {
  margin-top: 32px;
  font-size: 14px;
  line-height: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.book-detail-content > p {
  text-indent: 28px;
}

.book-detail-tip p {
  text-indent: 28px;
}

.book-detail-tip {
  border: solid 1px #795548;
  border-radius: 4px;
  padding: 16px;
  background: rgba(121, 85, 72, 0.1);
  margin-top: 16px;
}

.book-detail-recommend {
  width: 320px;
}

.book-detail-actions {
  margin-top: 32px;
  padding: 24px 20px;
  background: linear-gradient(180deg, rgba(245, 240, 232, 0.95) 0%, rgba(237, 226, 214, 0.6) 100%);
  border: solid 1px rgba(121, 85, 72, 0.18);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.book-detail-download {
  padding: 12px 40px;
  background: #795548;
  color: #fff;
  min-width: 200px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(121, 85, 72, 0.28);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.book-detail-download:hover {
  background: #6d4c41;
  box-shadow: 0 6px 16px rgba(121, 85, 72, 0.35);
  transform: translateY(-1px);
}

.book-detail-download:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(121, 85, 72, 0.25);
}

.book-detail-download i {
  margin-right: 8px;
  font-size: 20px;
}

.book-detail-download-highlight {
  animation: book-download-pulse 1.5s ease;
}

@keyframes book-download-pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(121, 85, 72, 0.28);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(179, 107, 64, 0.35), 0 6px 20px rgba(121, 85, 72, 0.4);
  }
}

.book-detail-feedback {
  text-align: right;
  margin-top: 16px;
  color: #666;
}

.book-detail-dbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.download-list {
  width: 100%;
  max-width: 560px;
}

.download-list-li {
  display: flex;
  margin-top: 8px;
  width: 100%;
}

.download-list-li:first-child {
  margin-top: 0;
}

.download-list-li span {
  flex: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border: solid 1px #795548;
  padding: 10px 12px;
  background: #fff;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-all;
}

.download-list-li input:active,
.download-list-li input:hover {
  border-color: #795548!important;
}

.download-list-li button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  height: auto;
  background: #795548;
  border-color: #795548;
}

.download-list-li button:hover {
  background: #6d4c41;
  border-color: #6d4c41;
}

@media (max-width: 800px) {
  .book-detail-actions {
    padding: 20px 16px;
  }

  .book-detail-download {
    width: 100%;
    max-width: 280px;
  }
}
