Surveyjunkie.com Forgot Password ⚡ Full Version
/* header with brand */ .brand-header padding: 2rem 2rem 0.75rem 2rem; text-align: center; border-bottom: 1px solid #f0f2f5;
// main submit handler async function handleResetPassword() clearMessages(); const emailValue = emailInput.value.trim();
/* buttons */ .reset-btn width: 100%; background: #FFB800; border: none; padding: 0.9rem; font-weight: 700; font-size: 1rem; font-family: 'Inter', sans-serif; border-radius: 2rem; color: #1f2a3e; cursor: pointer; transition: 0.2s; margin-top: 0.5rem; margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.05);
/* input group style — modern, clean */ .input-group margin-bottom: 1.5rem; surveyjunkie.com forgot password
<div class="back-link"> <a href="#" id="backToLoginBtn"> ← Back to sign in </a> </div>
<div class="form-container"> <div class="title-section"> <h1>Forgot password?</h1> <p>No worries — we’ll send you a secure reset link to your email. Enter the address associated with your SurveyJunkie account.</p> </div>
<button class="reset-btn" id="sendResetBtn"> <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"> <path stroke-linecap="round" stroke-linejoin="round" d="M15 15l6-6m0 0l-6-6m6 6H9a6 6 0 000 12h3" /> </svg> Send reset link </button> /* header with brand */
input width: 100%; padding: 0.9rem 1rem 0.9rem 2.8rem; font-size: 1rem; font-family: 'Inter', monospace; border: 1.5px solid #e2e8f0; border-radius: 1.25rem; background-color: #ffffff; transition: all 0.2s; outline: none; color: #111827; font-weight: 500;
if (!isValidEmail(emailValue)) showMessage('error', 'Enter a valid email address (e.g., name@example.com).'); emailInput.focus(); return;
/* alert / feedback messages */ .message-box margin-top: 1.2rem; padding: 0.9rem 1rem; border-radius: 1.2rem; font-size: 0.85rem; font-weight: 500; display: flex; align-items: center; gap: 10px; background-color: #f8fafc; border-left: 4px solid transparent; transition: all 0.2s; border-bottom: 1px solid #f0f2f5
.reset-btn:hover background: #e5a700; transform: scale(0.98); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
/* main content area */ .form-container padding: 2rem 2rem 2rem 2rem;
