:root{
  --blue:#2f5bff;
  --blue2:#1f49ff;
  --text:#1f2a37;
  --muted:#6b7280;
  --line:#e5e7eb;
  --field:#f9fafb;
  --shadow: 0 18px 60px rgba(15, 23, 42, .12);
  --radius: 26px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#ffffff;
}

/* page framing */
.page{
  height:100%;
  padding:18px 18px 22px;
}

/* top bar */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:6px 10px 14px;
}

.brand{ display:flex; align-items:center; text-decoration:none; }
.brand__logo{ height:50px; width:auto; }

.nav{
  display:flex;
  align-items:center;
  gap:22px;
  font-size:13px;
}
.nav a{
  color:#111827;
  text-decoration:none;
  opacity:.85;
}
.nav a:hover{ opacity:1; }

.nav__btn{
  padding:8px 14px;
  border-radius:10px;
  background:var(--blue);
  color:#fff !important;
  opacity:1 !important;
  box-shadow: 0 8px 20px rgba(47, 91, 255, .25);
}

/* split screen container */
.split{
  height: calc(100% - 52px);
  min-height:620px;
  display:flex;
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}

/* left side */
.left{
  flex: 1 1 50%;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 18px;
}

.card{
  width:360px;
  max-width:90%;
}

.card__brand{
  display:flex;
  justify-content:flex-start;
  margin-bottom:16px;
}
.card__logo{
  height:50px;
  width:auto;
}

.title{
  margin:0 0 18px;
  font-size:22px;
  font-weight:700;
}

/* form */
.form{ display:flex; flex-direction:column; gap:10px; }

.label{
  font-size:12px;
  color:var(--muted);
  margin-top:4px;
}

.input-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  padding:10px 12px;
}

.icon{
  width:18px;
  display:inline-flex;
  justify-content:center;
  opacity:.55;
  font-size:14px;
}

.input-wrap input{
  border:0;
  outline:0;
  width:100%;
  font-size:13px;
  color:#111827;
}

.eye{
  border:0;
  background:transparent;
  cursor:pointer;
  opacity:.55;
  font-size:14px;
  padding:0 2px;
}
.eye:hover{ opacity:.9; }

.row{
  display:flex;
  justify-content:flex-end;
  margin:2px 0 6px;
}

.link{
  font-size:12px;
  color:var(--blue);
  text-decoration:none;
}
.link:hover{ text-decoration:underline; }

.primary{
  margin-top:6px;
  height:40px;
  border:0;
  border-radius:8px;
  background:var(--blue);
  color:#fff;
  font-weight:600;
  cursor:pointer;
  box-shadow: 0 10px 24px rgba(47, 91, 255, .22);
}
.primary:hover{ background:var(--blue2); }

.divider{
  margin:14px 0 8px;
  position:relative;
  text-align:center;
  color:var(--muted);
  font-size:12px;
}
.divider:before,
.divider:after{
  content:"";
  position:absolute;
  top:50%;
  width:36%;
  height:1px;
  background:var(--line);
}
.divider:before{ left:0; }
.divider:after{ right:0; }

.social{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-bottom:6px;
}
.social__btn{
  width:34px;
  height:34px;
  border-radius:8px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-weight:700;
  color:#111827;
  opacity:.9;
}
.social__btn:hover{
  box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}

.footer{
  margin:10px 0 0;
  font-size:12px;
  color:var(--muted);
  text-align:center;
}

/* right side */
.right{
  flex: 1 1 50%;
  background: radial-gradient(circle at 25% 20%, rgba(255,255,255,.15), transparent 38%),
              radial-gradient(circle at 80% 60%, rgba(255,255,255,.10), transparent 45%),
              var(--blue);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:30px;
}

.hero{
  width:min(700px,100%);
  height:auto;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,.18));
}

/* responsive */
@media (max-width: 980px){
  .split{ flex-direction:column; height:auto; }
  .right{ min-height:340px; }
  .nav{ display:none; } /* optional */
}


/* static/css/login/login.css  (add this block anywhere) */
.login-error{
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,0,0,.08);
  border: 1px solid rgba(255,0,0,.25);
  color: #b00020;
  font-size: 14px;
}
