:root{
  --accent: #6d5efc;       /* purple like screenshot */
  --text: #111827;
  --muted: #6b7280;

  --input-bg: #f5f7fb;     /* soft grey input */
  --btn-bg: #e6e8ee;       /* disabled sign-in */
  --btn-text: #c0c5d2;

  --oauth-bg: #eceef4;     /* oauth buttons */
  --border: #eef0f6;
  --shadow: 0 10px 26px rgba(17,24,39,.10);

  --radius: 20px;
}

*{ 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:#fff;
  color:var(--text);
}

/* shared qwen svg styling */
.qwen-stroke{
  fill:none;
  stroke: var(--accent);
  stroke-width: 1.9;
  stroke-linejoin: round;
}
.qwen-fill{
  fill: var(--accent);
  opacity: .16;
}

.top-left{
  position: fixed;
  top: 22px;
  left: 22px;
  color: var(--accent);
  text-decoration:none;
  display:grid;
  place-items:center;
}

.wrap{
  min-height: 100vh;
  display:grid;
  place-items:center;
  padding: 28px 16px 86px;
}

.card{
  width: min(560px, 92vw);
  background:#fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px 34px 28px;
}

h1{
  margin: 4px 0 22px;
  text-align:center;
  font-size: clamp(22px, 2.8vw, 30px);
  letter-spacing: .2px;
}

.form{ width: 100%; }

.input{
  position: relative;
  display:block;
  margin: 14px 0;
}

.input input{
  width: 100%;
  height: 54px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--input-bg);
  padding: 0 50px 0 50px;
  outline:none;
  font-size: 15px;
  color: var(--text);
  transition: box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

.input input::placeholder{ color:#b0b6c6; }

.input input:focus{
  background:#fff;
  border-color: rgba(109,94,252,.18);
  box-shadow: 0 0 0 4px rgba(109,94,252,.10);
}

.ico{
  position:absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color:#0f172a;
  opacity:.75;
  display:grid;
  place-items:center;
}

.eye{
  position:absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  cursor:pointer;
  color:#0f172a;
  opacity:.6;
  border-radius: 12px;
  display:grid;
  place-items:center;
}
.eye:hover{
  background: rgba(17,24,39,.04);
  opacity:.75;
}
.hidden{ display:none; }

.forgot{
  display:inline-block;
  margin: 4px 0 18px;
  color: var(--accent);
  text-decoration:none;
  font-size: 13px;
  font-weight: 600;
}
.forgot:hover{ text-decoration: underline; }

.btn{
  width: 100%;
  height: 54px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor:pointer;
  font-weight: 700;
  font-size: 15px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
}

.btn-disabled{
  background: var(--btn-bg);
  color: var(--btn-text);
  cursor:not-allowed;
}

.btn-enabled{
  background: var(--accent);
  color: #fff;
  cursor:pointer;
}
.btn-enabled:hover{
  filter: brightness(.98);
}

.note{
  margin: 16px 0 0;
  text-align:center;
  color: var(--text);
  font-size: 13px;
}
.link{
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
}
.link.subtle{
  color: #8a90a2;
  font-weight: 600;
  text-decoration: underline;
}

.divider{
  display:flex;
  align-items:center;
  gap: 12px;
  margin: 18px 0 16px;
}
.line{
  height: 1px;
  flex: 1;
  background: #e7eaf2;
}
.or{
  color:#9aa1b3;
  font-weight: 700;
  font-size: 13px;
}

.btn-oauth{
  background: var(--oauth-bg);
  color: #111827;
  border: 1px solid transparent;
}
.btn-oauth:hover{
  background: #e8ebf3;
}

.oauth-ico{
  display:grid;
  place-items:center;
}

.terms{
  margin: 16px 0 0;
  text-align:center;
  color:#9aa1b3;
  font-size: 13px;
  line-height: 1.5;
}

/* Bottom left */
.bottom-left{
  position: fixed;
  left: 22px;
  bottom: 16px;
  display:flex;
  align-items:center;
  gap: 10px;
  color: var(--accent);
  font-weight: 800;
}
.brand-text{
  letter-spacing: .2px;
}

/* Bottom right icons */
.bottom-right{
  position: fixed;
  right: 22px;
  bottom: 14px;
  display:flex;
  align-items:center;
  gap: 10px;
  color: var(--accent);
}

.social{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  text-decoration:none;
  color: var(--accent);

  /* super subtle hover (like screenshot) */
  background: transparent;
  border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.social svg{ display:block; }

.social:hover{
  background: rgba(109,94,252,.028);
  border-color: rgba(109,94,252,.06);
  transform: translateY(-0.5px);
}

.social:active{
  transform: translateY(0);
  background: rgba(109,94,252,.05);
}

/* Responsive */
@media (max-width: 520px){
  .card{ padding: 24px 18px 18px; border-radius: 18px; }
  .top-left{ top: 14px; left: 14px; }
  .bottom-left{ left: 14px; bottom: 12px; }
  .bottom-right{ right: 14px; bottom: 10px; gap: 8px; }
  .social{ width: 32px; height: 32px; }
}
/* Qwen logo as image (PNG) */
.qwen-logo{
  width: 28px;
  height: 28px;
  display: inline-block;
  background-image: url("https://img.alicdn.com/imgextra/i1/O1CN01Lisg2I1mDPi8yGUez_!!6000000004920-2-tps-84-84.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Smaller version (bottom-left) */
.qwen-logo.small{
  width: 22px;
  height: 22px;
}

