/* Generated from frontend/src/views/LoginView.vue by scripts/sync-login-assets.mjs. */

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 50% 50%;
  overflow: hidden;
  background: #f4f7fc;
}

.brand-panel {
  position: relative;
  min-height: 100vh;
  padding: 42px 5.5vw 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 34% 69%, rgba(75, 157, 255, .22), transparent 52%),
    linear-gradient(150deg, #061a3a 0%, #0a2f6b 48%, #1455b3 100%);
  isolation: isolate;
}

.brand-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 70%, rgba(2, 15, 38, .12));
}

.brand-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at 35% 69%, transparent 22%, rgba(1, 9, 24, .25) 100%);
}

.particle-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle-field--left {
  z-index: 4;
  opacity: .92;
  filter: drop-shadow(0 0 3px rgba(150, 200, 255, .28));
  transform: translate(var(--field-x, 0), var(--field-y, 0)) scale(1.015);
  transition: transform .65s ease-in-out;
}

.particle-field--right { z-index: 1; opacity: .82; }

.ring {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 50%;
  pointer-events: none;
}

.ring--large { right: -210px; bottom: -210px; width: 580px; height: 580px; }
.ring--medium { right: -130px; bottom: -130px; width: 380px; height: 380px; border-color: rgba(255, 255, 255, .11); }
.ring--small { top: -60px; left: -60px; width: 240px; height: 240px; }

.left-inner {
  position: relative;
  z-index: 5;
  width: min(510px, 100%);
  margin: auto;
  animation: leftEnter .7s ease-out both;
}

