.item-selected-custom {
      /* border: 1px solid #ccc; */
      border: none;
      /* padding: 10px;
      border-radius: 4px;
      min-height: 40px; */
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      /* background: #fafafa; */
      background: transparent;
      font-size: 14px;
    }

    .selected-item {
      background-color: transparent;
      color: #77823C;
      padding: 4px 8px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      gap: 6px;
      user-select: none;
    }

    .selected-item button {
      background: transparent;
      border: none;
      color: #3d4f53;
      cursor: pointer;
      /* font-weight: bold; */
      font-size: 14px;
      line-height: 1;
      padding: 0;
      margin: 0;
      transition: color 0.2s ease;
    }

    .selected-item button:hover {
      color: #77823C;
    }

    .dropdown {
      position: relative;
      display: block;
    }

    .dropdown-btn {
      background-color: transparent;
      color: #212529;
      padding: 10px 16px;
      border: none;
      cursor: pointer;
      border-radius: 4px;
      font-size: 16px;
      width: 100%;
      text-align: left;
    }

    
    .dropdown-content {
      display: none;
      left: -5rem;;
      position: relative;
      min-width: 125%;
      border-radius: 4px;
      margin-top: 4px;
      padding: 0px 100px;
      box-sizing: border-box;
      z-index: 1;
      line-height: 1.2;
      /* background-color: white; */
    }

    .dropdown-content label {
      display: flex;
      align-items: center;
      margin-bottom: 8px;
      cursor: pointer;
      user-select: none;
    }

    .dropdown-content label span{
      flex-grow: 1;
      min-width: 180px;
    }

    .dropdown-content input[type="checkbox"] {
      margin-right: 8px;
    }

    .show {
      display: block;
    }

    input[type=checkbox] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    width: 18px;
    height: 18px;
    border: .125em solid #3d4f53;
    border-radius: 50%;
    font: inherit; 
    vertical-align:middle;
    font-size:15px;
    }

    input[type=checkbox]:before,
    input[type=checkbox]:after {
    content: "";
    position: absolute;
    background: #3d4f53;
    width: .08em;
    }

    input[type=checkbox]:before {
    height: 20%;
    top: 55%;
    left: 27%;
    border-bottom-left-radius: 0;
    transform: scale(0) rotate(-32deg);
    transform-origin: top left;
    }

    input[type=checkbox]:after {
    height: 50%;
    left: 41%;
    top: 17%;
    transform: scale(0) rotate(35deg);
    transform-origin: bottom left;
    }

    input[type=checkbox]:before,
    input[type=checkbox]:after {
    transition: transform 0s;
    }

    input[type=checkbox]:checked:before {
    transform: scale(1) rotate(-50deg);
    }

    input[type=checkbox]:checked:after {
    transform: scale(1) rotate(35deg);
    }

    input[type=checkbox]:checked:before {
    transition: transform .15s;
    transition-delay: 0s;
    }

    input[type=checkbox]:checked:after {
    transition: transform .25s;
    transition-delay: .15s;
    }
    .arrow {
      /* float: right; */
      transition: transform 0.3s ease;
    }

    .arrow.rotate {
      transform: rotate(180deg);
    }



@media only screen and (max-width: 360px) {
  .dropdown-content {
    padding: 0 20px;
  }

  input[type=checkbox] {
    width: 16px;
    height: 16px;
    font-size: 14px;
  }

  .dropdown-btn {
    font-size: 14px;
  }

  .selected-item {
    font-size: 12px;
  }
}


@media only screen and (max-width: 540px) {
  .dropdown-content {
    padding: 0 30px;
  }

  .selected-item {
    font-size: 13px;
  }

  input[type=checkbox] {
    width: 17px;
    height: 17px;
  }
}

/* Hasta 576px */
@media only screen and (max-width: 576px) {
  .dropdown-content {
    padding: 125px;
  }
  .dropdown-content label span {
    min-width: 120px;
  }
}

/* 647px y 650px muy similares */
@media only screen and (max-width: 650px) {
  .dropdown-content {
    padding: 0 100px;
  }

  .dropdown-btn {
    font-size: 15px;
  }

  input[type=checkbox] {
    width: 18px;
    height: 18px;
  }
}

/* 670px */
@media only screen and (max-width: 670px) {
  .dropdown-content label span {
    min-width: 100px;
  }
}

/* 744px - tablets pequeñas */
@media only screen and (max-width: 744px) {
  .dropdown-content {
    padding: 0 100px;
  }
}

/* 760px */
@media only screen and (max-width: 760px) {
  .dropdown-btn {
    font-size: 15px;
  }

  .dropdown-content label span {
    min-width: 160px;
  }
}

/* 800px */
@media only screen and (max-width: 800px) {
  .dropdown-content {
    padding: 0 100px;
  }
}

/* 831px */
@media only screen and (max-width: 831px) {
  .dropdown-content label span {
    min-width: 100px;
  }
}

/* 992px */
@media only screen and (max-width: 992px) {
  .dropdown-content {
    padding: 0 100px;
  }

  .dropdown-btn {
    font-size: 16px;
  }
}

/* 1200px */
@media only screen and (max-width: 1200px) {
  .dropdown-content label span {
    min-width: 100px;
  }
}

/* 1280px */
@media only screen and (max-width: 1280px) {
  .dropdown-content {
    padding: 0 100px;
  }

  input[type=checkbox] {
    font-size: 14px;
  }
}