.check-contain {
  position: relative;
}
.check-contain svg {
  position: absolute;
  right: 10px;
  top: 4px;
  pointer-events: none;
}
.check-contain label {
  display: flex;
}
.check-contain label a {
  color: #474747;
  text-decoration: underline;
}
.check-contain span.ingredient {
  text-align: right;
  margin-right: 6px;
}
.portion-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d3d3d3;
  border-radius: 10px;
  width: 250px;
  height: 50px;
  background-color: #ffffff;
  position: relative;
}

.portion-selector button {
  width: 50px;
  height: 100%;
  border: none;
  background-color: transparent;
  font-size: 20px;
  cursor: pointer;
  color: #00695c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portion-selector button:hover {
  background-color: #e0f2f1;
  border: transparent;
}

.portion-dropdown {
  position: relative;
  flex-grow: 1;
  text-align: center;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  padding: 0 10px;
}

.portion-dropdown span {
  display: inline-block;
  width: 100%;
  font-size: 18px;
  padding: 15px 0;
}

#portion-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 1000;
}

#portion-list li {
  padding: 10px 20px;
  cursor: pointer;
  text-align: left;
}

#portion-list li:hover {
  background-color: #f0f0f0;
}

#portion-list li.selected {
  background-color: #e0f2f1;
  font-weight: bold;
}

/*.hidden {*/
/*  display: none;*/
/*}*/

.ingredients-list input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 24px;
  height: 24px;
  border: 1px solid #ccc;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  margin-right: 8px;
  display: inline;
  min-width: 24px;
  min-height: 24px;
}

.ingredients-list input[type="checkbox"]:checked {
  background-color: #4caf50; /* Change this color as desired */
}

.ingredients-list input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-color: #005151; /* Inner circle color */
  border-radius: 50%;
}

.ingredients-list {
  list-style-type: none;
  padding: 0;
}

.ingredients-list li {
  margin: 0px 0px 30px 0px;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.ingredient-checkbox {
  margin-right: 10px;
}
ul.ingredients-list label {
  margin-bottom: 0px;
}
.ingredient {
  font-weight: bold;
}
.portion-no {
  padding: 0px 5px;
}
.portion-selector {
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #979797;
  border-radius: 6px;
  overflow: hidden;
  height: 50px;
  background-color: #ffffff;
}
.portion-selector button#decrease-portion {
  width: 54px;
  min-width: 54px;
  border-radius: 0px;
  border-right: 1px solid #979797;
  color: #005151;
}
.portion-selector button#increase-portion {
  width: 54px;
  min-width: 54px;
  border-radius: 0px;
  border-left: 1px solid #979797;
  color: #005151;
}
.portion-selector button#increase-portion:active {
  width: 54px;
  min-width: 54px;
  border-radius: 0px;
  border-left: 1px solid #979797;
  color: #fff !important;
}
.portion-selector button:focus {
  background: white;
  border-left: 0px;
  border-top: 0px;
  border-bottom: 0px;
  border-right: 0px;
}
/* .portion-selector button {
  width: 60px;
  height: 100%;
  border: none;
  background-color: #f9f9f9;
  font-size: 20px;
  cursor: pointer;
  color: #00695c;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.portion-selector button:hover {
  background-color: transparent;
  border: 0px;
  color: #005151;
}
.portion-selector button:active {
  background-color: transparent;
  border: 0px;
  color: #005151;
}
.portion-selector button:focus {
  background-color: transparent;
  border: 0px;
  color: #005151;
} */

.portion-selector span {
  flex-grow: 1;
  text-align: center;
  font-size: 20px;
  color: #333333;
  font-weight: 500;
}
span#portions {
  padding: 0px 5px;
}
button#increase-portion {
  margin-left: 15px;
}
button#decrease-portion {
  margin-right: 10px;
}
input.ingredient-checkbox:checked + label {
  opacity: 0.5;
}
