/**
 * WaBanja Dating Platform  | Dafri Apps Dev & Software Solution (PTY) LTD.
 *
 * (C) 2026 Dafri Apps Dev (PTY) LTD. All rights reserved.
 *
 * Web:   https://dafriappsdev.com
 * Email: support@dafriappsdev.com
 *
 * This source code is proprietary and confidential.
 * Unauthorized copying, modification, or distribution is strictly prohibited.
 */

/* WaBanja Split-Screen Auth Layout (Login & Signup) — Daylight & Dark Mode Adaptive */

:root {
  --wb-auth-grad: linear-gradient(135deg, #FF3D77 0%, #FF5A67 38%, #FF8A5C 72%, #FFC266 100%);
  --wb-auth-grad-violet: linear-gradient(135deg, #FF3D77 0%, #FF7A45 50%, #9B5CFF 100%);
  --wb-auth-btn-grad: linear-gradient(90deg, #FF3D77 0%, #FF5A67 52%, #FF8A5C 100%);
  --wb-auth-ink: #14161F;
  --wb-auth-muted: #5F6470;
  --wb-auth-border: #CBD5E1;
  --wb-auth-divider: #E5E7EB;
  --wb-auth-surface: #FFFFFF;
}

body.wb-auth-split-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  --wb-auth-ink: #14161F;
  --wb-auth-muted: #5F6470;
  --wb-auth-border: #CBD5E1;
  --wb-auth-divider: #E5E7EB;
  --wb-auth-surface: #FFFFFF;
  --wb-auth-left-surface:
    radial-gradient(circle at 18% 20%, rgba(255, 61, 119, 0.08) 0%, transparent 46%),
    radial-gradient(circle at 82% 72%, rgba(255, 138, 92, 0.09) 0%, transparent 48%),
    radial-gradient(circle at 60% 15%, rgba(155, 92, 255, 0.06) 0%, transparent 42%),
    #ffffff;
  --wb-auth-card-bg: #FFFFFF;
  --wb-auth-card-border: rgba(17, 24, 39, 0.08);
  --wb-auth-skeleton-line: #EDF0F5;
  --wb-auth-ring-bg: #FFFFFF;
  --wb-auth-collage-ring: #FFFFFF;
  --wb-auth-btn-social-bg: #FFFFFF;
  --wb-auth-btn-social-hover: #F8FAFC;
  --wb-auth-btn-social-border: #CBD5E1;
  --wb-auth-btn-social-text: #1E293B;
  --wb-auth-outline-bg: #FFFFFF;
  --wb-auth-outline-text: #E11D48;
  --wb-auth-pill-bg: rgba(255, 255, 255, 0.92);
  --wb-auth-pill-border: #E2E8F0;
  --wb-auth-pill-shadow: 0 4px 16px rgba(15, 23, 42, 0.07);
  --wb-auth-header-glass: rgba(255, 255, 255, 0.72);
  --wb-auth-header-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
  --wb-bg-card: #FFFFFF;
  --wb-text: #14161F;
  --wb-border: #CBD5E1;
  --wb-input-bg: #FFFFFF;
  --wb-input-border: #CBD5E1;
  --wb-input-text: #14161F;
  --wb-fl-accent: #FF3D77;
  --wb-fl-notch-bg: #FFFFFF;
  --wb-fl-label-idle: #64748B;
  --wb-fl-label-floated: #334155;
  background: var(--wb-auth-surface) !important;
  color: var(--wb-auth-ink) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-x: clip;
}

html[data-theme="dark"] body.wb-auth-split-body,
body.wb-auth-split-body[data-theme="dark"],
body.wb-auth-split-body.dark-mode {
  --wb-auth-ink: #F8FAFC;
  --wb-auth-muted: rgba(248, 250, 252, 0.72);
  --wb-auth-border: rgba(255, 255, 255, 0.24);
  --wb-auth-divider: rgba(255, 255, 255, 0.12);
  --wb-auth-surface: #110E1F;
  --wb-auth-left-surface:
    radial-gradient(circle at 18% 20%, rgba(255, 61, 119, 0.18) 0%, transparent 48%),
    radial-gradient(circle at 82% 72%, rgba(255, 138, 92, 0.14) 0%, transparent 48%),
    radial-gradient(circle at 60% 15%, rgba(155, 92, 255, 0.16) 0%, transparent 44%),
    #0A0816;
  --wb-auth-card-bg: #1B1730;
  --wb-auth-card-border: rgba(255, 255, 255, 0.16);
  --wb-auth-skeleton-line: rgba(255, 255, 255, 0.16);
  --wb-auth-ring-bg: #18132C;
  --wb-auth-collage-ring: rgba(255, 255, 255, 0.24);
  --wb-auth-btn-social-bg: rgba(255, 255, 255, 0.06);
  --wb-auth-btn-social-hover: rgba(255, 255, 255, 0.12);
  --wb-auth-btn-social-border: rgba(255, 255, 255, 0.22);
  --wb-auth-btn-social-text: #F8FAFC;
  --wb-auth-outline-bg: rgba(255, 61, 119, 0.08);
  --wb-auth-outline-text: #FF7BA5;
  --wb-auth-pill-bg: rgba(25, 20, 44, 0.88);
  --wb-auth-pill-border: rgba(255, 255, 255, 0.18);
  --wb-auth-pill-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  --wb-auth-header-glass: rgba(17, 14, 31, 0.74);
  --wb-auth-header-shadow: 0 8px 28px rgba(0, 0, 0, 0.34);
  --wb-bg-card: #18142B;
  --wb-text: #F8FAFC;
  --wb-border: rgba(255, 255, 255, 0.24);
  --wb-input-bg: #110E1F;
  --wb-input-border: rgba(255, 255, 255, 0.26);
  --wb-input-text: #F8FAFC;
  --wb-fl-accent: #FF5A8D;
  --wb-fl-notch-bg: #110E1F;
  --wb-fl-label-idle: rgba(248, 250, 252, 0.68);
  --wb-fl-label-floated: rgba(255, 255, 255, 0.92);
}

body.wb-auth-split-body .wb-btt-3d-btn {
  display: none !important;
}

body.wb-auth-split-body .wb-pwd-toggle {
  color: var(--wb-auth-muted) !important;
  opacity: 1 !important;
}

body.wb-auth-split-body .wb-pwd-toggle:hover {
  color: #FF3D77 !important;
}

.wb-auth-split-shell {
  position: relative;
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(380px, 0.92fr);
  min-height: calc(100vh - 68px);
  width: 100%;
  background: var(--wb-auth-surface);
}

/* ── Sticky Translucent Auth Header (Brand Logo + Theme Switcher) ── */
.wb-auth-sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  padding: 18px 28px 14px 52px;
  background: transparent;
  border-bottom: 1px solid transparent;
  pointer-events: none;
  transition: background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, backdrop-filter 0.24s ease;
}

.wb-auth-sticky-header.is-scrolled {
  pointer-events: auto;
  background: var(--wb-auth-header-glass);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--wb-auth-divider);
  box-shadow: var(--wb-auth-header-shadow);
}

