.form-container {
  padding: 1rem;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-header {
  margin-bottom: 1rem;
}

.form-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

app-image-uploader,
app-checkbox-list {
  width: 100%;
  display: block;
}

.form-field.full-width {
  grid-column: 1 / -1;
  margin-top: 1rem;
}

.custom-field {
  position: relative;
  margin-bottom: 0.5rem;
}

.custom-field label {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--surface);
  padding: 0 4px;
  color: var(--text-secondary);
  font-size: 14px;
  transition: all 0.2s;
  pointer-events: none;
}

.custom-field input:focus,
.custom-field input:not(:placeholder-shown) {
  outline: none;
}

.custom-field input:focus + label,
.custom-field input:not(:placeholder-shown) + label {
  top: 0;
  font-size: 14px;
}

.error-message {
  color: var(--error-color, red);
  font-size: 12px;
  margin-top: 4px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}