  .converter {
    max-width: 700px;
  }

  #svgPreview {
    border: 1px solid #adadad;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    min-height: 250px;
    max-height: 400px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  /* Make the SVG fit nicely inside */
  #svgPreview svg {
    width: 90%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
  }

  /* Upload button style */
  .upload-label {
  cursor: pointer;
  display: block; /* make it take full width */
  width: 100%;
  height: 200px;
  line-height: 200px; /* centers the text vertically */
  text-align: center; /* centers text horizontally */
  font-weight: 500;
  border: 2px dashed #6c757d;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.3s;
}

  .upload-label:hover {
    background: rgba(108, 117, 125, 0.1);
    border-color: #0d6efd;
    color: #0d6efd;
  }

  #uploadImage {
    display: none;
  }

  /* Simple loading spinner */
  .spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #0d6efd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    100% {
      transform: rotate(360deg);
    }
  }