.wb-auth-theme-bar {
  position: relative;
  z-index: 4;
  flex-shrink: 0;
  pointer-events: auto;
}

.wb-auth-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--wb-auth-pill-bg);
  border: 1px solid var(--wb-auth-pill-border);
  box-shadow: var(--wb-auth-pill-shadow);
  backdrop-filter: blur(12px);
}

.wb-auth-theme-sun {
  font-size: 1.15rem;
  color: #F7B928;
  line-height: 1;
  cursor: pointer;
}

.wb-auth-theme-moon {
  font-size: 1.15rem;
  color: #8AB4F8;
  line-height: 1;
  cursor: pointer;
}

/* ── Left Showcase Column ── */
.wb-auth-left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 86px 52px 44px;
  border-right: 1px solid var(--wb-auth-divider);
  background: var(--wb-auth-left-surface);
  overflow: hidden;
}

.wb-auth-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  width: fit-content;
  z-index: 4;
  flex-shrink: 0;
  pointer-events: auto;
}

.wb-auth-brand img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ── Ambient Floating Chat-Background Icons (inspired by chat-pattern SVG) ── */
.wb-auth-ambient-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.wb-amb-icon {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.24;
  will-change: transform, opacity;
}

.wb-amb-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

html[data-theme="dark"] body.wb-auth-split-body .wb-amb-icon,
body.wb-auth-split-body[data-theme="dark"] .wb-amb-icon {
  opacity: 0.26;
}

.wb-amb-pink {
  color: #FF3D77;
  filter: drop-shadow(0 6px 14px rgba(255, 61, 119, 0.16));
}

.wb-amb-coral {
  color: #FF7A45;
  filter: drop-shadow(0 6px 14px rgba(255, 122, 69, 0.16));
}

.wb-amb-gold {
  color: #F59E0B;
  filter: drop-shadow(0 6px 14px rgba(255, 194, 102, 0.2));
}

.wb-amb-violet {
  color: #9B5CFF;
  filter: drop-shadow(0 6px 14px rgba(155, 92, 255, 0.18));
}

html[data-theme="dark"] body.wb-auth-split-body .wb-amb-gold,
body.wb-auth-split-body[data-theme="dark"] .wb-amb-gold {
  color: #FFC266;
}

