/* Client tenant sign-in — split marketing + credentials layout */

.nt-tenant-login {
  --nt-red-dark: #7a1530;
  --nt-red: #9e1b3e;
  --nt-purple: #5b3fae;
  --nt-blue: var(--fluent-brand-primary, #3f6fd1);
  --nt-blue-btn: var(--fluent-brand-primary, #2f6fd6);
  --nt-blue-btn-hover: var(--fluent-brand-primary-hover, #2559b3);
  --nt-text-dark: #2b2b33;
  --nt-text-gray: #5a5a64;
  --nt-link-blue: var(--fluent-brand-primary, #2f6fd6);
  --nt-radius-sm: 10px;
  --nt-radius-md: 14px;
  --nt-radius-lg: 28px;

  background-color: #f3f5f8;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
}

.nt-page-wrapper {
  padding: 16px;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.nt-card-shell {
  background: #ffffff;
  border-radius: var(--nt-radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 32px);
  box-shadow: none;
  display: flex;
}

.nt-left-panel {
  position: relative;
  width: 38%;
  min-width: 360px;
  margin: 12px;
  border-radius: 22px;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    160deg,
    var(--nt-red-dark) 0%,
    var(--nt-red) 22%,
    var(--nt-purple) 60%,
    var(--nt-blue) 100%
  );
}

.nt-left-panel .nt-bg-photo {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      160deg,
      rgba(122, 21, 48, 0.88) 0%,
      rgba(94, 40, 130, 0.75) 45%,
      rgba(63, 111, 209, 0.72) 100%
    ),
    url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1200&q=60");
  background-size: cover;
  background-position: center bottom;
}

.nt-left-panel .nt-left-content {
  position: relative;
  z-index: 2;
  padding: 36px 40px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.nt-logo-block {
  margin-bottom: 50px;
}

.nt-logo-block .nt-brand-logo {
  max-height: 52px;
  max-width: 220px;
  width: auto;
  display: block;
  margin-bottom: 0.5rem;
  border-radius: var(--nt-radius-sm);
}

.nt-logo-netrich {
  font-size: 28px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.5px;
  line-height: 1;
  margin: 0;
}

.nt-logo-technologies {
  font-size: 12px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: lowercase;
  margin-left: 2px;
  opacity: 0.95;
}

.nt-stories {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.nt-carousel-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.nt-carousel-dot {
  height: 4px;
  width: 36px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  cursor: pointer;
}

.nt-carousel-dot.is-active {
  background: #ffffff;
}

.nt-story-stage {
  position: relative;
}

.nt-story {
  display: none;
}

.nt-story.is-active {
  display: block;
  animation: nt-story-in 0.4s ease;
}

@keyframes nt-story-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.nt-left-panel h2 {
  font-size: clamp(1.55rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 22ch;
}

.nt-left-panel p.nt-description {
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 26px;
}

.nt-btn-outline-light {
  border: 1.5px solid #fff;
  color: #fff;
  background: transparent;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--nt-radius-sm);
  width: fit-content;
  margin-top: auto;
  margin-bottom: 28px;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.nt-btn-outline-light:hover {
  background: #fff;
  color: var(--nt-red-dark);
}

.nt-left-footer-link {
  margin-top: auto;
  position: relative;
  z-index: 2;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

.nt-left-footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

.nt-right-panel {
  width: 62%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 40px;
}

.nt-right-content {
  width: 100%;
  max-width: 460px;
  text-align: left;
}

.nt-tenant-org {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--nt-blue-btn);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nt-right-content h1 {
  font-size: clamp(1.85rem, 2.6vw, 2.35rem);
  font-weight: 700;
  color: #1c1c1c;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  max-width: 18em;
}

.nt-right-content .nt-subtitle {
  color: var(--nt-text-gray);
  font-size: 14px;
  margin-bottom: 1.5rem;
}

.nt-right-content .alert {
  border-radius: var(--nt-radius-md);
}

.nt-right-content .form-label {
  font-weight: 600;
  color: var(--nt-text-dark);
  font-size: 0.875rem;
}

.nt-right-content .form-control {
  border-radius: var(--nt-radius-sm);
  padding: 0.65rem 0.85rem;
}

.nt-right-content .form-control:focus {
  border-color: var(--nt-blue-btn);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--nt-blue-btn) 20%, transparent);
}

.nt-right-content .form-check-input {
  border-radius: 4px;
}

.nt-right-content .btn-nt-primary {
  background-color: var(--nt-blue-btn);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 28px;
  border-radius: var(--nt-radius-sm);
}

.nt-right-content .btn-nt-primary:hover,
.nt-right-content .btn-nt-primary:focus,
.nt-right-content .ms-btn-primary:hover,
.nt-right-content .ms-btn-primary:focus {
  background-color: var(--nt-blue-btn-hover);
  color: #fff;
}

.nt-right-content .ms-btn-primary {
  background-color: var(--nt-blue-btn);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 28px;
  border-radius: var(--nt-radius-sm);
}

.nt-right-content .btn-link {
  color: var(--nt-link-blue);
  font-weight: 600;
  text-decoration: none;
}

.nt-right-content .btn-link:hover {
  color: var(--nt-blue-btn-hover);
  text-decoration: underline;
}

.nt-signin-links a {
  color: var(--nt-link-blue);
  font-weight: 500;
  text-decoration: none;
}

.nt-signin-links a:hover {
  text-decoration: underline;
}

.nt-site-footer {
  position: absolute;
  bottom: 28px;
  left: 40px;
  right: 40px;
  font-size: 13px;
  color: #6b6b75;
}

.nt-site-footer .copyright {
  margin-bottom: 6px;
}

.nt-site-footer a {
  color: var(--nt-link-blue);
  text-decoration: none;
  font-weight: 500;
}

.nt-site-footer a:hover {
  text-decoration: underline;
}

.nt-site-footer .sep {
  color: #999;
  margin: 0 6px;
}

.nt-right-content .letter-spacing-otp {
  letter-spacing: 0.35em;
  font-weight: 600;
}

@media (max-width: 991px) {
  .nt-page-wrapper {
    padding: 12px;
  }

  .nt-card-shell {
    flex-direction: column;
    min-height: calc(100vh - 24px);
    border-radius: 20px;
  }

  .nt-left-panel,
  .nt-right-panel {
    width: auto;
    align-self: stretch;
  }

  .nt-left-panel {
    width: auto;
    min-width: 0;
    min-height: 420px;
    margin: 12px 12px 0;
    border-radius: 18px;
  }

  .nt-right-panel {
    padding: 50px 24px 90px;
  }

  .nt-site-footer {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 40px;
    text-align: center;
  }

  .nt-right-content h1 {
    font-size: 1.65rem;
  }
}

@media (max-width: 575px) {
  .nt-right-content h1 {
    font-size: 1.4rem;
  }

  .nt-right-panel {
    padding: 40px 20px 72px;
  }
}
