/* ============================================================
   DOSYA SORUMLULUGU — screens-07-gecmis-kayitlar.css
   ------------------------------------------------------------
   NE YAPAR   : Gecmis Kayitlar: filtre, gun satiri, gun detayi, trend cubugu.
   KAYNAK     : v3.12.0'da bolundu — kurallar birebir tasindi,
                hicbir kural yeniden yazilmadi veya siralanmadi.
   SIRA       : index.html'deki <link> sirasi kaskadi belirler.
                Bu dosyanin sirasini DEGISTIRME.
   ------------------------------------------------------------
   Tam dosya listesi ve sira: BAGIMLILIK-HARITASI.md
   ============================================================ */

/* ── GEÇMİŞ KAYITLAR ── */
.gc-filters {
  display: flex;
  gap: 6px;
  padding: 12px 14px 4px;
  flex-shrink: 0;
}
.gc-filter {
  flex: 1;
  height: 32px;
  border-radius: 99px;
  border: 1.5px solid var(--border2);
  background: var(--bg2);
  font-size: 12px;
  font-weight: 700;
  color: var(--text3);
  cursor: pointer;
  transition: all 0.15s, transform 0.1s;
  font-family: var(--font);
}
.gc-filter:active { transform: scale(0.95); }
.gc-filter.active {
  border-color: var(--orange);
  background: var(--orange-light);
  color: var(--orange);
}

/* Day row */
.gc-day {
  margin: 0 14px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg2);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.gc-day-header {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  cursor: pointer;
  gap: 10px;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.12s;
}
.gc-day-header:active { background: var(--bg3); }
.gc-day-date {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  flex: 1;
}
.gc-day-pills {
  display: flex;
  gap: 5px;
  align-items: center;
}
.gc-pill {
  height: 22px;
  padding: 0 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
}
.gc-pill.food  { background: #FFF2E8; color: #E85D00; }
.gc-pill.lift  { background: #EFF6FF; color: #3A7BD5; }
.gc-pill.cardio{ background: #EFF6FF; color: #3A7BD5; }
.gc-pill.weight{ background: #F0FDF4; color: #16A34A; }
.gc-chevron {
  font-size: 14px;
  color: var(--text3);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.gc-day.open .gc-chevron { transform: rotate(90deg); }

/* Day detail */
.gc-day-body {
  display: none;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 8px 0 4px;
}
.gc-day.open .gc-day-body { display: block; }

.gc-section-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 14px 6px;
}
.gc-row {
  display: flex;
  align-items: center;
  padding: 7px 14px;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.gc-row:last-child { border-bottom: none; }
.gc-row-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.gc-row-dot.food   { background: #E85D00; }
.gc-row-dot.lift   { background: #3A7BD5; }
.gc-row-dot.cardio { background: #3A7BD5; }
.gc-row-dot.weight { background: #16A34A; }
.gc-row-main { flex: 1; min-width: 0; }
.gc-row-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gc-row-sub {
  font-size: 11px;
  color: var(--text3);
  margin-top: 1px;
}
.gc-row-val {
  font-size: 13px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text);
  flex-shrink: 0;
}
.gc-row-del {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg3);
  border: none;
  color: var(--text3);
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font);
  transition: background 0.15s, color 0.15s;
}
.gc-row-del:active { background: #FEE2E2; color: var(--danger); }

/* Trend bar (kilo) */
.gc-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 99px;
}
.gc-trend.up   { background: #FEE2E2; color: #DC2626; }
.gc-trend.down { background: #F0FDF4; color: #16A34A; }
.gc-trend.flat { background: var(--bg3); color: var(--text3); }

/* Filter dim */
.gc-day.dimmed { opacity: 0.35; }
/* Filtre eşleşmeyen günü tamamen gizler (eskiden sadece soluklaştırılıyordu) */
.gc-day.gc-hidden { display: none; }

/* Empty */
.gc-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text3);
  font-size: 14px;
}
.gc-empty-icon { font-size: 40px; margin-bottom: 12px; }

