/* MySkyParcel login page background/layer isolation. */
.login-page {
  position: relative;
  z-index: 0;
  overflow: visible;
  background-color: transparent;
  background-image: url('/hero-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Keep the 3D visual/canvas layer inside the login page stacking context. */
.login-page main,
.login-page main > .relative,
.login-page canvas {
  position: relative;
  z-index: 1;
  overflow: visible;
}

/* Hide only the decorative city image; keep the globe/3D visual available. */
.login-page main > img:first-of-type[alt=""] {
  display: none;
}

.login-page main > div.absolute.inset-0 {
  display: none;
}

/* Text/visual information layer must never block form/header interaction. */
.login-page main > .relative > div:first-child {
  position: relative;
  z-index: 10;
  pointer-events: none;
}

/* Giriş sayfasındaki istenen metinleri siyah ve belirgin yap. */
.login-page main > .relative > div:first-child > p.mt-5 {
  color: #000 !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.65);
}

.login-page main > .relative > div:first-child > ul > li:nth-child(4) p {
  color: #000 !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.65);
}

/* Mobil + tablet: giriş paneli en üstte. */
@media (max-width: 1023px) {
  .login-page main > .relative > div:first-child {
    order: 2;
  }

  .login-page main > .relative > div:nth-child(2) {
    order: 1;
  }
}

/* Masaüstü: giriş panelini sayfanın sağ üstüne, üst menüdeki Giriş Yap / Üye Ol butonlarının hemen altına taşı. */
@media (min-width: 1024px) {
  .login-page main > .relative {
    position: relative;
    min-height: 760px;
  }

  .login-page main > .relative > div:first-child {
    order: 1;
  }

  .login-page main > .relative > div:nth-child(2) {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    width: 50%;
    max-width: 760px;
    justify-self: auto;
  }
}
