.login-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 28px;
  color: #f8fafc;
  background:
    linear-gradient(115deg, rgba(217, 45, 58, 0.18), transparent 28%),
    linear-gradient(245deg, rgba(33, 150, 153, 0.16), transparent 32%),
    linear-gradient(145deg, #090d16 0%, #141926 44%, #0b1018 100%);
}

.login-grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(900px) rotateX(58deg) scale(1.5) translateY(8%);
  transform-origin: center bottom;
  animation: gridDrift 15s linear infinite;
}

.login-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: scanline 5s ease-in-out infinite;
}

.login-panel {
  position: relative;
  width: min(100%, 430px);
  padding: 34px;
  background: rgba(14, 20, 31, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(20px);
  animation: contentScaleIn 360ms var(--ease-emphasized) both;
}

.login-brand {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 34px;
  animation: contentFadeUp 420ms var(--ease-emphasized) both;
}

.login-brand h1 {
  margin: 2px 0 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

.login-kicker {
  color: #9cc7cb !important;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.login-form {
  display: grid;
  gap: 18px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: inherit;
  font-size: 13px;
  font-weight: 650;
  animation: rowFadeIn 260ms var(--ease-emphasized) both;
}

.login-form label span {
  color: inherit;
}

.login-form .semi-input-wrapper {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition:
    background var(--motion-normal) var(--ease-standard),
    border-color var(--motion-normal) var(--ease-standard),
    box-shadow var(--motion-normal) var(--ease-standard);
}

.login-form .semi-input-wrapper__with-prefix {
  padding-inline: 12px;
}

.login-form .semi-input-wrapper:hover,
.login-form .semi-input-wrapper-focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(156, 199, 203, 0.72);
  box-shadow: 0 0 0 4px rgba(156, 199, 203, 0.08);
}

.login-form .semi-input,
.login-form .semi-input-prefix {
  color: #f8fafc;
}

.login-form .semi-input-wrapper__with-prefix .semi-input {
  padding-left: 10px;
  padding-right: 0;
}

.login-form .semi-input-prefix {
  flex: 0 0 auto;
  width: 20px;
  justify-content: center;
}

.login-form .semi-input-prefix svg {
  display: block;
}

.login-form .semi-input::placeholder {
  color: #b6c7d7;
  opacity: 1;
}

@media (max-width: 560px) {
  .login-page {
    padding: 16px;
  }

  .login-panel {
    padding: 24px;
  }
}
