/* NeXgen Checkout Guard – mobile login page styles for stores that use another theme (the NeXgen theme includes these). */
.nx-otp-login{display:flex;justify-content:center;padding-top:36px;padding-bottom:56px}
.nx-otp-card{width:100%;max-width:440px;padding:28px 26px;border:1px solid #e3e8ed;border-radius:16px;background:#fff;box-shadow:0 18px 40px rgba(20,43,67,.08)}
.nx-otp-brand{display:flex;gap:14px;align-items:center;margin-bottom:22px}
.nx-otp-brand>span{flex:0 0 48px;width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#fff1ef;color:var(--nx-accent,#e4594f);font-size:20px}
.nx-otp-brand h1{margin:0;font-size:21px;color:var(--nx-text,#18304b)}.nx-otp-brand p{margin:2px 0 0;color:#6b7a89;font-size:13px}
.nx-otp-step{display:none}.nx-otp-step.is-active{display:block;animation:nxOtpIn .25s ease}
@keyframes nxOtpIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.nx-otp-step label{display:block;margin:12px 0 6px;color:var(--nx-text,#18304b);font-size:13px;font-weight:600}
.nx-otp-step input[type=text],.nx-otp-step input[type=tel],.nx-otp-step select{width:100%;height:50px;padding:0 14px;border:1px solid #cfd8e0;border-radius:10px;font-size:16px;background:#fff}
.nx-otp-step input:focus,.nx-otp-step select:focus{outline:0;border-color:var(--nx-text,#18304b);box-shadow:0 0 0 3px rgba(24,48,75,.08)}
.nx-otp-phone{display:flex;align-items:stretch}.nx-otp-phone span{display:grid;place-items:center;padding:0 14px;border:1px solid #cfd8e0;border-right:0;border-radius:10px 0 0 10px;background:#f6f8fa;color:#40556b;font-weight:600}
.nx-otp-phone input{border-radius:0 10px 10px 0!important}
.nx-otp-code{text-align:center;letter-spacing:.5em;font-size:24px!important;font-weight:700}
.nx-otp-btn{position:relative;width:100%;height:52px;margin-top:16px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;background:var(--nx-accent,#e4594f);color:#fff;font-size:15.5px;font-weight:700;box-shadow:0 10px 22px rgba(228,89,79,.25);transition:transform .12s,opacity .2s}
.nx-otp-btn:active{transform:scale(.98)}.nx-otp-btn.is-busy{opacity:.7;pointer-events:none}
.nx-otp-error{min-height:18px;margin:8px 0 0;color:#b4232a;font-size:13px}
.nx-otp-sent{margin:0 0 4px;color:#237a53;font-size:13.5px;font-weight:600}
.nx-otp-test{margin:8px 0 0;padding:8px 10px;border-radius:8px;background:#fff7e6;color:#8a5a00;font-size:13px}
.nx-otp-foot{display:flex;justify-content:space-between;margin-top:12px}
.nx-otp-link{padding:0;border:0;background:none;color:#40617f;font-size:13px;font-weight:600}.nx-otp-link:disabled{color:#aab5c0}
.nx-otp-perks{margin:18px 0 0;padding:14px 0 0;border-top:1px solid #eef1f4;list-style:none;display:grid;gap:8px;color:#52667a;font-size:13px}
.nx-otp-perks i{width:18px;color:var(--nx-accent,#e4594f)}
.nx-otp-welcome{padding:10px 12px;border-radius:10px;background:#eef8f2;color:#237a53;font-size:13.5px;font-weight:600}
.nx-otp-more{margin-top:12px}.nx-otp-more summary{cursor:pointer;color:#40617f;font-size:13px;font-weight:600}
.nx-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.nx-field-hint,.nx-otp-hint{display:block;margin-top:4px;font-size:12px;color:#6b7280;line-height:1.35}
.nx-field-hint .fa-whatsapp,.nx-otp-hint .fa-whatsapp{color:#25d366}
.nx-otp-alt{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin:10px 0 0;padding:9px 12px;border:1px dashed #25d366;border-radius:10px;background:#f0fdf4;color:#15803d;font-size:14px;font-weight:600;cursor:pointer}
.nx-otp-alt[hidden]{display:none}
.nx-otp-alt .fa-comment-sms{color:#2563eb}
.nx-otp-alt:has(.fa-comment-sms){border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}
.nx-otp-phone span .fa-whatsapp{color:#25d366;font-size:18px}
.nx-otp-paste{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin:10px 0 0;padding:9px 12px;border:1px solid #d1d5db;border-radius:10px;background:#fff;color:#374151;font-size:14px;font-weight:600;cursor:pointer}
.nx-otp-paste[hidden]{display:none}
@keyframes nxOptionPrompt{0%{transform:translateY(-4px);opacity:.4}100%{transform:none;opacity:1}}
/* 4.11 – one box for page and pop-up, sign-up offer, "done" step, toast (follows the NeXgen theme colour) */
.nx-otp-card{--nxl:var(--nx-primary,var(--nx-accent,#e4594f));font-family:inherit}
.nx-otp-brand h2{margin:0;font-size:20px;font-weight:700;line-height:1.25;color:var(--nx-text,#18304b)}
.nx-otp-brand>span{background:color-mix(in srgb,var(--nxl) 12%,#fff);color:var(--nxl)}
.nx-otp-btn{background:var(--nxl);box-shadow:0 10px 22px color-mix(in srgb,var(--nxl) 28%,transparent)}
.nx-otp-perks{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 10px;padding-top:12px;font-size:12px}
.nx-otp-perks li{display:inline-flex;align-items:center;gap:4px}.nx-otp-perks i{width:auto;color:var(--nxl)}
.nx-otp-legal{margin:10px 0 0;color:#8391a0;font-size:11.5px;text-align:center}
.nx-otp-offer{display:flex;align-items:center;gap:12px;margin:-4px 0 18px;padding:12px 14px;border-radius:12px;background:linear-gradient(110deg,color-mix(in srgb,var(--nxl) 14%,#fff),color-mix(in srgb,#ffb020 18%,#fff));color:var(--nx-text,#18304b)}
.nx-otp-offer>i{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--nxl);font-size:17px;box-shadow:0 4px 10px rgba(0,0,0,.06);animation:nxGift 2.4s ease-in-out infinite}
@keyframes nxGift{0%,100%{transform:rotate(0)}8%{transform:rotate(-12deg)}16%{transform:rotate(10deg)}24%{transform:rotate(0)}}
.nx-otp-offer b{display:block;font-size:14.5px;line-height:1.3}.nx-otp-offer small{display:block;color:#5d6f82;font-size:12px;line-height:1.35}
.nx-otp-done{text-align:center;padding:10px 0 6px}
.nx-otp-done-icon{display:inline-grid;place-items:center;width:64px;height:64px;margin:4px 0 12px;border-radius:50%;background:var(--nx-green,#2d9665);color:#fff;font-size:26px;box-shadow:0 0 0 8px color-mix(in srgb,var(--nx-green,#2d9665) 15%,transparent);animation:nxDone .45s cubic-bezier(.2,1.4,.4,1)}
@keyframes nxDone{from{transform:scale(.4);opacity:0}to{transform:none;opacity:1}}
.nx-otp-done h3{margin:0 0 4px;font-size:20px;font-weight:700;color:var(--nx-text,#18304b)}.nx-otp-done p{margin:0;color:#6b7a89;font-size:13.5px}
.nx-otp-done-offer{margin-top:14px;padding:10px 12px;border:1px dashed color-mix(in srgb,var(--nxl) 45%,#fff);border-radius:10px;background:color-mix(in srgb,var(--nxl) 6%,#fff);font-size:13px;color:var(--nx-text,#18304b)}
.nx-otp-done-offer[hidden]{display:none}.nx-otp-done-offer i{color:var(--nxl)}
/* pop-up */
.nx-login-modal{position:fixed;inset:0;z-index:2050;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(12,22,33,.55);opacity:0;transition:opacity .2s}
.nx-login-modal.is-open{opacity:1}.nx-login-modal[hidden]{display:none}
.nx-login-modal-box{position:relative;width:100%;max-width:420px;transform:translateY(12px);transition:transform .25s ease}
.nx-login-modal.is-open .nx-login-modal-box{transform:none}
.nx-login-modal .nx-otp-card{max-width:none;padding:24px 22px 20px;border:0;box-shadow:0 24px 60px rgba(0,0,0,.25)}
.nx-login-modal-close{position:absolute;right:10px;top:10px;z-index:2;width:34px;height:34px;border:0;border-radius:50%;background:#f1f4f7;color:#40556b;font-size:15px}
.nx-login-modal .nx-otp-offer{margin-right:30px}
body.nx-login-open{overflow:hidden}
@media (max-width:575px){
.nx-login-modal{align-items:flex-end;padding:0}
.nx-login-modal-box{max-width:none;transform:translateY(40px)}
.nx-login-modal .nx-otp-card{border-radius:18px 18px 0 0;padding:22px 18px calc(18px + env(safe-area-inset-bottom))}
}
.nx-login-toast{position:fixed;left:50%;bottom:84px;z-index:2100;display:flex;align-items:center;gap:8px;padding:11px 16px;border-radius:12px;background:#17293b;color:#fff;font-size:14px;box-shadow:0 12px 30px rgba(0,0,0,.25);transform:translate(-50%,20px);opacity:0;transition:.3s}
.nx-login-toast.is-in{transform:translate(-50%,0);opacity:1}.nx-login-toast i{color:#4ade80}
.nx-otp-card:has([data-step="done"].is-active) .nx-otp-offer,.nx-otp-card:has([data-step="done"].is-active) .nx-otp-brand{display:none}
