/**
 * WhatsApp-Login: mittige Karte auf der Map (beruhigend / WhatsApp-nah).
 * Sheet wird vom App-Code ausgeblendet.
 */
.ct24-wa-login-overlay {
  --wa-bg: #f7fbf8;
  --wa-card: #ffffff;
  --wa-border: #d8e8df;
  --wa-text: #1a2e24;
  --wa-muted: #6b8578;
  --wa-accent: #25d366;
  --wa-accent-soft: #e8f7ee;
  position: absolute;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px 120px;
  background: rgba(15, 28, 22, 0.28);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
}

.ct24-wa-login-overlay *,
.ct24-wa-login-overlay *::before,
.ct24-wa-login-overlay *::after {
  box-sizing: border-box;
}

.ct24-wa-login-card {
  width: 100%;
  max-width: 340px;
  padding: 22px 20px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, var(--wa-bg) 100%);
  border: 1px solid var(--wa-border);
  box-shadow: 0 16px 40px rgba(15, 28, 22, 0.18);
  position: relative;
}

.ct24-wa-login-card__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--wa-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}

.ct24-wa-login-card__close:hover {
  background: rgba(26, 46, 36, 0.06);
  color: var(--wa-text);
}

.ct24-wa-login-card__mark {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--wa-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct24-wa-login-card__mark svg {
  width: 28px;
  height: 28px;
  display: block;
}

.ct24-wa-login-card__title {
  margin: 0 0 6px;
  text-align: center;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--wa-text);
}

.ct24-wa-login-card__lead {
  margin: 0 0 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--wa-muted);
}

.ct24-wa-login-card__notify {
  margin: 0 0 14px;
  padding: 12px 12px 10px;
  border-radius: 16px;
  background: var(--wa-accent-soft);
  border: 1px solid #cfe9d9;
}

.ct24-wa-login-card__notify-title {
  margin: 0 0 4px;
  text-align: center;
  font-size: 13px;
  font-weight: 750;
  color: var(--wa-text);
  letter-spacing: -0.01em;
}

.ct24-wa-login-card__notify-lead {
  margin: 0 0 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--wa-muted);
}

.ct24-wa-login-card__switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 6px 8px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(213, 229, 220, 0.9);
  cursor: pointer;
}

.ct24-wa-login-card__switch:last-child {
  margin-bottom: 0;
}

.ct24-wa-login-card__switch-label {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 650;
  color: var(--wa-text);
  letter-spacing: -0.01em;
}

.ct24-wa-login-card__switch-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.ct24-wa-login-card__switch-ui {
  flex: 0 0 auto;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #c5d4cc;
  position: relative;
  transition: background 0.15s ease;
}

.ct24-wa-login-card__switch-ui::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(26, 46, 36, 0.22);
  transition: transform 0.15s ease;
}

.ct24-wa-login-card__switch.is-on .ct24-wa-login-card__switch-ui {
  background: var(--wa-accent);
}

.ct24-wa-login-card__switch.is-on .ct24-wa-login-card__switch-ui::after {
  transform: translateX(18px);
}

.ct24-wa-login-card__field {
  width: 100%;
  min-height: 48px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--wa-border);
  background: #fff;
  color: var(--wa-text);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0.02em;
  outline: none;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.ct24-wa-login-card__field--code {
  text-align: center;
  letter-spacing: 0.28em;
  font-size: 22px;
  font-weight: 700;
}

.ct24-wa-login-card__field::placeholder {
  color: var(--wa-muted);
  font-weight: 500;
  letter-spacing: normal;
}

.ct24-wa-login-card__field:focus {
  border-color: #8fd9a8;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.16);
}

