/* Login-only adaptation of the downloaded etsyd.xin styles.
   Shared registration styling and account-service behaviour remain independent. */
body[data-auth-page=login] .logo-con{background-image:url('assets/etsy-original-style/hero.webp')}
body[data-auth-page=login] .uni-input-input{font-size:14px}
body[data-auth-page=login] .sign-con .item{box-sizing:content-box}
body[data-auth-page=login] .login-btn{padding:0;line-height:49px;min-height:49px}
body[data-auth-page=login] .footer-con{margin:31px 0 0;padding:0 15px;line-height:22px}
body[data-auth-page=login] .form-con{flex-shrink:0}
body[data-auth-page=login] .login-extras{margin:18px 31px 30px;font-size:13px;line-height:1.6;color:#777}
body[data-auth-page=login] .service-note{margin-top:6px}

/* Reference login layout: full-bleed beauty backdrop with a narrow dark glass form. */
body[data-auth-page=login]{min-height:100vh;background:#f6e8e4 url('assets/etsy-original-style/hero.webp') center/cover fixed no-repeat;color:#fff}
body[data-auth-page=login] .auth-shell{width:min(100%,600px);min-height:100vh;margin:0 auto;background:linear-gradient(180deg,rgba(0,0,0,.82),rgba(0,0,0,.94));box-shadow:0 0 35px rgba(0,0,0,.32)}
body[data-auth-page=login] .reference-hidden-header{display:none}
body[data-auth-page=login] .login-con{min-height:100vh;box-sizing:border-box;justify-content:flex-start;padding:62px 42px 34px;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.32))}
body[data-auth-page=login] .auth-brand-disclosure{display:none}
body[data-auth-page=login] .logo-con{height:255px;min-height:255px;margin:0 -42px;background-image:url('assets/etsy-original-style/hero.webp');background-position:center;background-size:cover;display:flex;align-items:flex-start;justify-content:center;padding-top:22px;box-sizing:border-box}
body[data-auth-page=login] .auth-brand-label{font-size:30px;font-weight:700;color:#d9c69d;text-shadow:0 1px 5px #000}
body[data-auth-page=login] .sign-con{position:relative;margin:-1px 0 22px;border-bottom:1px solid rgba(255,255,255,.18);padding-bottom:12px;z-index:2}
body[data-auth-page=login] .sign-con .item{border:0!important;background:transparent!important}
body[data-auth-page=login] .sign-con .link{color:#fff;font-size:14px;text-shadow:0 1px 2px #000}
body[data-auth-page=login] .form-con{width:100%;gap:14px;position:relative;z-index:2}
body[data-auth-page=login] .form-field{margin:0}
body[data-auth-page=login] .input-title{display:none}
body[data-auth-page=login] .account-input{height:52px;border:1px solid rgba(255,255,255,.35);border-radius:28px;background:rgba(0,0,0,.24);box-shadow:none}
body[data-auth-page=login] .account-input:before{content:'+86';padding-left:20px;color:#fff;font-size:15px;line-height:52px}
body[data-auth-page=login] .form-field:nth-child(2) .account-input:before{content:'▣';font-size:18px;padding-left:20px}
body[data-auth-page=login] .pxn-input,.uni-input-wrapper{background:transparent!important;border:0!important;box-shadow:none!important}
body[data-auth-page=login] .uni-input-input{height:50px;color:#fff!important;background:transparent!important;border:0!important;font-size:15px!important}
body[data-auth-page=login] .uni-input-input::placeholder{color:#fff;opacity:.95}
body[data-auth-page=login] .password-toggle{color:#fff;background:transparent;border:0}
body[data-auth-page=login] .login-btn{height:50px;border:0;border-radius:26px;background:rgba(198,166,100,.62);color:#fff;font-size:16px;font-weight:700;box-shadow:none}
body[data-auth-page=login] .form-feedback{color:#ffd5d5;text-align:center}
body[data-auth-page=login] .footer-con{margin:18px 0 0;color:#fff;font-size:13px;text-align:center;line-height:1.5}
body[data-auth-page=login] .login-extras{display:none}
@media(max-width:600px){body[data-auth-page=login] .login-con{padding-inline:22px}body[data-auth-page=login] .logo-con{margin-inline:-22px}}

/* Exact reference-page proportions and palette. */
body[data-auth-page=login]{background:#fff;color:#333}
body[data-auth-page=login] .auth-shell{width:100%;max-width:440px;min-height:100vh;margin:0 auto;background:#fff;box-shadow:none}
body[data-auth-page=login] .reference-hidden-header{display:flex;height:44px;background:#fff;color:#333}
body[data-auth-page=login] .reference-hidden-header .uni-navbar__header{width:100%;height:44px}
body[data-auth-page=login] .login-con{min-height:calc(100vh - 44px);padding:0 0 30px;background:#fff;display:flex}
body[data-auth-page=login] .logo-con{height:200px;min-height:200px;margin:0 0 15px;background-image:url('assets/etsy-original-style/hero.webp');background-size:100% 100%;padding:0;align-items:center}
body[data-auth-page=login] .auth-brand-label{display:none}
body[data-auth-page=login] .sign-con{width:calc(100% - 62px);margin:0 31px 24px;padding:0;border-bottom:0}
body[data-auth-page=login] .sign-con .item{width:50%;height:47px;border-bottom:1px solid #95989a!important}
body[data-auth-page=login] .sign-con .item:first-child{border-bottom:6px solid #003b95!important}
body[data-auth-page=login] .sign-con .link{font-size:16px;font-weight:700;letter-spacing:.8px;color:#95989a}
body[data-auth-page=login] .sign-con .item:first-child .link{color:#003b95}
body[data-auth-page=login] .form-con{position:relative;width:calc(100% - 41px);margin:0 auto auto;padding:20px 10px 10px;background:#fbfbfb;border-radius:10px;gap:0}
body[data-auth-page=login] .form-field{width:100%;margin:0}
body[data-auth-page=login] .input-title{display:block;font-size:14px;color:#969595;line-height:24px}
body[data-auth-page=login] .required-mark{color:#003b95}
body[data-auth-page=login] .account-input{height:52px;margin:4px 0 20px;padding:0 10px;border:0;border-bottom:1px solid #dcdfe6;border-radius:0;background:transparent;box-shadow:none}
body[data-auth-page=login] .account-input:before{display:none}
body[data-auth-page=login] .pxn-input{height:52px;background:transparent;color:#003b95}
body[data-auth-page=login] .uni-input-input{height:100%;color:#003b95!important;font-size:14px!important}
body[data-auth-page=login] .uni-input-input::placeholder{color:#999;opacity:1}
body[data-auth-page=login] .password-toggle{color:#003b95}
body[data-auth-page=login] .login-btn{width:100%;margin-top:20px;height:49px;line-height:49px;border-radius:6px;background:#003b95;color:#fff;font-size:16px;text-transform:uppercase}
body[data-auth-page=login] .footer-con{margin-top:31px;padding:0 15px;color:#003b95;font-size:14px;font-weight:600;text-align:center}
body[data-auth-page=register]{background:#fff;color:#333}
body[data-auth-page=register] .auth-shell{width:100%;max-width:440px;min-height:100vh;margin:0 auto;background:#fff;box-shadow:none}
body[data-auth-page=register] .pxn-navbar{display:flex;height:44px;background:#fff}
body[data-auth-page=register] .login-con{min-height:calc(100vh - 44px);padding:0 0 30px;background:#fff}
body[data-auth-page=register] .logo-con{height:200px;min-height:200px;margin:0 0 15px;background-image:url('assets/etsy-original-style/hero.webp');background-size:100% 100%;padding:0}
body[data-auth-page=register] .auth-brand-label{display:none}
body[data-auth-page=register] .sign-con{width:calc(100% - 62px);margin:0 31px 24px}
body[data-auth-page=register] .sign-con .item{height:47px;border-bottom:1px solid #95989a!important}
body[data-auth-page=register] .sign-con .item:nth-child(2){border-bottom:6px solid #003b95!important}
body[data-auth-page=register] .sign-con .link{font-size:16px;font-weight:700;letter-spacing:.8px;color:#95989a}
body[data-auth-page=register] .sign-con .item:nth-child(2) .link{color:#003b95}
body[data-auth-page=register] .form-con{width:calc(100% - 41px);margin:0 auto;padding:20px 10px 10px;background:#fbfbfb;border-radius:10px}
body[data-auth-page=register] .input-title{font-size:14px;color:#969595;line-height:24px}
body[data-auth-page=register] .account-input{height:52px;margin:4px 0 20px;padding:0 10px;border:0;border-bottom:1px solid #dcdfe6;border-radius:0;background:transparent}
body[data-auth-page=register] .uni-input-input{height:100%;color:#003b95!important;font-size:14px!important}
body[data-auth-page=register] .uni-input-input::placeholder{color:#999;opacity:1}
body[data-auth-page=register] .login-btn{height:49px;line-height:49px;border-radius:6px;background:#003b95;color:#fff;font-size:16px;text-transform:uppercase}
