/* Mustafa Duran — Kişisel Çalışma & Proje Kokpiti */
:root {
  --bg-page: #000000;
  --bg-card: #1b1b1e;
  --bg-card-2: #242428;
  --bg-input: #121214;
  --border: rgba(255, 255, 255, 0.1);
  --accent: #84a5b2;
  --accent-fill: #486470;
  --ok: #34d399;
  --warn: #fbbf24;
  --txt: #f5f5f5;
  --txt-muted: #9ca3af;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg-page);
  color: var(--txt);
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  line-height: 1.5;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 18px 64px;
}
.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.brand h1 { font-size: 22px; font-weight: 600; }
.brand p { font-size: 13px; color: var(--txt-muted); }
.top-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card-2); color: var(--txt);
  font: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn:hover { border-color: var(--accent); }
.btn-primary { background: var(--accent-fill); border-color: var(--accent); color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 12px; border-radius: 8px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}
.stat-label { font-size: 12px; color: var(--txt-muted); }
.stat-val { font-size: 24px; font-weight: 600; margin-top: 2px; color: var(--accent); }
.stat-sub { font-size: 11.5px; color: var(--txt-muted); margin-top: 2px; }

.tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 18px;
}
.tab-btn {
  padding: 9px 15px; border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card); color: var(--txt-muted);
  font: inherit; font-size: 13.5px; font-weight: 500;
  cursor: pointer;
}
.tab-btn.active {
  background: var(--accent-fill);
  border-color: var(--accent);
  color: #fff;
}

.panel { display: none; }
.panel.active { display: block; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.card-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  margin-bottom: 10px;
}
.card-title { font-size: 15.5px; font-weight: 600; }
.badge {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 500;
  background: rgba(132, 165, 178, 0.16); color: var(--accent);
  white-space: nowrap;
}
.badge.ok { background: rgba(52, 211, 153, 0.16); color: var(--ok); }
.badge.warn { background: rgba(251, 191, 36, 0.16); color: var(--warn); }

.progress-track {
  width: 100%; height: 7px; border-radius: 999px;
  background: var(--bg-input); overflow: hidden; margin: 8px 0 12px;
}
.progress-fill {
  height: 100%; background: var(--accent); transition: width .25s ease;
}

.check-list { display: flex; flex-direction: column; gap: 6px; }
.check-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 7px 10px; border-radius: 9px;
  background: var(--bg-card-2); font-size: 13px;
}
.check-item label {
  display: flex; align-items: center; gap: 8px; cursor: pointer; flex: 1;
}
.check-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); }
.check-item.done span { text-decoration: line-through; opacity: .55; }

.add-row {
  display: flex; gap: 8px; margin-top: 10px;
}
.input, .select {
  width: 100%; padding: 8px 11px; border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg-input); color: var(--txt);
  font: inherit; font-size: 13px;
}
.inline-form {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 14px; padding: 14px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
}

.pomo-box {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 28px 18px; text-align: center;
}
.pomo-time { font-size: 54px; font-weight: 700; letter-spacing: 0.03em; color: var(--accent); }

@media (max-width: 820px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .brand h1 { font-size: 18px; }
}