.brand-mark {
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-name {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}

.headline-badge {
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7ec8fc;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7ec8fc;
  box-shadow: 0 0 10px #7ec8fc;
  animation: badgePulse 2.2s ease-in-out infinite;
}

.headline-title {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(32px, 2.65vw, 38px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 1px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.headline-accent {
  position: relative;
  display: inline-block;
  color: transparent;
  background: linear-gradient(90deg, #64b5f6 0%, #e3f2fd 50%, #64b5f6 100%);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 4s ease-in-out infinite;
}

.accent-underline {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1e88e5, #64b5f6, transparent);
  transform-origin: left center;
  animation: underlineGrow 1.2s ease-out .45s both;
}

.headline-desc {
  max-width: 460px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
  line-height: 2;
}

.capability-cards {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
}

.capability-card {
  position: relative;
  min-width: 0;
  flex: 1;
  padding: 17px 12px 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-top: 2px solid;
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  backdrop-filter: blur(10px);
  transition: background .25s ease-in-out, transform .25s ease-in-out, box-shadow .25s ease-in-out;
}

.capability-card:hover {
  background: rgba(255, 255, 255, .14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  transform: translateY(-3px);
}

.capability-card::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -100%;
  width: 100%;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .11) 50%, transparent 70%);
  transition: left .6s ease-in-out;
  pointer-events: none;
}

.capability-card:hover::after { left: 100%; }
.capability-card--blue { border-top-color: #64b5f6; }
.capability-card--indigo { border-top-color: #9fa8da; }
.capability-card--cyan { border-top-color: #80deea; }
.capability-card--blue .capability-icon { color: #64b5f6; }
.capability-card--indigo .capability-icon { color: #b4bcf0; }
.capability-card--cyan .capability-icon { color: #80deea; }

.capability-icon {
  display: block;
  margin-bottom: 10px;
  font-size: 19px;
}

.capability-card strong {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}

.capability-card span {
  display: block;
  overflow: hidden;
  color: rgba(255, 255, 255, .43);
  font-size: 11px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.left-divider {
  height: 1px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent);
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tags span {
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 20px;
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .08);
  font-size: 12px;
  transition: background .2s ease-in-out;
}

.feature-tags span:hover { background: rgba(255, 255, 255, .15); }

.grid {
  position: absolute;
  inset: -52px;
  z-index: 0;
  opacity: .7;
  translate: var(--parallax-reverse-x, 0) var(--parallax-reverse-y, 0);
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-position: 0 0;
  background-size: 52px 52px;
  transition: translate .5s ease-in-out;
  animation: gridDrift 20s ease-in-out infinite alternate;
}

.aurora {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  mix-blend-mode: screen;
}

.aurora-one {
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  translate: var(--parallax-x, 0) var(--parallax-y, 0);
  background: rgba(56, 139, 253, .42);
  transform: translate(-50%, -50%);
  transition: translate .5s ease-in-out;
  animation: glowBreathe 8s ease-in-out infinite;
}

.cursor-glow {
  position: absolute;
  z-index: 3;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 180, 255, .16) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: opacity .4s ease-in-out;
}

.login-panel {
  position: relative;
  min-height: 100vh;
  padding: 46px 5vw 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 46% 38%, rgba(255, 255, 255, .96) 0%, rgba(247, 250, 253, .9) 43%, transparent 72%),
    linear-gradient(145deg, #f7f9fc, #edf2f7);
}

.login-panel::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 1px;
  background: linear-gradient(to bottom, transparent 4%, rgba(155, 174, 197, .3) 24%, rgba(155, 174, 197, .3) 76%, transparent 96%);
}

.panel-halo {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.panel-halo--primary {
  top: 40%;
  left: 46%;
  width: 680px;
  height: 620px;
  background: radial-gradient(circle, rgba(60, 126, 193, .1) 0%, rgba(93, 145, 194, .027) 46%, transparent 72%);
  transform: translate(-50%, -50%);
  animation: panelHaloFloat 13s ease-in-out infinite;
}

.panel-halo--secondary {
  right: -180px;
  bottom: -210px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(96, 139, 201, .09), transparent 68%);
  animation: panelHaloPulse 16s -7s ease-in-out infinite;
}

.panel-sweep {
  position: absolute;
  top: 7%;
  left: -54%;
  width: 38%;
  height: 108%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(99, 160, 209, .045), rgba(255, 255, 255, .48), transparent);
  filter: blur(9px);
  transform: rotate(13deg);
  pointer-events: none;
  animation: panelSweep 19s ease-in-out infinite;
}

.dots-pattern {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: radial-gradient(rgba(57, 102, 158, .11) .7px, transparent .7px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at 50% 43%, #000, transparent 72%);
  pointer-events: none;
  animation: dotsDrift 28s linear infinite;
}

.login-wrap {
  position: relative;
  z-index: 3;
  width: min(412px, 100%);
  margin-top: -34px;
  padding: 40px 43px 38px;
  overflow: hidden;
  border: 1px solid rgba(214, 223, 234, .68);
  border-radius: 14px;
  background: rgba(255, 255, 255, .975);
  box-shadow: 0 1px 2px rgba(23, 43, 70, .035), 0 18px 48px rgba(27, 55, 91, .075), 0 38px 80px rgba(27, 55, 91, .032);
  animation: formEnter .48s ease-out both;
  isolation: isolate;
}

.login-wrap::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 43px;
  z-index: 1;
  width: 78px;
  height: 2px;
  background: linear-gradient(90deg, #1769aa, rgba(87, 173, 221, .42), transparent);
}

.card-orbit {
  position: absolute;
  top: -94px;
  right: -78px;
  z-index: 0;
  width: 188px;
  height: 188px;
  border: 1px solid rgba(21, 101, 192, .12);
  border-radius: 50%;
  background:
    radial-gradient(circle at 25% 75%, rgba(21, 101, 192, .52) 0 1.5px, rgba(21, 101, 192, .13) 2px 6px, transparent 7px),
    radial-gradient(circle at 38% 62%, rgba(73, 153, 211, .11), transparent 58%);
  box-shadow:
    0 0 0 25px rgba(21, 101, 192, .027),
    0 0 0 49px rgba(21, 101, 192, .012);
  opacity: .82;
  pointer-events: none;
  animation: cardOrbitBreathe 8s ease-in-out infinite;
}

.card-orbit::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(21, 101, 192, .065);
  border-radius: 50%;
}

.card-orbit__node {
  position: absolute;
  inset: 0;
  transform-origin: center;
  animation: cardNodeOrbit 9s ease-in-out infinite alternate;
}

.card-orbit__node::after {
  content: '';
  position: absolute;
  top: calc(50% - 3px);
  left: -3px;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: rgba(58, 139, 202, .82);
  box-shadow: 0 0 0 4px rgba(58, 139, 202, .08), 0 0 12px rgba(58, 139, 202, .38);
}

.mobile-brand, .form-header, .login-form { position: relative; z-index: 1; }

.mobile-brand { display: none; }
.form-header { margin-bottom: 28px; }
.form-accent { width: 30px; height: 3px; margin-bottom: 12px; display: block; border-radius: 3px; background: linear-gradient(90deg, #1769aa 0 65%, #79b9df 65% 82%, #d2e3ee 82%); }
.form-header h2 { margin: 0; color: #1d2939; font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: .15px; }

.captcha-row { display: flex; align-items: center; gap: 12px; width: 100%; }
.captcha-row .el-input { min-width: 0; flex: 1; }
.captcha-image { position: relative; width: 118px; height: 48px; flex: 0 0 118px; padding: 0; overflow: hidden; border: 1px solid #d8e2ef; border-radius: 8px; background: #eef4fb; cursor: pointer; box-shadow: 0 2px 6px rgba(35, 74, 118, .045); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.captcha-image:hover { border-color: #9bbbd6; box-shadow: 0 4px 10px rgba(35, 74, 118, .08); transform: translateY(-1px); }
.captcha-image:active { transform: translateY(0); }
.captcha-image canvas { display: block; pointer-events: none; }
.captcha-refresh { position: absolute; right: 3px; bottom: 3px; width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid rgba(193, 208, 224, .78); border-radius: 5px; color: #50668f; background: rgba(255, 255, 255, .88); box-shadow: 0 1px 4px rgba(31, 54, 88, .1); font-size: 11px; transition: color .18s ease, transform .25s ease; }
.captcha-image:hover .captcha-refresh { color: #1565c0; transform: rotate(90deg); }

.login-button { position: relative; width: 100%; height: 50px; margin-top: 9px; display: grid; place-items: center; overflow: hidden; border: 0; border-radius: 8px; color: #fff; background: linear-gradient(135deg, #145e98 0%, #1769aa 58%, #1c77b4 100%); box-shadow: 0 5px 14px rgba(23, 105, 170, .21), inset 0 1px 0 rgba(255, 255, 255, .16); cursor: pointer; font-size: 15px; font-weight: 600; letter-spacing: 1.5px; transition: transform .15s ease, filter .2s ease, box-shadow .2s ease; }
.login-button::after { content: ''; position: absolute; top: 0; left: -65%; width: 42%; height: 100%; background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .18), transparent); transform: skewX(-18deg); transition: left .55s ease; }
.login-button:hover:not(:disabled) { filter: brightness(1.04); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(23, 105, 170, .26), inset 0 1px 0 rgba(255, 255, 255, .18); }
.login-button:active:not(:disabled) { transform: translateY(0); box-shadow: 0 2px 7px rgba(23, 105, 170, .2), inset 0 1px 0 rgba(255, 255, 255, .12); }
.login-button:hover:not(:disabled)::after { left: 125%; }
.login-button:disabled { cursor: wait; opacity: .78; }
.login-button span { display: flex; align-items: center; justify-content: center; gap: 9px; }
.spinner { width: 15px; height: 15px; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes gridDrift { from { background-position: 0 0; } to { background-position: 52px 52px; } }
@keyframes glowBreathe { 0%, 100% { opacity: .66; scale: .96; } 50% { opacity: .94; scale: 1.06; } }
@keyframes panelHaloFloat { 0%, 100% { transform: translate(-52%, -50%) scale(.96); opacity: .72; } 50% { transform: translate(-46%, -54%) scale(1.06); opacity: 1; } }
@keyframes panelHaloPulse { 0%, 100% { scale: .92; opacity: .55; } 50% { scale: 1.08; opacity: .9; } }
@keyframes panelSweep { 0%, 28% { left: -54%; opacity: 0; } 40% { opacity: .5; } 63%, 100% { left: 132%; opacity: 0; } }
@keyframes dotsDrift { from { background-position: 0 0; } to { background-position: 30px 30px; } }
@keyframes leftEnter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes badgePulse { 0%, 100% { opacity: .62; scale: .88; } 50% { opacity: 1; scale: 1.08; } }
@keyframes textShine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes underlineGrow { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes cardOrbitBreathe { 0%, 100% { opacity: .66; scale: .985; } 50% { opacity: .88; scale: 1.015; } }
@keyframes cardNodeOrbit { from { transform: rotate(-8deg); } to { transform: rotate(-58deg); } }
@keyframes formEnter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1050px) {
  .brand-panel { padding-inline: 30px; }
}

@media (max-width: 820px) {
  .login-page { display: block; background: #f7f8fb; }
  .brand-panel { display: none; }
  .login-panel { padding: 28px 24px; }
  .login-wrap { margin-top: 0; padding: 30px 28px 28px; }
  .mobile-brand { margin-bottom: 30px; display: flex; align-items: center; gap: 11px; color: var(--color-text-primary); }
  .mobile-brand strong { font-size: 14px; letter-spacing: 1px; }
}

@media (max-width: 420px) {
  .login-panel { padding-inline: 16px; }
  .login-wrap { padding-inline: 22px; }
  .captcha-row { gap: 8px; }
  .captcha-image { width: 108px; flex-basis: 108px; }
  .captcha-image canvas { transform: scaleX(.93); transform-origin: left center; }
}

@media (max-height: 720px) and (min-width: 821px) {
  .brand-panel { padding-block: 28px 24px; }
  .brand-mark { margin-bottom: 25px; }
  .headline-badge { margin-bottom: 10px; }
  .headline-title { margin-bottom: 10px; font-size: 30px; }
  .headline-desc { margin-bottom: 20px; }
  .capability-cards { margin-bottom: 18px; }
  .capability-card { padding-block: 12px 11px; }
  .left-divider { margin-bottom: 16px; }
  .login-panel { padding-block: 24px; }
  .login-wrap { margin-top: -18px; padding-block: 28px 26px; }
  .form-header { margin-bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .grid, .aurora, .panel-halo, .panel-sweep, .dots-pattern, .left-inner, .badge-dot, .headline-accent, .accent-underline, .login-wrap, .card-orbit, .card-orbit__node { animation: none !important; }
  .grid, .aurora-one, .particle-field--left { translate: 0 0; transition: none; }
  .particle-field--left { transform: none; }
}
