/* ══════════════════════════════════════════════════════════════
   AI Reports — Stiller
   ai-raporlari.html tam sayfa + kategori sayfa inline blok
   ══════════════════════════════════════════════════════════════ */

/* ── Tam Sayfa: Rapor Listesi ─────────────────────────────── */
.air-page-header {
  margin-bottom: 20px;
}
.air-page-header h1 {
  font-size: 20px;
  color: var(--text-heading);
  margin-bottom: 4px;
}
.air-page-sub {
  color: var(--text-secondary);
  font-size: 13px;
}

/* Arama çubuğu */
.air-search-box {
  margin-bottom: 12px;
}
#air-search-input {
  width: 100%;
  padding: 8px 14px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
#air-search-input:focus {
  outline: none;
  border-color: var(--accent);
}
#air-search-input::placeholder {
  color: var(--text-muted);
}

/* Tag filtre butonları */
.air-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.air-filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  font-family: inherit;
}
.air-filter-btn:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}
.air-filter-btn.active {
  background: rgba(255,167,38,0.15);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

/* Rapor kartları */
.air-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.air-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s, transform 0.1s;
}
.air-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Favori yıldız */
.air-fav-star {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: var(--text-muted);
  opacity: 0.7;
  padding: 0 2px;
  transition: color 0.15s, opacity 0.15s, transform 0.15s;
  font-family: inherit;
  line-height: 1;
}
.air-fav-star:hover {
  color: var(--accent);
  opacity: 1;
  transform: scale(1.15);
}
.air-fav-star.fav-active {
  color: #ffc107;
  opacity: 1;
}
.air-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.air-card-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.air-share-x {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 2px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.15s, transform 0.15s;
  opacity: 0.7;
}
.air-share-x:hover {
  color: #1d9bf0;
  transform: scale(1.15);
  opacity: 1;
}
.air-card-date {
  color: var(--text-muted);
  font-size: 12px;
  white-space: nowrap;
  min-width: 70px;
}
.air-card-type {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  font-weight: 600;
  background: rgba(255,167,38,0.12);
  padding: 2px 6px;
  border-radius: 3px;
}
.air-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}
.air-card-summary {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.air-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.air-tag {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
}
[data-theme="light"] .air-tag {
  background: rgba(0,0,0,0.05);
}
.air-empty {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 13px;
}

/* Light theme card depth */
[data-theme="light"] .air-card {
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
  border-left-color: var(--accent);
}
[data-theme="light"] .air-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ── Kategori Sayfası: Inline Blok ────────────────────────── */
.ai-reports-inline {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 12px;
}
.ai-reports-inline-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ai-reports-inline-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ai-report-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  font-size: 13px;
  transition: background 0.15s;
}
.ai-report-mini:hover {
  background: var(--hover-bg);
}
.ai-report-mini-date {
  color: var(--text-muted);
  font-size: 11px;
  min-width: 50px;
  white-space: nowrap;
}
.ai-report-mini-name {
  flex: 1;
  color: var(--text-primary);
  font-weight: 500;
}
.ai-report-mini-arrow {
  color: var(--accent);
  font-weight: 600;
}
.ai-reports-inline-more {
  display: inline-block;
  margin-top: 6px;
  padding-left: 10px;
  color: var(--accent);
  font-size: 12px;
  text-decoration: none;
  font-weight: 500;
}
.ai-reports-inline-more:hover {
  text-decoration: underline;
}

[data-theme="light"] .ai-reports-inline {
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.08);
  border-left-color: var(--accent);
}
