/* AjansKolay Bonus Tools — ortak stil */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green: #25D366;
  --green-dark: #128C7E;
  --green-deep: #075E54;
  --orange: #FF6B35;
  --ink: #0B1F33;
  --ink-soft: #2D3E50;
  --muted: #6B7280;
  --line: #E5E7EB;
  --bg: #F8FAFC;
  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 2px 8px rgba(11,31,51,.05);
  --shadow-md: 0 8px 24px rgba(11,31,51,.08);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  padding: 24px 16px 60px;
  line-height: 1.5;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

.bonus-wrap { max-width: 900px; margin: 0 auto; }

.bonus-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(37,211,102,.08);
  transition: all .2s;
}
.bonus-back:hover { background: rgba(37,211,102,.15); }

.bonus-head {
  margin-bottom: 30px;
}
.bonus-head h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.bonus-head p { color: var(--muted); font-size: 0.95rem; }
.bonus-head .pill {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), #E85A24);
  color: #fff;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.card h2 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.input,
input[type="text"],
input[type="number"],
input[type="time"],
input[type="date"],
select {
  flex: 1;
  min-width: 100px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s;
}
input:focus, select:focus { outline: none; border-color: var(--green); }

button, .btn {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
button:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37,211,102,.4); }
button.danger { background: #ef4444; }
button.danger:hover { box-shadow: 0 6px 16px rgba(239,68,68,.4); }
button.ghost { background: var(--line); color: var(--ink-soft); }
button.ghost:hover { background: #d1d5db; box-shadow: none; }

.list-empty {
  color: #9CA3AF;
  font-style: italic;
  text-align: center;
  padding: 30px 12px;
  font-size: 0.92rem;
}

.metric-band {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  border-radius: var(--r-lg);
  padding: 18px 22px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(37,211,102,.25);
}
.metric-band strong { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.metric-band span { font-size: 0.85rem; opacity: 0.9; }

.x {
  background: transparent !important;
  color: #ef4444 !important;
  padding: 4px 10px !important;
  font-size: 1.1rem !important;
  box-shadow: none !important;
}
.x:hover { background: rgba(239,68,68,.1) !important; transform: none !important; }

@media (max-width: 640px) {
  body { padding: 18px 12px 50px; }
  .input-row { flex-direction: column; }
  .input-row > * { width: 100%; }
  .card { padding: 18px; border-radius: 14px; }
  .bonus-head h1 { font-size: 1.5rem; }
  .bonus-head p { font-size: 0.88rem; }
  .metric-band { padding: 14px 18px; gap: 12px; flex-wrap: wrap; }
  .metric-band > div strong { font-size: 1.35rem; }
  .metric-band > div span { font-size: 0.78rem; }
  button, .btn { padding: 12px 18px; min-height: 44px; }
  input, select { padding: 12px 14px; font-size: 16px; min-height: 44px; }
}

@media (max-width: 380px) {
  body { padding: 14px 10px 40px; }
  .card { padding: 14px; }
  .bonus-head h1 { font-size: 1.3rem; }
  .metric-band { flex-direction: column; align-items: flex-start; padding: 14px; }
  .metric-band > div strong { font-size: 1.2rem; }
}
