/* Login page — dark glass shell + grid; fonts from shell.css */

:root {
  --color-gitlab: #fc6d26;
  --color-gitlab-hover: #e24329;
  --motion: 180ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

.icon {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-block;
  vertical-align: -0.15em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-family: var(--shell-font);
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--motion) ease, transform var(--motion) ease, box-shadow var(--motion) ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-gitlab {
  background: var(--color-gitlab);
  color: #fff;
  width: 100%;
  box-shadow: 0 8px 28px rgb(252 109 38 / 0.28);
}

.btn-gitlab:hover {
  background: var(--color-gitlab-hover);
  color: #fff;
  box-shadow: 0 10px 32px rgb(252 109 38 / 0.4);
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.anim-rise {
  animation: rise-in 0.45s ease both;
}

.anim-rise-delay {
  animation: rise-in 0.5s ease 0.08s both;
}

.anim-fade {
  animation: fade-in 0.6s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .anim-rise,
  .anim-rise-delay,
  .anim-fade {
    animation: none;
  }
}

.login-page {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.25rem;
  position: relative;
  overflow: hidden;
  font-family: var(--shell-font);
  color: var(--shell-ink);
  -webkit-font-smoothing: antialiased;
  /* shell-body supplies glow + grid */
  background: transparent;
}

.login-hero {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  width: 100%;
  margin: 0 auto;
}

.login-eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--shell-font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shell-accent);
}

.login-brand {
  font-family: var(--shell-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 10vw, 3.75rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--shell-ink);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.login-brand img {
  width: clamp(2.75rem, 10vw, 3.5rem);
  height: clamp(2.75rem, 10vw, 3.5rem);
  border-radius: 0;
  object-fit: contain;
  box-shadow: 0 0 32px rgba(252, 109, 38, 0.28);
}

.login-headline {
  font-family: var(--shell-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: var(--shell-ink);
}

.login-support {
  margin: 0 0 1.75rem;
  font-family: var(--shell-font);
  font-weight: 400;
  color: var(--shell-mute);
  font-size: 0.95rem;
  max-width: 22rem;
  line-height: 1.55;
}

.login-panel {
  padding: 1.15rem;
  border-radius: var(--shell-radius-lg);
  border: 1px solid var(--shell-line-strong);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 0 40px rgba(139, 92, 246, 0.12),
    0 20px 48px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.login-note {
  margin: 0.9rem 0 0;
  font-family: var(--shell-font);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--shell-mute);
  text-align: center;
  line-height: 1.45;
}
