{"id":393,"date":"2026-07-12T15:14:58","date_gmt":"2026-07-12T15:14:58","guid":{"rendered":"https:\/\/ghealth.sa\/forgot-password\/"},"modified":"2026-07-12T15:14:58","modified_gmt":"2026-07-12T15:14:58","slug":"forgot-password","status":"publish","type":"page","link":"https:\/\/ghealth.sa\/en\/forgot-password\/","title":{"rendered":"Forgot Password"},"content":{"rendered":"<div class=\"gh-auth-wrap\" style=\"max-width:1000px;margin:0 auto;font-family:'Cairo',sans-serif;\">\n      <div style=\"display:flex;background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 12px 48px rgba(10,37,64,0.10);flex-wrap:wrap;\">\n        <div style=\"flex:1 1 340px;background:linear-gradient(135deg,#2ED9C3,#395EAA);padding:56px 40px;color:#fff;\">\n          <h2 style=\"font-size:30px;font-weight:700;margin:0 0 16px;line-height:1.3;\">Forgot your password?<\/h2>\n          <p style=\"font-size:15px;opacity:0.9;line-height:1.8;\">Don't worry \u2014 enter your email and we'll send you a secure link to reset your password and regain access to your account.<\/p>\n          <div style=\"margin-top:40px;padding-top:24px;border-top:1px solid rgba(255,255,255,0.2);font-size:13px;opacity:0.85;line-height:1.9;\">\ud83d\udd12 The link is valid for a limited time and single use to keep your account secure.<\/div>\n        <\/div>\n        <div style=\"flex:1 1 420px;padding:48px 44px;\">\n          <h1 style=\"font-size:28px;font-weight:700;color:#0A2540;margin:0 0 6px;text-align:right;\">Password Recovery<\/h1>\n          <p style=\"color:#5E7A92;font-size:14px;margin:0 0 28px;text-align:right;\">Enter the email you registered with us.<\/p>\n          <div id=\"gh-fp-msg\" style=\"display:none;padding:12px 16px;border-radius:10px;margin-bottom:16px;font-size:13px;text-align:right;\"><\/div>\n          <div style=\"margin-bottom:20px;\"><label style=\"display:block;text-align:right;font-size:13px;color:#0A2540;font-weight:600;margin-bottom:6px;\">Email Address<\/label><input type=\"email\" id=\"gh-fp-email\" placeholder=\"you@example.com\" class=\"gh-input\"><\/div>\n          <button type=\"button\" id=\"gh-fp-btn\" onclick=\"ghForgot()\" style=\"width:100%;padding:16px;background:linear-gradient(135deg,#2ED9C3,#395EAA);color:#fff;border:none;border-radius:12px;font-family:inherit;font-weight:700;font-size:16px;cursor:pointer;\">Send Recovery Link<\/button>\n          <p style=\"text-align:center;color:#5E7A92;font-size:13px;margin-top:24px;\"><a href=\"\/en\/login\/\" style=\"color:#0FB5AE;font-weight:700;\">\u2190 Back to login<\/a><\/p>\n        <\/div>\n      <\/div>\n    <\/div>\n    <style>.gh-auth-wrap .gh-input{width:100%;padding:14px 16px;border:1px solid rgba(10,37,64,0.12);border-radius:10px;font-family:'Cairo',sans-serif;font-size:14px;text-align:right;background:#F8FBFE;box-sizing:border-box;}.gh-auth-wrap .gh-input:focus{outline:none;border-color:#0FB5AE;background:#fff;}<\/style>    <script>\n    function ghForgot(){\n      var msg=document.getElementById('gh-fp-msg'), btn=document.getElementById('gh-fp-btn');\n      var email=document.getElementById('gh-fp-email').value.trim();\n      function show(t,ok){ msg.style.display='block'; msg.textContent=t; msg.style.background=ok?'rgba(16,185,129,0.1)':'rgba(239,68,68,0.1)'; msg.style.color=ok?'#059669':'#DC2626'; }\n      if(!email) return show('\u0623\u062f\u062e\u0644 \u0628\u0631\u064a\u062f\u0643 \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a.',false);\n      btn.disabled=true; btn.style.opacity='0.7'; btn.textContent='\u062c\u0627\u0631\u064d \u0627\u0644\u0625\u0631\u0633\u0627\u0644...';\n      var data=new URLSearchParams(); data.append('action','gh_forgot_password'); data.append('login',email);\n      fetch('https:\/\/ghealth.sa\/wp-admin\/admin-ajax.php',{method:'POST',headers:{'Content-Type':'application\/x-www-form-urlencoded'},body:data.toString()})\n        .then(function(r){return r.json();}).then(function(res){ btn.disabled=false; btn.style.opacity='1'; btn.textContent='\u0625\u0631\u0633\u0627\u0644 \u0631\u0627\u0628\u0637 \u0627\u0644\u0627\u0633\u062a\u0639\u0627\u062f\u0629'; show(res.data.msg,!!res.success); })\n        .catch(function(){ btn.disabled=false; btn.style.opacity='1'; btn.textContent='\u0625\u0631\u0633\u0627\u0644 \u0631\u0627\u0628\u0637 \u0627\u0644\u0627\u0633\u062a\u0639\u0627\u062f\u0629'; show('\u062d\u062f\u062b \u062e\u0637\u0623\u060c \u062d\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062e\u0631\u0649.',false); });\n    }\n    document.getElementById('gh-fp-email').addEventListener('keypress',function(e){if(e.key==='Enter')ghForgot();});\n    <\/script>","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_elementor_version":"","_elementor_css":"","footnotes":""},"class_list":["post-393","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/ghealth.sa\/en\/wp-json\/wp\/v2\/pages\/393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ghealth.sa\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ghealth.sa\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ghealth.sa\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ghealth.sa\/en\/wp-json\/wp\/v2\/comments?post=393"}],"version-history":[{"count":0,"href":"https:\/\/ghealth.sa\/en\/wp-json\/wp\/v2\/pages\/393\/revisions"}],"wp:attachment":[{"href":"https:\/\/ghealth.sa\/en\/wp-json\/wp\/v2\/media?parent=393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}