/* Login is the public front door: structured, branded, and deliberately quiet. */
.login-page {
  --login-ink: #0c2c3a;
  --login-gold: #e6ac18;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #071b25;
}

.login-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: url("/brand/login-city.webp") center / cover no-repeat;
  filter: saturate(1.18) contrast(1.08) brightness(0.72) blur(0.7px);
  transform: scale(1.035);
}

.login-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: rgba(3, 23, 34, 0.46);
}

.login-shell {
  position: relative;
  width: min(1120px, 100%);
  min-height: 620px;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(10, 35, 46, 0.18);
  box-shadow: 0 32px 88px rgba(0, 0, 0, 0.36), 0 4px 18px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.login-shell::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 194px;
  height: 3px;
  z-index: 2;
  background: var(--login-gold);
}

.login-intro {
  position: relative;
  overflow: hidden;
  background: rgba(8, 39, 52, 0.8);
  backdrop-filter: blur(12px);
}

.login-intro::before {
  content: "";
  position: absolute;
  top: 56px;
  right: 52px;
  width: 86px;
  height: 3px;
  pointer-events: none;
  background: var(--login-gold);
}

.login-intro > * {
  position: relative;
  z-index: 1;
}

.login-brand {
  position: relative;
}

.login-brand::after {
  content: "";
  width: 34px;
  height: 2px;
  margin-left: auto;
  background: var(--login-gold);
}

.login-panel {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.login-panel-head span {
  color: #087f79;
  font-weight: 600;
}

.login-panel input {
  min-height: 48px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.login-panel input:focus {
  box-shadow: 0 0 0 4px rgba(0, 127, 121, 0.1);
}

.login-submit {
  min-height: 48px;
  box-shadow: 0 8px 14px rgba(0, 127, 121, 0.18);
}

.login-submit:hover {
  box-shadow: 0 10px 18px rgba(0, 127, 121, 0.24);
}

@media (max-width: 720px) {
  .login-page::before {
    background-position: 58% center;
  }

  .login-page::after {
    background: rgba(4, 23, 33, 0.56);
  }

  .login-shell::before {
    width: 104px;
  }

  .login-panel {
    background: rgba(255, 255, 255, 0.92);
  }
}
