/* Enhanced Books Page Styles */

/* Page Header Enhanced */
.page-header-enhanced {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 40px 30px;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 10px 40px rgba(2, 102, 112, 0.2);
  color: white;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.header-text h1 {
  margin: 0 0 10px 0;
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
}

.header-text h1 i {
  font-size: 36px;
}

.header-subtitle {
  margin: 0;
  font-size: 16px;
  opacity: 0.95;
  font-weight: 500;
}

.header-stats {
  display: flex;
  gap: 15px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.stat-card i {
  font-size: 32px;
  opacity: 0.9;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  opacity: 0.9;
  font-weight: 600;
}

.breadcrumb-modern {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.breadcrumb-modern a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.3s;
}

.breadcrumb-modern a:hover {
  opacity: 0.8;
}

.breadcrumb-modern i {
  font-size: 12px;
  opacity: 0.7;
}

.breadcrumb-modern span {
  opacity: 0.9;
}

/* Filter Section */
.filter-section {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 25px;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e2e8f0;
}

.filter-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-header h3 i {
  color: var(--primary-color);
}

.clear-filters {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.clear-filters:hover {
  background: #fecaca;
  transform: translateY(-2px);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.filter-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-item label {
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-item label i {
  color: var(--primary-color);
  font-size: 16px;
}

.form-control-modern {
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.form-control-modern:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(2, 102, 112, 0.1);
}

.search-wrapper {
  position: relative;
  display: flex;
}

.search-wrapper input {
  flex: 1;
  padding-right: 50px;
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-50%) scale(1.05);
}

/* Active Filters */
.active-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 15px 20px;
  background: #fef3c7;
  border-radius: 10px;
  margin-bottom: 25px;
  border: 1px solid #fbbf24;
}

.filter-label {
  font-weight: 700;
  color: #78350f;
  font-size: 14px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: white;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #78350f;
}

.filter-tag i {
  color: #f59e0b;
}

.remove-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #dc2626;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  transition: all 0.3s ease;
  margin-left: 5px;
}

.remove-filter:hover {
  background: #b91c1c;
  transform: scale(1.1);
}

/* Content Box Modern */
.content-box-modern {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* No Results */
.no-results {
  text-align: center;
  padding: 80px 20px;
}

.no-results i {
  font-size: 80px;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.no-results h3 {
  font-size: 24px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 10px;
}

.no-results p {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .header-stats {
    width: 100%;
    flex-wrap: wrap;
  }
  
  .stat-card {
    flex: 1;
    min-width: 150px;
  }
  
  .filter-grid {
    grid-template-columns: 1fr;
  }
  
  .page-header-enhanced {
    padding: 25px 20px;
  }
  
  .header-text h1 {
    font-size: 24px;
  }
}
