/* Lokino – Anmelden / Registrieren: gleicher Look wie die Startseite */
.auth-meat-modal .modal-dialog {
  max-width: 440px;
}

.auth-meat-modal .modal-content {
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border: 1px solid #f0e6da;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04), 0 16px 40px rgba(47, 31, 18, 0.08);
}

.auth-meat-modal .modal-content > .auth-meat-header {
  position: relative;
  background: #fff7ef;
  color: #2f1f12;
  padding: 1.6rem 1.5rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid #f0e6da;
}

.auth-meat-modal .auth-meat-header .auth-meat-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.8px;
  margin: 0 auto 0.85rem;
}

.auth-meat-modal .auth-meat-header .auth-meat-wordmark .lk-wordmark__loki {
  color: #4a3625;
}

.auth-meat-modal .auth-meat-header .auth-meat-wordmark .lk-wordmark__n {
  color: #7ba245;
}

.auth-meat-modal .auth-meat-header .auth-meat-wordmark .lk-wordmark__o {
  color: #ea8a37;
}

.auth-meat-modal .auth-meat-header .auth-meat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: #f4e7d9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #7ba245;
  border: none;
}

.auth-meat-modal .auth-meat-header h4 {
  font-family: "Nunito", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 0 0 0.4rem;
  color: #2f1f12;
}

.auth-meat-modal .auth-meat-header .auth-meat-tagline {
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 500;
  color: #6f6258;
  margin: 0 auto;
  max-width: 22rem;
}

.auth-meat-modal .auth-meat-header .close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  color: #6f6258;
  opacity: 1;
  text-shadow: none;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.auth-meat-modal .auth-meat-header .close:hover {
  color: #2f1f12;
  background: #f1e5d6;
}

.auth-meat-modal .auth-meat-body {
  padding: 1.4rem 1.5rem 1.25rem;
  background: #ffffff;
}

.auth-meat-modal .auth-meat-body .form-control {
  border-radius: 14px;
  border: 1px solid #efe2d2;
  padding: 0.7rem 0.95rem;
  font-size: 1rem;
  font-weight: 500;
  color: #2f1f12;
  background: #fffdfb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-meat-modal .auth-meat-body .form-control:focus {
  border-color: #7ba245;
  box-shadow: 0 0 0 4px rgba(123, 162, 69, 0.16);
  outline: none;
  background: #fff;
}

.auth-meat-modal .auth-meat-body .form-control::placeholder {
  color: #a89f94;
}

.auth-meat-modal .auth-meat-body label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #2f1f12;
  margin-bottom: 0.35rem;
}

.auth-meat-modal .btn-mmeat-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1.5px solid #efe2d2;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #2f1f12;
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease;
  text-decoration: none !important;
}

.auth-meat-modal .btn-mmeat-google:hover {
  background: #fff7ef;
  border-color: #e6d3bc;
  color: #2f1f12;
  transform: none;
  box-shadow: none;
}

.auth-meat-modal .btn-mmeat-google:active {
  transform: none;
}

.auth-meat-modal .btn-mmeat-google .google-g {
  flex-shrink: 0;
}

.auth-meat-modal .auth-meat-google-hint {
  font-size: 0.75rem;
  color: #6f6258;
  text-align: center;
  margin-top: 0.55rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.auth-meat-modal .auth-meat-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.2rem 0;
  color: #6f6258;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-meat-modal .auth-meat-divider::before,
.auth-meat-modal .auth-meat-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #f0e6da;
}

.auth-meat-modal .btn-mmeat-primary {
  width: 100%;
  padding: 0.78rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0;
  line-height: 1.35;
  white-space: normal;
  background: #7ba245;
  border: none;
  color: #ffffff;
  box-shadow: none;
  transition: background 0.15s ease;
}

.auth-meat-modal .btn-mmeat-primary:hover {
  color: #ffffff;
  background: #5c8f3a;
  filter: none;
  transform: none;
  box-shadow: none;
}

.auth-meat-modal .btn-mmeat-primary:active {
  transform: none;
  filter: none;
}

.auth-meat-modal .btn-mmeat-ghost {
  border-radius: 999px;
  font-weight: 700;
  color: #2f1f12;
  border: 1.5px solid #efe2d2;
  background: #ffffff;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.auth-meat-modal .btn-mmeat-ghost:hover {
  background: #fff7ef;
  color: #2f1f12;
  transform: none;
}

.auth-meat-modal .auth-meat-footer {
  display: flex;
  gap: 0.55rem;
  justify-content: stretch;
  flex-wrap: wrap;
  padding: 0 1.5rem 1.35rem;
  background: #ffffff;
  border-top: none;
}

.auth-meat-modal .auth-meat-footer .btn {
  flex: 1;
  min-width: 120px;
}

.auth-meat-modal .auth-meat-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: #7ba245;
}

.auth-meat-modal .auth-meat-link:hover {
  color: #5c8f3a;
  text-decoration: none;
  opacity: 1;
}

