/* 点动云登录页 · 融入 cute-login-characters 风格 */
.auth-page {
  min-height: 100vh;
  display: flex;
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 45%, #1e3a8a 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #fff;
}

.auth-page__panel--chars {
  flex: 0 0 42%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}

.auth-page__panel--chars::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -80px;
  right: -60px;
  pointer-events: none;
}

.auth-page__panel--form {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.auth-brand {
  margin-bottom: 36px;
  text-align: center;
  z-index: 1;
}

.auth-brand__logo {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  line-height: 1;
}

.auth-brand__mark {
  height: 3.45em !important;
  width: auto !important;
  object-fit: contain;
  display: block;
  background: transparent;
  padding: 0;
  border-radius: 0;
  flex: 0 0 auto;
}

.auth-brand__text {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}

.auth-brand__logo span,
.auth-brand__text span {
  color: #93c5fd;
}

.auth-brand__tagline {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

.auth-characters {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.auth-character {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  animation: auth-char-float 3s ease-in-out infinite;
  position: relative;
}

.auth-character--1 {
  background: #ff6b6b;
  animation-delay: 0s;
}
.auth-character--2 {
  background: #4ecdc4;
  animation-delay: 0.2s;
}
.auth-character--3 {
  background: #ffe66d;
  animation-delay: 0.4s;
}

@keyframes auth-char-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.auth-character::before {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  top: 14px;
  left: 14px;
}

.auth-character__eyes {
  display: flex;
  gap: 10px;
  z-index: 2;
  position: relative;
}

.auth-character__eye {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.auth-character__pupil {
  width: 12px;
  height: 12px;
  background: #333;
  border-radius: 50%;
  position: relative;
  transition: transform 0.08s ease-out;
}

.auth-character__pupil::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  left: 3px;
}

.auth-character__mouth {
  width: 20px;
  height: 8px;
  border: 2px solid #333;
  border-top: none;
  border-radius: 0 0 20px 20px;
  transition: all 0.3s ease;
  z-index: 2;
}

.auth-character__mouth.is-ignoring {
  width: 18px;
  height: 6px;
  border-radius: 0 0 15px 5px;
  transform: translateX(2px);
}

.auth-form-card {
  width: min(460px, 100%);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 28px 26px 24px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
  color: #111827;
}

.auth-form-card .title {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 1.45rem;
  font-weight: 700;
}

.auth-form-card .subtitle {
  margin: 0 0 18px;
  font-size: 0.86rem;
  color: #64748b;
}

.auth-form-card .subtitle strong {
  color: #2563eb;
  font-weight: 700;
}

.auth-form-card .label {
  font-size: 14px;
  color: #111827;
  font-weight: 600;
  margin: 10px 0 6px;
  display: block;
}

.auth-form-card .input {
  width: 100%;
  height: 44px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 0 14px;
  box-sizing: border-box;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form-card .input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.auth-form-card .row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.auth-form-card .btn {
  height: 44px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
}

.auth-form-card .btn-primary {
  width: 100%;
  background: linear-gradient(90deg, #2563eb, #4f46e5);
  color: #fff;
  margin-top: 12px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.auth-form-card .btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.45);
}

.auth-form-card .btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.auth-form-card .btn-outline {
  padding: 0 14px;
  border: 1px solid #2563eb;
  background: #fff;
  color: #2563eb;
  white-space: nowrap;
}

.auth-form-card .note {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: #475569;
}

.auth-form-card .links {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
}

.auth-form-card .links a {
  color: #2563eb;
  text-decoration: none;
  margin: 0 6px;
}

.auth-form-card .links a:hover {
  text-decoration: underline;
}

.auth-form-card .captcha-wrap {
  margin-top: 12px;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
}

@media (max-width: 900px) {
  .auth-page {
    flex-direction: column;
  }

  .auth-page__panel--chars {
    flex: 0 0 auto;
    max-width: none;
    width: 100%;
    padding: 28px 20px 16px;
  }

  .auth-characters {
    gap: 18px;
  }

  .auth-character {
    width: 72px;
    height: 72px;
  }

  .auth-page__panel--form {
    width: 100%;
    padding: 16px 16px 32px;
  }
}
