/* Tecnis AuthLayout proportions, with each product's own brand tokens. */
.fluxos-auth {
  display: block;
  background: #f4f7fb;
  color: #102238;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
}
.fluxos-auth .auth-layout {
  display: grid;
  grid-template-columns: minmax(320px, 45%) minmax(320px, 55%);
  min-height: 100dvh;
  max-width: none;
  padding: 0;
}
.auth-visual {
  display: grid;
  place-items: center;
  padding: 48px 32px;
  background: linear-gradient(
    135deg,
    var(--brand-dark, var(--product-sidebar, #3b1205)),
    var(--product-primary, #c73408)
  );
}
.auth-logo {
  width: min(380px, 90%);
  height: auto;
  background: white;
  border-radius: 16px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px #00000026);
}
.auth-panel {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 24px;
  padding: 48px 32px;
  background: linear-gradient(135deg, #f7f9fc 0%, #eef3f8 100%);
}
.auth-card {
  width: min(420px, 100%);
  padding: 32px;
  border: 1px solid #0f2c4d14;
  border-radius: 18px;
  background: white;
}
.auth-card h1 {
  margin: 0;
  font-size: 22px;
}
.auth-description {
  color: #586b7d;
  margin: 12px 0 20px;
}
.auth-card .auth-submit {
  width: 100%;
  min-height: 46px;
  margin: 0;
  border-radius: 10px;
  background: var(--product-primary);
  color: white;
  text-align: center;
}
.auth-card .auth-submit:hover {
  background: var(--product-strong, var(--product-sidebar));
}
.auth-recovery {
  margin: 22px 0;
  text-align: center;
}
.auth-card a:not(.auth-submit) {
  color: var(--product-strong, #a72b06);
}
.auth-recovery a {
  font-size: 13px;
  text-underline-offset: 3px;
}
.auth-support {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #dbe4ed;
  border-radius: 10px;
  background: #f7f9fb;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
.auth-support svg {
  flex-shrink: 0;
}
.auth-support strong {
  margin-right: 6px;
}
.auth-home {
  display: block;
  margin-top: 22px;
  font-size: 12px;
  text-align: center;
}
.auth-footer {
  font-size: 12px;
  color: #657b8e;
  text-align: center;
}
.auth-error {
  padding: 12px;
  border-radius: 10px;
  background: #fff0ed;
  color: #a12c1f;
}
.auth-mobile-logo {
  display: none;
}
@media (max-width: 767px) {
  .fluxos-auth .auth-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .auth-visual {
    display: none;
  }
  .auth-panel {
    min-height: 100dvh;
    padding: 32px 16px;
  }
  .auth-card {
    padding: 28px 24px;
  }
  .auth-mobile-logo {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin: 0 auto 24px;
    border-radius: 14px;
  }
}
