/* One field treatment across auth, forms, inline actions and search. Native controls retain their original layout and events. */
.niva-float-host{position:relative!important;min-width:0;overflow:visible!important}
.niva-float-original{display:none!important}
.niva-float-control{min-width:0;scroll-margin-block:30px}
.niva-float-control::placeholder{color:transparent!important;opacity:0!important}
.niva-floating-label{position:absolute!important;z-index:2;left:var(--float-x,14px);top:var(--float-y,24px);transform:translate(-4px,-50%);margin:0!important;padding:0 4px!important;max-width:var(--float-max,calc(100% - 28px));box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:400 14px/1.25 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:0!important;color:#64748b!important;background:transparent;cursor:text;pointer-events:auto;transition:top .16s ease,font-size .16s ease,color .16s ease,background-color .16s ease}
.niva-floating-label.is-raised{top:var(--float-top,0px);font-size:12px!important;line-height:16px!important;font-weight:500!important;background:var(--float-bg,#fff)}
:root.dark .niva-floating-label{color:#b4bdcc!important}
.niva-float-host:focus-within>.niva-floating-label{color:#1470e0!important}
:root.dark .niva-float-host:focus-within>.niva-floating-label{color:#3e9bff!important}
.niva-floating-label.is-disabled{opacity:.55;cursor:not-allowed}
.input-error>.niva-floating-label,.embed-error>.niva-floating-label,.coupon-error>.niva-floating-label{color:#dc2626!important}
:root.dark .input-error>.niva-floating-label,:root.dark .embed-error>.niva-floating-label,:root.dark .coupon-error>.niva-floating-label{color:#f87171!important}
.niva-float-control:-webkit-autofill~.niva-floating-label{top:var(--float-top,0px);font-size:12px!important;line-height:16px!important;background:var(--float-bg,#fff)}
.niva-float-host:focus-within{--niva-field-focus:#1470e0}
.niva-float-host.input-inner.input-focused{border-color:#1470e0!important;box-shadow:0 0 0 3px rgb(20 112 224 / .15)!important}
:root.dark .niva-float-host.input-inner.input-focused{border-color:#3e9bff!important;box-shadow:0 0 0 3px rgb(62 155 255 / .18)!important}
.niva-float-host:has(>textarea){margin-top:8px}
.niva-float-control:focus{outline-offset:3px}
@media(max-width:991px){.niva-float-control{font-size:16px!important}.niva-floating-label{font-size:16px!important}.niva-floating-label.is-raised{font-size:12px!important}.email-prefix-input.niva-float-control{width:0;flex:1}.email-suffix{max-width:55%}.email-suffix-btn{min-width:0}.niva-float-host .embed-code-btn{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){.niva-floating-label{transition:none}}
.niva-password-field{min-width:0}
.niva-password-strength{margin-top:10px;--strength-color:#bb6666;--strength-track:#e5e9ef}
.niva-password-strength[data-level="2"]{--strength-color:#b68c4b}
.niva-password-strength[data-level="3"]{--strength-color:#688f7b}
.niva-password-strength[data-level="4"]{--strength-color:#38816b}
.niva-strength-meter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;height:3px}
.niva-strength-meter>span{height:3px;background:var(--strength-track);border-radius:3px;transition:background-color .2s ease}
.niva-strength-meter>span.is-active{background:var(--strength-color)}
.niva-strength-caption{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-top:7px;min-height:32px;color:#64748b;font-size:12px;line-height:1.5}
.niva-strength-name{color:var(--strength-color);white-space:nowrap;font-weight:500}
:root.dark .niva-password-strength{--strength-color:#cf8787;--strength-track:#343941}
:root.dark .niva-password-strength[data-level="2"]{--strength-color:#c1a06a}
:root.dark .niva-password-strength[data-level="3"]{--strength-color:#86a593}
:root.dark .niva-password-strength[data-level="4"]{--strength-color:#73b39e}
:root.dark .niva-strength-caption{color:#a2aab7}
.niva-password-eye{display:flex;align-items:center;justify-content:center;min-width:36px;min-height:40px;margin-right:-5px;border:0;background:transparent;color:#64748b;cursor:pointer;border-radius:8px}
:root.dark .niva-password-eye{color:#adb7c7}
.niva-password-eye:focus-visible{outline:2px solid #1470e0;outline-offset:0}
@media(prefers-reduced-motion:reduce){.niva-strength-meter>span{transition:none}}
/* Empty lists keep one calm illustration, one explanation and one useful next action. */
.niva-empty-host{display:block!important;width:100%;min-width:0;box-sizing:border-box;padding:28px 16px!important;text-align:center;font-size:0!important;line-height:0!important;color:transparent!important}
.niva-empty-host>:not(.niva-empty-content){display:none!important}
.niva-empty-content{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;max-width:360px;margin:0 auto;color:#64748b;font-size:14px;line-height:1.6}
.niva-empty-picture{display:block;flex:none;color:#8b9db5;max-width:100%}
.niva-empty-content>p{margin:0!important;font:400 13px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#64748b!important;overflow-wrap:anywhere}
.niva-empty-action{min-height:40px;padding:8px 17px;border-radius:10px;border:1px solid #d9e3ef;background:#f8fafc;color:#1669ce;font:inherit;font-size:13px;font-weight:500;cursor:pointer;transition:background-color .15s ease}
.niva-empty-action:focus-visible{outline:2px solid #1470e0;outline-offset:3px}
:root.dark .niva-empty-content{color:#a2adbd}
:root.dark .niva-empty-content>p{color:#a2adbd!important}
:root.dark .niva-empty-picture{color:#8291a8}
:root.dark .niva-empty-action{border-color:#394353;background:#232a35;color:#86b9f2}
@media(hover:hover){.niva-empty-action:hover{background:#edf4fc}:root.dark .niva-empty-action:hover{background:#2b3543}}
@media(max-width:360px){.niva-empty-host{padding:24px 10px!important}.niva-empty-content{gap:10px}}
.login-form .pwd-label{visibility:hidden}
.login-form .pwd-label-row{justify-content:flex-end}

.niva-empty-host + .sub-action-btn{display:none!important}
