/* Progressive camera + gallery/file upload helper for staff forms */
.cp-cam-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cp-cam-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.cp-cam-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cp-cam-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.cp-cam-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #f8fafc;
  max-width: 240px;
}

.cp-cam-thumb {
  width: 44px;
  height: 44px;
  border-radius: 0.35rem;
  object-fit: cover;
  flex-shrink: 0;
  background: #e2e8f0;
}

.cp-cam-name {
  font-size: 0.8rem;
  color: #334155;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
}

.cp-cam-remove {
  border: none;
  background: transparent;
  color: #dc2626;
  cursor: pointer;
  padding: 0.1rem 0.25rem;
  line-height: 1;
  font-size: 0.9rem;
}
