@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');
*{margin:0;padding:0;box-sizing:border-box;}
html,body.elovia-auth-body{font-family:'Outfit',sans-serif;background:#f4f1fb;min-height:100vh;}
body.elovia-auth-body{display:flex;align-items:center;justify-content:center;padding:20px;}
.auth-shell{border-radius:18px;overflow:hidden;border:1px solid #e0d8f0;box-shadow:0 10px 40px rgba(46,39,56,.12);display:flex;width:900px;max-width:95vw;background:#fefdff;}
.auth-left{width:320px;min-width:320px;background:linear-gradient(175deg,#892fe3 0%,#aa09e6 50%,#ad02e9 100%);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:50px 30px;position:relative;overflow:hidden;}
.auth-left::before{content:'';position:absolute;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.06);top:-60px;right:-60px;}
.auth-left::after{content:'';position:absolute;width:110px;height:110px;border-radius:50%;background:rgba(255,255,255,.04);bottom:-35px;left:-25px;}
.brand-block{text-align:center;margin-bottom:32px;position:relative;z-index:2;width:100%;}
.brand-logo-wrap{background:rgba(255,255,255,0.9);padding:14px 32px;display:inline-flex;align-items:center;justify-content:center;border-radius:50px;box-shadow:0 8px 24px rgba(137,47,227,0.2);}
.brand-logo{width:140px;display:block;}
.brand-slogan{font-size:12.5px;color:#fefdff;font-weight:500;letter-spacing:.5px;margin-top:16px;}
.brand-sep{width:32px;height:2px;background:rgba(255,255,255,.6);border-radius:2px;margin:12px auto 0;}
.features-list{display:flex;flex-direction:column;gap:11px;width:100%;position:relative;z-index:1;}
.feature-item{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);border-radius:11px;padding:12px 14px;}
.feature-icon{width:32px;height:32px;min-width:32px;background:rgba(255,255,255,.2);border-radius:8px;display:flex;align-items:center;justify-content:center;}
.feature-label{font-size:13px;font-weight:500;color:#fefdff;line-height:1.3;}
.auth-right{flex:1;background:#fefdff;display:flex;flex-direction:column;justify-content:center;padding:50px 44px;}
.form-title{font-size:22px;font-weight:600;color:#2e2738;margin-bottom:6px;}
.form-sub{font-size:13px;color:#a090be;font-weight:400;margin-bottom:26px;line-height:1.5;}
.form-group{margin-bottom:16px;}
.form-label-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px;}
.form-label{font-size:13px;font-weight:500;color:#2e2738;}
.form-forgot{font-size:11px;color:#892fe3;text-decoration:none;}
.form-forgot:hover{text-decoration:underline;}
.input-wrap{position:relative;display:flex;align-items:center;}
.form-input{width:100%;background:#fefdff;border:1.5px solid #e0d8f0;border-radius:10px;padding:12px 15px;font-size:14px;color:#2e2738;font-family:'Outfit',sans-serif;outline:none;box-shadow:none;transition:border-color .15s;}
.form-input:focus{border-color:#892fe3;box-shadow:0 0 0 2px rgba(137,47,227,.12);}
.form-input::placeholder{color:#c4b8e0;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.btn-login{width:100%;background:linear-gradient(90deg,#892fe3,#aa09e6,#ad02e9,#892fe3);background-size:200%;border:none;border-radius:10px;padding:14px;font-size:15px;font-weight:600;color:#fefdff;cursor:pointer;font-family:'Outfit',sans-serif;letter-spacing:.3px;margin-top:8px;transition:opacity .2s;}
.btn-login:hover{opacity:.92;}
.form-error{background:#fde8ec;color:#c0392b;border-radius:8px;padding:8px 12px;font-size:12px;margin-bottom:10px;}
.powered-row{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:20px;padding-top:16px;border-top:1px solid #ede8f8;flex-wrap:nowrap;}
.powered-text{font-size:11px;color:#c4b8e0;font-weight:300;white-space:nowrap;}
.powered-brand{font-size:11px;font-weight:700;color:#892fe3;letter-spacing:.5px;}
.invite-badge{background:#f4f0fc;border:1px solid #e0d0f8;border-radius:10px;padding:11px 14px;display:flex;align-items:center;gap:10px;margin-bottom:18px;}
.invite-icon{width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,#892fe3,#ad02e9);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.invite-text{font-size:12px;color:#5a4070;line-height:1.4;}
.invite-text strong{color:#892fe3;}
.strength-bar{display:flex;gap:3px;margin-top:6px;}
.str-seg{height:4px;border-radius:2px;flex:1;background:#ede8f8;transition:background .2s;}
.str-seg.on{background:#892fe3;}
.pwd-hint{font-size:11px;color:#c4b8e0;margin-top:4px;}
.terms{font-size:11.5px;color:#a090be;display:flex;align-items:flex-start;gap:7px;margin-top:10px;cursor:pointer;}
.checkbox{width:14px;height:14px;accent-color:#892fe3;margin-top:1px;}

/* ── Responsive mobile ── */
@media(max-width:720px){
  .auth-shell{flex-direction:column;width:100%;max-width:100%;border-radius:0;border:none;box-shadow:none;min-height:100vh;}
  body.elovia-auth-body{padding:0;}
  .auth-left{width:100%;min-width:0;padding:32px 24px 28px;flex-direction:column;}
  .brand-logo{width:110px;}
  .brand-logo-wrap{padding:10px 24px;}
  .brand-slogan{font-size:11.5px;margin-top:12px;}
  .features-list{display:none;}
  .brand-sep{display:none;}
  .brand-block{margin-bottom:0;}
  .auth-right{padding:28px 22px 32px;}
  .form-title{font-size:19px;}
  .form-sub{font-size:12px;margin-bottom:18px;}
  .form-input{padding:11px 13px;font-size:13px;}
  .btn-login{padding:13px;font-size:14px;}
  .invite-badge{padding:9px 12px;}
  .invite-text{font-size:11px;}
  .form-row{grid-template-columns:1fr;gap:0;}
}
