/* stok-page.css — dokunmatik Stok Giriş/Çıkış (Faz 2, 07.07.2026) — büyük dokunma hedefleri */
.stk-wrap { display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.stk-searchbar input {
  width: 100%; padding: 16px 18px; font-size: 18px; border-radius: 12px;
  border: 1px solid var(--border, #d7d7de); background: var(--card, #fff); color: inherit;
}
.stk-list { display: flex; flex-direction: column; gap: 8px; max-height: 58vh; overflow-y: auto; }
.stk-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  width: 100%; text-align: left; padding: 14px 16px; min-height: 56px;
  border: 1px solid var(--border, #d7d7de); border-radius: 12px;
  background: var(--card, #fff); color: inherit; cursor: pointer; font-size: 16px;
}
.stk-row:active { transform: scale(0.99); background: rgba(104, 22, 32, 0.06); }
.stk-row-name { font-weight: 600; }
.stk-row-meta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.stk-sku { font-size: 12px; opacity: 0.65; }
.stk-badge { padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.stk-badge-ok   { background: #e5f6ec; color: #16793c; }
.stk-badge-low  { background: #fdf3dc; color: #a16207; }
.stk-badge-zero { background: #fde8e8; color: #b91c1c; }
.stk-badge-off  { background: #ececf1; color: #666; }
.stk-empty { padding: 28px; text-align: center; opacity: 0.7; }

/* Son hareketler şeridi */
.stk-recent { border-top: 1px dashed var(--border, #d7d7de); padding-top: 10px; font-size: 13px; }
.stk-recent-title { font-weight: 700; margin-bottom: 6px; opacity: 0.8; }
.stk-recent-row { padding: 3px 0; opacity: 0.85; }
.stk-tag { padding: 1px 8px; border-radius: 999px; background: #ececf1; font-size: 11px; }
.stk-tag-ok   { background: #e5f6ec; color: #16793c; }
.stk-tag-wait { background: #fdf3dc; color: #a16207; }
.stk-tag-fail { background: #fde8e8; color: #b91c1c; }

/* Panel (overlay + numpad) */
.stk-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.stk-panel {
  background: var(--card, #fff); color: inherit; border-radius: 16px; padding: 18px;
  width: 100%; max-width: 430px; max-height: 95vh; overflow-y: auto;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
}
.stk-p-head { margin-bottom: 12px; }
.stk-p-name { font-size: 17px; font-weight: 700; }
.stk-p-sub { font-size: 13px; opacity: 0.75; margin-top: 4px; }
.stk-modes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.stk-mode {
  padding: 14px 6px; font-size: 16px; font-weight: 700; border-radius: 12px;
  border: 2px solid var(--border, #d7d7de); background: var(--card, #fff); color: inherit; cursor: pointer;
}
.stk-mode.on { border-color: #681620; background: rgba(104, 22, 32, 0.08); }
.stk-display {
  text-align: center; font-size: 40px; font-weight: 800; letter-spacing: 2px;
  padding: 8px 0 12px; min-height: 58px;
}
.stk-numpad { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.stk-key {
  padding: 16px 0; font-size: 22px; font-weight: 700; border-radius: 12px;
  border: 1px solid var(--border, #d7d7de); background: var(--card, #fff); color: inherit; cursor: pointer;
}
.stk-key:active { background: rgba(104, 22, 32, 0.1); }
.stk-key-fn { background: #f3f3f6; }
.stk-prev { text-align: center; padding: 10px; border-radius: 10px; font-weight: 600; background: #f3f3f6; margin-bottom: 12px; font-size: 14px; }
.stk-prev-ok   { background: #e5f6ec; color: #16793c; }
.stk-prev-wait { background: #fdf3dc; color: #a16207; }
.stk-prev-warn { background: #fde8e8; color: #b91c1c; }
.stk-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.stk-btn { padding: 16px 0; font-size: 17px; font-weight: 700; border-radius: 12px; border: none; cursor: pointer; }
.stk-btn-cancel { background: #ececf1; color: #333; }
.stk-btn-ok { background: #681620; color: #fff; }
.stk-btn-ok:disabled { opacity: 0.45; cursor: not-allowed; }

/* Dar ekran (dokunmatik 1080p ölçek) ince ayar */
@media (max-width: 640px) {
  .stk-list { max-height: 50vh; }
  .stk-display { font-size: 34px; }
}
