/* LUTON_PHARMAPLUS_INSPIRED_AUTH_V3 — same centered form composition, original Luton identity */
:root{--lhpa-green:#19A84A;--lhpa-red:#DE242E;--lhpa-text:#142136;--lhpa-muted:#637084;--lhpa-line:#dce2e8}
*{box-sizing:border-box}
html{min-height:100%;}
body.lhpa-page{margin:0;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:36px 18px;font-family:'Plus Jakarta Sans',Arial,sans-serif;color:var(--lhpa-text);background-color:#d4e5df;background-image:linear-gradient(rgba(8,23,20,.19),rgba(8,23,20,.27)),url('../images/auth/customer-pharmacy.webp');background-size:cover;background-position:center;background-attachment:fixed}
body.lhpa-staff{background-image:linear-gradient(rgba(8,23,20,.22),rgba(8,23,20,.29)),url('../images/auth/staff-pharmacy.webp')}
body.lhpa-signup-page{background-position:center}
.lhpa-card{width:100%;max-width:465px;background:#fff;padding:25px 33px 25px;border-radius:9px;box-shadow:0 15px 50px rgba(10,25,34,.19);border:1px solid rgba(255,255,255,.8)}
.lhpa-register-card{max-width:600px;padding:23px 35px 25px}
.lhpa-brand{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:0;margin:0 auto 21px;color:var(--lhpa-green);text-decoration:none;line-height:1.2}
.lhpa-brand img{width:190px;height:auto;max-height:75px;object-fit:contain;display:block}
.lhpa-brand span{font-weight:800;letter-spacing:.19em;font-size:10px;color:var(--lhpa-red);margin-top:-1px}
.lhpa-card h1{font-size:23px;font-weight:800;line-height:1.28;text-align:center;margin:0 0 8px;letter-spacing:-.035em;color:#172337}
.lhpa-card .lhpa-subheading{font-size:12px;line-height:1.5;color:var(--lhpa-muted);text-align:center;margin:0 0 19px}
.lhpa-portal-tag{text-align:center;color:var(--lhpa-red);font-size:10px;letter-spacing:.11em;font-weight:800;margin:-10px 0 14px}
.lhpa-mode{display:flex;justify-content:center;margin:0 0 17px}
.lhpa-mode-active{font-size:12px;line-height:1;background:#f4f6f7;border-radius:25px;border:1px solid #e8edef;color:var(--lhpa-green);font-weight:800;padding:11px 21px}
.lhpa-form label:not(.lhpa-remember):not(.lhpa-consent){font-size:12px;font-weight:700;display:block;margin:0 0 7px;color:#172337}
.lhpa-input-frame{display:flex;align-items:center;position:relative;border:1px solid var(--lhpa-line);border-radius:7px;margin:0 0 16px;min-height:44px;background:#fff;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.lhpa-input-frame:focus-within{border-color:var(--lhpa-green);box-shadow:0 0 0 3px rgba(25,168,74,.10)}
.lhpa-input-frame input{font:inherit;font-size:12px;min-width:0;width:100%;height:44px;border:0;outline:none;background:transparent;padding:10px 13px;color:#1f2937}
.lhpa-input-frame input::placeholder{color:#8995a5}
.lhpa-input-icon{display:grid;place-items:center;margin-left:12px;color:#6c7b8c;font-size:17px;width:22px;height:24px;flex-shrink:0}
.lhpa-password-frame input{padding-right:66px}
.lhpa-toggle{position:absolute;right:5px;top:4px;bottom:4px;border:0;background:transparent;color:#68788a;cursor:pointer;font-weight:700;font-size:11px;padding:0 12px}
.lhpa-options{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px;font-size:12px}
.lhpa-remember{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;color:#526174;cursor:pointer}
.lhpa-options input,.lhpa-consent input{accent-color:var(--lhpa-green);width:15px;height:15px}
.lhpa-options a,.lhpa-consent a,.lhpa-bottom-link a,.lhpa-credit a{color:#0a9e42;text-decoration:none;font-weight:700}
.lhpa-options a:hover,.lhpa-bottom-link a:hover,.lhpa-credit a:hover{text-decoration:underline}
.lhpa-submit{display:block;width:100%;border:0;border-radius:7px;background:var(--lhpa-green);color:#fff;min-height:45px;font:inherit;font-size:13px;font-weight:800;cursor:pointer;transition:filter .2s}
.lhpa-submit:hover{filter:brightness(.91)}
.lhpa-staff .lhpa-submit{background:var(--lhpa-red)}
.lhpa-bottom-link{text-align:center;margin:18px 0 4px;color:#7a8798;font-size:12px}
.lhpa-home-link{display:block;text-align:center;margin:15px auto 0;font-size:11px;color:#4d6657;font-weight:700;text-decoration:none}
.lhpa-credit{font-size:10px;color:#929da8;margin:14px auto 0;text-align:center}
.lhpa-alert{border-radius:6px;padding:9px 11px;margin:8px 0 14px;font-size:11px;line-height:1.5}
.lhpa-success{color:#116534;background:#ecfaf1;border:1px solid #c4ebd0}
.lhpa-error{color:#a21d29;background:#fff0f1;border:1px solid #ffc3ca}
.lhpa-field-error{color:#b22b35;font-size:11px;margin:-11px 0 10px}
.lhpa-required{color:var(--lhpa-red)}
.lhpa-two-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.lhpa-consent{display:flex;align-items:center;gap:8px;margin:0 0 18px;color:#586575;font-size:11px;line-height:1.4;cursor:pointer}
.lhpa-consent a{display:inline}
.lhpa-register-card .lhpa-brand{margin-bottom:16px}
.lhpa-register-card .lhpa-subheading{margin-bottom:17px}
.lhpa-register-card .lhpa-input-frame{margin-bottom:14px}
@media(min-width:1200px){body.lhpa-page{background-position:center 42%}}
@media(max-width:630px){body.lhpa-page{background-attachment:scroll;padding:24px 12px;align-items:center}.lhpa-card,.lhpa-register-card{max-width:500px;padding:23px 21px 23px}.lhpa-card h1{font-size:21px}.lhpa-brand img{width:176px}.lhpa-two-cols{gap:10px}}
@media(max-width:380px){.lhpa-two-cols{grid-template-columns:1fr;gap:0}.lhpa-options{font-size:11px}.lhpa-card{padding:21px 17px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

/* LUTON_PHONE_AUTH_V4 */
.lhpa-method-switch{
 display:flex;
 width:max-content;
 background:#f2f4f6;
 border-radius:30px;
 padding:4px;
 gap:3px;
 margin:0 auto 18px;
}
.lhpa-method-switch button{
 border:0;
 background:none;
 padding:9px 20px;
 border-radius:26px;
 color:#697889;
 cursor:pointer;
 font:inherit;
 font-size:12px;
}
.lhpa-method-switch button.active{
 background:#fff;
 color:#19A84A;
 box-shadow:0 1px 5px #ddd;
 font-weight:800;
}
.lhpa-phone-row{
 display:grid;
 grid-template-columns:110px minmax(0,1fr);
 gap:8px;
}
.lhpa-phone-row .lhpa-input-frame{
 margin-bottom:0;
}
.lhpa-prefix{
 display:flex;
 align-items:center;
 justify-content:center;
 border:1px solid #dce2e8;
 border-radius:7px;
 height:46px;
 font-size:11px;
 font-weight:700;
}
.lhpa-hint{
 font-size:10px;
 color:#718095;
 margin:5px 0 15px;
}
#phone-box[hidden],#email-box[hidden]{
 display:none!important;
}