:root{
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --stroke: rgba(15,23,42,0.10);
  --shadow: 0 18px 45px rgba(15,23,42,0.10);

  --ytred: #cc0000;
  --a: #6d28d9;
  --b: #0ea5e9;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
}

a{ text-decoration:none; color: inherit; }

.nav{
  position: sticky;
  top:0;
  z-index: 20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 22px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke);
}

.nav__left{ display:flex; align-items:center; gap: 12px; }
.brand__logo{
  width: 62px; height: 62px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--stroke);
  padding: 6px;
}
.brand__title{
  display:flex;
  gap: 6px;
  align-items:center;
  font-weight: 900;
  font-size: 20px;
  line-height: 1.2;
}
.brand__red{ color: var(--ytred); font-weight: 900; }
.brand__dark{ color: var(--text); font-weight: 850; }
.brand__subtitle{ font-size: 14px; color: var(--muted); margin-top: 2px; }

.nav__right{ display:flex; align-items:center; gap: 10px; }
.link{
  font-size: 14px;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
}
.link:hover{ background: rgba(2,6,23,0.04); color: var(--text); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: white;
  box-shadow: 0 6px 18px rgba(15,23,42,0.06);
  font-weight: 750;
  font-size: 14px;
  cursor: pointer;
}
.btn--ghost{ background: rgba(2,6,23,0.03); }
.btn--primary{
  background: linear-gradient(135deg, rgba(109,40,217,0.95), rgba(14,165,233,0.95));
  color: white;
  border: none;
}
.btn--lg{ padding: 12px 16px; border-radius: 16px; }
.w100{ width: 100%; }

.wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 18px 18px;
}

.login{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.login__left{
  padding: 28px;
  border-radius: 26px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.75);
  box-shadow: var(--shadow);
}

.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(109,40,217,0.08);
  border: 1px solid rgba(109,40,217,0.18);
  color: #3b0764;
  font-weight: 750;
  font-size: 13px;
}
.dot{
  width: 10px; height: 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: 0 0 0 6px rgba(109,40,217,0.10);
}

.title{
  margin: 14px 0 8px;
  font-size: 38px;
  letter-spacing: -0.8px;
}
.desc{
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.chips{ display:flex; gap: 10px; flex-wrap: wrap; }
.chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(2,6,23,0.03);
  font-weight: 650;
  color: #0f172a;
}
.ci{ font-size: 16px; }

.login__card{
  padding: 22px;
  border-radius: 26px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.85);
  box-shadow: var(--shadow);
}

.card__head{
  display:flex;
  align-items:center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--stroke);
  margin-bottom: 14px;
}
.lock{
  width: 44px; height: 44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(14,165,233,0.10);
  border: 1px solid rgba(14,165,233,0.20);
  font-size: 18px;
}
.card__title{ font-weight: 900; font-size: 18px; }
.card__sub{ color: var(--muted); font-size: 13px; margin-top: 2px; }

.alert{
  background: rgba(204,0,0,0.06);
  border: 1px solid rgba(204,0,0,0.18);
  color: #7f1d1d;
  padding: 12px 12px;
  border-radius: 16px;
  font-weight: 650;
  margin-bottom: 12px;
}

.form{ display:flex; flex-direction: column; gap: 12px; }

.field{ display:flex; flex-direction: column; gap: 6px; }
.label{ font-size: 13px; color: var(--muted); font-weight: 700; }

input{
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  outline: none;
  font-size: 14px;
  background: white;
}
input:focus{
  border-color: rgba(14,165,233,0.55);
  box-shadow: 0 0 0 4px rgba(14,165,233,0.10);
}

.password{
  display:flex;
  align-items:center;
  gap: 8px;
  background: white;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 0 8px 0 0;
}
.password input{
  border: none;
  box-shadow: none;
  width: 100%;
}
.eye{
  border: none;
  background: rgba(2,6,23,0.03);
  padding: 8px 10px;
  border-radius: 12px;
  cursor: pointer;
}

.meta{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
.meta__link{ color: rgba(14,165,233,0.95); font-weight: 750; }
.meta__link:hover{ text-decoration: underline; }
.sep{ opacity: .55; }

.note{
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.18);
  color: #14532d;
  display:flex;
  gap: 10px;
  align-items:flex-start;
  font-weight: 650;
  font-size: 13px;
}
.note .i{ font-size: 16px; }

.footer{
  max-width: 1100px;
  margin: 18px auto 30px;
  padding: 14px 18px;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__links a{ color: var(--muted); margin-left: 14px; }
.footer__links a:hover{ color: var(--text); }

@media (max-width: 980px){
  .login{ grid-template-columns: 1fr; }
  .title{ font-size: 30px; }
}
