diff --git a/index.html b/index.html
index 6279338..d3f961e 100644
--- a/index.html
+++ b/index.html
@@ -5904,7 +5904,7 @@
document.getElementById('adminTab').addEventListener('click', () => switchTab('admin'));
// Admin overlay close button
- const adminCloseBtn = document.querySelector('.admin-panel-overlay .close-btn');
+ const adminCloseBtn = document.getElementById('adminCloseBtn');
if (adminCloseBtn) {
adminCloseBtn.addEventListener('click', () => {
const adminOverlay = document.querySelector('.admin-panel-overlay');