/* Google Fonts: Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');

.pdf-archive {
  --brand: #0055A5;
  --border: #e6e6e6;
  --text: #20282d;
  font-family: "Open Sans", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

/* Filtre alanı */
.pdf-archive__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.pdf-archive__search,
.pdf-archive__category {
  height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 15px;
  flex: 1 1 auto;
  color: var(--text);
}
.pdf-archive__submit {
  height: 44px;
  padding: 0 18px;
  border: none;
  background: var(--brand);
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
}
.pdf-archive__submit:hover { background: #004080; }

/* Alfabetik filtre */
.pdf-archive__alphabet {
  margin: 15px 0 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pdf-alpha {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  min-width: 36px;
  text-align: center;
  transition: all 0.2s ease;
}
.pdf-alpha:hover { background: var(--brand); color: #fff; }
.pdf-alpha.active { background: var(--brand); color: #fff; }
.pdf-alpha.reset { margin-left: 14px; font-weight: bold; }

/* Kategori başlığı */
.pdf-category-title {
  margin-top: 32px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--brand);
  padding-bottom: 6px;
}

/* Tablo görünümü */
.pdf-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 24px;
}
.pdf-table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  font-size: 15px;
  color: var(--text);
}
.pdf-title {
  text-align: left;
  font-weight: 500;
}
.pdf-download {
  text-align: right;
  width: 140px;
}

/* İndir butonu */
.pdf-item__download {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--brand);
  border-radius: 4px;
  text-decoration: none;
  color: var(--brand);
  font-size: 15px;
  font-weight: 600;
  background: #fff;
  transition: all 0.2s ease;
}
.pdf-item__download:hover {
  background: var(--brand);
  color: #fff;
}
.pdf-item__download.disabled {
  border-color: #ccc;
  color: #999;
  cursor: not-allowed;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .pdf-archive__filters { flex-direction: column; }
  .pdf-download { text-align: left; padding-top: 6px; }
  .pdf-archive__alphabet { justify-content: flex-start; gap: 8px; }
  .pdf-alpha { font-size: 18px; padding: 10px 14px; min-width: 38px; }
  .pdf-table td { display: block; width: 100%; text-align: left; }
  .pdf-download { margin-top: 6px; width: 100%; }
}

/* Kategori başlıkları */
.pdf-category-title {
  margin: 24px 0 12px;
  font-size: 20px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #005bbb 0%, #0077cc 100%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Başlık ikonları */
.pdf-category-title::before {
  content: "📂"; /* klasör ikonu */
  font-size: 20px;
}

.cat-herkul::before { content: "🧭"; }
.cat-valfler::before { content: "🔧"; }



.pdf-topcats {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:20px;
}
.pdf-topcat-btn {
  padding:8px 14px;
  border:1px solid #ccc;
  border-radius:6px;
  text-decoration:none;
  color:#333;
  font-weight:500;
}
.pdf-topcat-btn.active {
  background:#005bbb;
  color:#fff;
  border-color:#005bbb;
}