body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  background-color: #fdf6e3;
  background-image: url("./canva.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #333;
  padding: 2em;
  text-align: center;
}


h1, h2 {
  font-weight: 600;
  margin-bottom: 0.5em;
}

canvas {
  border: 1px solid #ccc;
  margin: 1em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
}

input[type="file"] {
  margin: 1em;
  padding: 0.5em;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
}

button {
  background-color: #007aff;
  color: white;
  border: none;
  padding: 0.6em 1.2em;
  font-size: 1em;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 1em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background 0.3s ease;
}

button:hover {
  background-color: #005ecb;
}

.result {
  margin-top: 2em;
  font-size: 1.1em;
  background: #fff;
  padding: 1em;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: inline-block;
}

#loading {
  font-style: italic;
  color: #666;
  margin-top: 1em;
}

.palette {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 12px;
  margin-top: 2em;
}

.swatch {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.swatch:hover {
  transform: scale(1.05);
}

.selected {
  margin-top: 1em;
  font-size: 1.1em;
  color: #555;
}
.branding {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  margin-bottom: 2em;
}

.logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.brand-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #5c4a2d;
  text-shadow: 1px 1px #e0d4b8;
}