/* Canonical authentication presentation. CustomerFrontEnd owns this file.
   Run node scripts/sync-auth-presentation.js to update recipient sites. */
.cf-auth-page.cf-auth-page {
  --cf-auth-background: url("../images/login-bg.png");
  --cf-auth-primary: var(--wl-control-color, var(--cf-color-primary, #0267f3));
  --cf-auth-text: var(--wl-text-color, var(--cf-color-text, #1f2933));
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: space-between !important;
  gap: 32px !important;
  width: 100%;
  min-width: 0 !important;
  min-height: 100vh !important;
  height: auto !important;
  padding: 60px !important;
  margin: 0;
  overflow: visible !important;
  background: var(--wl-login-background-image, var(--cf-auth-background)) center / cover no-repeat !important;
  background-color: var(--wl-login-background-color, #f4f6fc) !important;
  color: var(--cf-auth-text);
  font: 400 12px/18px var(--app-font-family, "Poppins", "Segoe UI", sans-serif);
  text-align: center;
}
.cf-auth-page *, .cf-auth-page *::before, .cf-auth-page *::after { box-sizing: border-box; }
.cf-auth-page.cf-auth-page [hidden] { display: none !important; }
.cf-auth-page .cf-auth-header {
  background: transparent !important; border: 0; box-shadow: none;
  display: flex; flex-direction: column; align-items: center;
  gap: 8px !important; margin: 48px 0 0 !important; width: 100%;
}
.cf-auth-page .cf-auth-header img { display: block; width: 120px; max-height: 48px; object-fit: contain; }
.cf-auth-page .cf-auth-partner-brand {
  display: block; width: var(--plexe-logo-image-width, 120px); max-width: 100%; height: 48px;
  background: var(--plexe-logo-image) center / contain no-repeat;
}
.cf-auth-page.cf-auth-whitelabel { --cf-auth-primary: var(--plexe-light-color-4, #0267f3); }
.system-message:has(.cf-auth-page) { height: auto !important; overflow: visible; }
.cf-auth-page .cf-auth-header h1, .cf-auth-page .cf-auth-header .title {
  margin: 0 !important; color: var(--cf-auth-text) !important;
  font: 250 40px/48px var(--app-font-family, "Poppins", "Segoe UI", sans-serif) !important;
  letter-spacing: 0 !important; text-transform: none !important;
}
.cf-auth-page .cf-auth-content {
  display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: 520px; gap: 16px; margin: 0;
}
.cf-auth-page .cf-auth-form {
  display: flex !important; flex-direction: column; align-items: center;
  width: 100%; max-width: 520px; min-height: 0 !important; gap: 32px !important;
  margin: 0 !important; padding: 0 !important; border: 0; background: transparent; box-shadow: none;
}
.cf-auth-page .cf-auth-field {
  position: relative; display: block; width: 100%; min-height: 56px;
  margin: 0 !important; text-align: left;
}
.cf-auth-page .cf-auth-field input:not([type="checkbox"]):not([type="hidden"]) {
  width: 100%; height: 56px; min-height: 56px; margin: 0;
  padding: 16px 24px; border: 1px solid #ced4da !important; border-radius: 8px;
  background: transparent !important; color: var(--cf-auth-text);
  font: 400 14px/21px var(--app-font-family, "Poppins", "Segoe UI", sans-serif);
  box-shadow: none;
}
.cf-auth-page .cf-auth-field > label, .cf-auth-page .cf-auth-field > span:first-child {
  position: absolute; z-index: 2; top: 50%; left: 16px;
  width: auto; height: auto; padding: 1.6px 8px; margin: 0;
  color: #616e7c; font: 400 14px/16.8px var(--app-font-family, "Poppins", "Segoe UI", sans-serif);
  text-transform: none; transform: translateY(-50%); transform-origin: 0 0;
  pointer-events: none; background: transparent;
}
.cf-auth-page .cf-auth-field:focus-within > label,
.cf-auth-page .cf-auth-field:focus-within > span:first-child,
.cf-auth-page .cf-auth-field:has(input:not(:placeholder-shown)) > label,
.cf-auth-page .cf-auth-field:has(input:not(:placeholder-shown)) > span:first-child {
  top: 0; transform: translateY(-50%) translateX(8px) scale(.9);
  background: var(--wl-login-field-label-background-color, var(--wl-input-focus-background-color, #f3f5fc));
}
.cf-auth-page .cf-auth-field input:focus {
  border-color: var(--cf-auth-primary) !important; outline: 0;
  background: var(--wl-input-focus-background-color, #f3f5fc) !important;
  box-shadow: 0 0 0 3px rgb(2 103 243 / 16%);
}
.cf-auth-page .cf-auth-submit.cf-auth-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  flex: none; width: 220px !important; min-width: 220px !important; max-width: 100%;
  height: 45px !important; min-height: 45px !important; padding: 0 24px !important;
  margin: 0; border: 1px solid transparent !important; border-radius: 20px !important;
  background: var(--cf-auth-primary) !important; color: #fff !important;
  font: 600 14px/20px var(--app-font-family, "Poppins", "Segoe UI", sans-serif) !important;
  text-transform: none; box-shadow: none;
}
.cf-auth-page .cf-auth-submit:disabled { opacity: .58 !important; cursor: default; }
.cf-auth-page .cf-auth-links {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  margin: 0 !important; width: 100%; font-size: 12px; line-height: 18px;
}
.cf-auth-page .cf-auth-links p, .cf-auth-page .cf-auth-footer p { margin: 0; }
.cf-auth-page a, .cf-auth-page .cf-auth-link {
  color: var(--cf-auth-primary) !important; font-size: 12px; font-weight: 400 !important;
  line-height: 18px; text-decoration: underline !important;
}
.cf-auth-page .cf-auth-link { border: 0; padding: 0; background: transparent; cursor: pointer; }
.cf-auth-page a:hover, .cf-auth-page .cf-auth-link:hover { text-decoration: underline; }
.cf-auth-page :is(a, button):focus-visible { outline: 3px solid var(--cf-auth-primary); outline-offset: 3px; }
.cf-auth-page .cf-auth-footer {
  display: flex; flex-direction: column; align-items: center; gap: 8px !important;
  margin: 0 !important; color: var(--cf-auth-text); font-size: 12px; line-height: 18px;
}
.cf-auth-page .cf-auth-digits { display: flex; gap: 8px; justify-content: center; max-width: 100%; }
.cf-auth-page .cf-auth-link-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cf-auth-page .cf-auth-password-toggle {
  position: absolute; right: 12px; top: 28px; transform: translateY(-50%);
  padding: 0; width: 28px; height: 38px; border: 0; background: transparent; color: var(--cf-auth-text);
}
.cf-auth-page .cf-auth-field:has(button) input { padding-right: 52px !important; }
.cf-auth-page .cf-auth-field > small { position: absolute; top: 100%; left: 0; font-size: 12px; line-height: 18px; }
.cf-auth-page.cf-auth-admin { --app-font-family: "Poppins", "Segoe UI", sans-serif; }
.cf-auth-page.cf-auth-admin .login-panel {
  width: 100%; max-width: 520px; padding: 0; margin: 0; border: 0; background: transparent; box-shadow: none;
}
.cf-auth-page.cf-auth-admin .login-panel > form { width: 100%; }
.cf-auth-page.cf-auth-admin .login-version-text { position: fixed; bottom: 4px; left: 8px; margin: 0; font-size: 10px; }
.cf-auth-page.cf-auth-admin .login-panel > .text-center { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cf-auth-page.cf-auth-recovery .cf-auth-recovery-content { max-width: 520px; }
.cf-auth-page.cf-auth-recovery h1:not(.cf-auth-header h1) { font-size: 20px !important; line-height: 30px; margin: 0; }
.cf-auth-page.cf-auth-recovery .text-white { color: var(--cf-auth-text) !important; }
.cf-auth-page.cf-auth-recovery form { width: 100%; }
.cf-auth-page.cf-auth-recovery form > .bg-white {
  background: transparent !important; padding: 0 !important; margin-top: 24px !important;
  max-width: 520px !important; box-shadow: none !important;
}
.cf-auth-page.cf-auth-recovery input:not([type="checkbox"]) {
  width: 100%; height: 56px; border: 1px solid #ced4da; border-radius: 8px;
  padding: 16px 24px; background: transparent !important; font: inherit;
}
.cf-auth-page.cf-auth-recovery label, .cf-auth-page.cf-auth-recovery h4 {
  font: 400 14px/21px var(--app-font-family, "Poppins", sans-serif) !important;
  text-transform: none !important; text-align: left; color: #616e7c;
}
.cf-auth-page .portal-login-option { width: 100%; padding: 0; border: 0; background: transparent; }
.cf-auth-page.cf-auth-two-factor .pages-container,
.cf-auth-page.cf-auth-two-factor .container,
.cf-auth-page.cf-auth-two-factor .inner-content {
  width: 100%; max-width: 520px; margin: 0; padding: 0; min-height: 0;
  background: transparent; border: 0; box-shadow: none;
}
.cf-auth-page.cf-auth-two-factor .card-wrapper { margin: 16px 0; padding: 0; }
.cf-auth-page.cf-auth-two-factor .cf-auth-digits > .d-flex { gap: 8px; }
.cf-auth-page.cf-auth-two-factor .dash { display: none; }
.cf-auth-page.cf-auth-two-factor > app-loader:not(.show) { display: none; }
.cf-auth-page.cf-auth-two-factor > app-loader.show {
  position: fixed; inset: 0; z-index: 101; display: flex;
  align-items: center; justify-content: center; background: #f4f6fc;
}
.cf-auth-page.cf-auth-two-factor .cf-auth-digits input.sms-code-input {
  flex: 0 1 48px; width: 48px !important; height: 56px !important; margin: 0 !important;
}
.cf-auth-page.cf-auth-error .error-content { width: 100%; margin: 0; padding: 0; }
.cf-auth-page.cf-auth-error .cf-auth-content { position: static; transform: none; }
.cf-auth-page.cf-auth-error h3 { font-size: 20px; line-height: 30px; }
.portal-auth-page .cf-topbar { display: none; }
.portal-auth-page .portal-login { min-height: 100vh; }
.cf-auth-page .cf-auth-digits input {
  width: 48px !important; min-width: 0; height: 56px !important; padding: 8px !important;
  border: 1px solid #ced4da !important; border-radius: 8px !important;
  background: transparent !important; color: var(--cf-auth-text); text-align: center; font-size: 24px !important;
}
body.has-system-notification .cf-auth-page.cf-auth-page { min-height: calc(100vh - 50px) !important; }
body.has-whitelabel-disclosure .cf-auth-page.cf-auth-page { min-height: calc(100vh - var(--app-whitelabel-footer-height, 56px)) !important; }
body.has-system-notification.has-whitelabel-disclosure .cf-auth-page.cf-auth-page { min-height: calc(100vh - 50px - var(--app-whitelabel-footer-height, 56px)) !important; }
@media (max-width: 768px) {
  .cf-auth-page.cf-auth-page { padding: 40px 24px 32px !important; }
  .cf-auth-page .cf-auth-header { margin-top: 16px !important; }
  .cf-auth-page .cf-auth-header img { width: 116px; max-height: 46px; }
  .cf-auth-page .cf-auth-header h1, .cf-auth-page .cf-auth-header .title { font-size: clamp(30px, 8vw, 40px) !important; line-height: 1.35 !important; }
  .cf-auth-page .cf-auth-footer { margin-top: 32px !important; padding-bottom: 8px; }
  .cf-auth-page .cf-auth-digits { gap: 6px; }
  .cf-auth-page .cf-auth-digits input { width: min(48px, 12vw) !important; }
}
