/* ============================================================
   OriginHub — Login
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@600;700&display=swap');
body, html {
  margin: 0; padding: 0; width: 100%; height: 100%;
  background: #0c0e13;
  color: #edeef2;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  -webkit-font-smoothing: antialiased;
}
#ambient {
  position: fixed; inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px circle at 50% 0%, rgba(109,94,248,0.16), transparent 60%),
    radial-gradient(500px circle at 100% 100%, rgba(109,94,248,0.08), transparent 60%),
    #0c0e13;
}
.login-card {
  background: #14161d;
  padding: 46px 42px;
  border-radius: 20px;
  border: 1px solid #262a35;
  width: 380px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  box-sizing: border-box;
}
.login-logo {
  display: block;
  max-width: 240px;
  width: 100%;
  height: auto;
  margin: 0 auto 22px;
}
.subtitle {
  font-size: 13px;
  color: #5c6070;
  margin-bottom: 30px;
  font-weight: 500;
}
input {
  width: 100%;
  padding: 15px 16px;
  background: #0f1117;
  border: 1px solid #262a35;
  border-radius: 12px;
  color: #edeef2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  text-align: center;
  letter-spacing: 3px;
  outline: none;
  margin-bottom: 18px;
  box-sizing: border-box;
  transition: 0.15s ease;
}
input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(109,94,248,0.16); }
input::placeholder { color: #383e4d; letter-spacing: 2px; }
.btn-container { position: relative; width: 100%; height: 50px; }
button {
  width: 100%; height: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button:hover { background: var(--primary-hover, #7d6ffa); box-shadow: 0 8px 22px rgba(109,94,248,0.3); }
.error {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f0525f;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 18px;
  border: 1px solid rgba(240, 82, 95, 0.25);
  background: rgba(240, 82, 95, 0.1);
  padding: 11px 14px;
  border-radius: 10px;
  text-align: left;
}
.error svg { flex-shrink: 0; }
.foot-note {
  margin-top: 26px;
  font-size: 11.5px;
  color: #383e4d;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
input { user-select: text; }

.login-page-footer {
  position: fixed; bottom: 20px; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px; color: #5c6070; flex-wrap: wrap; padding: 0 20px; text-align: center;
}
.login-page-footer img { width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; }
.login-page-footer-dot { opacity: 0.6; }
