/* =========================
   Login moderno (scope)
   ========================= */
.lx-auth {
  /* Tokens (ajuste aqui e o tema inteiro acompanha) */
  --lx-bg1: #f7f8ff;
  --lx-bg2: #f2fbff;
  --lx-bg3: #f8f3ff;

  --lx-card: #ffffff;
  --lx-text: #0f172a;
  --lx-muted: #64748b;

  --lx-border: #afb1b7;
  --lx-field-bg: #fff;

  --lx-brand: #273699;
  --lx-brand-strong: #2f78f3;
  --lx-ring: rgba(79, 143, 247, .32);

  --lx-1:

    /* - #29353C → Texto principal / títulos fortes
- #44576D → Ações secundárias / ícones ativos
- #768A96 → Texto secundário / ícones neutros
- #AAC7D8 → Destaques leves / foco / apoio visual
- #DFEBF6 → Fundo geral
- #E6E6E6 → Cards, superfícies e divisores */

    --lx-radius: 7px;
  --lx-radius-sm: 5px;


  width: 100%;
  min-height: 100vh;
  height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  color: var(--lx-text);
  font-family: 'Public Sans';
}

/* (Opcional) textura/“seda” bem leve */
.lx-auth::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background:
    repeating-linear-gradient(-25deg,
      rgba(15, 23, 42, .06) 0px,
      rgba(15, 23, 42, .06) 1px,
      transparent 18px,
      transparent 26px);
  mix-blend-mode: soft-light;
}

/* Page wrapper reset for login */
#page-wrapper.background-login {
  padding: 0;
  min-height: 100vh;
  height: 100vh;
}

/* Wrapper */
.lx-auth__wrap {
  width: 100%;
  max-width: 1180px;
  position: relative;
}

.lx-auth__wrap,
.lx-auth__grid,
.lx-auth__panel,
.lx-auth__media {
  background-color: inherit;
}

.lx-auth__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 64px;
  align-items: center;
}

.lx-auth__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.lx-auth__illustration {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
}

.lx-auth__panel {
  width: 100%;
  max-width: 430px;
  justify-self: end;
}

@media (max-width: 992px) {
  .lx-auth__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lx-auth__media {
    display: none;
  }

  .lx-auth__panel {
    justify-self: center;
  }

  .lx-auth__brand {
    justify-content: center;
  }
}

/* Logo */
.lx-auth__brand {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.lx-auth__brand--center {
  justify-content: center;
}

.lx-auth__brandLogo {
  height: 29px;
  width: auto;
  display: block;
}

.lx-auth__brandMark {
  width: 36px;
  height: 36px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--lx-brand), #7aa9ff);
  box-shadow: var(--lx-shadow-sm);
}

.lx-auth__brandName {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

/* Card */
.lx-auth__card {
  background: var(--lx-card);
  border-radius: 12px;
  box-shadow: var(--lx-shadow);
  padding: 26px;
  border: 1px solid rgba(213, 217, 227, .65);
  position: relative;
}

/* Títulos */
.lx-auth__title {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.lx-auth__subtitle {
  font-size: 1.2rem;
  color: var(--lx-muted);
  margin: 0 0 18px;
}

/* Form */
.lx-form__group {
  margin-bottom: 14px;
}

.lx-label {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  color: #334155;
  margin: 0 0 8px;
}

/* Inputs */
.lx-input {
  width: 100%;
  box-sizing: border-box;
  height: 42px;
  padding: 10px 12px;
  border-radius: var(--lx-radius-sm);
  border: 1px solid var(--lx-border);
  background: var(--lx-field-bg);
  color: var(--lx-text);
  font-size: 14px;
  box-shadow: var(--lx-shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.lx-input::placeholder {
  color: rgba(100, 116, 139, .85);
  opacity: 1;
}

.lx-input:focus {
  outline: none;
  border-color: #000;
  background: #fff;
  box-shadow: 0 0 0 4px var(--lx-ring), var(--lx-shadow-sm);
}

/* Input com ícone (ex: olho senha) */
.lx-inputWrap {
  position: relative;
}

.lx-inputWrap .lx-input {
  padding-right: 42px;
}

.lx-inputWrap--lead .lx-input {
  padding-left: 38px;
}

.lx-inputLead {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(15, 23, 42, .45);
  font-size: 16px;
  line-height: 1;
}

.lx-inputIconBtn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: rgba(15, 23, 42, .55);
}

.lx-inputIconBtn:hover {
  background: rgba(15, 23, 42, .06);
}

.lx-inputIconBtn--text {
  width: auto;
  height: auto;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--link);
}

.lx-inputIconBtn--text:hover {
  color: var(--link-hover);
}

/* Linha remember/forgot */
.lx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 16px;
}



.lx-row .lx-check {
  display: flex;
  align-items: center;
}

.lx-row > div{
  display: flex;
  align-items: center;
}

.lx-check {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  font-size: 13px;
  color: rgba(15, 23, 42, .7);
}

.lx-check .lx-checkbox {
  margin-top: 0;
  flex: 0 0 auto;
}

.lx-checkText {
  line-height: 1;
}

/* Checkbox moderno (aplique só com a classe lx-checkbox) */
.lx-checkbox {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid var(--lx-border);
  background: var(--lx-field-bg);
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  position: relative;
  margin: 0;
}

.lx-checkbox:checked {
  background: var(--lx-brand);
}

.lx-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

.lx-checkbox:focus {
  outline: none;
  box-shadow: 0 0 0 4px var(--lx-ring);
}

.lx-link {
  margin-top: 0 !important;
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.lx-link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.app-typography .lx-auth__subtitle {
  font-size: var(--font-size-lg);
}

/* Botão primário */
.lx-btnPrimary {
  width: 100%;
  height: 42px;
  border-radius: var(--lx-radius-sm);
  border: 1px solid var(--cta-bg);
  background: var(--cta-bg);
  color: var(--cta-text);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--lx-shadow-sm);
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease, transform .05s ease;
}

.lx-btnPrimary:hover {
  background: var(--cta-bg-hover);
  border-color: var(--cta-bg-hover);
}

.lx-btnPrimary:active {
  transform: translateY(1px);
}

.lx-btnPrimary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(243, 128, 60, .25), var(--lx-shadow-sm);
}

/* Divider "Or sign in with" */
.lx-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
  color: rgba(15, 23, 42, .55);
  font-size: 13px;
}

.lx-divider::before,
.lx-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(213, 217, 227, .9);
}

/* Botões sociais */
.lx-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.lx-socialBtn {
  width: 42px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(213, 217, 227, .9);
  background: #f8fbff;
  box-shadow: var(--lx-shadow-sm);
  cursor: pointer;
  font-weight: 800;
  color: rgba(15, 23, 42, .75);
  transition: transform .05s ease, background-color .15s ease, border-color .15s ease;
}

.lx-socialBtn:hover {
  background: #ffffff;
  border-color: rgba(79, 143, 247, .45);
}

.lx-socialBtn:active {
  transform: translateY(1px);
}

/* Rodapé */
.lx-footer {
  text-align: center;
  font-size: 13px;
  color: rgba(15, 23, 42, .55);
}

.lx-footer a {
  margin-left: 6px;
}

/* Validação AngularJS (opcional): só dentro do escopo */
.lx-auth .ng-invalid.ng-touched.lx-input,
.lx-auth .ng-invalid.ng-touched .lx-input {
  border-color: #ef4444;
}

.lx-auth .ng-invalid.ng-touched.lx-input:focus,
.lx-auth .ng-invalid.ng-touched .lx-input:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, .22), var(--lx-shadow-sm);
}