.step-card {
  margin-bottom: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  background-color: #fff;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f5f5f5;
  color: #333;
  font-weight: bold;
  margin-right: 1rem;
}

.field-builder {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field-builder-header {
  width: 100%;
}

.field-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  width: 100%;
}

.field-name-input {
  flex: 2;
}

.field-type-select {
  flex: 1;
  min-width: 120px;
}

.field-remove-button {
  flex: 0;
}

.field-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.field-switch-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.upload-area {
  width: 100%;
  margin-top: 1rem;
}

.file-list {
  width: 100%;
  margin-top: 1rem;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.file-item {
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  border-radius: 4px;
  background-color: #f9f9f9;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation for files moving from processing to processed */
.file-list .MuiListItem-root {
  animation: slideIn 0.5s ease-in-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Match button styles */
.match-button {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.match-button-success {
  background-color: #4caf50;
  color: white;
}

.match-button-error {
  background-color: #f44336;
  color: white;
}

.match-button-busy {
  background-color: #2196f3;
  color: white;
}

.match-button-disabled {
  background-color: #e0e0e0;
  color: #9e9e9e;
}

/* Responsive styles */
@media (max-width: 768px) {
  .field-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .field-name-input,
  .field-type-select {
    width: 100%;
  }
  
  .field-switch-group {
    flex-direction: column;
    gap: 0.5rem;
  }
}
