/* Original sign-in only. auth.css retains its layout and responsive rules;
   workspace theme preferences never recolour the public login. */
:root {
  color-scheme: light;
}

.auth-body-login {
  --auth-navy: #112d4e;
  --auth-blue: #3f72af;
  --auth-orange: #112d4e;
  --auth-ink: #112d4e;
  --auth-muted: #112d4e;
  --auth-line: #dbe2ef;
  --bs-body-bg: #f9f7f7;
  --bs-body-color: #112d4e;
  --bs-border-color: #dbe2ef;
  --bs-link-color: #112d4e;
  --bs-link-color-rgb: 17, 45, 78;
  --bs-link-hover-color: #112d4e;
  --bs-link-hover-color-rgb: 17, 45, 78;
  --crm-status-info: #112d4e;
  --crm-status-info-bg: #dbe2ef;
  --crm-status-info-border: #dbe2ef;
  color: #112d4e;
  background: #f9f7f7;
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
}

.auth-body-login .login-brand-panel {
  color: #ffffff;
  background: #112d4e;
}

.auth-body-login .login-brand-panel::before,
.auth-body-login .login-form-panel::before,
.auth-body-login .login-brand-glow {
  display: none;
  content: none;
  background: none;
  filter: none;
}

.auth-body-login :is(.login-kicker, .login-kicker i) {
  color: #f9f7f7;
}

.auth-body-login .login-form-panel {
  background: #ffffff;
}

.auth-body-login :is(.login-field .form-label, .login-help-text) {
  color: #112d4e;
}

.auth-body-login .login-control {
  border-color: #dbe2ef;
  border-radius: 14px;
  color: #112d4e;
  background-color: #f9f7f7;
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 13.44px;
  font-weight: 400;
}

.auth-body-login .login-control:focus {
  border-color: #112d4e;
  box-shadow: 0 0 0 .2rem rgba(17, 45, 78, .18);
}

.auth-body-login .login-form-options .form-check-input:checked {
  border-color: #3f72af;
  background-color: #3f72af;
}

.auth-body-login .login-submit-button {
  padding: 10px 18px;
  border-radius: 14px;
  color: #f9f7f7;
  background: #3f72af;
  box-shadow: inset 0 -3px 0 #112d4e, 0 14px 28px rgba(17, 45, 78, .22);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 13.44px;
  font-weight: 700;
}

.auth-body-login .login-submit-button:is(:hover, :focus-visible) {
  color: #f9f7f7;
  background: #112d4e;
  box-shadow: inset 0 -3px 0 #3f72af, 0 17px 34px rgba(17, 45, 78, .27);
}

/* Error text must retain its semantic red instead of a workspace accent. */
.auth-body-login :is(.login-validation-summary, .login-field-error, .field-validation-error) {
  color: #991b1b;
}

/* Preserve application-wide 9pt bold information messages. */
.auth-body-login .crm-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid #bed5ee;
  border-radius: 9px;
  color: #244f80;
  background: #edf5ff;
  font: 700 9pt/1.6 "Montserrat", "Segoe UI", Arial, sans-serif;
}
.auth-body-login .crm-info-banner__icon { flex: 0 0 auto; }
.auth-body-login .crm-info-banner__content { min-width: 0; }

/* Reuse approved logo pixels; replace the clipped CRM subtitle with Platform. */
.auth-body-login svg.login-woolly-logo {
  width: min(380px, 100%);
  aspect-ratio: 2121 / 741;
  align-self: flex-start;
  flex-shrink: 0;
}
.auth-body-login .login-woolly-platform-label {
  fill: var(--auth-blue);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 92px;
  font-weight: 600;
  letter-spacing: 28px;
}
.auth-body-login .login-brand-copy {
  width: 100%;
  text-align: left;
}
.auth-body-login .login-brand-copy h1 {
  max-width: 660px;
  font-size: clamp(2.4rem, 3.6vw, 4.1rem);
  line-height: 1.12;
}
.auth-body-login .login-feature-item {
  background: #1d3a5c;
  border-color: #3b5471;
}
.auth-body-login .login-feature-icon {
  background: #2b4b70;
  border-color: #54708f;
}
@media (min-width: 941px) and (max-height: 820px) {
  .auth-body-login svg.login-woolly-logo { width: min(330px, 100%); }
}
.auth-body-login .login-powered-by.login-platform-footer {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
}
.auth-body-login .login-platform-footer-label {
  color: var(--auth-muted);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.auth-body-login .login-platform-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}
.auth-body-login .login-platform-conjunction {
  color: var(--auth-muted);
  font-size: .65rem;
  font-weight: 600;
}
.auth-body-login .login-platform-footer-note {
  width: 100%;
  margin: 0;
  color: var(--auth-muted);
  font-size: .65rem;
  line-height: 1.5;
}
.auth-body-login .login-powered-by-logo-surface {
  box-sizing: border-box;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 140px;
  height: 50px;
  padding: 5px 8px;
}
.auth-body-login :is(.login-mindwerk-logo, .login-wiserabbit-logo) {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
}
.auth-body-login .login-powered-by-logo-surface:focus-visible {
  border-radius: 8px;
  outline: 2px solid var(--auth-blue);
  outline-offset: 3px;
}
@media (max-width: 575.98px) {
  .auth-body-login .login-platform-logos { gap: 8px; }
  .auth-body-login .login-powered-by-logo-surface { width: 124px; height: 46px; }
}
/* Notices and translated text can extend the form on shorter desktops. */
.auth-body-login .login-form-panel { overflow-y: auto; }
