#customizer-container {
  max-width: 800px;
  margin: 2rem auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  border-radius: 0.5rem;
  overflow: hidden;
}

/* This container holds the mouthguard images and text, allowing for absolute positioning */

#preview-area {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: auto;
  background-color: #f8f9fa;
  padding: 2rem;
  aspect-ratio: 3 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* All images and text within the preview area are positioned absolutely */

#preview-area .preview-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#preview-area img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#center-logo-img {
  transform: scale(0.65) translateY(25px);
}

/* This more specific selector overrides .preview-layer styles */

#preview-area #belt-logo-img {
  width: 25%;
  height: auto;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  object-fit: initial;
}

/* The initials text is centered and styled dynamically with JS */

#initials-text-preview {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 13%;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-size: 70px;
}

.control-panel {
  background-color: #ffffff;
  padding: 2rem;
}

.accordion-button:not(.collapsed) {
  color: #fff;
  background-color: #dc3545;
}

.option-item {
  cursor: pointer;
  padding: 0.75rem 1.25rem;
  transition: background-color 0.2s ease-in-out;
}

.option-item:hover {
  background-color: #f1f1f1;
}

.form-control-lg {
  max-width: 200px;
  margin: 0 auto;
}

