/* Sprint 26 - Merkez stok otomasyonu */
.stock-automation-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .055);
}
.stock-automation-panel article { display: grid; gap: 4px; }
.stock-automation-panel strong { font-size: 14px; color: #111827; }
.stock-automation-panel span { font-size: 12px; color: #64748b; }
.automation-steps { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.automation-steps span {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
}
.automation-steps b { color: #f97316; font-weight: 900; }
.inline-action-form { display: inline-flex; margin: 0; }
.stock-adjust-card {
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .055);
}
.stock-adjust-card[hidden] { display: none !important; }
.stock-adjust-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(120px, .55fr)) minmax(220px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
}
.stock-adjust-form label { display: grid; gap: 5px; font-size: 11px; font-weight: 800; color: #64748b; }
.stock-adjust-form input,
.stock-adjust-form select {
  height: 34px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0 10px;
  background: #fff;
  color: #172033;
  font-size: 12px;
  outline: none;
}
.stock-adjust-form input:focus,
.stock-adjust-form select:focus { border-color: #fb923c; box-shadow: 0 0 0 3px rgba(249, 115, 22, .12); }
.stock-adjust-form .wide { min-width: 220px; }
.stock-adjust-form .check-inline { display: inline-flex; align-items: center; gap: 8px; height: 34px; white-space: nowrap; }
.stock-adjust-form .check-inline input { width: 14px; height: 14px; padding: 0; }
.stock-adjust-form .check-inline span { color: #334155; }
@media (max-width: 1100px) {
  .stock-automation-panel { align-items: flex-start; flex-direction: column; }
  .automation-steps { justify-content: flex-start; }
  .stock-adjust-form { grid-template-columns: 1fr 1fr; }
  .stock-adjust-form .wide { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .stock-adjust-form { grid-template-columns: 1fr; }
}
