/* Login page layout. Loaded on top of epc.css design tokens. */

.login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  position: relative;
  z-index: 1;
}
.login-card {
  width: 100%;
  max-width: 380px;
  padding: 32px 28px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.login-brand .name {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.login-brand .sub {
  color: var(--text-muted);
  font-weight: 400;
}
.login-card h1 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.login-card .lede {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0 0 24px;
}
.login-error {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 18px;
  background: var(--danger-soft);
  color: var(--danger);
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.4;
}
.login-error svg { flex-shrink: 0; margin-top: 1px; }
.login-notice {
  padding: 12px 14px;
  margin-bottom: 18px;
  background: var(--success-soft);
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.5;
}
.login-notice-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-weight: 600;
  margin-bottom: 6px;
}
.login-notice-title svg { flex-shrink: 0; }
.login-notice p { margin: 0 0 6px; }
.login-notice p:last-child { margin-bottom: 0; }
.login-notice-sub { opacity: 0.75; }
.login-card .field { margin-bottom: 14px; }
.login-card .field .cap { margin-bottom: 2px; }
.login-actions { margin-top: 22px; }
.login-actions .btn { width: 100%; justify-content: center; height: 38px; }
.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px;
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--border);
}
.login-github,
.login-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 38px;
}
.login-google {
  margin-bottom: 10px;
}
.login-foot {
  margin-top: 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
