/* NEYVERO Buy Now account modal — premium, responsive, keyboard-friendly */
.buy-auth-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:18px;overflow-y:auto;background:rgba(17,31,53,.52);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);animation:buyAuthOverlayIn .22s ease both}
.buy-auth-overlay[hidden]{display:none!important}
.buy-auth-dialog{position:relative;width:min(100%,430px);max-height:min(92dvh,850px);overflow:auto;padding:28px 28px 20px;border:1px solid rgba(255,255,255,.92);border-radius:27px;background:radial-gradient(circle at 100% 0%,rgba(249,218,232,.72),transparent 34%),linear-gradient(155deg,#fff 0%,#fffafd 57%,#fff1f6 100%);box-shadow:0 30px 90px rgba(5,22,47,.28),inset 0 1px 0 #fff;color:#0f3569;outline:none;animation:buyAuthDialogIn .32s cubic-bezier(.2,.8,.2,1) both}
.buy-auth-close{position:absolute;top:14px;right:14px;width:35px;height:35px;display:grid;place-items:center;border:1px solid #eee0e7;border-radius:50%;background:rgba(255,255,255,.92);color:#65758b;cursor:pointer;transition:transform .18s ease,background .18s ease,color .18s ease}
.buy-auth-close:hover{background:#fff0f5;color:#a82f59;transform:rotate(5deg)}
.buy-auth-close:focus-visible,.buy-auth-switch button:focus-visible,.buy-auth-password-toggle:focus-visible{outline:3px solid rgba(168,47,89,.24);outline-offset:2px}
.buy-auth-close svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.buy-auth-brand{display:flex;align-items:center;justify-content:center;margin:0 auto 10px}
.buy-auth-logo{display:block;width:min(190px,57%);height:auto;max-height:39px;object-fit:contain}
.buy-auth-secure{display:flex;align-items:center;justify-content:center;gap:7px;margin-bottom:10px;color:#a82f59;font-size:9px;letter-spacing:.2em;font-weight:800}
.buy-auth-secure-dot{width:6px;height:6px;border-radius:50%;background:#bd4771;box-shadow:0 0 0 3px #f9e5ee}
.buy-auth-view[hidden]{display:none!important}
.buy-auth-view h2{margin:0;text-align:center;color:#0f3569;font-size:clamp(23px,5vw,29px);line-height:1.12;font-weight:850;letter-spacing:-.045em}
.buy-auth-description{max-width:325px;margin:9px auto 20px;text-align:center;color:#718096;font-size:12px;line-height:1.55}
.buy-auth-form{display:grid;gap:10px}
.buy-auth-field{position:relative;min-height:61px;display:flex;align-items:center;gap:12px;width:100%;padding:10px 42px 10px 12px;border:1px solid #eadfe6;border-radius:15px;background:rgba(255,255,255,.89);box-shadow:0 4px 12px rgba(18,44,78,.035);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.buy-auth-field:focus-within{border-color:#cf86a2;box-shadow:0 0 0 3px rgba(168,47,89,.075),0 5px 16px rgba(18,44,78,.035)}
.buy-auth-field-icon{flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;border:1px solid #f0e2e9;border-radius:12px;background:linear-gradient(145deg,#fff,#fff2f7);color:#a82f59}
.buy-auth-field-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.buy-auth-field-content{display:block;min-width:0;flex:1}
.buy-auth-label{display:block;margin-bottom:4px;color:#24436d;font-size:10px;line-height:1.1;font-weight:800;letter-spacing:.015em}
.buy-auth-field input{display:block;width:100%;min-width:0;padding:0;border:0;outline:0;background:transparent;color:#0f3569;font:500 13px/1.35 Inter,ui-sans-serif,system-ui,sans-serif}
.buy-auth-field input::placeholder{color:#9aa5b5;opacity:1}
.buy-auth-password-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:28px;height:28px;display:grid;place-items:center;padding:4px;border:0;border-radius:8px;background:transparent;color:#8794a7;cursor:pointer}
.buy-auth-password-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.buy-auth-password-toggle.is-visible{color:#a82f59;background:#fff1f6}
.buy-auth-submit{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;margin-top:3px;padding:0 18px;border:1px solid rgba(127,35,70,.18);border-radius:15px;background:linear-gradient(180deg,#bd4d77 0%,#a82f59 100%);box-shadow:0 8px 18px rgba(168,47,89,.2),inset 0 1px 0 rgba(255,255,255,.22);color:#fff;font-size:14px;font-weight:800;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.buy-auth-submit svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}
.buy-auth-submit:hover{filter:brightness(1.04);box-shadow:0 11px 23px rgba(168,47,89,.26),inset 0 1px 0 rgba(255,255,255,.23)}
.buy-auth-submit:hover svg{transform:translateX(3px)}
.buy-auth-submit:active{transform:scale(.99)}
.buy-auth-submit:focus-visible{outline:3px solid rgba(168,47,89,.25);outline-offset:3px}
.buy-auth-submit:disabled{opacity:.7;cursor:wait;filter:saturate(.7);transform:none}
.buy-auth-terms{margin:13px 0 0;text-align:center;color:#8a95a5;font-size:9px;line-height:1.6}
.buy-auth-terms a{color:#a82f59;text-decoration:underline;text-underline-offset:2px}
.buy-auth-switch{margin:14px 0 0;text-align:center;color:#76859a;font-size:11px;line-height:1.5}
.buy-auth-switch button{padding:0;border:0;background:transparent;color:#a82f59;font:inherit;font-weight:800;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.buy-auth-notice{margin:13px 0 0;padding:11px 12px;border:1px solid #ebceda;border-radius:12px;background:#fff5f8;color:#8d3154;font-size:11px;line-height:1.5;text-align:center;overflow-wrap:anywhere}
.buy-auth-notice[hidden]{display:none!important}
.buy-auth-notice[data-kind="success"]{border-color:#c8e7d4;background:#f1fbf4;color:#236641}
.buy-auth-notice[data-kind="info"]{border-color:#cbdcf3;background:#f3f8ff;color:#28537f}
.buy-auth-foot{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:18px;padding-top:14px;border-top:1px solid rgba(222,207,217,.7);color:#8995a5;font-size:9px;line-height:1.4;text-align:center}
.buy-auth-foot-shield{display:grid;place-items:center;width:17px;height:17px;flex:0 0 17px;color:#458665}
.buy-auth-foot-shield svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
body.buy-auth-open{overflow:hidden}
@keyframes buyAuthOverlayIn{from{opacity:0}to{opacity:1}}
@keyframes buyAuthDialogIn{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:480px){.buy-auth-overlay{align-items:center;padding:12px}.buy-auth-dialog{width:100%;max-height:calc(100dvh - 24px);padding:25px 18px 17px;border-radius:23px}.buy-auth-close{top:11px;right:11px;width:32px;height:32px}.buy-auth-brand{margin-bottom:9px}.buy-auth-description{margin-bottom:16px}.buy-auth-field{min-height:57px;gap:10px;padding-left:10px}.buy-auth-field-icon{width:33px;height:33px;flex-basis:33px;border-radius:11px}.buy-auth-field input{font-size:13px}.buy-auth-submit{min-height:50px}.buy-auth-foot{margin-top:14px;padding-top:11px}}
@media(max-height:700px){.buy-auth-dialog{max-height:calc(100dvh - 18px);padding-top:19px;padding-bottom:14px}.buy-auth-brand{margin-bottom:8px}.buy-auth-secure{margin-bottom:7px}.buy-auth-description{margin-top:7px;margin-bottom:12px}.buy-auth-form{gap:8px}.buy-auth-field{min-height:53px}.buy-auth-field-icon{width:31px;height:31px;flex-basis:31px}.buy-auth-submit{min-height:46px}.buy-auth-terms{margin-top:9px}.buy-auth-switch{margin-top:9px}.buy-auth-foot{margin-top:11px;padding-top:9px}}
@media(prefers-reduced-motion:reduce){.buy-auth-overlay,.buy-auth-dialog,.buy-auth-close,.buy-auth-submit,.buy-auth-submit svg,.buy-auth-field{animation:none!important;transition:none!important}}
