@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700;800&family=Orbitron:wght@500;600;700;800;900&display=swap");

.flash.auth-flash {
  width: 100%;
  margin: 0 0 1rem;
}

.login-v2-shell {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background: #050c18;
}

.login-v2,
.login-v2-panel,
.login-v2-form {
  display: flex;
}

.login-v2 {
  min-height: 100vh;
  color: #e8eef6;
  font-family: "Exo 2", sans-serif;
}

.login-v2 * {
  box-sizing: border-box;
}

.login-v2-scene {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: #050c18;
}

.login-v2-scene-img,
.login-v2-scene-tint,
.login-v2-scene-overlay {
  position: absolute;
  inset: 0;
}

.login-v2-scene-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) brightness(0.65) contrast(1.15) sepia(0.9) hue-rotate(190deg) saturate(2.4);
}

.login-v2-scene-tint {
  background: rgba(0, 30, 60, 0.28);
  mix-blend-mode: multiply;
}

.login-v2-scene-overlay {
  background:
    linear-gradient(90deg, rgba(5, 12, 24, 0.25) 0%, rgba(5, 12, 24, 0) 40%, rgba(5, 12, 24, 0) 60%, rgba(5, 12, 24, 0.55) 82%, rgba(5, 12, 24, 0.88) 93%, rgba(5, 12, 24, 0.98) 100%),
    linear-gradient(180deg, rgba(5, 12, 24, 0.4) 0%, rgba(5, 12, 24, 0) 25%, rgba(5, 12, 24, 0) 75%, rgba(5, 12, 24, 0.5) 100%);
}

.login-v2-scene-caption {
  position: absolute;
  bottom: 26px;
  left: 28px;
  color: rgba(0, 212, 255, 0.45);
  font-family: "Orbitron", sans-serif;
  font-size: 8.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.login-v2-panel {
  position: relative;
  z-index: 2;
  width: 430px;
  min-width: 370px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(160deg, #0a1220 0%, #080e18 100%);
}

.login-v2-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.5) 40%, rgba(0, 229, 192, 0.4) 60%, transparent);
}

.login-v2-logo-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 40px;
}

.login-v2-logo {
  width: 230px;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(0, 212, 255, 0.2));
}

.login-v2-title {
  align-self: flex-start;
  margin-bottom: 22px;
  color: #5f7388;
  font-family: "Orbitron", sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.login-v2-error {
  width: 100%;
  margin-bottom: 18px;
  padding: 11px 14px;
  border: 1px solid rgba(239, 91, 82, 0.28);
  border-radius: 9px;
  background: rgba(239, 91, 82, 0.09);
  color: #ef5b52;
  font-family: "Orbitron", sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.login-v2-error ul {
  margin: 0.45rem 0 0;
  padding-left: 1rem;
}

.login-v2-form {
  width: 100%;
  flex-direction: column;
}

.login-v2-field {
  width: 100%;
  margin-bottom: 15px;
}

.login-v2-field label {
  display: block;
  margin-bottom: 7px;
  color: #5f7388;
  font-family: "Orbitron", sans-serif;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.login-v2-field input {
  width: 100%;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #e8eef6;
  font-family: "Exo 2", sans-serif;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}

.login-v2-field input:focus {
  border-color: #00d4ff;
  background: rgba(0, 212, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.login-v2-field input::placeholder {
  color: #5f7388;
  font-size: 13px;
}

.login-v2-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(120deg, #1e6fff 0%, #00d4ff 100%);
  color: #04121f;
  cursor: pointer;
  font-family: "Orbitron", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 8px 28px -10px rgba(0, 150, 255, 0.55);
  transition: all 0.22s;
}

.login-v2-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -8px rgba(0, 170, 255, 0.65);
}

.login-v2-submit:focus {
  background: linear-gradient(120deg, #1e6fff 0%, #00d4ff 100%);
  color: #04121f;
  box-shadow: 0 8px 28px -10px rgba(0, 150, 255, 0.55);
}

.login-v2-submit:focus-visible {
  outline: 3px solid #e8eef6;
  outline-offset: 3px;
}

.login-v2-submit:active {
  transform: translateY(0);
}

.login-v2-link {
  align-self: flex-end;
  margin: -3px 0 8px;
  color: #00d4ff;
  font-size: 13px;
  text-decoration: none;
}

.login-v2-link--center {
  align-self: center;
  margin-top: 18px;
}

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

.login-v2-copy,
.login-v2-hint {
  color: #8ca0b5;
  font-size: 13px;
}

.login-v2-copy { margin: 0 0 18px; }
.login-v2-hint { margin: 6px 0 0; }

.login-v2-separator {
  width: 100%;
  height: 1px;
  margin: 30px 0 26px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.login-v2-footer {
  color: #5f7388;
  font-family: "Orbitron", sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-align: center;
}

.login-v2-footer span {
  background: linear-gradient(120deg, #00d4ff 0%, #00e5c0 100%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

.login-v2-tagline {
  margin-top: 8px;
  color: #5f7388;
  font-family: "Orbitron", sans-serif;
  font-size: 7.5px;
  letter-spacing: 0.13em;
  opacity: 0.4;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .login-v2-shell {
    overflow: auto;
  }

  .login-v2 {
    min-height: 100vh;
    flex-direction: column;
  }

  .login-v2-scene {
    min-height: 34vh;
    flex: none;
  }

  .login-v2-scene-caption {
    right: 1.25rem;
    bottom: 1.1rem;
    left: 1.25rem;
  }

  .login-v2-panel {
    width: 100%;
    min-width: 0;
    min-height: 66vh;
    padding: 2.25rem 1.5rem;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
}
