body {
  font-family: 'Arial', sans-serif;
  text-align: center;
  background-color: #f7f9fc;
  padding: 20px;
  line-height: 1.6;
}

.container {
  max-width: 500px;
  margin: 0 auto;
  background-color: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

h1 {
  color: #6a5acd;
  margin-bottom: 10px;
}

p {
  color: #666;
  margin-bottom: 25px;
}

.input-group {
  margin-bottom: 15px;
}

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

input, select, button {
  padding: 12px;
  margin: 5px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #ddd;
  width: 80%;
  max-width: 300px;
}

input[type="color"] {
  height: 40px;
  cursor: pointer;
}

button {
  background-color: #6a5acd;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: bold;
  width: auto;
}

button:hover {
  background-color: #5949b8;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(106, 90, 205, 0.3);
}

#qrcode {
  margin: 25px auto;
  padding: 15px;
  width: 256px;
  height: 256px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#qrcode img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.file-upload {
  position: relative;
  overflow: hidden;
  margin: 10px;
  background-color: #f0e6ff;
  color: #6a5acd;
  border: 2px dashed #6a5acd;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  width: 80%;
  max-width: 300px;
  display: inline-block;
}

.file-upload:hover {
  background-color: #e6dbff;
}

.file-upload input {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  filter: alpha(opacity=0);
  width: 100%;
  height: 100%;
}

#logo-preview {
  width: 50px;
  height: 50px;
  margin: 10px auto;
  border-radius: 5px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.loading {
  margin: 10px auto;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #6a5acd;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#qrcode-container {
  position: relative;
  margin: 0 auto;
  width: 256px;
  height: 256px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hidden {
  display: none;
}

#notification {
  color: #4CAF50;
  margin-top: 10px;
  font-weight: bold;
  display: none;
}

#qrcode table {
  margin: 0 auto !important;
}

.default-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px auto;
}

.logo-option {
  width: 40px;
  height: 40px;
  margin: 5px;
  border-radius: 5px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.logo-option:hover {
  transform: scale(1.1);
}

.logo-option.selected {
  border-color: #6a5acd;
  box-shadow: 0 0 10px rgba(106, 90, 205, 0.5);
}