.wrap-controls {
  display: flex;
  justify-content: space-between;

  height: 500px; /* make the whole wrapper stretch vertically */
  width: 1000px;

  font-size: 1.2rem;
  line-height: 1.6;
  font-family: "Montserrat";
}

.con-right {
  width: 140px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* center the card vertically */
  align-items: center;
  padding: 10px;
  gap: 10px;
}

.text-icon {
  width: 28px; /* adjust size */
  height: 28px;
  object-fit: contain;
}
.pickr .pcr-button {
  border-radius: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%; /* round */
  border: 1px solid rgb(192, 192, 192); /* remove outline border */
  padding: 0;
  background: none;
  cursor: pointer;
}
.rect-color-picker-x {
  -webkit-appearance: none;
  appearance: none;

  width: 34px;
  height: 34px;
  border-radius: 50%; /* round */
  border: 1px solid rgb(192, 192, 192); /* remove outline border */
  padding: 0;
  background: none;
  cursor: pointer;

  overflow: hidden; /* clip inside color box */
}

/* make the internal color swatch round too */
.rect-color-picker-x::-webkit-color-swatch-wrapper {
  padding: 0;
}

.rect-color-picker-x::-webkit-color-swatch {
  border: none;
  border-radius: 50%; /* round the inside swatch */
}
.con-left {
  width: 140px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 🔥 vertical center ALL items */
  align-items: center; /* optional: horizontal centering */
  gap: 10px;
  padding: 10px;
}

.wpra-clr {
  position: relative;
  width: 60px;
  background: #fff;
  border-radius: 8px;
  padding: 5px 5px;
  display: flex;
  flex-direction: column; /* vertical layout */
  align-items: center; /* center horizontally */
  justify-content: center;
  text-align: center;

  font-size: 0.75rem;
  font-weight: 600;
  color: #444;

  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: background 0.15s;
  gap: 6px; /* space between label and picker */
  min-height: 70px;
  pointer-events: auto;
}

.wpra-clr:hover {
  background: #f0f0f0;
}

.rect-color-picker-x {
  display: block;
}

.mobile-color-trigger {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #ccc;
  cursor: pointer;
  display: none;
}

/* Modal background */
.lbl {
  font-size: 12px;
  padding-bottom: 10px;
  padding-top: 10px;
}
.modal {
  display: none; /* hidden by default */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);

  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Modal box */
.modal-content {
  background: #fff;
  width: 300px;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 700;
}

.modal-input {
  width: 100%;
  padding: 10px;
  font-size: 1rem;

  text-align: center; /* center text */
  text-transform: uppercase; /* force ALL CAPS */

  border-radius: 6px;
  border: 1px solid #ddd;
}

/* Button group */
.modal-buttons {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.pos-btn {
  flex: 1;
  padding: 10px 0;
  border: none;
  background: #f0f0f0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

.pos-btn:hover {
  background: #e0e0e0;
}

.upload-box {
  background: #fafafa;
  border: 2px dashed #ccc;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  cursor: pointer;
  transition: 0.2s;
  margin-bottom: 15px;
}

.upload-box:hover {
  border-color: #777;
  background: #f0f0f0;
}
.upload-preview {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 6px;
}
.err_msg {
  display: none;
  color: #ff3b30;
  font-size: 14px;
  margin-top: 10px;
}
