body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333;
}

h1 {
  margin: 20px 0;
  color: #222;
}

.converter-container {
  background: #fff;
  width: 95%;
  max-width: 800px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.upload-area {
  border: 2px dashed #ccc;
  padding: 30px;
  border-radius: 8px;
  background: #fafafa;
  cursor: pointer;
  margin-bottom: 20px;
  transition: 0.3s;
}

.upload-area.dragover {
  border-color: #00aaff;
  background: #e6f7ff;
}

input[type="file"] {
  display: none;
}

button {
  background: #00aaff;
  color: #fff;
  padding: 10px 20px;
  margin: 10px 5px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

button:hover {
  background: #0088cc;
}

.preview-section {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.preview-card {
  width: 160px;
  background: #f7f7f7;
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.preview-card img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 5px;
}
