/**
 * Kompas Ilmu - Category & Search Stylesheet (kategori-style.css)
 */

/* Banner Kategori */
.promo-banner {
  background: linear-gradient(135deg, #006da8 0%, #008FD7 100%);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 143, 215, 0.16);
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.promo-title {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF !important;
}

.promo-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 480px;
}

/* Search Bar Banner */
.category-search-input {
  border: 1px solid #CBD5E1;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.92rem;
  color: #1E293B;
  background-color: #FFFFFF;
  width: 100%;
  outline: none;
  box-shadow: none;
  transition: border-color 0.15s ease;
}

.category-search-input::placeholder {
  color: #94A3B8;
}

.category-search-input:focus {
  border-color: #64748B;
  outline: none;
  box-shadow: none;
}

/* Category Filter Buttons */
.category-filter-btn {
  background-color: #F8FAFC;
  color: #475569;
  border: 1px solid #E2E8F0;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.category-filter-btn:hover {
  background-color: #F1F5F9;
  color: #0F172A;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.category-filter-btn.active {
  background: #008FD7;
  color: #FFFFFF;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 143, 215, 0.25);
}

/* Load More & Pagination */
.btn-load-more {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: #0077b3;
  text-decoration: none;
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  background-color: #f0f9ff;
  border: 1px solid #bae6fd;
  transition: all 0.15s ease;
}

.btn-load-more:hover {
  background-color: #e0f2fe;
  color: #005f8f;
  transform: translateY(-1px);
}

.pagination-rounded .page-link {
  border-radius: 8px !important;
  border: 1px solid #E2E8F0;
  color: #475569;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 16px;
  background-color: #FFFFFF;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-rounded .page-link:hover {
  background-color: #F1F5F9;
  color: #008FD7;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.pagination-rounded .page-item.active .page-link {
  background: #008FD7;
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 143, 215, 0.25);
}

.pagination-rounded .page-item.disabled .page-link {
  color: #94A3B8;
  background-color: #F8FAFC;
  border-color: #E2E8F0;
  cursor: not-allowed;
  pointer-events: none;
}

