/* Moto-Zbud account entry: quiet surfaces, clear hierarchy, generous controls. */
#modal:has(.auth-popup){width:min(880px,calc(100% - 40px));max-width:880px;padding:0;border:1px solid #d7dfd9;border-radius:22px;max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 28px 100px #08120f40;background:#fff}
#modal:has(.auth-popup)::backdrop{background:#0d1c19a8;backdrop-filter:blur(5px)}
#modal:has(.auth-popup) .modal-close{position:absolute;z-index:3;right:14px;top:14px;width:36px;height:36px;background:#f3f6f4;border:1px solid #dce3df;border-radius:50%;color:#243d35}
.auth-popup{display:grid;grid-template-columns:0.9fr 1.1fr;min-height:610px;text-align:left}
.auth-popup-story{position:relative;display:flex;flex-direction:column;padding:40px 32px;background:#17372f;color:#fff;overflow:hidden}
.auth-popup-story:after{content:'';position:absolute;width:230px;height:330px;right:-165px;bottom:-110px;border:32px solid #ffffff06;transform:rotate(30deg);pointer-events:none}
.auth-popup-brand{display:block;max-width:210px;margin-bottom:55px}.auth-popup-brand img{width:100%;height:46px;object-fit:contain;object-position:left}
.auth-popup-story .eyebrow{font-size:9px;letter-spacing:.12em;color:#b8d2c6;line-height:1.7}
.auth-popup-story h2{font-size:34px;line-height:1.15;letter-spacing:-1.1px;color:white;margin:14px 0}
.auth-popup-story>p{font-size:14px;line-height:1.7;color:#d4e0da;margin:0;max-width:250px}
.auth-popup-story ul{display:grid;gap:22px;padding:0;margin:34px 0 30px;list-style:none}.auth-popup-story li{display:flex;gap:13px;align-items:center}
.auth-popup-story li>.icon{height:38px;width:38px;flex-shrink:0;padding:9px;border:1px solid #ffffff24;border-radius:11px;color:#dfaa82}
.auth-popup-story li strong{display:block;font-size:13px;color:#fff}.auth-popup-story li small{display:block;font-size:11px;color:#c2d4cb;margin-top:4px;line-height:1.5}
.auth-popup-sign{font-size:8px;letter-spacing:.15em;color:#a4beb1;margin-top:auto}
.auth-popup-panel{padding:49px 36px 28px;min-width:0;background:#fff}
.mz-auth-form.form-card{border:0;box-shadow:none;background:transparent;padding:0;border-radius:0}.mz-auth-form{text-align:left}
.mz-auth-heading{margin-bottom:24px}.mz-auth-symbol{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #dce8df;border-radius:13px;background:#f1f7f3;color:#285b47;margin-bottom:20px}.mz-auth-symbol>.icon{width:21px;height:21px}
.mz-auth-heading .eyebrow{display:block;color:#4d6258;font-size:9px;letter-spacing:.1em;margin-bottom:8px}
.mz-auth-heading h2,.admin-login .mz-auth-heading h2{font-size:28px;line-height:1.2;letter-spacing:-.8px;margin:0 0 10px;color:#182e27}
.mz-auth-heading p{font-size:13px;line-height:1.65;color:#586c62;margin:0}
.mz-auth-form>label,.mz-auth-password-label label{display:block;font-size:12px;line-height:1.5;font-weight:700;color:#243d32;margin:0 0 8px}
.mz-auth-input{display:flex;align-items:center;gap:10px;height:50px;border:1px solid #bccdc3;border-radius:10px;background:#fff;padding:0 13px;margin-bottom:20px;transition:box-shadow .16s,border-color .16s}
.mz-auth-input:focus-within{border-color:#276447;box-shadow:0 0 0 3px #27644718}
.mz-auth-input>.icon{flex-shrink:0;width:18px;height:18px;color:#657c6e}
.mz-auth-input input,.account-entry-form .mz-auth-input input{padding:0;min-height:0;height:100%;width:100%;min-width:0;border:0!important;box-shadow:none!important;outline:none;background:transparent;border-radius:0;font-size:16px;color:#152b22}
.mz-auth-input input::placeholder{font-size:13px;color:#7b8d83}.mz-auth-input button{border:0;background:none;font-size:11px;font-weight:700;color:#345e49;padding:10px 0;flex-shrink:0}
.mz-auth-password-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px;margin-bottom:8px}.mz-auth-password-label label{margin:0}.mz-auth-password-label button{font-size:11px;color:#426653;background:none;border:0;padding:4px 0;text-decoration:underline;text-underline-offset:3px}
.mz-auth-form .mz-auth-submit{display:flex;width:100%;height:50px;min-height:50px;align-items:center;justify-content:center;gap:12px;background:#bd4b1c;color:#fff;border:1px solid #bd4b1c;border-radius:10px;font-size:14px;font-weight:750;box-shadow:0 5px 12px #bd4b1c18}
.mz-auth-form .mz-auth-submit:hover{background:#a93e14;border-color:#a93e14}.mz-auth-form .mz-auth-submit:disabled{opacity:.6}
.mz-auth-form .form-feedback:empty{display:none}.mz-auth-form .form-feedback:not(:empty){padding:12px;border-radius:9px;font-size:12px;line-height:1.6;margin:0 0 16px;background:#f0f6f2;color:#29583e}.mz-auth-form .form-feedback.error{background:#fff1f2;color:#a91c33}
.mz-auth-register{border-top:1px solid #e3e9e5;margin-top:26px;padding-top:23px;display:grid;gap:12px;text-align:center}.mz-auth-register>span{font-size:12px;color:#64766b}
.mz-auth-register .button{width:100%;min-height:46px;border:1px solid #cbd8cf;background:#fff;color:#244b38;border-radius:10px;justify-content:center;font-size:13px}.mz-auth-register .button:hover{background:#f3f7f4}
.mz-auth-footnote{font-size:10px;line-height:1.6;color:#64766b;text-align:center;margin:20px 0 0}.mz-auth-guest,.mz-auth-back{display:block;background:none;border:0;text-align:center;font-size:12px;line-height:1.6;color:#3b634d;margin:20px auto 0;text-decoration:underline;text-underline-offset:3px}
.admin-login:has(.mz-auth-form){max-width:460px;margin:50px auto;padding:32px;border-radius:20px;border:1px solid #d6e1d9;background:#fff;box-shadow:0 15px 60px #1a382a0c}
.admin-login .admin-login-note{border-top:1px solid #e3e9e5;padding-top:18px;margin:24px 0 0;text-align:center;font-size:11px;color:#63776a;line-height:1.7}
.mz-auth-form .admin-remember{display:flex;gap:10px;align-items:flex-start;margin:0 0 24px;font-size:12px}.mz-auth-form .admin-remember input{width:17px;height:17px;min-height:0;margin:0;flex-shrink:0;accent-color:#285b47}.mz-auth-form .admin-remember small{display:block;font-size:10px;line-height:1.5;color:#63776a;margin-top:4px;font-weight:400}
@media(max-width:650px){#modal:has(.auth-popup){width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:17px}.auth-popup{display:block;min-height:0}.auth-popup-story{padding:22px 24px 24px}.auth-popup-brand{width:158px;margin:0 0 17px}.auth-popup-brand img{height:35px}.auth-popup-story h2{font-size:24px;line-height:1.18;margin:8px 0 0;letter-spacing:-.6px}.auth-popup-story h2 br{display:none}.auth-popup-story h2 br:after{content:' '}.auth-popup-story>p,.auth-popup-story ul,.auth-popup-sign{display:none}.auth-popup-story .eyebrow{font-size:8px;letter-spacing:.08em}.auth-popup-panel{padding:25px 24px 22px}.auth-popup-panel .mz-auth-symbol{display:none}.mz-auth-heading{margin-bottom:23px}.mz-auth-heading h2{font-size:26px}.auth-popup-panel .mz-auth-heading .eyebrow{display:none}.mz-auth-register{margin-top:23px;padding-top:19px}.mz-auth-footnote{margin-top:17px}#modal:has(.auth-popup) .modal-close{color:#fff;background:#ffffff12;border-color:#ffffff45;right:12px;top:12px}.admin-login:has(.mz-auth-form){margin:26px 16px;max-width:none;padding:27px 22px}.auth-popup-story:after{display:none}}
@media(prefers-reduced-motion:no-preference){#modal[open]:has(.auth-popup){animation:mz-auth-enter .2s ease-out}@keyframes mz-auth-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