.wb-amb-1 { top: 20%; left: 5%; width: 42px; height: 42px; animation: wbAmbFloatA 7.2s ease-in-out infinite; }
.wb-amb-2 { top: 9%; right: 7%; width: 46px; height: 46px; animation: wbAmbFloatB 8.4s ease-in-out infinite 0.5s; }
.wb-amb-3 { top: 47%; left: 3.5%; width: 40px; height: 40px; animation: wbAmbFloatA 7.8s ease-in-out infinite 1.1s; }
.wb-amb-4 { top: 46%; right: 4%; width: 44px; height: 44px; animation: wbAmbFloatB 8.2s ease-in-out infinite 1.7s; }
.wb-amb-5 { bottom: 29%; left: 5%; width: 40px; height: 40px; animation: wbAmbFloatA 6.9s ease-in-out infinite 0.8s; }
.wb-amb-6 { bottom: 24%; right: 6%; width: 38px; height: 38px; animation: wbAmbFloatB 7.6s ease-in-out infinite 2.1s; }
.wb-amb-7 { bottom: 7%; right: 10%; width: 36px; height: 36px; animation: wbAmbFloatA 6.4s ease-in-out infinite 1.4s; }
.wb-amb-8 { top: 24%; right: 12%; width: 28px; height: 28px; animation: wbAmbPulse 4.6s ease-in-out infinite 0.4s; }

/* ── Editorial Collage Stage ── */
.wb-auth-collage-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0 34px;
  flex: 1 1 auto;
  width: 100%;
}

.wb-auth-collage {
  position: relative;
  width: 446px;
  min-width: 446px;
  max-width: none;
  height: 416px;
  margin: 0 auto;
  flex-shrink: 0;
  transform-origin: center center;
  transition: transform 0.25s ease;
}

@media (min-width: 1025px) {
  .wb-auth-collage-wrap {
    padding: 36px 0 42px;
  }
  .wb-auth-collage {
    transform: scale(1.08);
  }
}

@media (min-width: 1180px) {
  .wb-auth-collage-wrap {
    padding: 50px 0 56px;
  }
  .wb-auth-collage {
    transform: scale(1.18);
  }
}

@media (min-width: 1400px) {
  .wb-auth-collage-wrap {
    padding: 66px 0 74px;
  }
  .wb-auth-collage {
    transform: scale(1.28);
  }
}

.wb-collage-story {
  position: absolute;
  top: 8px;
  right: 38px;
  width: 238px;
  height: 368px;
  border-radius: 26px;
  overflow: hidden;
  background: #1a1528;
  box-shadow: 0 24px 54px rgba(20, 14, 40, 0.22), 0 4px 16px rgba(255, 61, 119, 0.14);
  border: 2px solid var(--wb-auth-collage-ring);
  z-index: 2;
}

.wb-collage-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wb-collage-story-bars {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 5px;
  z-index: 3;
}

.wb-collage-story-bars span {
  flex: 1;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.42);
}

.wb-collage-story-bars span:first-child {
  background: #ffffff;
}

.wb-collage-story-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 18px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 12, 28, 0.58) 100%);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  color: #ffffff;
  font-size: 0.92rem;
  z-index: 3;
}

.wb-collage-story-actions span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.14);
}

.wb-collage-story-actions span:first-child svg {
  animation: wbMiniHeartBeat 2.4s ease-in-out infinite;
}

.wb-collage-pill {
  position: absolute;
  top: 52px;
  right: 2px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--wb-auth-grad-violet);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 26px rgba(155, 92, 255, 0.3), 0 4px 10px rgba(255, 61, 119, 0.25);
  animation: wbPillFloat 4.8s ease-in-out infinite;
}

.wb-collage-pill svg {
  animation: wbLiveDotBlink 1.8s ease-in-out infinite;
}

.wb-collage-emoji {
  position: absolute;
  top: 18px;
  left: 44px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFC266 0%, #FF8A5C 52%, #FF3D77 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(255, 90, 103, 0.34);
  border: 3px solid var(--wb-auth-ring-bg);
  z-index: 5;
  animation: wbSmileOrbFloat 4.1s ease-in-out infinite;
}

.wb-collage-emoji::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 194, 102, 0.55);
  pointer-events: none;
  animation: wbSmileHalo 4.1s ease-out infinite;
}

.wb-smile-svg {
  animation: wbSmilePop 4.1s ease-in-out infinite;
  transform-origin: center;
}

.wb-smile-wink {
  transform-box: fill-box;
  transform-origin: center;
  animation: wbSmileWink 3.4s ease-in-out infinite;
}

.wb-collage-moment {
  position: absolute;
  top: 84px;
  left: 40px;
  width: 152px;
  height: 152px;
  border-radius: 22px;
  overflow: hidden;
  background: #241935;
  border: 3px solid var(--wb-auth-ring-bg);
  box-shadow: 0 18px 36px rgba(20, 14, 40, 0.18);
  z-index: 3;
}

.wb-collage-moment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wb-collage-mini-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.94);
  color: #FF3D77;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wb-collage-card {
  position: absolute;
  top: 202px;
  left: 88px;
  width: 148px;
  padding: 9px;
  border-radius: 20px;
  background: var(--wb-auth-card-bg);
  box-shadow: 0 22px 44px rgba(20, 14, 40, 0.18);
  border: 1px solid var(--wb-auth-card-border);
  z-index: 4;
}

