         </form>
            </div>
        </div>
    </div>
    <script>
  document.addEventListener("DOMContentLoaded", function () {
    const stakeAmountInput = document.getElementById("stake_amount");
    const poolTypeSelect = document.getElementById("pool_type");
    const potPreview2 = document.getElementById("pot-preview-2");
    const potPreview3 = document.getElementById("pot-preview-3");

    function updatePotPreviews() {
      const stakeAmount = parseFloat(stakeAmountInput.value) || 0;
     