body {
  font-family: 'Segoe UI', sans-serif;
  background: #f9fafc;
  margin: 0;
  padding: 30px;
  display: flex;
  justify-content: center;
}

.container {
  background: white;
  max-width: 600px;
  width: 100%;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  margin-bottom: 1rem;
}

.input-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input[type="text"],
select {
  padding: 10px;
  font-size: 16px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.colors {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.colors label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

label {
  font-size: 14px;
}

input[type="range"] {
  width: 100%;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.actions button {
  padding: 10px 14px;
  font-size: 14px;
  border: none;
  background: #007bff;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.actions button:hover {
  background: #0056b3;
}

.qr-preview {
  text-align: center;
  margin-top: 30px;
}

#qrcode canvas {
  max-width: 100%;
  height: auto;
}