.wb-collage-card-badge {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--wb-auth-grad);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  margin-bottom: 7px;
}

.wb-collage-card-thumb {
  width: 100%;
  height: 106px;
  border-radius: 12px;
  overflow: hidden;
  background: #26182c;
}

.wb-collage-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wb-collage-card-lines {
  padding-top: 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wb-collage-card-lines span {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: var(--wb-auth-skeleton-line);
  width: 86%;
}

.wb-collage-card-lines span:last-child {
  width: 58%;
}

.wb-collage-avatar {
  position: absolute;
  bottom: 0;
  left: 206px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  padding: 4px;
  background: var(--wb-auth-grad-violet);
  box-shadow: 0 18px 36px rgba(255, 61, 119, 0.25);
  z-index: 6;
}

.wb-collage-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 3px;
  background: var(--wb-auth-ring-bg);
  overflow: hidden;
}

.wb-collage-avatar-inner img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.wb-collage-heart {
  position: absolute;
  right: 4px;
  bottom: 92px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--wb-auth-grad);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 3px solid var(--wb-auth-ring-bg);
  box-shadow: 0 16px 34px rgba(255, 61, 119, 0.42);
  z-index: 6;
  animation: wbHeartOrbFloat 4.4s ease-in-out infinite;
}

.wb-collage-heart::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 61, 119, 0.6);
  pointer-events: none;
  animation: wbHeartRipple 1.85s ease-out infinite;
}

.wb-heart-svg {
  transform-origin: center;
  animation: wbHeartBeat 1.85s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(155, 17, 66, 0.35));
}

/* ── Orbiting Animated Chat-Pattern Badges ── */
.wb-collage-chat-icon {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 7;
  border: 2.5px solid var(--wb-auth-ring-bg);
  box-shadow: 0 14px 28px rgba(20, 14, 40, 0.18);
}

.wb-ci-chat {
  top: -14px;
  left: 152px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF3D77 0%, #FF5A67 55%, #FF8A5C 100%);
  box-shadow: 0 12px 26px rgba(255, 61, 119, 0.36);
  animation: wbBadgeFloatA 3.9s ease-in-out infinite;
}

.wb-ci-ring {
  top: 156px;
  right: -12px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9B5CFF 0%, #FF3D77 100%);
  box-shadow: 0 12px 26px rgba(155, 92, 255, 0.36);
  animation: wbBadgeFloatB 4.5s ease-in-out infinite 0.5s;
}

.wb-ci-toast {
  top: 248px;
  left: -8px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFC266 0%, #FF8A5C 55%, #FF5A67 100%);
  box-shadow: 0 12px 26px rgba(255, 138, 92, 0.34);
  animation: wbBadgeToastClink 4.2s ease-in-out infinite 0.3s;
}

.wb-ci-letter {
  bottom: 16px;
  left: 26px;
  background: var(--wb-auth-card-bg);
  color: #FF3D77;
  border: 1.5px solid rgba(255, 61, 119, 0.32);
  box-shadow: 0 14px 28px rgba(255, 61, 119, 0.16);
  animation: wbBadgeFloatA 4.7s ease-in-out infinite 0.9s;
}

.wb-ci-gift {
  bottom: 16px;
  right: 18px;
  background: var(--wb-auth-card-bg);
  color: #9B5CFF;
  border: 1.5px solid rgba(155, 92, 255, 0.34);
  box-shadow: 0 14px 28px rgba(155, 92, 255, 0.18);
  animation: wbBadgeFloatB 4.3s ease-in-out infinite 1.2s;
}

html[data-theme="dark"] body.wb-auth-split-body .wb-ci-letter,
body.wb-auth-split-body[data-theme="dark"] .wb-ci-letter {
  color: #FF7BA5;
  border-color: rgba(255, 123, 165, 0.42);
}

html[data-theme="dark"] body.wb-auth-split-body .wb-ci-gift,
body.wb-auth-split-body[data-theme="dark"] .wb-ci-gift {
  color: #C49BFF;
  border-color: rgba(196, 155, 255, 0.42);
}

.wb-collage-sparkle {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  pointer-events: none;
}

.wb-sp-1 {
  top: 2px;
  right: 12px;
  color: #FFC266;
  filter: drop-shadow(0 2px 8px rgba(255, 194, 102, 0.55));
  animation: wbSparkleTwinkle 2.8s ease-in-out infinite;
}

.wb-sp-2 {
  top: 176px;
  left: 6px;
  color: #FF3D77;
  filter: drop-shadow(0 2px 8px rgba(255, 61, 119, 0.45));
  animation: wbSparkleTwinkle 3.2s ease-in-out infinite 0.9s;
}

.wb-sp-3 {
  bottom: 62px;
  right: -8px;
  color: #9B5CFF;
  filter: drop-shadow(0 2px 8px rgba(155, 92, 255, 0.45));
  animation: wbSparkleTwinkle 3s ease-in-out infinite 1.5s;
}

