/* Preview local do novo login LF. Nao subir sem aprovacao. */

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 18%, rgba(0, 224, 120, 0.12), transparent 32rem),
    linear-gradient(116deg, #022617 0 41%, #eaf4ee 41.2% 100%);
}

.topbar {
  height: 76px;
  padding-inline: clamp(22px, 7vw, 190px);
  background: transparent;
  border-bottom: 0;
  box-shadow: 0 18px 50px rgba(0, 35, 20, 0.18);
  width: 100%;
  max-width: none;
  margin: 0;
}

.topbar::before {
  height: 76px;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 224, 120, 0.18), transparent 24rem),
    linear-gradient(90deg, #02150f 0%, #063b25 48%, #02150f 100%);
  border-bottom: 1px solid rgba(0, 224, 120, 0.28);
  box-shadow: inset 0 -3px 0 rgba(0, 224, 120, 0.22);
}

.brand {
  gap: 14px;
  font-size: 1.04rem;
  letter-spacing: 0;
}

.brand-logo-small {
  width: 66px;
  height: 50px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.company-tagline {
  color: #8effb6;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-shadow: 0 0 18px rgba(0, 224, 120, 0.38);
}

.login-screen {
  min-height: calc(100vh - 76px);
  max-width: 1200px;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  padding: clamp(44px, 7vh, 92px) 24px;
}

.login-copy {
  position: relative;
  min-height: 590px;
  padding: clamp(52px, 7vw, 74px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(2, 10, 8, 0.94) 0%, rgba(2, 10, 8, 0.78) 46%, rgba(2, 10, 8, 0.38) 100%),
    url("assets/hero-cftv.png") center/cover;
  box-shadow: 0 36px 90px rgba(0, 18, 10, 0.22);
}

.login-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 72%, rgba(0, 224, 120, 0.16) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 160px);
  pointer-events: none;
}

.login-copy::after {
  height: 6px;
  background: linear-gradient(90deg, #00e078, #62c449, #00e078);
}

.login-copy h1,
.login-copy p {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.login-copy h1 {
  margin-top: clamp(120px, 18vh, 190px);
  font-size: clamp(3.2rem, 4.8vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.login-copy p {
  max-width: 680px;
  margin-top: 26px;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.login-card {
  position: relative;
  width: min(100%, 420px);
  padding: 34px;
  border: 1px solid rgba(18, 57, 39, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 251, 0.96));
  box-shadow: 0 32px 85px rgba(24, 40, 33, 0.15);
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 12px 12px auto;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #00e078, rgba(98, 196, 73, 0.35), transparent);
}

.login-card .eyebrow {
  margin-top: 14px;
  color: #006e45;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.login-card h2 {
  margin-top: 10px;
  color: #06130f;
  font-size: clamp(2rem, 3vw, 2.4rem);
}

.stack-form {
  gap: 16px;
  margin-top: 24px;
}

.stack-form label {
  gap: 9px;
  color: #102019;
  font-weight: 800;
}

.stack-form input {
  min-height: 50px;
  border: 1px solid #cbdcd3;
  border-radius: 9px;
  background: #f9fcfa;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.stack-form input:focus {
  border-color: #00a968;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 224, 120, 0.13);
}

.primary-button {
  min-height: 52px;
  border-radius: 9px;
  background: linear-gradient(135deg, #00e078, #5eb947);
  color: #06130f;
  font-size: 1rem;
  box-shadow: 0 16px 34px rgba(0, 224, 120, 0.22);
}

.primary-button:hover,
.primary-button:focus-visible {
  background: linear-gradient(135deg, #16ef8b, #68c94f);
}

.hint {
  margin-top: 18px;
  color: #5e6f68;
}

@media (max-width: 900px) {
  body {
    background:
      radial-gradient(circle at 16% 18%, rgba(0, 224, 120, 0.12), transparent 24rem),
      linear-gradient(180deg, #022617 0 38%, #eaf4ee 38.2% 100%);
  }

  .topbar {
    padding-inline: 24px;
  }

  .brand-logo-small {
    width: 74px;
    height: 58px;
  }

  .company-tagline {
    display: none;
  }

  .login-screen {
    grid-template-columns: 1fr;
    padding: 24px 16px 40px;
  }

  .login-copy {
    min-height: 360px;
    padding: 28px;
  }

  .login-copy h1 {
    margin-top: 76px;
    font-size: clamp(2.45rem, 11vw, 3.3rem);
    line-height: 1.04;
  }

  .login-copy p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .login-card {
    width: 100%;
  }
}

body:not(:has(#loginScreen:not(.hidden))) .admin-heading-copy .eyebrow {
  color: #06130f;
  text-shadow: none;
}
