body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: #f4f4f4;
  color: #222;
}
#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
header {
  background: #222;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
header h1 {
  margin: 0 0 0.5rem 0;
}
nav button {
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}
nav button:hover {
  background: #0056b3;
}
main {
  display: flex;
  flex: 1;
  padding: 1rem 2rem;
  gap: 2rem;
}
#sidebar, #properties {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 1rem;
  width: 260px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#designer {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9ecef;
  border-radius: 8px;
  min-width: 520px;
  min-height: 620px;
}
#shirt-canvas {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  border: 1px solid #ccc;
}
#layers-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
#layers-list li {
  padding: 0.3rem 0.5rem;
  background: #f8f9fa;
  margin-bottom: 0.2rem;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#layers-list li.selected {
  background: #007bff;
  color: #fff;
}
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 0.7rem 0;
  font-size: 0.95rem;
}
#properties-panel label {
  display: block;
  margin-bottom: 0.5rem;
}
#properties-panel input[type="text"],
#properties-panel input[type="number"],
#properties-panel input[type="color"] {
  width: 100%;
  padding: 0.3rem;
  margin-top: 0.2rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
#properties-panel button {
  margin-top: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: #dc3545;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#properties-panel button:hover {
  background: #a71d2a;
}
