
:root{
  --black:#050505;
  --white:#ffffff;
  --grey:#f4f4f4;
  --line:rgba(255,255,255,.18);
}

*{box-sizing:border-box}

body{
  margin:0;
  min-height:100vh;
  font-family:Arial,Helvetica,sans-serif;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.12), transparent 28%),
    linear-gradient(135deg,#000,#111 45%,#050505);
  color:#fff;
  display:grid;
  place-items:center;
  padding:24px;
}

.login-shell{
  width:min(1120px,100%);
  display:grid;
  grid-template-columns:1fr 430px;
  background:rgba(0,0,0,.45);
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 28px 80px rgba(0,0,0,.45);
}

.login-brand{
  padding:56px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:620px;
  background:
    linear-gradient(135deg,rgba(0,0,0,.2),rgba(255,255,255,.05)),
    #050505;
}

.login-brand img{
  width:190px;
  max-width:70%;
  margin-bottom:28px;
}

.login-brand h1{
  margin:0;
  text-transform:uppercase;
  letter-spacing:6px;
  font-size:clamp(36px,5vw,72px);
  line-height:.95;
}

.login-brand span{
  display:block;
  margin-top:18px;
  letter-spacing:7px;
  font-weight:900;
  font-size:14px;
}

.login-brand p{
  max-width:520px;
  color:#d7d7d7;
  font-size:18px;
  line-height:1.6;
  margin-top:28px;
}

.login-panel{
  background:#fff;
  color:#111;
  padding:44px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.login-panel h2{
  margin:0 0 8px;
  text-transform:uppercase;
  font-size:34px;
}

.login-panel p{
  margin:0 0 24px;
  color:#555;
}

.notice{
  border-radius:10px;
  padding:13px 15px;
  margin-bottom:16px;
  font-weight:700;
}

.notice.success{
  background:#eef9ef;
  color:#14551f;
  border:1px solid #bfe8c4;
}

.notice.error{
  background:#fff0f0;
  color:#7a1111;
  border:1px solid #f0b8b8;
}

label{
  display:block;
  font-weight:900;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:.04em;
  margin:16px 0 7px;
}

input{
  width:100%;
  min-height:48px;
  border:1px solid #ccc;
  border-radius:10px;
  padding:12px 14px;
  font-size:16px;
}

input:focus{
  outline:none;
  border-color:#050505;
  box-shadow:0 0 0 3px rgba(0,0,0,.12);
}

.login-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:14px 0 22px;
  flex-wrap:wrap;
}

.login-row label{
  margin:0;
  display:flex;
  align-items:center;
  gap:8px;
  text-transform:none;
  font-size:14px;
  letter-spacing:0;
  color:#444;
}

.login-row input{
  width:auto;
  min-height:auto;
}

button,.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:50px;
  border-radius:10px;
  border:1px solid #050505;
  background:#050505;
  color:#fff;
  text-decoration:none;
  text-transform:uppercase;
  font-weight:900;
  cursor:pointer;
  padding:12px 18px;
}

button:hover,.btn:hover{
  background:#fff;
  color:#050505;
}

.btn.secondary{
  margin-top:12px;
  background:#fff;
  color:#050505;
}

.btn.secondary:hover{
  background:#050505;
  color:#fff;
}

.login-links{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:22px;
}

.login-links a{
  color:#111;
  font-weight:800;
}

.footer-note{
  margin-top:24px;
  text-align:center;
  color:#777;
  font-size:13px;
}

@media(max-width:900px){
  .login-shell{grid-template-columns:1fr}
  .login-brand{min-height:auto;padding:36px;text-align:center;align-items:center}
  .login-panel{padding:32px}
}
