

.auth-login-main.doc-page {
  padding: 0 0 2rem;
}

.auth-login-wrap {
  max-width: 28rem;
  margin: 0 auto;
}

.auth-login-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.auth-login-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #64748b;
  text-align: center;
}

.auth-login-title {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.auth-login-lead {
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  text-align: center;
}

.auth-login-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.btn-discord-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 22px;
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  color: #fff !important;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(88, 101, 242, 0.28);
  transition: filter 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn-discord-auth:hover {
  filter: brightness(1.04);
  box-shadow: 0 10px 28px rgba(88, 101, 242, 0.36);
  transform: translateY(-1px);
}

.btn-discord-auth:active {
  transform: translateY(0);
}

.btn-discord-auth:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-discord-auth svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.auth-login-hint {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
  text-align: center;
  line-height: 1.45;
}

.auth-login-hint code {
  font-size: 0.78rem;
  background: #fff;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.auth-login-back {
  display: block;
  text-align: center;
  margin-top: 1.35rem;
  color: var(--blue, #1e40af);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.auth-login-back:hover {
  text-decoration: underline;
  color: var(--blue-hover, #1d4ed8);
}

.auth-login-foot {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: center;
}

.auth-login-aside {
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #64748b;
  text-align: center;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
}

.auth-login-aside a {
  color: var(--blue, #1e40af);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-login-aside a:hover {
  color: var(--blue-hover, #1d4ed8);
}

@media (prefers-reduced-motion: reduce) {
  .btn-discord-auth:hover {
    transform: none;
  }
}
