/* CannaGrow 0.17.35 – Startseite / Anmeldung / Registrierung */

body.cg-landing-auth-01735 .cg-header-login-host-01735,
body.cg-landing-auth-01735 .cg-header-login-form-01735 {
  min-width: 0 !important;
  overflow: visible !important;
}

/* Die Kopf-Anmeldung bleibt auf Desktop bewusst kompakt in genau zwei Zeilen. */
body.cg-landing-auth-01735 .cg-header-login-form-01735 {
  display: grid !important;
  grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) !important;
  grid-template-areas:
    "user pass"
    "remember submit" !important;
  column-gap: 14px !important;
  row-gap: 7px !important;
  align-items: end !important;
  width: min(100%, 570px) !important;
  max-width: 570px !important;
  margin: 0 !important;
}

body.cg-landing-auth-01735 .cg-header-auth-flatten-01735 {
  display: contents !important;
}

body.cg-landing-auth-01735 .cg-header-auth-field-01735 {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.cg-landing-auth-01735 .cg-header-user-01735 { grid-area: user !important; }
body.cg-landing-auth-01735 .cg-header-pass-01735 { grid-area: pass !important; }
body.cg-landing-auth-01735 .cg-header-remember-01735 { grid-area: remember !important; }
body.cg-landing-auth-01735 .cg-header-submit-cell-01735 { grid-area: submit !important; }
body.cg-landing-auth-01735 .cg-header-forgot-01735 { grid-column: 1 / -1 !important; }

body.cg-landing-auth-01735 .cg-header-auth-label-01735 {
  display: block !important;
  margin: 0 0 1px !important;
  padding: 0 2px !important;
  font-size: .70rem !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  color: rgba(214, 234, 221, .72) !important;
}

body.cg-landing-auth-01735 .cg-header-auth-field-01735 input:not([type="checkbox"]) {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 42px !important;
  height: 42px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

body.cg-landing-auth-01735 .cg-header-remember-01735 {
  display: inline-flex !important;
  align-items: center !important;
  align-self: center !important;
  gap: 9px !important;
  min-height: 44px !important;
  margin: 0 !important;
  white-space: nowrap !important;
  line-height: 1.1 !important;
}

body.cg-landing-auth-01735 .cg-header-remember-01735 input[type="checkbox"] {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  margin: 0 !important;
  flex: 0 0 22px !important;
}

body.cg-landing-auth-01735 .cg-header-submit-cell-01735,
body.cg-landing-auth-01735 .cg-header-submit-01735 {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

body.cg-landing-auth-01735 .cg-header-submit-01735 {
  min-height: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

/* Passwort vergessen ist anfangs unsichtbar und erscheint erst nach Loginfehler. */
body.cg-landing-auth-01735 .cg-header-forgot-01735,
body.cg-landing-auth-01735 .cg-forgot-password.cg-header-forgot-01735 {
  display: none !important;
  justify-self: end !important;
  width: auto !important;
  min-height: 28px !important;
  margin: 0 !important;
  padding: 2px 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: .82rem !important;
  line-height: 1.2 !important;
  text-decoration: underline !important;
}

body.cg-landing-auth-01735 .cg-header-forgot-01735.is-visible,
body.cg-landing-auth-01735 .cg-forgot-password.cg-header-forgot-01735.is-visible {
  display: inline-flex !important;
}

/* Die große Account-Fläche ist ausschließlich Registrierung; Anmeldung bleibt im Header. */
body.cg-landing-auth-01735 #loginForm,
body.cg-landing-auth-01735 .cg-register-login-hidden-01735,
body.cg-landing-auth-01735 .cg-register-login-switch-hidden-01735 {
  display: none !important;
}

body.cg-landing-auth-01735 #registerForm,
body.cg-landing-auth-01735 .cg-registration-form-only-01735 {
  display: block !important;
  visibility: visible !important;
}

body.cg-landing-auth-01735 .cg-register-email-field,
body.cg-landing-auth-01735 .cg-landing-field-01735 {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.cg-landing-auth-01735 .cg-register-email-field {
  display: block !important;
  margin-top: 18px !important;
}

body.cg-landing-auth-01735 .cg-register-email-field > span {
  display: block !important;
  margin-bottom: 8px !important;
  font-weight: 700 !important;
}

body.cg-landing-auth-01735 .cg-register-email-field > span small {
  font-weight: 600 !important;
  opacity: .72 !important;
}

body.cg-landing-auth-01735 .cg-register-email-field input {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 48px !important;
  box-sizing: border-box !important;
}

body.cg-landing-auth-01735 .cg-email-required-note {
  display: block !important;
  margin-top: 8px !important;
  line-height: 1.35 !important;
  color: #8fa699 !important;
}

/* Navigation auf Desktop nicht mehr in zwei Zeilen umbrechen. */
body.cg-landing-auth-01735 .cg-landing-nav-01735 {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px 16px !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}

body.cg-landing-auth-01735 .cg-landing-nav-item-01735 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  white-space: nowrap !important;
  font-size: clamp(.88rem, 1.05vw, 1rem) !important;
}

@media (max-width: 1180px) {
  body.cg-landing-auth-01735 .cg-landing-nav-01735 {
    gap: 6px 10px !important;
  }
  body.cg-landing-auth-01735 .cg-landing-nav-item-01735 {
    font-size: .88rem !important;
  }
  body.cg-landing-auth-01735 .cg-header-login-form-01735 {
    column-gap: 10px !important;
  }
}

/* Mobil darf die Seite wieder stapeln; Desktop bleibt bewusst zweizeilig. */
@media (max-width: 760px) {
  body.cg-landing-auth-01735 .cg-header-login-form-01735 {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "user"
      "pass"
      "remember"
      "submit" !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 9px !important;
  }

  body.cg-landing-auth-01735 .cg-header-forgot-01735.is-visible {
    justify-self: start !important;
  }

  body.cg-landing-auth-01735 .cg-landing-nav-01735 {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 5px 10px !important;
    width: 100% !important;
  }

  body.cg-landing-auth-01735 .cg-landing-nav-item-01735 {
    min-height: 42px !important;
  }
}
