/* TVR private sign-in, generic metadata. The owner's background and
   transparent white logo are served from /assets/login_background.webp and
   /assets/login_logo.png. Sign-in security lives entirely on the server. */
:root{
  color-scheme:dark;
  font-family:'Segoe UI',Inter,Arial,sans-serif;
  --card-blue:#020617e6;
  --slate:#babdd2;
  --ink:#f8f9ff;
  --accent:#40d6ec;
}
*{box-sizing:border-box}
body{margin:0}
body.auth-screen{
  min-height:100vh;
  padding:26px 16px;
  display:grid;
  place-items:center;
  background-color:#040522;
  background-image:
    linear-gradient(115deg,rgba(1,4,29,.69),rgba(2,3,25,.77)),
    url('/assets/login_background.webp');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.auth-card{
  width:100%;
  max-width:485px;
  padding:34px 32px 22px;
  border-radius:16px;
  background:var(--card-blue);
  border:1px solid rgba(154,165,203,.17);
  box-shadow:0 18px 52px rgba(0,0,0,.24);
}
.auth-logo-area{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  margin:0 auto 26px;
  min-height:65px;
  background:transparent;
}
.auth-logo{
  display:block;
  width:min(100%,335px);
  height:auto;
  max-height:100px;
  object-fit:contain;
}
.auth-fields{padding:0}
.sign-in-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 121px;
  align-items:end;
  gap:20px;
}
.email-control{min-width:0}
.email-control label{
  display:block;
  color:#d4d4e3;
  font-size:12px;
  font-weight:500;
  letter-spacing:.015em;
  margin:0 0 2px;
}
.email-line{
  display:flex;
  align-items:center;
  border-bottom:2px solid rgba(222,228,247,.72);
  transition:border-color .15s ease;
  min-height:39px;
}
.email-line:focus-within{border-color:#59d2e5}
#company-email{
  display:block;
  width:100%;
  min-width:0;
  padding:6px 2px 8px 0;
  border:0;
  background:transparent;
  outline:none;
  border-radius:0;
  box-shadow:none;
  color:var(--ink);
  font:400 14px/20px 'Segoe UI',Inter,Arial,sans-serif;
  caret-color:#59d2e5;
}
.email-valid-check{opacity:0;flex:none;transition:opacity .15s ease;color:var(--accent)}
.email-line.is-valid .email-valid-check{opacity:1}
.email-valid-check svg{
  display:block;
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.auth-submit{
  min-width:0;
  height:41px;
  width:100%;
  padding:5px 0;
  border:0;
  border-bottom:2px solid rgba(222,228,247,.72);
  border-radius:0;
  background:transparent;
  color:var(--ink);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font:600 13px/20px 'Segoe UI',Inter,Arial,sans-serif;
  cursor:pointer;
  transition:color .15s ease,border-color .15s ease;
}
.auth-submit svg{
  width:19px;
  height:19px;
  flex:none;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linejoin:round;
  stroke-linecap:round;
}
.auth-submit:hover,.auth-submit:focus-visible{
  color:var(--accent);
  border-color:var(--accent);
}
.auth-submit:disabled{opacity:.52;cursor:default}
.auth-error{
  min-height:0;
  margin:9px 0 0;
  color:#ffc6ce;
  font-size:12px;
  line-height:1.5;
}
.auth-error:empty{display:none}
.auth-captcha{margin:12px 0}
.social-links{
  margin-top:25px;
  padding-top:17px;
  border-top:1px solid rgba(220,225,250,.13);
  display:flex;
  justify-content:center;
  align-items:center;
  gap:17px;
}
.social-links a{
  color:#c6cbe2;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  width:24px;
  height:25px;
  text-decoration:none;
  transition:color .15s ease,transform .15s ease;
}
.social-links a:hover,.social-links a:focus-visible{
  color:var(--accent);
  transform:translateY(-2px);
}
.social-links svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linejoin:round;
  stroke-linecap:round;
}
@media(max-width:430px){
  .auth-card{padding:26px 19px 19px}
  .sign-in-row{grid-template-columns:minmax(0,1fr) 103px;gap:12px}
  .auth-logo-area{margin-bottom:20px}
  .social-links{gap:13px}
}
@media(max-width:330px){
  .sign-in-row{grid-template-columns:minmax(0,1fr)}
  .auth-submit{margin-top:5px}
}
