:root {
  --login-max-width: 560px;
  --login-radius: 20px;
  --login-text: var(--text-main);
  --login-muted: var(--text-muted);
  --login-line: var(--border-main);
}

.login-page {
  background: var(--bg-main);
  color: var(--text-main);
}

.login-wrap {
  max-width: var(--login-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO */
.login-hero {
  position: relative;
  min-height: 280px;
  padding: calc(var(--fixed-header-height, 130px) + 30px) 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url('../images/hero_abstract_bg.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.login-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 500px at var(--hero-mouse-x, 50%) var(--hero-mouse-y, 50%),
      rgba(255, 255, 255, 0.08) 0%,
      transparent 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.login-hero:hover::after {
  opacity: 1;
}

.login-hero__inner {
  max-width: 1400px;
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.login-hero__icon {
  position: absolute;
  left: 160px;
  top: -20px;
  transform: translateY(-50%);
  width: 160px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.login-hero__icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.login-hero__text {
  text-align: center;
}

.login-hero__eyebrow {
  margin: 0 0 16px 0;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #81d4fa;
  font-size: 1.1rem;
}

.login-hero__title {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation: loginNeonPulse 3s ease-in-out infinite alternate;
}

@keyframes loginNeonPulse {
  0% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(56, 189, 248, 0.2);
  }

  100% {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 0 30px rgba(56, 189, 248, 0.5), 0 0 40px rgba(56, 189, 248, 0.3);
  }
}

.login-section {
  padding: 30px 0 76px;
}

/* ALERTS */
.login-alert {
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
  border: 1px solid rgba(0, 0, 0, 0.12);
  margin-bottom: 12px;
}

.login-alert--success {
  background: rgba(46, 204, 113, 0.15);
  border-color: rgba(46, 204, 113, 0.3);
  color: #a8e6cf;
}

.login-alert--error {
  background: rgba(231, 76, 60, 0.15);
  border-color: rgba(231, 76, 60, 0.3);
  color: #ff8e8e;
}

/* CARD */
.login-card {
  border: 1px solid var(--login-line);
  border-radius: var(--login-radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-main);
  padding: 40px;
}

.login-card__title {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--login-text);
  font-size: 1.15rem;
  margin-bottom: 14px;
  text-align: center;
}

.login-field {
  margin-bottom: 14px;
}

.login-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--login-text);
}

.login-field input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-main);
  border-radius: 12px;
  color: var(--text-main);
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.login-field input:focus {
  border-color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px var(--accent-blue-glow);
}

.login-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  background: var(--accent-blue);
  box-shadow: 0 4px 14px 0 var(--accent-blue-glow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 10px;
}

.login-btn:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 var(--accent-blue-glow);
}

.login-link {
  display: block;
  text-align: center;
  margin-top: 15px;
  text-decoration: none;
  color: #38bdf8;
  font-weight: 700;
}

.login-link:hover {
  text-decoration: underline;
}

.login-links {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .login-hero {
    min-height: 330px !important;
    padding: calc(130px + 40px) 0 40px !important;
  }

  .login-hero__inner {
    padding: 0;
    justify-items: center;
    gap: 14px;
  }

  .login-hero__icon {
    display: none;
  }

  .login-hero__eyebrow {
    font-size: 0.98rem;
    line-height: 1.4;
    padding: 0 8px;
  }

  .login-hero__title {
    font-size: 2.22rem;
  }

  .login-hero__text {
    padding: 0 6px;
  }

  .login-wrap {
    padding: 0;
    width: 100%;
    max-width: 100%;
  }

  .login-card {
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-shadow: none;
    padding: 30px 20px;
  }
}

@media (max-width: 680px) {
  .login-hero {
    min-height: 330px !important;
    padding: 170px 0 40px !important;
  }
}