@keyframes wbHeartOrbFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(4deg); }
}

@keyframes wbHeartBeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.24); }
  28% { transform: scale(1.02); }
  42% { transform: scale(1.16); }
  62% { transform: scale(1); }
}

@keyframes wbHeartRipple {
  0% { transform: scale(0.92); opacity: 0.75; }
  70% { transform: scale(1.36); opacity: 0; }
  100% { transform: scale(1.36); opacity: 0; }
}

@keyframes wbMiniHeartBeat {
  0%, 100% { transform: scale(1); }
  22% { transform: scale(1.2); }
  45% { transform: scale(1); }
}

@keyframes wbSmileOrbFloat {
  0%, 100% { transform: translateY(0) rotate(-11deg); }
  50% { transform: translateY(-8px) rotate(-3deg); }
}

@keyframes wbSmilePop {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.08) rotate(3deg); }
  60% { transform: scale(0.98) rotate(-2deg); }
}

@keyframes wbSmileWink {
  0%, 42%, 68%, 100% { transform: scaleY(1); }
  52% { transform: scaleY(0.25); }
}

@keyframes wbSmileHalo {
  0% { transform: scale(0.92); opacity: 0.7; }
  65% { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.28); opacity: 0; }
}

@keyframes wbPillFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes wbLiveDotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

@keyframes wbBadgeFloatA {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-7px) rotate(4deg); }
}

@keyframes wbBadgeFloatB {
  0%, 100% { transform: translateY(0) rotate(5deg); }
  50% { transform: translateY(-6px) rotate(-4deg); }
}

@keyframes wbBadgeToastClink {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  25% { transform: translateY(-5px) rotate(6deg); }
  50% { transform: translateY(-7px) rotate(-4deg); }
  75% { transform: translateY(-3px) rotate(4deg); }
}

@keyframes wbSparkleTwinkle {
  0%, 100% { transform: scale(0.82) rotate(0deg); opacity: 0.7; }
  50% { transform: scale(1.24) rotate(22deg); opacity: 1; }
}

@keyframes wbAmbFloatA {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-8deg); }
  50% { transform: translate3d(6px, -12px, 0) rotate(6deg); }
}

@keyframes wbAmbFloatB {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(8deg); }
  50% { transform: translate3d(-6px, -11px, 0) rotate(-6deg); }
}

@keyframes wbAmbPulse {
  0%, 100% { transform: scale(0.86) rotate(0deg); opacity: 0.22; }
  50% { transform: scale(1.18) rotate(24deg); opacity: 0.42; }
}

@media (prefers-reduced-motion: reduce) {
  .wb-amb-icon,
  .wb-collage-emoji,
  .wb-collage-emoji::after,
  .wb-smile-svg,
  .wb-smile-wink,
  .wb-collage-heart,
  .wb-collage-heart::after,
  .wb-heart-svg,
  .wb-collage-pill,
  .wb-collage-pill svg,
  .wb-collage-story-actions span:first-child svg,
  .wb-collage-chat-icon,
  .wb-collage-sparkle {
    animation: none !important;
  }
}

/* ── Lower-Left Display Headline ── */
.wb-auth-headline-wrap {
  max-width: 440px;
  z-index: 2;
}

.wb-auth-headline {
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 2.85rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--wb-auth-ink);
}

.wb-auth-grad-text {
  background: var(--wb-auth-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wb-auth-headline-sub {
  margin: 12px 0 0;
  font-size: 0.92rem;
  color: var(--wb-auth-muted);
  font-weight: 500;
}

/* ── Right Form Column ── */
.wb-auth-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 86px 40px 40px;
  background: var(--wb-auth-surface);
}

.wb-auth-panel {
  width: 100%;
  max-width: 392px;
}

.wb-auth-mobile-brand {
  display: none;
  margin-bottom: 18px;
}

.wb-auth-mobile-brand img {
  height: 36px;
  width: auto;
}

.wb-auth-panel-title {
  margin: 0 0 6px;
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--wb-auth-ink);
  letter-spacing: -0.015em;
}

.wb-auth-panel-sub {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--wb-auth-muted);
  line-height: 1.5;
}

/* ── Unified Outlined Form Inputs & Flag Dropdown (Beats dashboard.css / location-catalog.css in Both Themes) ── */
.wb-auth-right .wb-form-group,
.wb-auth-right .su-fg {
  margin-bottom: 14px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wb-auth-right .wb-form-group label:not(.wb-fl-label),
.wb-auth-right .su-fg label:not(.wb-fl-label) {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--wb-auth-muted);
  letter-spacing: 0.01em;
  text-transform: none;
}

.wb-auth-right .wb-fl-box {
  margin-top: 4px;
  background: transparent;
}

.wb-auth-right .wb-fl-box > label.wb-fl-label {
  color: var(--wb-fl-label-idle) !important;
  background-color: transparent !important;
}

