/* Yazılım indirmeleri — ui.com benzeri liste, mağaza teması */
.dl-hub-cards {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.dl-hub-card-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  background: var(--surface, #fff);
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.dl-hub-card-link:hover {
  border-color: var(--primary, #0066ff);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.08);
}
.dl-hub-card-icon {
  color: var(--primary, #0066ff);
}
.dl-hub-card-lead {
  font-size: 0.9rem;
  color: var(--muted, #6b7280);
  line-height: 1.45;
}
.dl-hub-note {
  font-size: 0.85rem;
  color: var(--muted, #6b7280);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  background: var(--surface-2, #f8fafc);
  border: 1px solid var(--border, #e5e7eb);
}
.dl-hub-note code {
  font-size: 0.8em;
}
.dl-back {
  color: var(--primary, #0066ff);
  text-decoration: none;
  font-weight: 500;
}
.dl-back:hover {
  text-decoration: underline;
}
.dl-hub-hero--compact {
  margin-bottom: 1rem;
}
.dl-toolbar {
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.dl-search {
  flex: 1 1 220px;
}
.dl-tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.dl-tab {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text, #111);
  border: 1px solid var(--border, #e5e7eb);
  background: var(--surface, #fff);
}
.dl-tab:hover {
  border-color: var(--primary, #0066ff);
  color: var(--primary, #0066ff);
}
.dl-tab.is-active {
  background: var(--primary, #0066ff);
  border-color: var(--primary, #0066ff);
  color: #fff;
}
.dl-meta {
  font-size: 0.8rem;
  color: var(--muted, #6b7280);
  margin: 0 0 1.25rem;
}
.dl-cache-alert {
  margin-bottom: 1rem;
}
.dl-section {
  margin-bottom: 2.5rem;
}
.dl-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  text-align: center;
}
.dl-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  background: var(--surface, #fff);
}
.dl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.dl-table th {
  text-align: left;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted, #6b7280);
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border, #e5e7eb);
  white-space: nowrap;
}
.dl-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border, #e5e7eb);
  vertical-align: middle;
}
.dl-table tr:last-child td {
  border-bottom: none;
}
.dl-row[hidden] {
  display: none;
}
.dl-name-main {
  display: block;
  font-weight: 500;
  color: var(--text, #111);
}
.dl-platform {
  display: block;
  font-size: 0.8rem;
  color: var(--muted, #6b7280);
  margin-top: 0.15rem;
}
.dl-date {
  white-space: nowrap;
  color: var(--muted, #6b7280);
}
.dl-version-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--surface-2, #f1f5f9);
  color: var(--text, #334155);
}
.dl-actions {
  white-space: nowrap;
  text-align: right;
}
.dl-col-actions {
  text-align: right;
}
.dl-link {
  color: var(--primary, #0066ff);
  text-decoration: none;
  font-weight: 500;
  margin-left: 0.75rem;
}
.dl-link:first-child {
  margin-left: 0;
}
.dl-link:hover {
  text-decoration: underline;
}
.dl-link--primary::after {
  content: " ↓";
  font-size: 0.85em;
}
@media (max-width: 720px) {
  .dl-table thead {
    display: none;
  }
  .dl-table tr {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border, #e5e7eb);
  }
  .dl-table td {
    display: block;
    padding: 0.25rem 0;
    border: none;
  }
  .dl-actions {
    text-align: left;
    padding-top: 0.5rem;
  }
  .dl-link {
    margin-left: 0;
    margin-right: 1rem;
  }
}

/* MikroTik download page */
.dl-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border, #e5e7eb);
}
.dl-section-tab {
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted, #64748b);
}
.dl-section-tab:hover {
  color: var(--text, #111);
  background: var(--surface-2, #f8fafc);
}
.dl-section-tab.is-active {
  color: var(--accent, #0066ff);
  box-shadow: inset 0 -2px 0 var(--accent, #0066ff);
  border-radius: 8px 8px 0 0;
}
.mtk-dl-filters {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  background: var(--surface, #fff);
}
.mtk-dl-filter-group {
  border: 0;
  margin: 0;
  padding: 0;
}
.mtk-dl-filter-group legend,
.mtk-dl-filter-group > label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted, #64748b);
  margin-bottom: 0.45rem;
}
.mtk-dl-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.mtk-dl-pill {
  cursor: pointer;
}
.mtk-dl-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.mtk-dl-pill span {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border, #e5e7eb);
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--surface-2, #f8fafc);
}
.mtk-dl-pill input:checked + span {
  background: var(--accent, #0066ff);
  border-color: var(--accent, #0066ff);
  color: #fff;
}
.mtk-dl-select {
  min-width: 10rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border, #e5e7eb);
  font-size: 0.9rem;
}
.mtk-dl-mobile-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin-bottom: 2rem;
}
.mtk-dl-mobile-card {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  background: var(--surface, #fff);
}
.mtk-dl-mobile-card h2 {
  font-size: 1rem;
  margin: 0 0 0.45rem;
}
.mtk-dl-mobile-card p {
  font-size: 0.875rem;
  color: var(--muted, #64748b);
  margin: 0 0 0.85rem;
  line-height: 1.45;
}
.mtk-dl-mobile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.mtk-dl-changelog {
  margin-bottom: 1rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  background: var(--surface-2, #f8fafc);
}
.mtk-dl-changelog pre {
  white-space: pre-wrap;
  font-size: 0.78rem;
  margin: 0.75rem 0 0;
  max-height: 240px;
  overflow: auto;
}
.mtk-dl-loading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 2rem 1rem;
  color: var(--muted, #64748b);
  font-size: 0.9rem;
}
.mtk-dl-spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--border, #e5e7eb);
  border-top-color: var(--accent, #0066ff);
  border-radius: 50%;
  animation: mtk-dl-spin 0.7s linear infinite;
}
@keyframes mtk-dl-spin {
  to { transform: rotate(360deg); }
}