.ct24-wa-login-card__btn {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(180deg, #36db74 0%, #1fbe5a 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 6px 16px rgba(31, 190, 90, 0.28);
  font-family: inherit;
  transition: transform 0.12s ease, filter 0.12s ease, opacity 0.12s ease;
}

.ct24-wa-login-card__btn:hover:not(:disabled) {
  filter: brightness(1.03);
}

.ct24-wa-login-card__btn:active:not(:disabled) {
  transform: translateY(1px);
}

.ct24-wa-login-card__btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.ct24-wa-login-card__btn--login {
  background: linear-gradient(180deg, #2a3d34 0%, #1a2e24 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 6px 16px rgba(26, 46, 36, 0.22);
}

.ct24-wa-login-card__msg {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--wa-muted);
  min-height: 1.2em;
}

.ct24-wa-login-card__back {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: var(--wa-muted);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  padding: 6px;
}

.ct24-wa-login-card__back:hover {
  color: var(--wa-text);
}

/* In der Fahrersuche: eine Fläche, kein Container-in-Container */
.ct24-wa-login-overlay--fahrt {
  --wa-bg: transparent;
  --wa-card: transparent;
  --wa-border: #e3e4e9;
  --wa-text: #0a0a0a;
  --wa-muted: #8e8e93;
  --wa-accent: #f5c83f;
  --wa-accent-soft: transparent;
  position: relative;
  inset: auto;
  z-index: 1;
  display: block;
  padding: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.ct24-wa-login-overlay--fahrt .ct24-wa-login-card--fahrt {
  max-width: none;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
}

.ct24-wa-login-overlay--fahrt .ct24-wa-login-card__mark {
  display: none;
}

.ct24-wa-login-overlay--fahrt .ct24-wa-login-card__notify {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.ct24-wa-login-overlay--fahrt .ct24-wa-login-card__notify-title,
.ct24-wa-login-overlay--fahrt .ct24-wa-login-card__title {
  margin: 0;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #0a0a0a;
}

.ct24-wa-login-overlay--fahrt .ct24-wa-login-card__notify-lead,
.ct24-wa-login-overlay--fahrt .ct24-wa-login-card__lead {
  margin: 4px 0 10px;
  text-align: left;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: #8e8e93;
}

.ct24-wa-login-overlay--fahrt .ct24-wa-login-card__switch {
  min-height: 32px;
  padding: 2px 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.ct24-wa-login-overlay--fahrt .ct24-wa-login-card__switch-label {
  font-size: 13px;
  font-weight: 600;
}

.ct24-wa-login-overlay--fahrt .ct24-wa-login-card__switch-ui {
  width: 40px;
  height: 24px;
  background: #d5d6db;
}

.ct24-wa-login-overlay--fahrt .ct24-wa-login-card__switch-ui::after {
  width: 18px;
  height: 18px;
  top: 3px;
  left: 3px;
}

.ct24-wa-login-overlay--fahrt .ct24-wa-login-card__switch.is-on .ct24-wa-login-card__switch-ui::after {
  transform: translateX(16px);
}

.ct24-wa-login-overlay--fahrt .ct24-wa-login-card__field {
  min-height: 46px;
  margin: 8px 0 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e3e4e9;
  background: #f0f1f5;
}

.ct24-wa-login-overlay--fahrt .ct24-wa-login-card__field:focus {
  border-color: #f5c83f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(245, 200, 63, 0.28);
}

.ct24-wa-login-overlay--fahrt .ct24-wa-login-card__btn,
.ct24-wa-login-overlay--fahrt .ct24-wa-login-card__btn--login {
  min-height: 46px;
  margin: 0;
  border-radius: 14px;
  color: #0a0a0a;
  background: #f5c83f;
  box-shadow: none;
}

.ct24-wa-login-overlay--fahrt .ct24-wa-login-card__back {
  margin-top: 6px;
  padding: 4px 0;
}

.ct24-wa-login-overlay--fahrt .ct24-wa-login-card__msg {
  margin: 6px 0 0;
  text-align: left;
  min-height: 0;
}

/* Preis-Fokus / Ablauf-Buttons → css/ct24-fahrt-sheet.css (eigene Kapsel) */
