/* Book and Patent details page styles */

.book-hero,
.patent-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem 0;
}

.patent-hero .title {
  font-weight: 800;
  letter-spacing: .2px;
  color: white;
}

/* Book specific styles */
.book-cover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.book-cover:hover {
  transform: translateY(-5px);
}

.book-info-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: none;
}

.download-btn {
  background: linear-gradient(45deg, #667eea, #764ba2);
  border: none;
  border-radius: 25px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.related-book-card {
  transition: transform 0.3s ease;
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.related-book-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.book-meta {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
}

/* Patent specific styles */
.patent-info-card {
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 6px 18px rgba(2, 6, 23, .06);
  margin-bottom: 1.5rem;
}

.patent-meta {
  background: #f8f9fc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.patent-description {
  line-height: 1.7;
  color: #475569;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-granted {
  background-color: #dcfce7;
  color: #166534;
}

.status-pending {
  background-color: #fef3c7;
  color: #92400e;
}

.status-expired {
  background-color: #fee2e2;
  color: #991b1b;
}

/* Common meta item styles */
.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.meta-item:last-child {
  margin-bottom: 0;
}

.meta-item i {
  color: #667eea;
  margin-top: 0.25rem;
  font-size: 1.1rem;
  width: 20px;
  margin-right: 10px;
}

.meta-item div {
  flex: 1;
}

.meta-item strong {
  color: #1e293b;
  font-weight: 600;
}

.examination-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 0.5rem;
}

.examination-not-examined {
  background-color: #f1f5f9;
  color: #64748b;
}

.examination-under-examination {
  background-color: #dbeafe;
  color: #1e40af;
}

.examination-examined {
  background-color: #dcfce7;
  color: #166534;
}

.examination-certified {
  background-color: #d1fae5;
  color: #065f46;
}