.auth-meat-modal .auth-meat-switch {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6f6258;
}

.auth-meat-modal .auth-meat-switch a {
  color: #7ba245;
  font-weight: 800;
}

.auth-meat-modal .auth-meat-switch a:hover {
  color: #5c8f3a;
  text-decoration: none;
}

.auth-meat-modal .custom-control-label {
  color: #6f6258;
  font-weight: 600;
}

.auth-meat-modal .custom-control-label a {
  color: #7ba245;
  font-weight: 800;
}

.auth-meat-modal.auth-meat-modal-wide .modal-dialog {
  max-width: 500px;
}

/* Vollseite: Passwort vergessen */
.mm-auth-standalone-wrap .mm-auth-reset-modal.modal {
  position: relative;
  top: auto;
  left: auto;
  z-index: 1;
  display: block !important;
  width: 100%;
  height: auto;
  overflow: visible;
  padding: 0;
}

.mm-auth-standalone-wrap .mm-auth-reset-modal .modal-dialog {
  max-width: 440px;
}

.mm-auth-standalone-wrap .mm-auth-reset-modal .modal-content {
  border-radius: 24px;
}

.mm-page-auth-reset .mm-shell {
  min-height: calc(100vh - 120px);
  background: #fff7ef;
}

.mm-auth-standalone-wrap .auth-meat-footer {
  flex-wrap: nowrap;
}

.mm-auth-standalone-wrap .auth-meat-footer .btn-mmeat-primary {
  flex: 1.35;
}

.mm-auth-standalone-wrap .auth-meat-footer .btn-mmeat-ghost {
  flex: 0.85;
}

.mm-auth-standalone-links a {
  color: #7ba245;
  font-weight: 700;
}

.mm-auth-standalone-links a:hover {
  color: #5c8f3a;
  text-decoration: none;
}

.mm-pw-wrap {
  position: relative;
  width: 100%;
}

.mm-pw-wrap .mm-pw-input {
  padding-right: 44px;
}

.mm-pw-toggle {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #6f6258;
  padding: 0;
  border-radius: 8px;
  transition: color 120ms ease, background-color 120ms ease;
}

.mm-pw-toggle:hover,
.mm-pw-toggle:focus-visible {
  color: #7ba245;
  outline: none;
}

.mm-pw-toggle:focus-visible {
  background-color: rgba(123, 162, 69, 0.1);
}

.mm-pw-toggle i {
  font-size: 1.05rem;
  line-height: 1;
}

@media (max-width: 575.98px) {
  .auth-meat-modal .modal-dialog,
  .auth-meat-modal.auth-meat-modal-wide .modal-dialog {
    max-width: 100%;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
  }

  .auth-meat-modal .modal-content {
    border-radius: 0;
    border: none;
    box-shadow: none;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .auth-meat-modal .auth-meat-header {
    padding: 1.25rem 1rem 1.1rem;
  }

  .auth-meat-modal .auth-meat-header h4 {
    font-size: 1.2rem;
  }

  .auth-meat-modal .auth-meat-header .auth-meat-tagline {
    font-size: 0.85rem;
    max-width: none;
  }

  .auth-meat-modal .auth-meat-header .close {
    top: 0.55rem;
    right: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .auth-meat-modal .auth-meat-body {
    padding: 1.25rem 1rem;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .auth-meat-modal .auth-meat-body .form-control {
    font-size: 1rem;
    min-height: 48px;
  }

  .auth-meat-modal .btn-mmeat-primary,
  .auth-meat-modal .btn-mmeat-google {
    min-height: 50px;
    font-size: 1rem;
  }

  .auth-meat-modal .btn-mmeat-ghost {
    min-height: 48px;
  }

  .auth-meat-modal .auth-meat-footer {
    flex-direction: column;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0));
    gap: 0.5rem;
  }

  .auth-meat-modal .auth-meat-footer .btn {
    min-width: 100%;
  }

  .auth-meat-modal .auth-meat-link {
    display: inline-block;
    padding: 6px 0;
  }
}

@media (max-width: 575.98px) {
  .mm-auth-standalone-wrap {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .mm-auth-standalone-wrap .mm-auth-reset-modal .modal-dialog {
    max-width: 100%;
  }

  .mm-auth-standalone-wrap .mm-auth-reset-modal .modal-content {
    border-radius: 16px;
  }

  .mm-auth-standalone-wrap .auth-meat-footer {
    flex-direction: column !important;
    flex-wrap: wrap !important;
    padding: 0 1rem 1rem;
    gap: 0.5rem;
  }

  .mm-auth-standalone-wrap .auth-meat-footer .btn,
  .mm-auth-standalone-wrap .auth-meat-footer .btn-mmeat-primary,
  .mm-auth-standalone-wrap .auth-meat-footer .btn-mmeat-ghost {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px;
  }

  .mm-page-auth-reset .mm-shell {
    min-height: calc(100vh - 80px);
  }
}
