.milk-grid input[type="checkbox"] {
  position: relative;
  width: 24px;
  height: 24px;
  appearance: none;
  background-color: var(--input-bg);
  border: 2px solid var(--input-border);
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.milk-grid input[type="checkbox"]:checked {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  transform: scale(1.3);
  box-shadow: 0 0 10px var(--primary-color);
}

.milk-grid input[type="checkbox"]:hover {
  background-color: var(--input-hover-bg);
  transform: scale(1.1);
  box-shadow: 0 0 6px var(--input-hover-bg);
}

.milk-grid input[type="checkbox"]:checked::after {
  content: '\u2713'; /* Checkmark */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.2);
  color: white;
  font-size: 16px;
  font-weight: bold;
  animation: pop 0.3s ease-in-out;
}

@keyframes pop {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}
