body {
  font-family: sans-serif;
  background: #f0f2f5;
  color: #1a1a1a;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}
.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
@media (max-width: 768px) {
  .container { grid-template-columns: 1fr; }
}
.upload-zone {
  border: 3px dashed #ccc;
  padding: 30px 20px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  background: #fafafa;
  display: block;
}
.color-box {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  vertical-align: middle;
  margin-right: 8px;
  border: 1px solid rgba(0,0,0,0.15);
}
.stat-row {
  margin: 12px 0;
  font-size: 15px;
  display: flex;
  align-items: center;
}
.section-title {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}
.btn {
  background: #e4e6eb;
  color: #050505;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
}
.btn.active {
  background: #0066cc;
  color: white;
}
.btn:disabled {
  background: #e4e6eb;
  color: #bcc0c4;
  cursor: not-allowed;
}
.picker-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
input[type="color"] {
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  cursor: pointer;
  background: none;
}
.preview-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
canvas {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-image: linear-gradient(45deg, #efefef 25%, transparent 25%), 
                    linear-gradient(-45deg, #efefef 25%, transparent 25%), 
                    linear-gradient(45deg, transparent 75%, #efefef 75%), 
                    linear-gradient(-45deg, transparent 75%, #efefef 75%);
  background-size: 20px 20px;
}