.wb-auth-right .wb-fl-box.is-focused > label.wb-fl-label,
.wb-auth-right .wb-fl-box.has-value > label.wb-fl-label,
.wb-auth-right .wb-fl-box.always-floated > label.wb-fl-label {
  color: var(--wb-fl-label-floated) !important;
  background-color: var(--wb-fl-notch-bg) !important;
}

.wb-auth-right .wb-fl-box.is-focused > label.wb-fl-label {
  color: var(--wb-fl-accent) !important;
}

.wb-auth-right .wb-form-input,
.wb-auth-right .su-fi {
  width: 100% !important;
  box-sizing: border-box !important;
  height: 48px;
  min-height: 48px;
  padding: 13px 15px 11px !important;
  border-radius: 12px !important;
  border: 1.5px solid var(--wb-input-border) !important;
  background: var(--wb-input-bg) !important;
  color: var(--wb-input-text) !important;
  font-size: 0.95rem !important;
  font-family: inherit !important;
  outline: none !important;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}

.wb-auth-right select.wb-form-input,
.wb-auth-right select.su-fi {
  cursor: pointer;
}

.wb-auth-right .wb-form-input::placeholder,
.wb-auth-right .su-fi::placeholder {
  color: var(--wb-fl-label-idle) !important;
}

.wb-auth-right .wb-form-input:focus,
.wb-auth-right .su-fi:focus,
.wb-auth-right .wb-fl-box.is-focused > input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.wb-auth-right .wb-fl-box.is-focused > select,
.wb-auth-right .wb-fl-box.is-focused > textarea {
  border-color: var(--wb-fl-accent) !important;
  box-shadow: 0 0 0 3px rgba(255, 61, 119, 0.16) !important;
  background: var(--wb-input-bg) !important;
}

.wb-auth-right input:-webkit-autofill,
.wb-auth-right input:-webkit-autofill:hover,
.wb-auth-right input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--wb-input-bg) inset !important;
  box-shadow: 0 0 0 1000px var(--wb-input-bg) inset !important;
  -webkit-text-fill-color: var(--wb-input-text) !important;
  caret-color: var(--wb-input-text);
  transition: background-color 5000s ease-in-out 0s;
}

/* Country Flag Select Trigger & Menu Override for Both Daylight and Dark Mode */
.wb-auth-right .wb-flag-select-trigger {
  width: 100% !important;
  min-height: 48px !important;
  padding: 11px 14px !important;
  border: 1.5px solid var(--wb-input-border) !important;
  border-radius: 12px !important;
  background: var(--wb-input-bg) !important;
  color: var(--wb-input-text) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
}

.wb-auth-right .wb-flag-select-trigger:hover:not(:disabled),
.wb-auth-right .wb-flag-select-wrap.is-open .wb-flag-select-trigger {
  border-color: var(--wb-fl-accent) !important;
  box-shadow: 0 0 0 3px rgba(255, 61, 119, 0.16) !important;
}

.wb-auth-right .wb-flag-select-label {
  color: var(--wb-input-text) !important;
}

.wb-auth-right .wb-flag-select-menu {
  background: var(--wb-bg-card) !important;
  border: 1.5px solid var(--wb-input-border) !important;
  color: var(--wb-text) !important;
  max-width: 100%;
  box-sizing: border-box;
}

.wb-auth-right .wb-flag-select-search {
  background: var(--wb-input-bg) !important;
  color: var(--wb-input-text) !important;
  border: 1px solid var(--wb-input-border) !important;
}

.wb-auth-right .wb-flag-select-option {
  color: var(--wb-text) !important;
}

.wb-auth-right .wb-flag-select-option.is-selected {
  color: #FF3D77 !important;
}

.wb-auth-primary-btn,
.wb-auth-right .wb-btn-su {
  width: 100%;
  height: 46px;
  padding: 0 20px;
  border: none;
  border-radius: 999px;
  background: var(--wb-auth-btn-grad);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(255, 61, 119, 0.28);
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.wb-auth-primary-btn:hover,
.wb-auth-right .wb-btn-su:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(255, 61, 119, 0.34);
  opacity: 0.97;
}

.wb-auth-primary-btn:disabled,
.wb-auth-right .wb-btn-su:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.wb-auth-forgot {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--wb-auth-ink);
  text-decoration: none;
}

.wb-auth-forgot:hover {
  color: #FF3D77;
  text-decoration: underline;
}

.wb-auth-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wb-auth-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wb-auth-or::before,
.wb-auth-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--wb-auth-divider);
}

