/**
 * peptit.online — ARAŞTIRMALAR & LABORATUVAR ANALİZ RAPORLARI STİLLERİ
 * Modern Medikal Teknoloji & Editoryal İsviçre Tipografisi
 */

/* ==========================================================================
   1. GENEL DÜZEN VE HERO BÖLÜMÜ
   ========================================================================== */
.reports-page-shell {
  padding-bottom: 80px;
}

.reports-hero-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 40px 44px;
  margin-top: 14px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
  overflow: hidden;
}

.reports-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 480px;
  height: 100%;
  background: radial-gradient(circle at 85% 20%, rgba(14, 165, 233, 0.08) 0%, rgba(99, 102, 241, 0.03) 50%, transparent 80%);
  pointer-events: none;
}

.reports-hero-header {
  max-width: 860px;
  position: relative;
  z-index: 1;
}

.reports-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 999px;
  font-family: var(--font-heading, system-ui, sans-serif);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0284c7;
  margin-bottom: 14px;
}

.reports-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0ea5e9;
  box-shadow: 0 0 8px rgba(14, 165, 233, 0.6);
  animation: pulse-dot 2.5s infinite ease-in-out;
}

.reports-title {
  font-family: var(--font-heading, system-ui, sans-serif);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: #0b192c;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}

.reports-title span {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.reports-desc {
  font-size: 15px;
  line-height: 1.68;
  color: #475569;
  margin: 0 0 28px;
}

/* 4'lü Güvence Metrik Şeridi */
.reports-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  z-index: 1;
}

.metric-pill-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.metric-pill-box:hover {
  background: #ffffff;
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.06);
  transform: translateY(-2px);
}

.metric-icon-wrap {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(14, 165, 233, 0.1);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-text {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-heading, system-ui, sans-serif);
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
}

.metric-lbl {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.3;
}

/* ==========================================================================
   2. FİLTRELEME & ARAMA ARAÇ ÇUBUĞU
   ========================================================================== */
.reports-toolbar {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.02);
}

.reports-search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 440px;
}

.reports-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.reports-search-input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  font-size: 14px;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  outline: none;
  transition: all 0.2s ease;
}

.reports-search-input:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.reports-filter-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.report-filter-btn {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.report-filter-btn:hover {
  background: #f1f5f9;
  color: #0b192c;
  border-color: #cbd5e1;
}

.report-filter-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.28);
}

.reports-count-status {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.reports-count-status strong {
  color: #0284c7;
  font-weight: 700;
}

/* ==========================================================================
   3. LABORATUVAR RAPORLARI KART IZGARASI (4'LÜ GRID DÜZENİ)
   ========================================================================== */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.report-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.report-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 12px 28px -4px rgba(14, 165, 233, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04);
}

/* Kart Üst Başlık & Rozetler */
.report-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 11px;
}

.report-lab-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.02em;
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-lab-icon {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0284c7;
  flex-shrink: 0;
}

.report-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2.5px 7px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: #059669;
  flex-shrink: 0;
}

/* Ürün Bilgi Bloğu (Küçük Görsel + İsim + Kategori) */
.report-product-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  margin-bottom: 12px;
  transition: background 0.18s ease;
}

.report-product-row:hover {
  background: #f0f9ff;
  border-color: #e0f2fe;
}

.report-thumb-wrap {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.report-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.report-product-row:hover .report-thumb-img {
  transform: scale(1.08);
}

.report-product-meta {
  flex: 1;
  min-width: 0;
}

.report-product-name {
  font-family: var(--font-heading, system-ui, sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-product-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.report-product-name a:hover {
  color: #0284c7;
}

.report-product-sub {
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-code-badge {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 600;
  color: #0284c7;
  background: rgba(14, 165, 233, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Doküman Başlığı ve Açıklaması */
.report-doc-title {
  font-family: var(--font-heading, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: #0b192c;
  line-height: 1.35;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.report-doc-desc {
  font-size: 11.5px;
  line-height: 1.5;
  color: #475569;
  margin: 0 0 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Teknik Veri Parametreleri Kutucuğu */
.report-specs-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 7px 9px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 11.5px;
}

.report-spec-item {
  display: flex;
  flex-direction: column;
}

.report-spec-item small {
  font-size: 9.5px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1px;
}

.report-spec-item strong {
  font-weight: 700;
  color: #0f172a;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-spec-item strong.purity-val {
  color: #0284c7;
  font-weight: 800;
}

/* Aksiyon Butonları */
.report-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.report-btn-view {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  background: #0284c7;
  color: #ffffff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.2);
  white-space: nowrap;
}

.report-btn-view:hover {
  background: #0369a1;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  transform: translateY(-1px);
}

.report-btn-download {
  width: 36px;
  height: 34px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #475569;
  text-decoration: none;
  transition: all 0.18s ease;
}

.report-btn-download:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #cbd5e1;
}

.report-btn-product {
  width: 36px;
  height: 34px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #0284c7;
  text-decoration: none;
  transition: all 0.18s ease;
}

.report-btn-product:hover {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0369a1;
}
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #0284c7;
  text-decoration: none;
  transition: all 0.18s ease;
}

.report-btn-product:hover {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0369a1;
}

/* Boş Durum (Empty State) */
.reports-empty-state {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 2px dashed #e2e8f0;
  border-radius: 16px;
  padding: 56px 24px;
  text-align: center;
}

.reports-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
}

.reports-empty-title {
  font-family: var(--font-heading, system-ui, sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}

.reports-empty-desc {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 20px;
}

.reports-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #0284c7;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease;
}

.reports-reset-btn:hover {
  background: #0369a1;
}

/* ==========================================================================
   4. BİLGİLENDİRME & GÜVENCE BÖLÜMÜ (QA)
   ========================================================================== */
.reports-guide-section {
  margin-top: 48px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 36px 40px;
}

.reports-guide-heading {
  font-family: var(--font-heading, system-ui, sans-serif);
  font-size: 22px;
  font-weight: 800;
  color: #0b192c;
  margin: 0 0 8px;
}

.reports-guide-sub {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 28px;
}

.reports-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reports-guide-card {
  padding: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.reports-guide-icon {
  width: 40px;
  height: 40px;
  background: rgba(14, 165, 233, 0.1);
  color: #0284c7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.reports-guide-title {
  font-family: var(--font-heading, system-ui, sans-serif);
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}

.reports-guide-text {
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

/* ==========================================================================
   5. DUYARLI TASARIM (RESPONSIVE)
   ========================================================================== */
@media (max-width: 1240px) {
  .reports-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 1024px) {
  .reports-metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .reports-guide-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 860px) {
  .reports-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .reports-hero-card {
    padding: 26px 20px;
  }

  .reports-metrics-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .reports-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .reports-search-box {
    max-width: 100%;
  }

  .reports-filter-pills {
    overflow-x: auto;
    padding-bottom: 4px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .reports-guide-section {
    padding: 24px 18px;
  }
}

@media (max-width: 580px) {
  .reports-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

