Harshit Ghosh
feat: implement complete password recovery flow with OTP verification and transactional email templates.
9fc36aa | /* ============================================================ | |
| PASSWORD RESET EMAIL β COMPONENT STYLES | |
| Styles specific to the password-reset email template. | |
| Included via Jinja2: {% include 'email/css/_reset.css' %} | |
| ============================================================ */ | |
| /* ββ CTA Button ββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .cta-wrap { | |
| text-align: center; | |
| margin: 4px 0 28px; | |
| } | |
| .cta-button { | |
| display: inline-block; | |
| background: linear-gradient(135deg, #0078d4, #005fa3); | |
| color: #ffffff ; | |
| font-size: 15px; | |
| font-weight: 700; | |
| padding: 15px 40px; | |
| border-radius: 10px; | |
| letter-spacing: 0.3px; | |
| text-decoration: none; | |
| box-shadow: 0 4px 16px rgba(0, 120, 212, 0.3); | |
| } | |
| /* ββ Fallback Link βββββββββββββββββββββββββββββββββββββββββ */ | |
| .cta-fallback { | |
| font-size: 12px; | |
| color: #a0aec0; | |
| margin-top: 14px; | |
| line-height: 1.7; | |
| word-break: break-all; | |
| } | |
| .cta-fallback a { | |
| color: #0078d4; | |
| text-decoration: underline; | |
| } | |
| /* ββ Warning Box βββββββββββββββββββββββββββββββββββββββββββ */ | |
| .warning-box { | |
| background: #fff5f5; | |
| border-left: 4px solid #e53e3e; | |
| border-radius: 0 8px 8px 0; | |
| padding: 14px 16px; | |
| margin-bottom: 24px; | |
| font-size: 13px; | |
| color: #742a2a; | |
| line-height: 1.6; | |
| } | |
| /* ββ Expiry Note βββββββββββββββββββββββββββββββββββββββββββ */ | |
| .expiry-note { | |
| text-align: center; | |
| font-size: 12px; | |
| color: #718096; | |
| margin-bottom: 24px; | |
| } | |
| .expiry-note strong { | |
| color: #e53e3e; | |
| } | |
| /* ββ DARK THEME (reset-specific overrides) βββββββββββββββββ */ | |
| @media (prefers-color-scheme: dark) { | |
| .cta-button { | |
| background: linear-gradient(135deg, #0091ea, #0078d4) ; | |
| box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25) ; | |
| } | |
| .cta-fallback { color: #4a5568 ; } | |
| .cta-fallback a { color: #00d4ff ; } | |
| .warning-box { | |
| background: rgba(229, 62, 62, 0.1) ; | |
| border-left-color: #fc8181 ; | |
| color: #feb2b2 ; | |
| } | |
| .expiry-note { color: #4a5568 ; } | |
| .expiry-note strong { color: #fc8181 ; } | |
| } | |
| /* ββ RESPONSIVE (reset-specific) ββββββββββββββββββββββββββ */ | |
| @media only screen and (max-width: 560px) { | |
| .cta-button { | |
| padding: 14px 28px ; | |
| font-size: 14px ; | |
| } | |
| } | |