.wb-auth-right .wb-social-login,
.wb-auth-right .wb-social-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.wb-auth-right .wb-social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--wb-auth-btn-social-border);
  background: var(--wb-auth-btn-social-bg);
  color: var(--wb-auth-btn-social-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.wb-auth-right .wb-social-login-btn:hover {
  background: var(--wb-auth-btn-social-hover);
  border-color: #FF3D77;
  transform: translateY(-1px);
}

.wb-auth-outline-btn {
  margin-top: 16px;
  width: 100%;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid #FF3D77;
  background: var(--wb-auth-outline-bg);
  color: var(--wb-auth-outline-text);
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.18s ease, transform 0.15s ease;
}

.wb-auth-outline-btn:hover {
  background: rgba(255, 61, 119, 0.12);
  transform: translateY(-1px);
}

.wb-auth-right .wb-alert-error {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #fff1f3;
  border: 1px solid rgba(255, 61, 119, 0.35);
  color: #be123c;
  font-size: 0.87rem;
  font-weight: 600;
  margin-bottom: 14px;
}

html[data-theme="dark"] body.wb-auth-split-body .wb-auth-right .wb-alert-error,
body.wb-auth-split-body[data-theme="dark"] .wb-auth-right .wb-alert-error {
  background: rgba(225, 29, 72, 0.16);
  color: #FDA4AF;
}

.wb-auth-right .wb-alert-box {
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 0.87rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: none;
  text-align: left;
  align-items: center;
  gap: 8px;
}

.wb-auth-right .wb-alert-danger {
  background: #fff1f3;
  border: 1px solid rgba(255, 61, 119, 0.35);
  color: #be123c;
}

html[data-theme="dark"] body.wb-auth-split-body .wb-auth-right .wb-alert-danger,
body.wb-auth-split-body[data-theme="dark"] .wb-auth-right .wb-alert-danger {
  background: rgba(225, 29, 72, 0.16);
  color: #FDA4AF;
}

.wb-auth-right .wb-alert-success {
  background: #ecfdf5;
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #047857;
}

html[data-theme="dark"] body.wb-auth-split-body .wb-auth-right .wb-alert-success,
body.wb-auth-split-body[data-theme="dark"] .wb-auth-right .wb-alert-success {
  background: rgba(16, 185, 129, 0.16);
  color: #6EE7B7;
}

.wb-auth-right .wb-otp-digits {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 16px 0;
}

.wb-auth-right .wb-otp-box {
  width: 46px;
  height: 54px;
  background: var(--wb-input-bg);
  border: 1.5px solid var(--wb-input-border);
  border-radius: 12px;
  color: var(--wb-input-text);
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  outline: none;
  transition: all 0.2s;
}

.wb-auth-right .wb-otp-box:focus {
  border-color: #FF3D77;
  box-shadow: 0 0 0 3px rgba(255, 61, 119, 0.16);
}

.wb-auth-right .wb-otp-box.is-filled {
  border-color: #FF8A5C;
  background: rgba(255, 138, 92, 0.1);
}

.wb-auth-right .wb-otp-box.is-error {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.12) !important;
}

.wb-auth-right .wb-otp-box.wb-char-dropping {
  transform: translateY(34px) rotate(14deg) scale(0.55) !important;
  opacity: 0 !important;
}

@keyframes wbOtpShake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-11px); }
  30% { transform: translateX(10px); }
  45% { transform: translateX(-8px); }
  60% { transform: translateX(7px); }
  75% { transform: translateX(-4px); }
  90% { transform: translateX(3px); }
}

.wb-auth-right .wb-otp-digits.wb-apple-shake {
  animation: wbOtpShake 0.44s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* ── Signup Card Normalization inside Split Panel ── */
.wb-auth-right .wb-signup-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  box-shadow: none;
  backdrop-filter: none;
  text-align: left;
}

.wb-auth-right .wb-signup-card::before {
  display: none;
}

.wb-auth-right .wb-signup-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 61, 119, 0.12);
  border: 1px solid rgba(255, 61, 119, 0.28);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.wb-auth-right .wb-signup-card h1 {
  margin: 0 0 6px;
  font-size: 1.42rem;
  font-weight: 800;
  color: var(--wb-auth-ink);
  letter-spacing: -0.02em;
}

.wb-auth-right .wb-signup-card .wb-sub {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--wb-auth-muted);
  line-height: 1.5;
}

.wb-auth-right .wb-divider-sm {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--wb-auth-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wb-auth-right .wb-divider-sm::before,
.wb-auth-right .wb-divider-sm::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--wb-auth-divider);
}

.wb-auth-right .wb-geo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #fff1f3;
  border: 1px solid rgba(255, 61, 119, 0.24);
  font-size: 0.79rem;
  font-weight: 700;
  color: #e11d48;
  margin-bottom: 14px;
}

html[data-theme="dark"] body.wb-auth-split-body .wb-auth-right .wb-geo-pill,
body.wb-auth-split-body[data-theme="dark"] .wb-auth-right .wb-geo-pill {
  background: rgba(255, 61, 119, 0.14);
  border-color: rgba(255, 61, 119, 0.34);
  color: #FF85AC;
}

.wb-auth-right .wb-otp-hint {
  color: var(--wb-auth-muted);
  font-size: 0.88rem;
  margin: 0 0 10px;
}

