/*
 * Login boldenCRM. Composição independente dos restantes módulos.
 * Estilos confinados à classe .bolden-login para não afetar a aplicação.
 */
@font-face {
  font-family: "Geist";
  src: local("Geist"), local("Geist Sans"), url("./assets/fonts/Geist-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
html:has(body.auth-page .bolden-login),
body.auth-page:has(.bolden-login),
body.auth-page:has(.bolden-login) #app {
  background: #FFFFFF !important;
  background-image: none !important;
}
body.auth-page .bolden-login {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  grid-template-rows: minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background: #FFFFFF !important;
  background-image: none !important;
  color: #000000;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.auth-page .bolden-login,
body.auth-page .bolden-login *,
body.auth-page .bolden-login *::before,
body.auth-page .bolden-login *::after { box-sizing: border-box; }

body.auth-page .bolden-login-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: clamp(20px, 3vh, 36px) 32px;
  background: #F9F9F9;
}
body.auth-page .bolden-login-card {
  width: 100%;
  max-width: 430px;
  min-width: 0;
  margin: auto;
  padding: clamp(30px, 3.7vw, 44px) clamp(26px, 3.5vw, 38px);
  background: #FFFFFF;
  border: 1px solid #DDDDDD;
  border-radius: 14px;
  box-shadow: 0 5px 22px rgba(0, 0, 0, .045);
}
body.auth-page .bolden-login-content {
  width: 100%;
  max-width: 400px;
  min-width: 0;
  margin: 0 auto;
}
body.auth-page .bolden-login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 0 30px;
  padding: 0;
  background: transparent;
  text-align: center;
}
body.auth-page .bolden-login-brand .bolden-login-logo.login-tmb-logo {
  display: block !important;
  position: static !important;
  inset: auto !important;
  width: 176px !important;
  max-width: min(176px, 68vw) !important;
  height: auto !important;
  max-height: 100px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  object-fit: contain;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.auth-page .bolden-login-brand #login-title {
  display: block;
  position: static;
  width: auto;
  height: auto;
  margin: 26px 0 0;
  padding: 0;
  clip: auto;
  clip-path: none;
  overflow: visible;
  color: #000000;
  font-family: inherit;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.035em;
  white-space: normal;
}
body.auth-page .bolden-login-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
body.auth-page .bolden-login-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  margin: 0 0 19px;
}
body.auth-page .bolden-login-field > label {
  display: block;
  margin: 0;
  color: #000000;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
body.auth-page .bolden-login-field > input,
body.auth-page .bolden-login-password > input {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  height: 52px;
  min-height: 52px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #858585;
  border-radius: 8px;
  background: #FFFFFF;
  background-image: none;
  color: #000000;
  box-shadow: none;
  outline: none;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.3;
  transition: border-color .16s ease, box-shadow .16s ease;
}
body.auth-page .bolden-login-field input::placeholder { color: #666666; opacity: 1; }
body.auth-page .bolden-login-field input:hover { border-color: #555555; }
body.auth-page .bolden-login-field input:focus,
body.auth-page .bolden-login-field input:focus-visible {
  border-color: #FE5000;
  outline: 2px solid #FE5000 !important;
  outline-offset: 1px;
  box-shadow: 0 0 0 4px rgba(254, 80, 0, .12);
}
body.auth-page .bolden-login-password {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
body.auth-page .bolden-login-password > input { padding-right: 56px; }
body.auth-page .bolden-login-visibility {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #333333;
  cursor: pointer;
}
body.auth-page .bolden-login-visibility:hover,
body.auth-page .bolden-login-visibility:focus-visible {
  background: #F5F5F5;
  color: #000000;
}
body.auth-page .bolden-login-visibility .nav-icon { display: block; width: 20px; height: 20px; }
body.auth-page .bolden-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-height: 32px;
  margin: 0 0 21px;
}
body.auth-page .bolden-login-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #414141;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}
body.auth-page .bolden-login-remember input {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 0;
  accent-color: #FE5000;
  cursor: pointer;
}
body.auth-page .bolden-login-recover {
  min-height: 32px;
  margin: 0;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #000000;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #888888;
  cursor: pointer;
}
body.auth-page .bolden-login-recover:hover { text-decoration-color: #FE5000; }
body.auth-page .bolden-login-error {
  margin: 0 0 15px;
  padding: 11px 12px;
  border-left: 3px solid #FE5000;
  border-radius: 2px;
  background: #FFFFFF;
  color: #000000;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
}
body.auth-page .bolden-login-error:empty { display: none; }
body.auth-page .bolden-login-submit {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid #FE5000;
  border-radius: 8px;
  background: #FE5000;
  background-image: none;
  color: #FFFFFF;
  box-shadow: none;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: filter .16s ease;
}
body.auth-page .bolden-login-submit:hover { filter: brightness(.94); }
body.auth-page .bolden-login-submit:disabled { opacity: .78; filter: none; cursor: progress; }
body.auth-page .bolden-login :is(button, input):focus-visible {
  outline: 2px solid #FE5000 !important;
  outline-offset: 2px;
}
body.auth-page .bolden-login-submit:focus-visible {
  outline: 3px solid #000000 !important;
  outline-offset: 3px;
}
/* Painel descritivo. Não contém dados de clientes nem indicadores reais. */
body.auth-page .bolden-login-showcase {
  display: flex;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3.4vh, 36px) clamp(24px, 4vw, 58px);
  border-left: 1px solid #EAEAEA;
  background: #F3F3F3;
}
body.auth-page .bolden-login-showcase-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 730px;
  min-width: 0;
  min-height: 0;
  margin: auto;
}
body.auth-page .bolden-login-showcase h2 {
  max-width: 690px;
  margin: 0;
  color: #000000;
  font-family: inherit;
  font-size: clamp(30px, min(2.8vw, 4.2vh), 44px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.05em;
}
body.auth-page .bolden-login-description {
  max-width: 660px;
  margin: 16px 0 0;
  color: #343434;
  font-size: clamp(14px, 1.16vw, 16px);
  line-height: 1.65;
}
body.auth-page .bolden-login-benefits {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
body.auth-page .bolden-login-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: #171717;
  font-size: clamp(13px, 1.06vw, 15px);
  font-weight: 500;
  line-height: 1.45;
}
body.auth-page .bolden-login-check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 23px;
  height: 23px;
  border: 1px solid #FE5000;
  border-radius: 50%;
  color: #000000;
  background: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}
body.auth-page .bolden-login-preview {
  width: 100%;
  min-width: 0;
  margin-top: clamp(16px, 2.7vh, 28px);
  border: 1px solid #D8D8D8;
  border-radius: 15px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 7px 24px rgba(0, 0, 0, .055);
}
body.auth-page .bolden-login-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 45px;
  padding: 0 18px;
  border-bottom: 1px solid #EAEAEA;
  background: #FFFFFF;
}
body.auth-page .bolden-login-preview-identity {
  display: flex;
  align-items: center;
  gap: 1px;
  color: #000000;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.04em;
}
body.auth-page .bolden-login-preview-identity > span:last-child {
  color: #7A7A7A;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -.02em;
}
body.auth-page .bolden-login-preview-mark {
  display: inline-block;
  width: 6px;
  height: 16px;
  margin-right: 8px;
  border-radius: 2px;
  background: #FE5000;
}
body.auth-page .bolden-login-preview-controls { display: inline-flex; gap: 6px; }
body.auth-page .bolden-login-preview-controls i {
  display: block;
  width: 7px;
  height: 7px;
  border: 1px solid #BDBDBD;
  border-radius: 50%;
}
body.auth-page .bolden-login-preview-body { padding: clamp(12px, 1.4vw, 20px); }
body.auth-page .bolden-login-preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
}
body.auth-page .bolden-login-preview-heading strong {
  color: #000000;
  font-size: 16px;
  font-weight: 700;
}
body.auth-page .bolden-login-preview-heading > span {
  color: #777777;
  font-size: 11px;
}
body.auth-page .bolden-login-preview-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
body.auth-page .bolden-login-preview-kpi {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
  min-height: 73px;
  padding: 10px;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
  background: #FCFCFC;
}
body.auth-page .bolden-login-preview-kpi > span {
  color: #555555;
  font-size: 11px;
  font-weight: 600;
}
body.auth-page .bolden-login-preview-placeholder {
  display: block;
  height: 8px;
  max-width: 100%;
  border-radius: 3px;
  background: #DEDEDE;
}
body.auth-page .bolden-login-preview-placeholder.long { width: 70%; height: 13px; background: #C4C4C4; }
body.auth-page .bolden-login-preview-placeholder.medium { width: 56%; height: 13px; background: #C4C4C4; }
body.auth-page .bolden-login-preview-placeholder.short { width: 40%; height: 5px; background: #EAEAEA; }
body.auth-page .bolden-login-preview-lower {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 9px;
  margin-top: 9px;
}
body.auth-page .bolden-login-preview-activity,
body.auth-page .bolden-login-preview-flow {
  min-width: 0;
  padding: 11px;
  border: 1px solid #EAEAEA;
  border-radius: 8px;
}
body.auth-page .bolden-login-preview-activity > strong,
body.auth-page .bolden-login-preview-flow > strong {
  display: block;
  margin-bottom: 12px;
  color: #333333;
  font-size: 11px;
  font-weight: 700;
}
body.auth-page .bolden-login-preview-task {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 23px;
  border-top: 1px solid #F0F0F0;
}
body.auth-page .bolden-login-preview-task b {
  width: 10px;
  height: 10px;
  flex: none;
  border: 1px solid #BEBEBE;
  border-radius: 3px;
}
body.auth-page .bolden-login-preview-task i {
  display: block;
  width: 65%;
  height: 5px;
  border-radius: 3px;
  background: #DDDDDD;
}
body.auth-page .bolden-login-preview-task small {
  display: block;
  width: 18%;
  height: 5px;
  margin-left: auto;
  border-radius: 3px;
  background: #EFEFEF;
}
body.auth-page .bolden-login-preview-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 58px;
  padding-top: 6px;
  border-bottom: 1px solid #DFDFDF;
}
body.auth-page .bolden-login-preview-bars i {
  display: block;
  flex: 1;
  min-width: 0;
  border-radius: 3px 3px 0 0;
  background: #D6D6D6;
}
body.auth-page .bolden-login-preview-bars i:nth-child(1) { height: 33%; }
body.auth-page .bolden-login-preview-bars i:nth-child(2) { height: 56%; }
body.auth-page .bolden-login-preview-bars i:nth-child(3) { height: 42%; }
body.auth-page .bolden-login-preview-bars i:nth-child(4) { height: 69%; }
body.auth-page .bolden-login-preview-bars i:nth-child(5) { height: 53%; }
body.auth-page .bolden-login-preview-bars i:nth-child(6) { height: 81%; background: #FE5000; }
body.auth-page .bolden-login-preview-bars i:nth-child(7) { height: 62%; }
@media (min-width: 768px) and (max-width: 1100px) {
  body.auth-page .bolden-login-auth { padding: 22px 16px; }
  body.auth-page .bolden-login-card { padding: 26px 22px; }
  body.auth-page .bolden-login-showcase { padding: 26px 22px; }
  body.auth-page .bolden-login-showcase h2 { font-size: clamp(27px, 3.5vw, 38px); }
  body.auth-page .bolden-login-preview { display: none; }
}
@media (max-width: 767px) {
  body.auth-page .bolden-login {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
  }
  body.auth-page .bolden-login-auth {
    flex: 1 0 auto;
    width: 100%;
    min-height: 100%;
    padding: max(28px, env(safe-area-inset-top, 0px)) 20px max(28px, env(safe-area-inset-bottom, 0px));
    background: #FFFFFF;
  }
  body.auth-page .bolden-login-card {
    max-width: 430px;
    margin: auto;
    padding: 30px 22px;
    box-shadow: none;
    border-color: #E2E2E2;
  }
  body.auth-page .bolden-login-showcase { display: none !important; }
}
@media (max-width: 359px) {
  body.auth-page .bolden-login-auth { padding-inline: 12px; }
  body.auth-page .bolden-login-card { padding-inline: 18px; }
  body.auth-page .bolden-login-options { align-items: flex-start; flex-direction: column; }
}
@media (max-height: 690px) and (min-width: 768px) {
  body.auth-page .bolden-login-showcase { align-items: center; padding-block: 18px; }
  body.auth-page .bolden-login-preview { margin-top: 14px; }
  body.auth-page .bolden-login-benefits { gap: 7px; margin-top: 14px; }
  body.auth-page .bolden-login-description { margin-top: 12px; }
  body.auth-page .bolden-login-card { padding-block: 24px; }
  body.auth-page .bolden-login-brand { margin-bottom: 21px; }
  body.auth-page .bolden-login-brand #login-title { margin-top: 18px; }
  body.auth-page .bolden-login-field { margin-bottom: 14px; }
  body.auth-page .bolden-login-options { margin-bottom: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  body.auth-page .bolden-login input,
  body.auth-page .bolden-login button { transition: none !important; animation: none !important; }
}
