:root {
  --auxis-green: #c8ff1a;
  --text: #ffffff;
  --muted: #d6deef;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    linear-gradient(
      90deg,
      rgba(4,14,35,.70),
      rgba(4,14,35,.28),
      rgba(4,14,35,.50)
    ),
    url("../../assets/img/portada-akitasys-auxis.png") center center / cover no-repeat;
  overflow-x: hidden;
}

.top-brand {
  position: absolute;
  top: 40px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 10;
}

.top-brand img {
  height: 55px;
  width: auto;
}

.top-brand span {
  color: white;
  opacity: .5;
  font-size: 28px;
}

.akitasys-text {
  color: white;
  font-size: 34px;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: lowercase;
}

.login-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 20px 60px;
}

.login-card {
  width: 520px;
  background: rgba(4,14,35,.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  padding: 55px 50px;
  box-shadow:
    0 30px 80px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-card h1 {
  margin: 0;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
}

.subtitle {
  margin-top: 10px;
  margin-bottom: 35px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

#login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-group {
  width: 100%;
  max-width: 370px;
}

.form-control {
  height: 50px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.form-control::placeholder {
  color: rgba(255,255,255,.65);
}

.form-control:focus {
  border-color: var(--auxis-green);
  box-shadow: 0 0 0 2px rgba(200,255,26,.18);
  background: rgba(255,255,255,.12);
  color: #fff;
}

.input-group-addon {
  width: 52px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--auxis-green);
}

.input-group {
  width: 100%;
}

.btn-login {
  width: 100%;
  max-width: 370px;
  height: 54px;
  border: none;
  border-radius: 12px;
  background: var(--auxis-green);
  color: #071325;
  font-size: 18px;
  font-weight: 800;
  transition: .25s;
}

.btn-login:hover {
  background: #d8ff4f;
  transform: translateY(-2px);
}

.back-link {
  display: block;
  text-align: center;
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

.back-link:hover {
  color: var(--auxis-green);
  text-decoration: none;
}

.alert {
  border-radius: 10px;
  font-size: 14px;
  width: 100%;
  max-width: 370px;
}

.footer-text {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.footer-text strong {
  color: var(--auxis-green);
}

@media (max-width: 900px) {
  .top-brand {
    position: relative;
    top: auto;
    left: auto;
    padding: 30px 25px 0;
  }

  .login-container {
    justify-content: center;
    padding: 50px 25px;
    min-height: auto;
  }

  .footer-text {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    text-align: center;
    padding: 0 20px 30px;
  }
}

@media (max-width: 520px) {
  .top-brand img {
    height: 42px;
  }

  .akitasys-text {
    font-size: 26px;
  }

  .login-card {
    width: 100%;
    padding: 30px 24px;
  }

  .login-card h1 {
    font-size: 28px;
  }
}
