.editor-wrapper {
  padding: 20px;
  margin-bottom: 30px;
}

.editor-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 15px;
}

.editor-wrapper h3 {
  margin: 0 0 5px 0;
  color: #333;
}

.editor-wrapper p {
  color: #666;
  margin: 0;
}

.editor-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.editor-controls label {
  font-weight: bold;
  color: #333;
}

.editor-controls select {
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: white;
  cursor: pointer;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.preview-header h3 {
  margin: 0;
}

.preview-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-controls label {
  font-weight: bold;
  color: #333;
}

.preview-controls select {
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: white;
  cursor: pointer;
}

.btn-primary {
  padding: 6px 15px;
  font-size: 14px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #0056b3;
}

.card-generator {
  padding: 20px;
  background: #f5f5f5;
  border-radius: 8px;
}

.card-generator h3 {
  margin-top: 0;
  color: #333;
}

.controls {
  margin-bottom: 25px;
}

.controls label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.controls select {
  padding: 8px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: white;
  cursor: pointer;
  min-width: 150px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.card-preview {
  background: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-preview h4 {
  margin: 0 0 15px 0;
  text-align: center;
  color: #333;
  font-size: 16px;
}

.svg-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.svg-container svg {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
}

@media (max-width: 1200px) {
  .preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .editor-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .editor-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .editor-controls select {
    width: 100%;
  }
  
  .preview-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .preview-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .preview-controls select {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .preview-grid {
    grid-template-columns: 1fr;
  }
  
  .card-generator {
    display: none;
  }
}







