:root { --gold: #bfa062; --dark: #333; --black: #000; --white: #fff; } body { font-family: "Tahoma", sans-serif; margin: 0; background: #f9f9f9; } .dashboard-sidebar { margin: 20px 0px; width: 100%; background: #fff; border: 1px solid #ddd; } .dashboard-sidebar .dashboard-menu { list-style: none; margin: 0; padding: 0; } .dashboard-sidebar .dashboard-menu li a { text-decoration: none; display: block; color: var(--primary) !important; padding: 14px 18px; cursor: pointer; position: relative; transition: background 0.3s ease; } .dashboard-sidebar .dashboard-menu li a:not(:nth-child(1)) { border-top: 1px #ddd solid; } .dashboard-sidebar .dashboard-menu li a.active, .dashboard-sidebar .dashboard-menu li a:hover { background-color: var(--primary); color: var(--white) !important; } const currentPath = window.location.pathname; document.querySelectorAll('.dashboard-menu li a').forEach(link => { if (currentPath.startsWith(link.getAttribute('href'))) { link.parentElement.classList.add('active'); } });
.change-password-page { margin: 20px 0px; padding: 5% auto; width: 60%; } .change-password-page .form-link { width: fit-content !important; white-space: nowrap; } .change-password-page .form-inputs { border: solid 1px #dadada; padding: 30px 30px; } .change-password-page .collapse-btn { margin: 30px auto; } .change-password-page #recaptchaRegister { margin-top: 20px; } @media(max-width:640px) { .change-password-page { width: 100%; } }
document.addEventListener("DOMContentLoaded", function () { const params = new URLSearchParams(window.location.search); const message = params.get("message"); const errorsBox = document.getElementById("FormErrors"); if (message) { errorsBox.innerHTML = message; errorsBox.classList.remove("d-none"); } else { errorsBox.classList.add("d-none"); } });