/* WisLab Inventory Picker — uniwersalny styl */
.wlp-wrap { margin-top: 8px; }
.wlp-loading { padding: 8px 12px; color: var(--text-muted, #94a3b8); font-size: 0.9em; }
.wlp-row { display: grid; grid-template-columns: minmax(220px, 2fr) minmax(140px, 1fr) auto; gap: 8px; align-items: start; margin-bottom: 8px; }
.wlp-row.has-custom { grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(140px, 1fr) auto; }
.wlp-row.has-role { grid-template-columns: minmax(140px, 0.8fr) minmax(220px, 2fr) minmax(140px, 1fr) auto; }
.wlp-row.has-role.has-custom { grid-template-columns: minmax(140px, 0.8fr) minmax(180px, 1fr) minmax(180px, 1fr) minmax(140px, 1fr) auto; }
.wlp-row select, .wlp-row input[type="text"] {
  width: 100%; padding: 10px 12px; font-size: 0.95em;
  border: 1px solid var(--border, rgba(255,255,255,0.15)); border-radius: 6px;
  background: var(--bg-input, rgba(255,255,255,0.04)); color: inherit;
}
.wlp-row select:focus, .wlp-row input:focus { border-color: var(--accent, #86efac); outline: none; }
.wlp-remove {
  padding: 8px 12px; background: transparent; color: #fca5a5;
  border: 1px solid rgba(239,68,68,0.3); border-radius: 6px; cursor: pointer;
  font-size: 1em; line-height: 1; align-self: center;
}
.wlp-remove:hover { background: rgba(239,68,68,0.1); }
.wlp-add {
  margin-top: 4px; padding: 10px 16px;
  background: rgba(134,239,172,0.1); color: var(--accent, #86efac);
  border: 1px dashed var(--accent, #86efac); border-radius: 6px; cursor: pointer; font-size: 0.95em;
}
.wlp-add:hover { background: rgba(134,239,172,0.18); }
.wlp-hint { font-size: 0.85em; color: var(--text-muted, #94a3b8); margin-top: 2px; }
.wlp-legacy-note {
  background: rgba(245,158,11,0.1); border-left: 3px solid #f59e0b;
  padding: 10px 14px; border-radius: 6px; margin-bottom: 12px; font-size: 0.9em;
}
@media (max-width: 640px) {
  .wlp-row, .wlp-row.has-custom, .wlp-row.has-role, .wlp-row.has-role.has-custom { grid-template-columns: 1fr; }
  .wlp-remove { justify-self: end; padding: 6px 10px; }
}
