/* Auth landing — split layout (no site header / breadcrumb / footer) */

html:has(body.sl-auth-body),
body.sl-auth-body {
  min-height: 100%;
  height: 100%;
  margin: 0;
  background: #0d0d0d;
}

body.sl-auth-body {
  display: block;
}

.sl-landing {
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  background: #0d0d0d;
}

.sl-landing__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 6vw, 72px);
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(13, 13, 13, 0.55) 0%, rgba(13, 13, 13, 0.82) 55%, rgba(150, 2, 2, 0.45) 100%),
    url("../image/man/garden1.jpg") center / cover no-repeat;
}

.sl-landing__brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(251, 202, 92, 0.18) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.35;
  pointer-events: none;
}

.sl-landing__brand-inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  justify-content: center;
}

.sl-landing__logo {
  display: block;
  margin-bottom: 32px;
}

.sl-landing__logo img {
  display: block;
  /* Source asset is 770px wide; allow a strong brand mark without overflowing the panel */
  width: min(420px, 92%);
  max-width: 770px;
  height: auto;
}

.sl-landing__pretitle {
  font-family: Barlow, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fbca5c;
  margin-bottom: 10px;
}

.sl-landing__title {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 16px;
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.sl-landing__text {
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
}

.sl-landing__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
}

.sl-landing__tab {
  min-width: 110px;
  padding: 12px 18px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
}

.sl-landing__tab.is-active,
.sl-landing__tab:hover {
  background: #fbca5c;
  border-color: #fbca5c;
  color: #0d0d0d;
}

.sl-landing__panel {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(24px, 4vw, 48px);
  overflow-y: auto;
  background:
    linear-gradient(180deg, #f7f7f7 0%, #ffffff 40%, #ffffff 100%);
}

.sl-landing__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#d9d9d9 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.45;
  pointer-events: none;
}

.sl-landing__card {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  margin-top: auto;
  margin-bottom: auto;
  /* No nested max-height/overflow — that caused the empty inner scrollbar */
  overflow: visible;
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 0 18px 40px rgba(13, 13, 13, 0.08);
}

.sl-landing__card-title {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.sl-landing__card-lead {
  color: #666;
  margin-bottom: 22px;
}

.sl-auth__alert {
  padding: 12px 14px;
  margin-bottom: 18px;
  border-left: 4px solid #960202;
  background: #fff5f5;
}

.sl-auth__alert--success {
  border-left-color: #2f6b3a;
  background: #f3faf4;
}

.sl-landing__card label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.sl-landing__card .form-control {
  border-radius: 0;
  border-color: #d8d8d8;
  min-height: 48px;
}

.sl-landing__card select.form-control {
  appearance: auto;
  padding-right: 2rem;
}

.sl-landing__card .form-check {
  margin-bottom: 12px;
}

.sl-landing__card .form-check-label {
  font-weight: 400;
}

.sl-auth__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  margin-bottom: 22px;
}

.sl-landing__card .btn.w-100,
.sl-landing__card button.btn {
  justify-content: center;
  text-align: center;
}

.sl-auth__meta {
  margin-top: 18px;
  color: #666;
}

.sl-auth__meta a {
  color: #960202;
}

.sl-landing__home {
  display: block;
  margin-top: auto;
  padding-top: 36px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
}

.sl-landing__home:hover {
  color: #fbca5c;
}

/* Account page still uses the marketing layout */
.sl-auth {
  padding: 40px 0 100px;
}

.sl-account__card {
  border: 1px solid #ececec;
  padding: 28px;
  background: #fff;
}

.sl-account__dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px 16px;
  margin: 0;
}

.sl-account__dl dt {
  font-weight: 600;
  color: #666;
}

.sl-account__dl dd {
  margin: 0;
}

@media (max-width: 991px) {
  .sl-landing {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .sl-landing__brand {
    min-height: auto;
    padding: 28px 22px 32px;
  }

  .sl-landing__brand-inner {
    max-width: none;
  }

  .sl-landing__title {
    font-size: 2.2rem;
  }

  .sl-landing__text {
    margin-bottom: 20px;
  }

  .sl-landing__panel {
    padding: 0 0 28px;
    align-items: stretch;
  }

  .sl-landing__card {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  .sl-landing__logo img {
    width: min(280px, 80%);
  }

  .sl-landing__home {
    margin-top: 24px;
    padding-top: 0;
  }
}

@media (max-width: 575px) {
  .sl-account__dl {
    grid-template-columns: 1fr;
  }
}
