/**
 * Image Upload Component Styles
 */

.image-upload-component {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  margin-bottom: 1.5rem;
}

.upload-preview-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border: 1px dashed #ccc;
  border-radius: 4px;
  padding: 1rem;
  min-height: 200px;
}

.upload-preview {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.upload-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.upload-info {
  flex-grow: 1;
  text-align: right;
}

.upload-message {
  min-height: 1.5rem;
  font-weight: 500;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .image-upload-component {
    flex-direction: row;
    align-items: center;
  }
  
  .upload-preview-container {
    flex: 0 0 200px;
    height: 200px;
  }
  
  .upload-controls {
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
  }
  
  .upload-info {
    text-align: left;
  }
}
