/* =========================================================
   Kunden-Login / Registrierung / Pending / Profil
   Schlankes, eigenständiges Layout (ohne interne Navigation)
   ========================================================= */
.ka-body {
  min-height: 100vh;
  background: #f3f4f6;
}

.ka-wrap {
  width: 100%;
  max-width: 520px;
  margin: 6vh auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.ka-wrap--wide {
  max-width: 880px;
}

.ka-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, .08);
  padding: 28px;
}

.ka-logo {
  text-align: center;
  margin-bottom: 14px;
}

.ka-logo img {
  height: 48px;
}

.ka-title {
  margin: 0 0 4px 0;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  color: var(--brand-dark, #7a1620);
}

.ka-sub {
  margin: 0 0 20px 0;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}

.ka-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.ka-field label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.ka-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.ka-input:focus {
  outline: 2px solid rgba(0, 0, 0, .08);
  border-color: #9ca3af;
}

.ka-pw-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.ka-pw-wrap .ka-input {
  padding-right: 44px;
}

.ka-pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 4px 6px;
  opacity: .55;
}

.ka-pw-toggle:hover,
.ka-pw-toggle.is-on {
  opacity: 1;
}

.ka-forgot {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
}

.ka-forgot button {
  border: none;
  background: transparent;
  color: var(--brand-dark, #7a1620);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.ka-forgot button:hover {
  text-decoration: underline;
}

.ka-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ka-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #374151;
  margin-bottom: 14px;
}

.ka-btn {
  width: 100%;
  padding: 11px 14px;
  border: none;
  border-radius: 8px;
  background: var(--brand-dark, #7a1620);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ka-btn:hover {
  filter: brightness(1.06);
}

.ka-btn--ghost {
  background: #fff;
  color: #374151;
  border: 1px solid #d1d5db;
}

.ka-links {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
}

.ka-links a {
  color: var(--brand-dark, #7a1620);
  font-weight: 600;
}

.ka-msg {
  margin: 0 0 14px 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}

.ka-msg--err {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  display: block;
}

.ka-msg--ok {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  display: block;
}

.ka-note {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 16px;
}

.ka-section {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.ka-section-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #222;
}

.ka-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.ka-center {
  text-align: center;
}

.ka-check-icon {
  font-size: 42px;
  color: #16a34a;
  text-align: center;
  margin-bottom: 8px;
}

@media (max-width: 560px) {
  .ka-row2 {
    grid-template-columns: 1fr;
  }
}