.wb-auth-right #target-email-label {
  color: #FF3D77;
  font-weight: 700;
}

.wb-auth-right .wb-otp-resend {
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--wb-auth-muted);
  text-align: center;
}

.wb-auth-right .wb-change-email-link {
  color: var(--wb-auth-ink);
  text-decoration: underline;
  font-weight: 600;
}

.wb-auth-right .wb-change-email-link:hover {
  color: #FF3D77;
}

.wb-auth-forgot-wrap {
  text-align: center;
  margin-top: 12px;
}

.wb-auth-right .wb-bottom-signin {
  margin-top: 14px;
}

.wb-auth-collage svg {
  display: block;
}

.wb-auth-right .wb-terms-note {
  font-size: 0.76rem;
  color: var(--wb-auth-muted);
  margin-top: 16px;
  line-height: 1.55;
  text-align: center;
}

.wb-auth-right .wb-terms-note a {
  color: var(--wb-auth-outline-text);
  font-weight: 600;
  text-decoration: none;
}

.wb-auth-right .wb-terms-note a:hover {
  text-decoration: underline;
}

.wb-auth-mini-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--wb-auth-muted);
}

.wb-auth-mini-mark img {
  height: 18px;
  width: auto;
  opacity: 0.9;
}

/* ── Bottom Slim Horizontal Footer Strip ── */
.wb-auth-footer {
  border-top: 1px solid var(--wb-auth-divider);
  background: var(--wb-auth-surface);
  padding: 16px 28px 20px;
  font-size: 0.76rem;
  color: var(--wb-auth-muted);
}

.wb-auth-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.wb-auth-footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  line-height: 1.5;
}

.wb-auth-footer a {
  color: var(--wb-auth-muted);
  text-decoration: none;
}

.wb-auth-footer a:hover {
  color: #FF3D77;
  text-decoration: underline;
}

/* ── Responsive Breakpoints ── */
@media (max-width: 1024px) {
  .wb-auth-split-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .wb-auth-sticky-header {
    padding: 14px 20px;
  }

  .wb-auth-left {
    padding: 68px 20px 28px;
    border-right: none;
    border-bottom: 1px solid var(--wb-auth-divider);
  }

  .wb-auth-brand {
    min-height: 38px;
  }

  .wb-auth-brand img {
    height: 34px;
  }

  .wb-auth-collage-wrap {
    display: block;
    padding: 24px 0 0;
    overflow: visible;
  }

  .wb-auth-collage {
    position: relative;
    left: 50%;
    margin: 0 0 -22px -223px;
    transform: scale(0.90);
    transform-origin: top center;
    height: 416px;
  }

  .wb-auth-headline-wrap {
    max-width: 540px;
    text-align: center;
    margin: 12px auto 0;
    position: relative;
    z-index: 3;
  }

  .wb-auth-right {
    padding: 32px 20px 38px;
  }
}

@media (max-width: 520px) {
  .wb-auth-sticky-header {
    padding: 12px 14px;
  }

  .wb-auth-theme-toggle {
    gap: 6px;
    padding: 5px 10px;
  }

  .wb-auth-left {
    padding: 62px 14px 24px;
  }

  .wb-auth-brand {
    min-height: 34px;
  }

  .wb-auth-brand img {
    height: 30px;
  }

  .wb-auth-collage-wrap {
    padding: 20px 0 0;
  }

  .wb-auth-collage {
    transform: scale(0.71);
    transform-origin: top center;
    height: 416px;
    margin: 0 0 -98px -223px;
  }

  .wb-amb-icon {
    opacity: 0.16;
  }

  .wb-amb-3,
  .wb-amb-4,
  .wb-amb-5,
  .wb-amb-6 {
    display: none;
  }

  .wb-auth-headline-wrap {
    margin-top: 10px;
    padding: 0 6px;
  }

  .wb-auth-headline {
    font-size: 1.72rem;
    line-height: 1.16;
  }

  .wb-auth-headline br {
    display: none;
  }

  .wb-auth-headline-sub {
    font-size: 0.88rem;
    line-height: 1.48;
    margin-top: 8px;
  }

  .wb-auth-right {
    padding: 26px 16px 36px;
  }

  .wb-auth-panel {
    max-width: 100%;
  }

  .wb-auth-right .wb-form-input,
  .wb-auth-right .su-fi {
    font-size: 16px !important;
  }

  .wb-auth-right .wb-otp-box {
    width: 40px;
    height: 48px;
    font-size: 1.25rem;
  }

  .wb-auth-footer {
    padding: 16px 16px 22px;
  }
}

@media (max-width: 375px) {
  .wb-auth-collage {
    transform: scale(0.62);
    transform-origin: top center;
    height: 416px;
    margin: 0 0 -136px -223px;
  }

  .wb-auth-headline {
    font-size: 1.52rem;
  }
}
