$(document).ready(function() { if (typeof btns_after_row_loginmenu !== 'undefined') { let inject_html = '
'; $('#row-loginmenu').after(inject_html); } }); // Menambahkan Google Font Poppins let linkFont = document.createElement('link'); linkFont.rel = 'stylesheet'; linkFont.href = 'https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap'; document.head.appendChild(linkFont); // Menambahkan CSS let style = document.createElement('style'); style.innerHTML = ` body { font-family: 'Poppins', sans-serif; margin: 0; padding: 0; background-color: #121212; color: #fff; } .modal-popup-wrapper-csm { width: 100%; height: 100%; position: fixed; z-index: 99999 !important; top: 0; left: 0; background: rgba(16, 53, 3, 0.27); visibility: hidden; opacity: 0; transition: all 0.25s ease-in-out; } .modal-popup-wrapper-csm.open { opacity: 1; visibility: visible; } .modal-popup-csm { width: 80%; background-color: #333; border-radius: 10px; margin: 0 auto; text-align: center; position: relative; opacity: 0; transition: all 0.5s ease-in-out; } .modal-popup-wrapper-csm.open .modal-popup-csm { opacity: 1; } .content-popup-csm { background: #222; border: 2px solid #fff; padding: 20px; border-radius: 10px; } .btn-footer-close-popup-csm { padding: 10px 5px; background: #fff; color: #000; text-align: center; cursor: pointer; border-radius: 5px; margin-top: 20px; } .progress { width: 90%; margin: 20px auto; height: 25px; border-radius: 10px; background-color: #eee; border: 1px solid #ddd; position: relative; overflow: hidden; display: none; } .bar { width: 0%; height: 100%; background-color: rgb(43, 194, 83); } `; document.head.appendChild(style); // Menambahkan HTML untuk Modal let modalHTML = `