/* Genel kapsayıcı */
.pdf-archive-wrapper {
  min-width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5px;
}
.pdf-archive-search {
    float: right;
margin: 0 0;
right: 100px;
    position: absolute;
}


/* Arama ve açılır liste */
.pdf-archive-dropdown {
  margin: auto 0;
  text-align: center;
 float: left;

    width: 400px;
}

.pdf-archive-search input,
.pdf-archive-dropdown select {
  width: 100%;
  max-width: 400px;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.pdf-archive-search input:focus,
.pdf-archive-dropdown select:focus {
  border-color: #0073aa;
  box-shadow: 0 0 0 3px rgba(0,115,170,0.2);
  outline: none;
}

/* Üst kategori başlıkları */
.pdf-parent h2 {
  font-size: 1.6em;
  margin: 40px 0 20px;
  padding: 10px 15px;
  background: linear-gradient(135deg, #0073aa, #005f8d);
  color: #fff;
  border-radius: 6px;
}

/* Alt kategori kartları */
.pdf-subcategory {
  margin: 25px 0;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fafafa;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pdf-subcategory:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Alt kategori başlıkları */
.pdf-subcategory h3 {
  font-size: 1.1em;
  font-weight: 400; /* daha ince */
  margin: 0 0 12px;
  padding: 8px 12px;
  background: #f0f4f8;
  color: #333;
  border-left: 4px solid #0073aa;
  border-radius: 4px;
}

/* PDF listesi */
.pdf-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pdf-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #ddd;
  transition: background 0.2s ease;
}

.pdf-list li:hover {
  background: #f9f9f9;
}

.pdf-list li strong {
  flex: 1;
  font-weight: 500;
  color: #222;
}

/* Butonlar */
.btn-group {
  display: flex;
  gap: 10px;
}



.btn:hover {
  background: linear-gradient(135deg, #0096d6, #0073aa);
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.btn.preview {
  background: linear-gradient(135deg, #444, #222);
}

/* Modal */
.pdf-archive-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.pdf-archive-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-archive-modal__dialog {
  background: #fff;
  width: 90%;
  max-width: 960px;
  height: 90%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  animation: zoomIn 0.3s ease;
}

.pdf-archive-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 2em;
  cursor: pointer;
  color: #666;
  transition: color 0.2s ease;
}

.pdf-archive-modal__close:hover {
  color: #000;
}

.pdf-archive-modal__content {
  flex: 1;
  overflow: hidden;
}

.pdf-archive-modal__content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Animasyonlar */
@keyframes fadeIn {
  from { background: rgba(0,0,0,0); }
  to   { background: rgba(0,0,0,0.65); }
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
/* Genel alan */
.pdf-archive-wrapper {
  font-family: "Segoe UI", Roboto, sans-serif;
  color: #333;
}

/* Filtre formu */
.pdf-archive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.pdf-archive-filters input[type="text"],
.pdf-archive-filters select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  min-width: 200px;
  transition: border-color 0.2s ease;
}

.pdf-archive-filters input[type="text"]:focus,
.pdf-archive-filters select:focus {
  border-color: #0078d7;
  outline: none;
}

/* Alt kategori başlıkları */
.pdf-subcategory {
  margin-bottom: 2rem;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fafafa;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pdf-subcategory-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #0078d7;
  border-bottom: 2px solid #0078d7;
  padding-bottom: 4px;
}

/* PDF listesi */
.pdf-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pdf-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed #ddd;
}

.pdf-list li:last-child {
  border-bottom: none;
}

.pdf-list strong {
  flex: 1;
  font-size: 15px;
}

/* Buton grubu */
.btn-group {
  display: flex;
  gap: 6px;
}

.btn {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn.download {
  background: #38464a;
  color: #fff;
}

.btn.preview {
  background: #0078d7;
  color: #fff;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Sayfalama */
.pdf-pagination {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 6px;
}

.pdf-pagination .page-link a,
.pdf-pagination .page-link span {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #0078d7;
  text-decoration: none;
  font-size: 14px;
}

.pdf-pagination .page-link .current {
  background: #0078d7;
  color: #fff;
  border-color: #0078d7;
}
.pdfara {
    width: 200px;
    float: right;
margin-right: 50px;
}
select.pdfselect2 {
    width: 200px;
    height: 45px;
margin-left: 50px;
}
