
:root{
  --c861-navy:#10265d;
  --c861-navy2:#071737;
  --c861-violet:#7357ef;
  --c861-blue:#516fe9;
  --c861-soft:#f5f7ff;
  --c861-line:#dfe4f1;
  --c861-text:#102047;
  --c861-muted:#6f7890;
}
*{box-sizing:border-box}
html,body{min-height:100%}
body.c861-login{
  margin:0;
  min-height:100vh;
  min-height:100dvh;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--c861-text);
  background:
    radial-gradient(circle at 10% 15%,rgba(115,87,239,.19),transparent 29rem),
    radial-gradient(circle at 88% 82%,rgba(81,111,233,.20),transparent 31rem),
    linear-gradient(145deg,#f9faff 0%,#eef2ff 47%,#f8faff 100%);
  overflow-x:hidden;
}
.c861-shell{
  min-height:100vh;
  min-height:100dvh;
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(390px,.88fr);
  align-items:stretch;
}
.c861-showcase{
  position:relative;
  min-height:100vh;
  padding:clamp(38px,5vw,76px);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  overflow:hidden;
  background:
    linear-gradient(145deg,rgba(10,32,83,.97),rgba(32,64,141,.96) 52%,rgba(104,76,228,.95));
  color:white;
}
.c861-showcase:before,.c861-showcase:after{
  content:"";
  position:absolute;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  pointer-events:none;
}
.c861-showcase:before{width:520px;height:520px;right:-210px;top:-160px}
.c861-showcase:after{width:330px;height:330px;left:-160px;bottom:-120px}
.c861-brandline{position:relative;z-index:2;display:flex;align-items:center;gap:16px}
.c861-brandline img{
  width:70px;height:70px;object-fit:contain;background:white;border-radius:22px;padding:7px;
  box-shadow:0 14px 35px rgba(0,0,0,.18)
}
.c861-brandline strong{display:block;font-size:26px;letter-spacing:-.03em}
.c861-brandline span{display:block;color:#cbd7ff;font-size:13px;margin-top:4px}
.c861-hero{position:relative;z-index:2;max-width:720px;padding:50px 0}
.c861-kicker{
  display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border-radius:999px;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.17);
  color:#eef1ff;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase
}
.c861-hero h1{font-size:clamp(42px,5.1vw,72px);line-height:.99;letter-spacing:-.055em;margin:20px 0 18px;max-width:800px}
.c861-hero p{font-size:clamp(16px,1.55vw,21px);line-height:1.55;color:#d7e0ff;max-width:650px;margin:0}
.c861-features{display:flex;gap:10px;flex-wrap:wrap;margin-top:30px}
.c861-features span{
  display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:12px;
  background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);
  font-size:12px;font-weight:700
}
.c861-showcase-foot{position:relative;z-index:2;color:#b9c7ee;font-size:11px}
.c861-loginzone{
  position:relative;
  min-height:100vh;
  padding:32px clamp(24px,5vw,72px);
  display:flex;align-items:center;justify-content:center
}
.c861-loginzone:before,.c861-loginzone:after{
  content:"";position:absolute;border-radius:50%;filter:blur(1px);pointer-events:none
}
.c861-loginzone:before{width:170px;height:170px;background:rgba(115,87,239,.08);top:9%;right:4%}
.c861-loginzone:after{width:120px;height:120px;background:rgba(81,111,233,.08);bottom:10%;left:2%}
.c861-card{
  position:relative;z-index:2;width:min(100%,500px);
  border:1px solid rgba(219,225,240,.92);
  border-radius:30px;background:rgba(255,255,255,.90);
  box-shadow:0 32px 80px rgba(20,38,90,.15);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  padding:clamp(28px,4.6vw,48px)
}
.c861-mobile-logo{display:none}
.c861-card-head{margin-bottom:28px}
.c861-card-head .c861-eyebrow{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:850;color:var(--c861-violet)}
.c861-card-head h2{font-size:36px;letter-spacing:-.045em;margin:7px 0 7px;color:var(--c861-navy)}
.c861-card-head p{margin:0;color:var(--c861-muted);line-height:1.45}
.c861-form{display:grid;gap:17px}
.c861-field{display:grid;gap:7px}
.c861-field>span{font-size:13px;font-weight:780;color:#273557}
.c861-inputwrap{position:relative}
.c861-inputwrap input{
  width:100%;min-height:54px;border:1.5px solid var(--c861-line);border-radius:15px;
  padding:13px 15px;background:#fff;color:var(--c861-text);font-size:16px;
  outline:none;transition:.18s ease;box-shadow:0 1px 0 rgba(16,38,93,.02)
}
.c861-inputwrap input:focus{border-color:#806bf2;box-shadow:0 0 0 4px rgba(115,87,239,.10)}
.c861-inputwrap.has-button input{padding-right:54px}
.c861-eye{
  position:absolute;right:7px;top:7px;width:40px;height:40px;border:0;border-radius:11px;background:#f4f5fb;
  color:#59627a;cursor:pointer;font-size:18px
}
.c861-submit{
  min-height:56px;border:0;border-radius:15px;padding:0 20px;
  background:linear-gradient(135deg,var(--c861-navy),#294ca9 56%,#6753df);
  color:#fff;font-weight:850;font-size:15px;cursor:pointer;
  box-shadow:0 13px 28px rgba(32,64,141,.23);transition:.18s ease
}
.c861-submit:hover{transform:translateY(-1px);box-shadow:0 17px 32px rgba(32,64,141,.28)}
.c861-submit:active{transform:translateY(0)}
.c861-install{
  margin-top:22px;padding-top:19px;border-top:1px solid #edf0f6;display:grid;gap:9px
}
.c861-install-btn{
  width:100%;min-height:54px;border:1.5px solid #dcdff0;border-radius:15px;background:#f8f8ff;
  color:#273557;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:11px
}
.c861-install-btn img{width:28px;height:28px;border-radius:8px;object-fit:contain;background:white}
.c861-install small{display:block;text-align:center;color:#7c8497;line-height:1.4}
.c861-install-note{
  display:none;margin-top:6px;padding:12px 13px;border-radius:13px;background:#eef4ff;color:#314a84;
  font-size:12px;line-height:1.45
}
.c861-install-note.is-visible{display:block}
.c861-alert{border-radius:13px;padding:12px 14px;margin:0 0 16px;font-size:13px}
.c861-alert.success{background:#ecfdf3;color:#067647;border:1px solid #abefc6}
.c861-alert.error{background:#fef3f2;color:#b42318;border:1px solid #fecdca}
.c861-secure{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:20px;color:#8b91a2;font-size:11px}
.c861-dot{width:6px;height:6px;border-radius:50%;background:#2fbe79;box-shadow:0 0 0 4px rgba(47,190,121,.10)}
@media(max-width:900px){
  .c861-shell{grid-template-columns:1fr}
  .c861-showcase{display:none}
  .c861-loginzone{padding:24px 18px 36px}
  .c861-card{border-radius:26px;padding:28px 24px 25px}
  .c861-mobile-logo{display:flex;align-items:center;gap:13px;margin-bottom:24px}
  .c861-mobile-logo img{width:62px;height:62px;object-fit:contain;border-radius:18px;background:#fff;padding:5px;box-shadow:0 10px 24px rgba(34,57,116,.12)}
  .c861-mobile-logo strong{display:block;font-size:21px;color:var(--c861-navy)}
  .c861-mobile-logo span{display:block;font-size:12px;color:#80879a;margin-top:2px}
  .c861-card-head h2{font-size:31px}
}
@media(max-width:430px){
  body.c861-login{background:linear-gradient(160deg,#fafbff,#eef2ff)}
  .c861-loginzone{align-items:flex-start;padding-top:max(32px,env(safe-area-inset-top))}
  .c861-card{box-shadow:0 20px 50px rgba(20,38,90,.11)}
}
@media(prefers-reduced-motion:no-preference){
  .c861-card{animation:c861-enter .48s ease both}
  .c861-showcase:before{animation:c861-float 8s ease-in-out infinite alternate}
  @keyframes c861-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
  @keyframes c861-float{from{transform:translate3d(0,0,0)}to{transform:translate3d(-18px,22px,0)}}
}
