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

:root {
  --ink: #0b0b0b;
  --ink-2: #3a3a3a;
  --muted: #8a8a8a;
  --line: #e7e7e7;
  --line-2: #d4d4d4;
  --soft: #f4f4f4;
  --bg: #f6f6f6;
  --card: #ffffff;
  --radius: 18px;
  --radius-s: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.45;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font-weight: 500; cursor: pointer; text-decoration: none;
  white-space: nowrap; transition: transform 0.08s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.danger { background: #fff; color: var(--ink); border: 1px dashed var(--ink); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; }

.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.input {
  height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius-s); padding: 0 14px; background: #fff; width: 100%;
  outline: none; transition: border-color 0.15s;
}
textarea.input { height: auto; padding: 10px 14px; resize: vertical; }
.input:focus { border-color: var(--ink); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500; white-space: nowrap; border: 1px solid var(--ink);
}
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.s-suruyor { background: var(--ink); color: #fff; }
.chip.s-suruyor::before { animation: pulse 1.4s infinite; }
.chip.s-qr-acik { background: #fff; color: var(--ink); }
.chip.s-yukleme-acik { background: #fff; color: var(--ink); border-style: dashed; }
.chip.s-bekliyor { background: var(--soft); color: var(--ink-2); border-color: var(--line-2); }
.chip.s-bekliyor::before { background: transparent; border: 1.5px solid currentColor; }
.chip.s-kapandi, .chip.s-silindi { background: var(--soft); color: var(--muted); border-color: transparent; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 13px; z-index: 100;
  transition: all 0.25s ease; pointer-events: none; max-width: calc(100% - 32px); text-align: center;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
