/* Login: Konto erstellen */
.customer-login-register {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  text-align: center;
}

.customer-login-register-link {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: inherit;
  color: #e5322d;
  cursor: pointer;
  text-decoration: underline;
}

.customer-login-register-link:hover {
  color: #c42824;
}

/* Checkout Register-Modus */
#checkout-modal[data-checkout-mode="register"] .checkout-modal-subtitle {
  display: none;
}

#checkout-modal[data-checkout-mode="register"] .checkout-kasse-block--rechnung,
#checkout-modal[data-checkout-mode="register"] .checkout-kasse-block--summary,
#checkout-modal[data-checkout-mode="register"] .checkout-kasse-block--zahlung {
  display: none;
}

#checkout-modal[data-checkout-mode="register"] .checkout-kasse-kunde-display,
#checkout-modal[data-checkout-mode="register"] #checkout-liefer-address-picker {
  display: none !important;
}

#checkout-modal[data-checkout-mode="register"] #checkout-edit-liefer-btn {
  display: none;
}

#checkout-modal[data-checkout-mode="register"] #checkout-liefer-edit {
  display: flex !important;
  flex-direction: column;
  gap: 14px;
  margin-top: 0;
}

#checkout-modal[data-checkout-mode="register"] .checkout-kasse-email-hint {
  display: none;
}

#checkout-modal[data-checkout-mode="register"] #checkout-email[readonly] {
  background: #fff;
  color: inherit;
  cursor: text;
}

#checkout-modal[data-checkout-mode="register"] .checkout-checkout-only {
  display: none;
}

#checkout-modal[data-checkout-mode="register"] .checkout-modal-footer-main {
  justify-content: flex-end;
}

#checkout-modal[data-checkout-mode="register"] .checkout-kasse-edit-actions {
  display: none !important;
}

#checkout-modal[data-checkout-mode="register"] #checkout-liefer-edit {
  gap: 16px;
}

#checkout-modal[data-checkout-mode="register"] .checkout-kasse-block-head {
  margin-bottom: 10px;
}

#checkout-modal[data-checkout-mode="checkout"] #checkout-salutation-row {
  display: none !important;
}

.checkout-register-only.is-hidden,
#checkout-firma-group.is-hidden {
  display: none !important;
}

.checkout-kundenart {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.checkout-kundenart-btn {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #495057;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.checkout-kundenart-btn:hover {
  border-color: #ced4da;
  background: #f8f9fa;
}

.checkout-kundenart-btn.is-active {
  border-color: #e5322d;
  background: #fff5f5;
  color: #c42824;
}

.checkout-optional {
  font-weight: 400;
  color: #868e96;
}

/* Erfolgsmodal nach Kontoerstellung */
.auth-success-dialog {
  max-width: 440px;
}

.auth-success-body {
  padding: 8px 4px 4px;
  text-align: center;
}

.auth-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 4px 14px rgba(46, 125, 50, 0.12);
}

.auth-success-lead {
  font-size: 17px;
  font-weight: 600;
  color: #2c2c2c;
  margin: 0 0 10px;
  line-height: 1.45;
}

.auth-success-hint {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin: 0 0 8px;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

.auth-success-footer {
  display: flex;
  justify-content: center;
  gap: 10px;
}
