/* Full-width enterprise sign-in for L&K apps.
   Overrides the shared .login-page 400px card so this is a desktop page, not a phone-width column.
   Microsoft button colors, type and logo follow Microsoft identity-platform branding (light style). */

html { width: 100%; max-width: 100%; overflow-x: hidden; }

body.login-page.ent-login {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background: var(--ZLK-Navy, #26366B);
  color: #fff;
  font-family: var(--Sans400, "Noto Sans", Arial, sans-serif);
  box-sizing: border-box;
}

body.login-page.ent-login *,
body.login-page.ent-login *::before,
body.login-page.ent-login *::after { box-sizing: border-box; }

html, body.login-page.ent-login { height: 100%; }
body.login-page.ent-login section.ent-brand,
body.login-page.ent-login section.ent-panel { margin: 0; }
.ent-shell { align-items: stretch; }
.ent-brand, .ent-panel { align-self: stretch; }

.ent-shell {
  flex: 1 1 auto;
  display: flex;
  width: 100%;
  min-height: 0;
  max-width: 100%;
}

.ent-brand {
  flex: 1 1 50%;
  min-width: 0;
  background: var(--ZLK-Navy, #26366B);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px clamp(32px, 5vw, 104px);
}

.ent-logo {
  display: block;
  width: min(240px, 100%);
  height: auto;
  margin: 0;
}

.ent-accent {
  display: block;
  width: 48px;
  height: 3px;
  margin: 28px 0 0;
  background: var(--ZLK-Green, #3F9F7F);
}

.ent-kicker {
  margin: 22px 0 8px;
  color: var(--ZLK-Green, #3F9F7F);
  font-family: var(--Sans400, "Noto Sans", Arial, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ent-brand h1 {
  margin: 0 0 16px;
  max-width: 18ch;
  color: #fff;
  font-family: var(--Serif700, "Noto Serif", Georgia, serif);
  font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1.15;
}

.ent-lede {
  margin: 0;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--Sans400, "Noto Sans", Arial, sans-serif);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
}

.ent-panel {
  flex: 1 1 50%;
  min-width: 0;
  background: var(--paper, #F8FAFD);
  color: #1b2437;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px clamp(32px, 5vw, 104px);
}

.ent-panel-inner {
  width: 100%;
  max-width: 400px;
}

.ent-panel h2 {
  margin: 0 0 8px;
  color: var(--ZLK-Navy, #26366B);
  font-family: var(--Serif700, "Noto Serif", Georgia, serif);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.2;
}

.ent-panel .login-msg {
  background: #fdf3e3;
  color: #6b4a12;
  border-radius: 6px;
  padding: 8px 12px;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.4;
}

/* Official Microsoft "Sign in with Microsoft" button — light style.
   Do not recolor the logo or swap in L&K fonts/colors. */
body.login-page.ent-login a.ms-signin {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  height: 41px;
  min-width: 215px;
  margin: 20px 0 0;
  padding: 0 12px;
  background: #ffffff;
  color: #5e5e5e;
  border: 1px solid #8c8c8c;
  border-radius: 0;
  box-shadow: none;
  font-family: "Segoe UI", SegoeUI, "Segoe UI Web (West European)", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transform: none;
}

body.login-page.ent-login a.ms-signin:hover,
body.login-page.ent-login a.ms-signin:focus {
  background: #f4f4f4;
  color: #5e5e5e;
  border-color: #8c8c8c;
  text-decoration: none;
}

body.login-page.ent-login a.ms-signin:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 2px;
}

.ms-signin-icon {
  display: block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
}

.ms-signin-label { display: block; }

.ent-hint {
  margin: 14px 0 0;
  color: #5a6578;
  font-family: var(--Sans400, "Noto Sans", Arial, sans-serif);
  font-size: 0.95rem;
  line-height: 1.45;
}

#framed-note {
  margin: 10px 0 0;
  color: #5a6578;
  font-size: 0.9rem;
  line-height: 1.45;
}

.ent-foot {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 14px clamp(32px, 5vw, 104px);
  background: #171D2F;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--Sans400, "Noto Sans", Arial, sans-serif);
  font-size: 12px;
  line-height: 1.3;
}

.ent-foot-logo {
  display: block;
  height: 16px;
  width: auto;
}

.ent-foot-text { white-space: nowrap; }

.ent-ver {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}

/* Framed Radar sign-in (MC iframe or the 520px popup): stack, still full width of the frame. */
body.login-page.ent-login.rd-framed .ent-shell,
body.login-page.ent-login.stack-login .ent-shell { flex-direction: column; }
body.login-page.ent-login.rd-framed .ent-brand,
body.login-page.ent-login.stack-login .ent-brand {
  flex: 0 0 auto;
  padding: 36px clamp(24px, 5vw, 48px) 28px;
}
body.login-page.ent-login.rd-framed .ent-brand h1,
body.login-page.ent-login.stack-login .ent-brand h1 { font-size: 2rem; max-width: none; }
body.login-page.ent-login.rd-framed .ent-panel,
body.login-page.ent-login.stack-login .ent-panel {
  flex: 1 1 auto;
  align-items: flex-start;
  padding: 36px clamp(24px, 5vw, 48px) 48px;
}
@media (max-width: 800px) {
  body.login-page.ent-login .ent-shell { flex-direction: column; }
  body.login-page.ent-login .ent-brand {
    flex: 0 0 auto;
    padding: 36px clamp(24px, 5vw, 48px) 28px;
  }
  body.login-page.ent-login .ent-brand h1 { font-size: 2rem; max-width: none; }
  body.login-page.ent-login .ent-panel {
    flex: 1 1 auto;
    align-items: flex-start;
    padding: 36px clamp(24px, 5vw, 48px) 48px;
  }
}
