/* VideoReport public authentication visual system */
.auth-page{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#211734;background:#fff;-webkit-font-smoothing:antialiased}
.auth-page .bar{display:none}
.auth-topbar{width:min(100%,1536px);min-height:76px;margin:auto;padding:0 clamp(20px,3vw,50px);display:flex;align-items:center;justify-content:space-between;gap:22px;background:#fff;border-bottom:1px solid #f1ecf7}
.auth-brand{display:flex;align-items:center;height:72px;width:210px;text-decoration:none}
.auth-brand img{width:100%;height:65px;object-fit:contain}
.auth-top-actions{display:flex;align-items:center;gap:16px}
.auth-language{display:flex;gap:7px;align-items:center;margin:0}
.auth-language label{display:flex;align-items:center;gap:7px;color:#6d28d9}
.auth-language select{min-height:36px;padding:5px 8px;width:72px;border:1px solid #e7e0f3;font-size:12px;color:#463754;border-radius:8px}
.auth-language button{min-height:36px;font-size:12px;padding:5px 10px;border-radius:8px}
.auth-install{position:relative;margin:0;font-size:12px}
.auth-install>summary{padding:9px 13px!important;display:flex!important;align-items:center;gap:9px;border:1px solid #e5def0;border-radius:10px;color:#5d279f;font-weight:750;list-style:none;background:#f9f5ff}
.auth-install>summary::-webkit-details-marker{display:none}
.auth-install>p{max-width:260px;padding:13px;border-radius:10px;position:absolute;right:0;top:100%;z-index:5;background:#fff;box-shadow:0 15px 40px #31174b2c;border:1px solid #eee6fa}
.auth-page main{width:min(100%,1536px);margin:0 auto;min-height:calc(100dvh - 76px);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:stretch;gap:0;padding:0;border-inline:1px solid #f4f0f7}
.auth-page main>h1{display:none}
.auth-intro{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;isolation:isolate;background:linear-gradient(140deg,#4c139a,#7820cb 48%,#ac5ef2);padding:clamp(30px,5.5vw,85px);color:#fff;min-height:700px}
.auth-intro:before{content:"";position:absolute;z-index:-1;inset:-10%;background:radial-gradient(ellipse at 90% 20%,#ffe8ff54,transparent 38%),radial-gradient(ellipse at 3% 100%,#19065d8f,transparent 44%)}
.auth-intro:after{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#ffffff0a 1px,transparent 1px),linear-gradient(90deg,#ffffff0a 1px,transparent 1px);background-size:46px 46px;mask-image:linear-gradient(90deg,transparent,#000)}
.auth-intro-content{width:min(100%,570px);position:relative;z-index:1}
.auth-kicker{display:inline-flex;gap:8px;align-items:center;padding:8px 13px;border:1px solid #ffffff48;border-radius:100px;background:#ffffff1a;color:#f3ddff;font-size:11px;font-weight:800;letter-spacing:.13em}
.auth-intro h2{font-size:clamp(34px,3.6vw,57px);letter-spacing:-.055em;line-height:1.1;font-weight:850;margin:20px 0 18px;color:#fff;max-width:550px}
.auth-intro p{font-size:clamp(14px,1.13vw,17px);line-height:1.75;color:#f1dfff;margin:0 0 30px;max-width:475px}
.auth-art{position:relative;border:1px solid #ffffff61;max-width:490px;margin:0 0 26px;padding:11px;border-radius:21px;background:linear-gradient(130deg,#ffffff3e,#1f065872);backdrop-filter:blur(5px);box-shadow:0 24px 75px #1d075766;transform:perspective(900px) rotateY(-7deg) rotateX(3deg)}
.auth-art-toolbar{height:25px;display:flex;gap:5px;align-items:center;padding:0 7px 9px}
.auth-art-toolbar>span{width:7px;height:7px;border-radius:100%;background:#ffffffa5}
.auth-art-toolbar>i{margin-left:auto;font-size:12px;color:#e3d2ff}
.auth-art-scene{aspect-ratio:16/8.1;border-radius:11px;overflow:hidden;position:relative;background:linear-gradient(155deg,#203247,#0b1832 56%,#233d57)}
.auth-art-scene:before{content:"";position:absolute;inset:24% -15% -25%;background:linear-gradient(30deg,transparent 45%,#96a5bf44 46%,#96a5bf44 50%,transparent 51%),linear-gradient(150deg,transparent 47%,#65839f2b 49%,transparent 52%);transform:perspective(400px) rotateX(54deg)}
.auth-art-grid{position:absolute;inset:0;background:linear-gradient(#a3b5dc12 1px,transparent 1px),linear-gradient(90deg,#a3b5dc12 1px,transparent 1px);background-size:35px 35px}
.auth-detect{position:absolute;border:2px solid #d0ffb7;border-radius:5px;box-shadow:0 0 13px #63df6455}
.auth-detect-one{top:21%;left:17%;width:24%;height:51%}
.auth-detect-one span{position:absolute;top:-18px;left:0;background:#94ed87;color:#143a22;padding:2px 5px;border-radius:3px;font-size:9px;font-weight:800}
.auth-detect-two{top:32%;right:14%;width:15%;height:38%;border-color:#a97cff}
.auth-art-play{position:absolute;top:47%;left:50%;transform:translate(-50%,-50%);color:#ffffffc9;font-size:27px;text-shadow:0 4px 15px #100928}
.auth-art-timeline{height:38px;display:flex;gap:6px;align-items:flex-end;padding:10px 6px 4px}
.auth-art-timeline span{flex:1;height:45%;border-radius:3px;background:#ffffff6e}
.auth-art-timeline span:nth-child(3n){height:90%;background:#cda2ff}.auth-art-timeline span:nth-child(4n){height:65%}
.auth-intro-foot{font-size:12px;font-weight:700;color:#e2cffb;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.auth-intro-foot i{color:#b5ffda;font-size:15px}
.auth-page .auth-form-card{width:min(100% - 54px,485px);max-width:485px;margin:auto;padding:clamp(26px,3.7vw,52px);border:1px solid #f0eaf5;box-shadow:0 16px 60px #39235c13;border-radius:23px;align-self:center;background:#fff}
.auth-form-title{font-size:clamp(23px,2.3vw,33px);line-height:1.17;letter-spacing:-.045em;font-weight:850;color:#1f1b34;margin:0 0 9px}
.auth-form-subtitle{color:#8b8397;font-size:13px;line-height:1.55;margin:0 0 30px}
.auth-form-card form.stack{gap:18px}
.auth-form-card label{color:#3b3450;font-size:13px;font-weight:700;gap:8px}
.auth-form-card input,.auth-form-card select{border:1px solid #ded5e9;min-height:48px;border-radius:11px;background:#fff;color:#292238;padding:12px 14px;font-size:14px}
.auth-form-card input:focus,.auth-form-card select:focus{border-color:#a27ce8;outline:0;box-shadow:0 0 0 4px #eee5ff}
.auth-form-card button:not(.password-visibility){min-height:48px;border-radius:11px;background:linear-gradient(120deg,#963cef,#6220c8);font-size:13px;font-weight:800;box-shadow:0 7px 20px #722ccb25}
.auth-form-card button.secondary{background:#f7f1ff;color:#6422c2;border:1px solid #e2d3f5;box-shadow:none}
.auth-form-card .password-visibility{height:44px;min-height:0;top:3px;border:0;background:transparent}
.auth-form-card>p:last-child{text-align:center;font-size:13px;margin:25px 0 0;color:#786b88}
.auth-form-card>p:last-child a{font-weight:800;text-decoration:none}
.auth-form-card form[data-passkey]{margin-top:12px}
.auth-form-card .notice{border-radius:10px;font-size:12px}
.auth-form-card .invoice-fields{background:#faf8ff;border:1px solid #ebe2f8}
.auth-form-card .check{font-size:12px}
.auth-register-page main{grid-template-columns:minmax(290px,.8fr) minmax(0,1.2fr)}
.auth-register-page .auth-intro{align-items:flex-start;position:sticky;top:0;height:100dvh;min-height:680px}
.auth-register-page .auth-form-card{width:min(100% - 44px,750px);max-width:750px;margin:30px auto}
.auth-register-page .auth-form-card .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.auth-register-page .auth-form-card .invoice-fields{grid-column:1/-1}
@media(max-width:1000px){
 .auth-page main{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
 .auth-intro{padding:35px;min-height:640px}
 .auth-intro h2{font-size:34px}
 .auth-page .auth-form-card{width:calc(100% - 34px);padding:27px}
}
@media(max-width:767px){
 .auth-topbar{min-height:66px;padding:0 15px}
 .auth-brand{width:153px;height:65px}
 .auth-brand img{height:55px}
 .auth-top-actions{gap:8px}
 .auth-language select{width:56px}.auth-language button{padding:5px 8px;font-size:11px}
 .auth-install>summary{padding:8px!important;font-size:0}.auth-install>summary i{font-size:15px}
 .auth-page main,.auth-register-page main{display:flex;flex-direction:column;min-height:calc(100dvh - 66px)}
 .auth-intro,.auth-register-page .auth-intro{position:relative;top:auto;height:auto;min-height:0;padding:30px 22px 28px;align-items:flex-start}
 .auth-intro h2{font-size:29px;max-width:400px;margin:14px 0 10px}
 .auth-intro p{font-size:12px;line-height:1.55;max-width:450px;margin:0}
 .auth-kicker{font-size:9px}
 .auth-art,.auth-intro-foot{display:none}
 .auth-page .auth-form-card,.auth-register-page .auth-form-card{width:calc(100% - 28px);max-width:560px;margin:15px auto 25px;padding:25px 20px}
 .auth-form-title{font-size:25px}
 .auth-form-subtitle{margin-bottom:20px}
 .auth-register-page .auth-form-card .grid{grid-template-columns:1fr}
}
@media(max-width:390px){.auth-language button{display:none}.auth-intro h2{font-size:25px}.auth-brand{width:130px}}
@media(prefers-reduced-motion:reduce){.auth-page *{transition:none!important;animation:none!important}}

/* Matching width for password and passkey sign-in, compact instant language selection. */
.auth-page .auth-form-card form[data-passkey="login"]{display:block;width:100%;margin-top:14px}
.auth-page .auth-form-card form[data-passkey="login"][hidden]{display:none!important}
.auth-page .auth-form-card form[data-passkey="login"] button{display:flex!important;align-items:center;justify-content:center;width:100%!important;min-height:48px;margin:0;border-radius:11px}
.auth-page .auth-form-card form.stack>button{width:100%;justify-content:center}
.auth-page .auth-language{display:flex;align-items:center}
.auth-page .auth-language label{display:flex;align-items:center;gap:8px;min-width:0}
.auth-page .auth-language select{width:76px;min-width:0;min-height:39px;border-radius:10px;background:#fff;border-color:#e6ddf1;padding:7px 9px;font-size:12px}
.auth-page .auth-language label>i{font-size:14px}


/* Password recovery pages share the polished login layout instead of the generic narrow card. */
.auth-page .auth-recovery-card{align-self:center;justify-self:center;width:min(calc(100% - 50px),485px);max-width:485px;height:auto;min-height:0;margin:38px auto;padding:clamp(25px,3.2vw,43px);border-radius:21px}
.auth-page .auth-recovery-card .auth-form-title{font-size:clamp(22px,2vw,30px);margin:0 0 22px}
.auth-page .auth-recovery-icon{width:52px;height:52px;display:grid;place-items:center;background:#f1e6ff;color:#722bd8;border-radius:14px;font-size:23px;margin-bottom:19px}
.auth-page .auth-recovery-card form.stack{display:flex;flex-direction:column;gap:14px}
.auth-page .auth-recovery-card label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:700}
.auth-page .auth-recovery-card input{width:100%;box-sizing:border-box;min-height:47px}
.auth-page .auth-recovery-card form.stack>button{width:100%;min-height:47px;font-size:13px}
.auth-page .auth-recovery-card .auth-recovery-back{margin:20px 0 0;text-align:center!important;font-size:12px}
.auth-page .auth-recovery-back a{display:inline-flex;align-items:center;gap:9px;text-decoration:none;font-weight:700;color:#7029ce}
.auth-page .auth-recovery-card .notice{margin:4px 0 13px;padding:14px;border-radius:10px;font-size:12px}
@media(max-width:767px){
 .auth-page .auth-recovery-card{width:calc(100% - 28px);margin:16px auto 28px;padding:25px 20px}
}


/* Approved recovery screen: consistent centered card and a true full-width email input. */
.auth-page .auth-forgot-card{
  box-sizing:border-box;
  width:min(calc(100% - 42px),560px);
  max-width:560px;
  padding:clamp(27px,3.5vw,48px);
  border:1px solid #e9e0f4;
  box-shadow:0 18px 60px rgba(48,28,77,.075);
}
.auth-page .auth-forgot-card .auth-recovery-icon {
  width:62px;height:62px;margin-bottom:21px;border-radius:17px;
  background:#f0e6ff;color:#7126d2;font-size:27px;
}
.auth-page .auth-forgot-card .auth-form-title {
  font-size:clamp(25px,2.3vw,34px);line-height:1.2;
  letter-spacing:-.04em;margin:0 0 13px;
}
.auth-page .auth-forgot-card .auth-recovery-description {
  color:#797088;font-size:14px;line-height:1.75;
  margin:0 0 28px;
}
.auth-page .auth-forgot-card form.auth-recovery-form{
  box-sizing:border-box;width:100%;max-width:none;
  display:flex;flex-direction:column;align-items:stretch;
  gap:13px;
}
.auth-page .auth-forgot-card form.auth-recovery-form label {
  display:block;width:100%;margin:0;
  color:#3b2f4c;font-size:13px;font-weight:750;
}
.auth-page .auth-forgot-card form.auth-recovery-form input[type="email"] {
  display:block;box-sizing:border-box;width:100%!important;
  max-width:none!important;min-width:0;
  height:52px;min-height:52px;margin:0;
  padding:12px 15px;border-radius:12px;
}
.auth-page .auth-forgot-card form.auth-recovery-form button{
  display:flex;align-items:center;justify-content:center;
  box-sizing:border-box;width:100%;min-height:52px;
  margin:9px 0 0;border-radius:12px;
}
.auth-page .auth-forgot-card .auth-recovery-back {
  margin:24px 0 0!important;text-align:center!important;
}
@media(max-width:767px){
  .auth-page .auth-forgot-card{
    width:calc(100% - 28px);max-width:560px;
    margin:15px auto 27px;padding:26px 21px;
  }
  .auth-page .auth-forgot-card .auth-recovery-description{
    font-size:12px;margin-bottom:21px;
  }
}
