body {
  background-color: #f8f9fa;
}

#canvas-container {
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  min-height: 200px;
  background-color: #f8f9fa;
  position: relative;
}

/* Ensure canvas container in modal has proper dimensions */

.modal-body #canvas-container {
  width: 100% !important;
  min-height: 200px !important;
  min-width: 400px !important;
  margin: 0 auto;
  display: block !important;
  position: relative !important;
}

/* Force modal body to have proper dimensions */

.modal-body {
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

canvas {
  display: block;
  width: 100% !important;
  height: auto !important;
}

.color-swatch {
  width: 45px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.color-swatch:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.color-swatch.active {
  border-color: #0d6efd;
}

.form-label {
  font-weight: 500;
}

/* Style text inputs to appear as uppercase */

#left-text, #right-text {
  text-transform: uppercase;
}

