/* Custom Dropdown */
.custom-select {
    position: relative;
    width: 100%;
    user-select: none;
  }
  .custom-select .trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75em 1em;
    border: 1px solid #000000;
    background: #fff;
    cursor: pointer;
  }
  /* give the SVG a smooth rotation */
.custom-select .trigger .arrow-icon {
  transition: transform 0.2s ease;
}

/* flip it upside-down when open */
.custom-select.open .trigger .arrow-icon {
  transform: rotate(180deg);
}
  .custom-select .options {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    margin: 0;
    padding: 0;              
    list-style: none;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease, padding 0.2s ease;  
    z-index: 10;
  }
  
  .custom-select.open .options {
    max-height: 10em;         
    padding: 0.25em 0;      
    border: 1px solid #000000;
  }
  .custom-select .options li {
    padding: 0.75em 1em;
    cursor: pointer;
  }
  .custom-select .options li:hover {
    background: #f5f5f5;
  }
  
  /* Radio buttons */
  .have-maker-radios label{
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .have-maker-radios input[type="radio"] {
    /* hide native radio and make the box */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #333;
    border-radius: 0;   /* square corners */
    position: relative;
    cursor: pointer;
    margin-right: 8px;
  }
  
   .options li {
    display: flex;
    align-items: center;
    padding: 0.75em 1em;
  }
  
  .options li .swatch {
    width: 16px;
    height: 16px;
    margin-right: 0.75em;
    border: 1px solid #ccc;
    border-radius: 3px;
    flex-shrink: 0;
  }
  
  /* the SVG checkmark */
  .have-maker-radios input[type="radio"]::after {
    content: '';
    position: absolute;
    top: 2px;    /* tweak to center vertically */
    left: 0.5px;   /* tweak to center horizontally */
    width: 20px; /* matches your SVG width */
    height: 16px;/* matches your SVG height */
    display: none;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml;utf8,\
  <svg width='25' height='20' viewBox='0 0 25 20' fill='none' xmlns='http://www.w3.org/2000/svg'>\
  <path d='M0.999971 11L8.50006 18.5L23.3824 1.5' stroke='black' stroke-width='2'/>\
  </svg>");
  }
  
  /* show it when checked */
  .have-maker-radios input[type="radio"]:checked::after {
    display: block;
  }
  
  
  
  
  
  
  
  
  
  .length-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.length-option {
  cursor: pointer;
  user-select: none;
}

.length-option input {
  display: none;
}

.length-label {
  display: block;
  padding: 0.75rem 1.5rem;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}

.length-option input:checked + .length-label {
  border-color: #007cba;
  background: rgba(0, 124, 186, 0.1);
}

.config-tooltip-container{
  width: 100%;
  display:flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  margin: 0.8rem 0 0.8rem 0;
}