.signin-hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  height: calc(100vh - var(--header-height));
  overflow: hidden;
}

.image-bleed {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background-image: url("/assets/images/man-at-laptop.jpg");
  background-size: cover;
  background-position: center center;
  z-index: 1;
  margin-top: var(--header-height);
}

.signin-hero > .container {
  position: relative;
  z-index: 5;
  height: 100%;
}

.signin-hero .col-12 {
  position: static;
}

@media (min-width: 992px) {
  .signin-hero .signin-card {
    position: absolute !important;
    top: 50%;
    right: 13px;
    transform: translateY(-50%);
    width: min(420px, 40vw);
    z-index: 10;
  }
}

@media (max-width: 991.98px) {
  .signin-hero {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh;
  }

  .image-bleed {
    position: relative;
    order: 1;
    width: 100%;
    min-height: 36vh;
  }

  .signin-hero > .container {
    order: 2;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .signin-hero > .container > div {
    width: 100%;
  }

  .signin-card {
    position: static !important;
    transform: none;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    box-shadow: 0 12px 28px rgba(8, 12, 20, 0.08);
    border-radius: 10px;
  }

  .signin-card .card-body {
    padding: 18px;
  }
}
