.prop-section {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.prop-section__title {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.prop-section__subtitle {
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  margin: 8px 0 4px;
}

.prop-id {
  font-weight: 400;
  color: #94a3b8;
  font-size: 10px;
  margin-left: 6px;
}

.prop-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.prop-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.prop-row-inline {
  display: flex;
  align-items: center;
  gap: 4px;
}

.prop-row-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 6px;
}

.prop-label {
  font-size: 12px;
  color: #475569;
  flex-shrink: 0;
  min-width: 70px;
}

.prop-input {
  width: 100px;
  padding: 4px 6px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 12px;
  background: white;
  color: #334155;
}

.prop-input:focus {
  outline: none;
  border-color: #93c5fd;
}

.prop-input--invalid {
  border-color: #ef4444;
  background: #fef2f2;
  color: #991b1b;
}

.prop-input--invalid:focus {
  border-color: #ef4444;
}

.prop-select {
  cursor: pointer;
}

.prop-color {
  width: 32px;
  height: 24px;
  padding: 1px;
  cursor: pointer;
}

.prop-clear {
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  cursor: pointer;
  font-size: 11px;
  color: #94a3b8;
  padding: 2px 5px;
}

.prop-file-btn {
  padding: 4px 10px;
  background: #eff6ff;
  color: #3b82f6;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
}

.prop-file-btn:hover {
  background: #dbeafe;
}

.prop-image-preview {
  max-width: 80px;
  max-height: 60px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  object-fit: contain;
}

.prop-delete-btn {
  width: 100%;
  padding: 6px;
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
}

.prop-delete-btn:hover {
  background: #fee2e2;
}

.prop-add-btn {
  float: right;
  background: #eff6ff;
  color: #3b82f6;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  width: 22px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.prop-add-btn:hover {
  background: #dbeafe;
}

.prop-column-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 8px;
}

.prop-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.prop-column-title {
  font-size: 12px;
  font-weight: 500;
  color: #334155;
}

.prop-column-actions {
  display: flex;
  gap: 2px;
}

.prop-icon-btn {
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  cursor: pointer;
  font-size: 11px;
  color: #64748b;
  padding: 1px 4px;
  line-height: 1;
}

.prop-icon-btn:hover {
  background: #f1f5f9;
}

.prop-icon-btn--danger:hover {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

/* Tooltip — global portal element */
.prop-tooltip {
  position: fixed;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 9999;
}

.prop-tooltip--visible {
  opacity: 1;
}
