/* Login card refinements. Mobile remains stacked; desktop receives balanced panels. */
.auth-card {
  width: 100%;
}

.auth-form-panel {
  position: relative;
}

.navbar-logo-surface,
.auth-logo-surface {
  align-items: center;
  background: rgba(255,255,255,.97);
  display: inline-flex;
  justify-content: center;
}

.navbar-logo-surface {
  border-radius: .65rem;
  height: 50px;
  padding: .2rem .45rem;
  width: 142px;
}

.navbar-logo,
.auth-logo {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.navbar-portal-copy strong {
  display: block;
  font-size: .92rem;
  line-height: 1.1;
}

.auth-logo-surface {
  border-radius: .8rem;
  box-shadow: 0 .5rem 1.5rem rgba(2,31,51,.14);
  max-width: 270px;
  padding: .65rem .85rem;
  width: 100%;
}

.auth-logo {
  aspect-ratio: 8 / 3;
}

@media (min-width: 992px) {
  .auth-card {
    flex-direction: row;
    flex-wrap: nowrap;
    max-width: 920px;
    min-height: 520px;
  }

  .auth-intro {
    min-height: 520px;
    padding: 3.5rem !important;
  }

  .auth-intro h1 {
    font-size: 2.25rem !important;
    letter-spacing: -.025em;
    line-height: 1.13;
    max-width: 285px;
  }

  .auth-intro p {
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 285px;
  }

  .auth-form-panel {
    min-height: 520px;
    padding-left: 4.5rem !important;
    padding-right: 4.5rem !important;
  }
}

@media (max-width: 991.98px) {
  .auth-card {
    flex-direction: column;
    max-width: 560px;
    min-height: 0;
  }

  .auth-intro,
  .auth-form-panel {
    min-height: auto;
  }
}

@media (max-width: 575.98px) {
  .navbar-logo-surface {
    height: 44px;
    width: 118px;
  }

  .navbar-portal-copy {
    display: none;
  }

  .auth-logo-surface {
    max-width: 245px;
  }
}
