/* ============================================================
   PIXIDIA — Auth (login / signup) — Production CSS
   Variant B (glass card on gradient with Pixi mascot)
   Merged from tokens.css + auth.css, scoped to .pxd-auth-page
   ============================================================ */

/* ---- Urbanist — self-hosted (variable font, weights 400–800) ---- */
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/urbanist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/urbanist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Design tokens — confined to .pxd-auth-page
   ============================================================ */
.pxd-auth-page {
  /* ============ BRAND ============ */
  --pxd-primary:        #0A3D3A;
  --pxd-primary-dark:   #072B28;
  --pxd-secondary:      #1E9B52;
  --pxd-secondary-hover:#178440;
  --pxd-secondary-light:#3DBE73;

  --pxd-main:           #0fa36b;
  --pxd-main-hover:     #0d8c5a;

  --pxd-turquoise:      #20c9b8;

  /* ============ GRADIENTS ============ */
  --pxd-gradient:          linear-gradient(135deg, #0A3D3A, #1E9B52);
  --pxd-gradient-icon:     linear-gradient(135deg, #1E9B52 25%, #3DBE73 100%);
  --pxd-gradient-main:     linear-gradient(135deg, #0fa36b 25%, #38c19c 100%);
  --pxd-gradient-reflet:   linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
  --pxd-gradient-shimmer:  radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);

  --pxd-vis-public:  linear-gradient(135deg, #1E9B52 25%, #3DBE73 100%);
  --pxd-vis-private: linear-gradient(135deg, #333 25%, #666 100%);
  --pxd-vis-friends: linear-gradient(135deg, #f4c542 25%, #fba823 100%);
  --pxd-vis-some:    linear-gradient(135deg, #5b9df9 25%, #6c67e0 100%);

  --pxd-avatar-pink: linear-gradient(135deg, #f14c86 25%, #ff82b7 100%);
  --pxd-avatar-blue: linear-gradient(135deg, #20c7e5 15%, #3966d4 100%);
  --pxd-avatar-green:linear-gradient(135deg, #19ba69 20%, #80e28d 100%);

  /* ============ TEXT ============ */
  --pxd-fg:             #0A3D3A;
  --pxd-fg-title:       #072B28;
  --pxd-fg-secondary:   #778494;
  --pxd-fg-tertiary:    #5d7070;
  --pxd-fg-inverse:     #ffffff;
  --pxd-fg-accent:      #1E9B52;

  /* ============ NEUTRAL SCALE ============ */
  --pxd-gray-50:  #f5f7f7;
  --pxd-gray-100: #eef2f2;
  --pxd-gray-200: #dce4e4;
  --pxd-gray-300: #b8c5c5;
  --pxd-gray-400: #8a9c9c;
  --pxd-gray-500: #5d7070;

  /* ============ SEMANTIC ============ */
  --pxd-cpt-logement:      #388e3c;
  --pxd-cpt-transport:     #1976d2;
  --pxd-cpt-restauration:  #d32f2f;
  --pxd-cpt-experience:    #ff9800;
  --pxd-cpt-location:      #9c27b0;

  --pxd-badge-gold:        #ad8800;
  --pxd-badge-gold-bg:     rgba(236, 171, 0, 0.12);
  --pxd-badge-gold-border: rgba(236, 171, 0, 0.15);

  /* ============ SURFACES (glass) ============ */
  --pxd-bg-page:           #f7f7f9;
  --pxd-glass-card:        rgba(255, 255, 255, 0.65);
  --pxd-glass-section:     rgba(255, 255, 255, 0.78);
  --pxd-glass-section-hv:  rgba(255, 255, 255, 0.92);
  --pxd-glass-popup:       rgba(255, 255, 255, 0.96);
  --pxd-backdrop:          rgba(10, 61, 58, 0.35);
  --pxd-border-glass:      rgba(255, 255, 255, 0.65);
  --pxd-border-popup:      rgba(1, 40, 39, 0.10);

  --pxd-blur-card:         blur(16px);
  --pxd-blur-popup:        blur(24px);
  --pxd-blur-backdrop:     blur(2px);

  /* ============ TINTS ============ */
  --pxd-tint-secondary-8:  rgba(30, 155, 82, 0.08);
  --pxd-tint-secondary-15: rgba(30, 155, 82, 0.15);
  --pxd-tint-secondary-30: rgba(30, 155, 82, 0.30);
  --pxd-tint-main-8:       rgba(15, 163, 107, 0.08);
  --pxd-tint-main-15:      rgba(15, 163, 107, 0.15);
  --pxd-tint-turquoise-12: rgba(32, 201, 184, 0.12);
  --pxd-tint-turquoise-18: rgba(32, 201, 184, 0.18);

  /* ============ SHADOWS ============ */
  --pxd-shadow-sm:     0 4px 10px rgba(15, 163, 107, 0.07);
  --pxd-shadow:        0 10px 30px -5px rgba(15, 163, 107, 0.12),
                       0 2px 8px rgba(15, 163, 107, 0.06);
  --pxd-shadow-hover:  0 15px 40px -5px rgba(15, 163, 107, 0.25),
                       0 5px 15px rgba(15, 163, 107, 0.10);
  --pxd-shadow-popup:  0 16px 48px rgba(1, 40, 39, 0.18),
                       0 0 0 1px rgba(1, 40, 39, 0.05),
                       inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --pxd-shadow-sheet:  0 -8px 32px rgba(1, 40, 39, 0.18),
                       0 0 0 1px rgba(1, 40, 39, 0.05);
  --pxd-shadow-neon:   0 0 8px rgba(15, 163, 107, 0.25);
  --pxd-shadow-icon:   0 0 0 3px rgba(255, 255, 255, 0.9),
                       0 6px 12px rgba(15, 163, 107, 0.2);

  /* ============ RADII ============ */
  --pxd-radius-xs:    6px;
  --pxd-radius-sm:    8px;
  --pxd-radius-md:   12px;
  --pxd-radius-lg:   16px;
  --pxd-radius-xl:   18px;
  --pxd-radius-2xl:  20px;
  --pxd-radius-full:9999px;

  /* ============ MOTION ============ */
  --pxd-ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);
  --pxd-ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --pxd-dur-fast:     150ms;
  --pxd-dur-normal:   250ms;
  --pxd-dur-slow:     400ms;

  /* ============ TYPOGRAPHY (tokens) ============ */
  --pxd-font-sans:    'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --pxd-fs-label:     0.7rem;
  --pxd-fs-meta:      0.75rem;
  --pxd-fs-small:     0.8rem;
  --pxd-fs-body:      0.9rem;
  --pxd-fs-base:      1rem;
  --pxd-fs-h4:        1.1rem;
  --pxd-fs-h3:        1.15rem;
  --pxd-fs-h2:        1.2rem;
  --pxd-fs-h1:        1.5rem;
  --pxd-fs-display:   2.25rem;

  --pxd-lh-tight:  1.2;
  --pxd-lh-snug:   1.3;
  --pxd-lh-normal: 1.5;
  --pxd-lh-relax:  1.6;
}

/* ============================================================
   Page baseline (scoped — does not touch <body> globally)
   ============================================================ */
.pxd-auth-page {
  font-family: var(--pxd-font-sans);
  background: var(--pxd-bg-page);
  color: var(--pxd-fg);
  line-height: var(--pxd-lh-relax);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}
.pxd-auth-page *, .pxd-auth-page *::before, .pxd-auth-page *::after {
  box-sizing: border-box;
}
.pxd-auth-page button,
.pxd-auth-page input,
.pxd-auth-page textarea { font-family: inherit; }

.pxd-auth-page a.pxd-a { color: var(--pxd-secondary); text-decoration: none; font-weight: 600; }
.pxd-auth-page a.pxd-a:hover { color: var(--pxd-secondary-hover); }

/* ---------- Common building blocks ---------- */

.pxd-auth-page .auth-logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.pxd-auth-page .auth-logo img { height: 36px; width: auto; display: block; object-fit: contain; }
.pxd-auth-page .auth-logo-word {
  font-family: var(--pxd-font-sans);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  color: var(--pxd-primary-dark);
}
.pxd-auth-page .auth-logo--white .auth-logo-word { color: #fff; }
.pxd-auth-page .checkbox > span:last-child { white-space: nowrap; }
.pxd-auth-page .auth-logo--white img { filter: brightness(0) invert(1); }

.pxd-auth-page .auth-h1 {
  font-family: var(--pxd-font-sans);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.6px;
  color: var(--pxd-primary-dark);
  margin: 0 0 8px;
}
.pxd-auth-page .auth-sub {
  font-size: 0.95rem;
  color: var(--pxd-fg-secondary);
  margin: 0 0 24px;
  line-height: 1.5;
  font-weight: 500;
}

/* Fields */
.pxd-auth-page .field { display: flex; flex-direction: column; gap: 6px; }
.pxd-auth-page .field-label {
  font-weight: 600;
  font-size: var(--pxd-fs-label);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--pxd-fg-secondary);
  opacity: 0.84;
}
.pxd-auth-page .field-input-wrap {
  position: relative;
  display: flex; align-items: center;
}
.pxd-auth-page .field-input-wrap svg.leading {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--pxd-gray-400);
  pointer-events: none;
}
.pxd-auth-page .field-input {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 42px;
  border-radius: var(--pxd-radius-sm);
  border: 1px solid var(--pxd-gray-200);
  background: #ffffff;
  font-size: 0.95rem;
  color: var(--pxd-fg);
  transition: border-color var(--pxd-dur-fast) var(--pxd-ease-smooth),
              box-shadow var(--pxd-dur-fast) var(--pxd-ease-smooth);
  outline: none;
}
.pxd-auth-page .field-input::placeholder { color: var(--pxd-gray-400); font-weight: 500; }
.pxd-auth-page .field-input:hover { border-color: var(--pxd-gray-300); }
.pxd-auth-page .field-input:focus {
  border-color: var(--pxd-secondary);
  box-shadow: 0 0 0 4px var(--pxd-tint-secondary-15);
}
.pxd-auth-page .field-input.has-trailing { padding-right: 44px; }
.pxd-auth-page .field-trailing {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  border: none; background: transparent; border-radius: 50%;
  color: var(--pxd-gray-400); cursor: pointer;
  display: grid; place-items: center;
  transition: color var(--pxd-dur-fast) var(--pxd-ease-smooth),
              background var(--pxd-dur-fast) var(--pxd-ease-smooth);
}
.pxd-auth-page .field-trailing:hover { color: var(--pxd-secondary); background: var(--pxd-tint-secondary-8); }
.pxd-auth-page .field-trailing svg { width: 16px; height: 16px; }

.pxd-auth-page .field-row { display: flex; gap: 12px; }
.pxd-auth-page .field-row > .field { flex: 1; }

.pxd-auth-page .field-hint { font-size: 12px; color: var(--pxd-fg-secondary); }
.pxd-auth-page .field-hint.error { color: #b91c1c; }

/* Password strength meter */
.pxd-auth-page .pw-meter {
  display: flex; gap: 4px; margin-top: 6px;
}
.pxd-auth-page .pw-meter span {
  height: 4px; flex: 1; border-radius: 9999px;
  background: var(--pxd-gray-200);
  transition: background var(--pxd-dur-normal) var(--pxd-ease-smooth);
}
.pxd-auth-page .pw-meter[data-level="1"] span:nth-child(-n+1) { background: #d97706; }
.pxd-auth-page .pw-meter[data-level="2"] span:nth-child(-n+2) { background: #d97706; }
.pxd-auth-page .pw-meter[data-level="3"] span:nth-child(-n+3) { background: var(--pxd-secondary-light); }
.pxd-auth-page .pw-meter[data-level="4"] span:nth-child(-n+4) { background: var(--pxd-secondary); }
.pxd-auth-page .pw-meter-label { font-size: 11px; color: var(--pxd-fg-secondary); margin-top: 4px; font-weight: 600; }

/* Checkbox */
.pxd-auth-page .checkbox {
  display: inline-flex; align-items: flex-start; gap: 10px;
  cursor: pointer; user-select: none;
  font-size: 0.88rem; color: var(--pxd-fg-secondary); font-weight: 500;
  line-height: 1.45;
}
.pxd-auth-page .checkbox input { display: none; }
.pxd-auth-page .checkbox-box {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--pxd-gray-300);
  background: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all var(--pxd-dur-fast) var(--pxd-ease-smooth);
  margin-top: 1px;
}
.pxd-auth-page .checkbox-box svg { width: 12px; height: 12px; color: #fff; opacity: 0; }
.pxd-auth-page .checkbox input:checked + .checkbox-box {
  background: var(--pxd-secondary);
  border-color: var(--pxd-secondary);
}
.pxd-auth-page .checkbox input:checked + .checkbox-box svg { opacity: 1; }
.pxd-auth-page .checkbox:hover .checkbox-box { border-color: var(--pxd-secondary); }

/* Buttons */
.pxd-auth-page .btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border-radius: var(--pxd-radius-sm);
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--pxd-dur-normal) var(--pxd-ease-smooth);
  white-space: nowrap;
}
.pxd-auth-page .btn svg { width: 18px; height: 18px; }
.pxd-auth-page .btn:disabled { opacity: 0.5; cursor: not-allowed; }

.pxd-auth-page .btn-primary {
  width: 100%;
  background: var(--pxd-gradient);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(15, 163, 107, 0.45),
              0 2px 6px rgba(15, 163, 107, 0.15);
}
.pxd-auth-page .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -6px rgba(15, 163, 107, 0.55),
              0 3px 10px rgba(15, 163, 107, 0.2);
}
.pxd-auth-page .btn-primary:active { transform: translateY(0) scale(0.98); }

.pxd-auth-page .btn-social {
  width: 100%;
  background: #fff;
  color: var(--pxd-primary-dark);
  border: 1px solid var(--pxd-gray-200);
  font-weight: 600;
}
.pxd-auth-page .btn-social:hover {
  border-color: var(--pxd-gray-300);
  background: var(--pxd-gray-50);
  transform: translateY(-1px);
  box-shadow: var(--pxd-shadow-sm);
}
.pxd-auth-page .btn-social svg { width: 20px; height: 20px; }

.pxd-auth-page .social-row { display: grid; gap: 12px; }
.pxd-auth-page .social-row[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
.pxd-auth-page .social-row[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
.pxd-auth-page .social-row .btn-social {
  height: 56px; padding: 0; width: 100%;
  border-radius: 14px;
}
.pxd-auth-page .social-row .btn-social svg { width: 24px; height: 24px; }

.pxd-auth-page .divider {
  display: flex; align-items: center; gap: 14px;
  margin: 20px 0;
  font-size: 12px; font-weight: 600; color: var(--pxd-fg-secondary);
  text-transform: uppercase; letter-spacing: 1px;
}
.pxd-auth-page .divider::before,
.pxd-auth-page .divider::after {
  content: ''; height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, var(--pxd-gray-200), transparent);
}

/* Form body spacing */
.pxd-auth-page .form-stack { display: flex; flex-direction: column; gap: 14px; }
.pxd-auth-page .form-stack-lg { display: flex; flex-direction: column; gap: 18px; }

.pxd-auth-page .form-footer {
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--pxd-fg-secondary);
  text-align: center;
  font-weight: 500;
}

.pxd-auth-page .form-row-between { display: flex; align-items: center; justify-content: space-between; }

/* ============================================================
   VARIATION B — Centered glass card on gradient
   ============================================================ */
.pxd-auth-page .vB {
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(32, 201, 184, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 80%, rgba(61, 190, 115, 0.35), transparent 55%),
    linear-gradient(135deg, #0A3D3A 0%, #0f5a4a 45%, #1E9B52 100%);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.pxd-auth-page .vB::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.pxd-auth-page .vB-top {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 64px 40px 24px;
  color: #fff;
}
.pxd-auth-page .vB-top a { color: #fff; font-weight: 600; opacity: 0.9; font-size: 0.9rem; }
.pxd-auth-page .vB-top a:hover { opacity: 1; }
.pxd-auth-page .vB-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255, 255, 255, 0.85); font-size: 0.88rem; font-weight: 600;
  white-space: nowrap;
}

.pxd-auth-page .vB-wrap {
  position: relative; z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 20px 64px 48px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}
.pxd-auth-page .vB-hello {
  color: #fff;
  max-width: 540px;
  position: relative;
}
.pxd-auth-page .vB-hello-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 22px;
  white-space: nowrap;
}
.pxd-auth-page .vB-hello-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #20c9b8;
  box-shadow: 0 0 0 4px rgba(32, 201, 184, 0.25);
}
.pxd-auth-page .vB-hello h1 {
  font-family: var(--pxd-font-sans);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0 0 16px;
  text-wrap: balance;
}
.pxd-auth-page .vB-hello h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #20c9b8, #fff 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pxd-auth-page .vB-hello p {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 28px;
  font-weight: 500;
  text-wrap: pretty;
  max-width: 460px;
}

/* Refined feature list */
.pxd-auth-page .vB-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.pxd-auth-page .vB-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: padding-left 0.3s var(--pxd-ease-smooth);
}
.pxd-auth-page .vB-feature:hover { padding-left: 6px; }
.pxd-auth-page .vB-feature-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid; place-items: center;
  color: #20c9b8;
  flex-shrink: 0;
  transition: all 0.3s var(--pxd-ease-smooth);
}
.pxd-auth-page .vB-feature:hover .vB-feature-icon {
  background: linear-gradient(135deg, rgba(32, 201, 184, 0.25), rgba(61, 190, 115, 0.15));
  border-color: rgba(32, 201, 184, 0.4);
  color: #fff;
}
.pxd-auth-page .vB-feature-icon svg { width: 18px; height: 18px; }
.pxd-auth-page .vB-feature-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.3;
  letter-spacing: -0.1px;
}
.pxd-auth-page .vB-feature-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.pxd-auth-page .vB-form-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.pxd-auth-page .vB-form-head-text { flex: 1; min-width: 0; }
.pxd-auth-page .vB-pixi {
  flex: 0 0 auto;
  width: 72px; height: 72px;
  pointer-events: none;
  transform: rotate(6deg);
}
.pxd-auth-page .vB-pixi img { width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(15, 35, 60, 0.22)); }

.pxd-auth-page .vB-card {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 30px 80px rgba(1, 40, 39, 0.35),
              0 0 0 1px rgba(1, 40, 39, 0.06),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 36px;
  max-width: 460px;
  margin-left: auto;
  width: 100%;
}
.pxd-auth-page .vB-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--pxd-gradient-reflet);
  border-radius: inherit;
  opacity: 0.35;
  pointer-events: none;
}
.pxd-auth-page .vB-card > * { position: relative; }

.pxd-auth-page .vB-foot {
  position: relative; z-index: 2;
  padding: 16px 40px 24px;
  display: flex; justify-content: space-between;
  font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); font-weight: 500;
}
.pxd-auth-page .vB-foot a { color: rgba(255, 255, 255, 0.7); margin-left: 18px; }
.pxd-auth-page .vB-foot a:hover { color: #fff; }

/* ============================================================
   Birthdate picker (calendar popover)
   ============================================================ */
.pxd-auth-page .dp-wrap { position: relative; }
.pxd-auth-page .dp-trigger {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 42px;
  border-radius: var(--pxd-radius-sm);
  border: 1px solid var(--pxd-gray-200);
  background: #ffffff;
  font-size: 0.95rem;
  color: var(--pxd-fg);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  transition: all var(--pxd-dur-fast) var(--pxd-ease-smooth);
}
.pxd-auth-page .dp-trigger:hover { border-color: var(--pxd-gray-300); }
.pxd-auth-page .dp-trigger.open,
.pxd-auth-page .dp-trigger:focus {
  border-color: var(--pxd-secondary);
  box-shadow: 0 0 0 4px var(--pxd-tint-secondary-15);
  outline: none;
}
.pxd-auth-page .dp-trigger > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.pxd-auth-page .dp-trigger .placeholder { color: var(--pxd-gray-400); font-weight: 500; }
.pxd-auth-page .dp-trigger .filled { color: var(--pxd-fg); font-weight: 600; }
.pxd-auth-page .dp-trigger > svg.chev { width: 14px; height: 14px; color: var(--pxd-gray-400); flex-shrink: 0; }

.pxd-auth-page .dp-pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 320px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(1, 40, 39, 0.10);
  border-radius: 16px;
  box-shadow:
    0 16px 48px rgba(1, 40, 39, 0.18),
    0 0 0 1px rgba(1, 40, 39, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  padding: 20px;
  z-index: 10000;
  animation: pxd-dropIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes pxd-dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pxd-auth-page .dp-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}
.pxd-auth-page .dp-head select {
  height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid var(--pxd-gray-200);
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem; font-weight: 700;
  color: #012827;
  cursor: pointer;
}
.pxd-auth-page .dp-head select:focus { outline: none; border-color: var(--pxd-secondary); box-shadow: 0 0 0 3px var(--pxd-tint-secondary-15); }
.pxd-auth-page .dp-head .dp-month-year { display: flex; gap: 6px; flex: 1; justify-content: center; }
.pxd-auth-page .dp-nav {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: #f5f7f7;
  color: #012827;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.pxd-auth-page .dp-nav:hover { background: rgba(32, 201, 184, 0.12); color: #20c9b8; }
.pxd-auth-page .dp-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.pxd-auth-page .dp-nav svg { width: 16px; height: 16px; }

.pxd-auth-page .dp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.pxd-auth-page .dp-weekday {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: #8a9c9c;
  text-align: center;
  padding: 4px 0;
}
.pxd-auth-page .dp-grid-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.pxd-auth-page .dp-day {
  width: 38px; height: 38px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pixidia-text, #0f172a);
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  justify-self: center;
}
.pxd-auth-page .dp-day:hover:not(:disabled) { background: #eef2f2; }
.pxd-auth-page .dp-day.muted,
.pxd-auth-page .dp-day.other-month { color: #dce4e4; }
.pxd-auth-page .dp-day.today { box-shadow: inset 0 0 0 1.5px var(--pxd-secondary); color: var(--pxd-secondary); }
.pxd-auth-page .dp-day.selected {
  background: linear-gradient(135deg, #208D3E, #20c9b8);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(32, 141, 62, 0.3);
}
.pxd-auth-page .dp-day:disabled { color: #b8c5c5; cursor: default; background: transparent; }
.pxd-auth-page .dp-day:disabled:hover { background: transparent; }

.pxd-auth-page .dp-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--pxd-gray-100);
  font-size: 12px;
}
.pxd-auth-page .dp-foot button {
  border: none; background: transparent;
  color: var(--pxd-secondary);
  font-weight: 700; font-size: 12px; font-family: inherit;
  cursor: pointer; padding: 4px 8px; border-radius: 6px;
}
.pxd-auth-page .dp-foot button:hover { background: var(--pxd-tint-secondary-8); }

/* Smartphone preview (mobile vision) */
.pxd-auth-page .vB.vision-mobile {
  display: flex; align-items: center; justify-content: center;
  padding: 30px 20px;
}
.pxd-auth-page .vB.vision-mobile .vB-top,
.pxd-auth-page .vB.vision-mobile .vB-foot { display: none; }
.pxd-auth-page .vB.vision-mobile .vB-wrap {
  display: block;
  padding: 0;
  max-width: 380px;
  width: 100%;
}
.pxd-auth-page .vB.vision-mobile .vB-hello { display: none; }
.pxd-auth-page .vB.vision-mobile .vB-card {
  margin: 0 auto;
  padding: 28px 22px;
  border-radius: 28px;
  max-width: 380px;
}
.pxd-auth-page .vB-mobile-frame {
  position: relative;
  width: 380px;
  background: #fff;
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(1, 40, 39, 0.45),
              0 0 0 8px rgba(255,255,255,0.1),
              inset 0 1px 0 rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.5);
}
.pxd-auth-page .vB-mobile-notch {
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #0A3D3A;
  border-radius: 999px;
  z-index: 5;
}
.pxd-auth-page .vB-mobile-inner {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  padding: 56px 24px 28px;
  min-height: 720px;
  display: flex; flex-direction: column;
}
.pxd-auth-page .vB-mobile-logo {
  display: flex; justify-content: center; margin-bottom: 28px;
}
.pxd-auth-page .vB-mobile-logo img { height: 38px; }
.pxd-auth-page .vB-mobile-inner h2,
.pxd-auth-page .vB-mobile-inner > p {
  text-align: center !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .pxd-auth-page .vB-wrap { grid-template-columns: 1fr; padding: 20px 24px 40px; gap: 28px; }
  .pxd-auth-page .vB-hello { text-align: center; margin: 0 auto; }
  .pxd-auth-page .vB-hello h1 { font-size: 2rem; }
  .pxd-auth-page .vB-card { margin: 0 auto; padding: 28px 22px; }
  .pxd-auth-page .vB-top { padding: 18px 20px; }
  .pxd-auth-page .vB-pixi { display: none; }
}

/* ============================================================
   PIXIDIA OVERRIDES — BuddyX/Elementor reset 3 couches
   ============================================================ */

/* 1. Neutralisation des variables BuddyX + Elementor */
.pxd-auth-page {
    --button-background-color: transparent !important;
    --button-border-color: transparent !important;
    --button-border-radius: 12px !important;
    --e-global-color-primary: transparent !important;
}

/* 2. Heading baseline — 1rem !important (PAS inherit, qui bloque les classes composants) */
.pxd-auth-page h1, .pxd-auth-page h2, .pxd-auth-page h3, .pxd-auth-page h4 {
    font-size: 1rem !important;
    border: none !important;
    border-top: none !important;
}

/* 3. BuddyX text-align: justify reset */
.pxd-auth-page, .pxd-auth-page * {
    text-align: left !important;
    word-spacing: 0 !important;
}

/* 4. BuddyX site chrome hidden */
.pxd-auth-page .site-header,
.pxd-auth-page #masthead,
.pxd-auth-page .site-footer,
.pxd-auth-page #colophon { display: none !important; }

/* 5. GTranslate widget hidden */
body.pxd-auth-page #gt_float_wrapper,
body.pxd-auth-page .gt_float_switcher,
body.pxd-auth-page .gt-current-lang,
body.pxd-auth-page div[class*="gt_float"],
body.pxd-auth-page .gtranslate_wrapper {
    display: none !important; visibility: hidden !important;
}

/* 6. Reset générique Elementor button (couche transparent) */
body[class*="elementor-kit"] .pxd-auth-page button[class*="vB-"],
body[class*="elementor-kit"] .pxd-auth-page button[class*="btn"],
body[class*="elementor-kit"] .pxd-auth-page button[class*="dp-"],
body[class*="elementor-kit"] .pxd-auth-page button[class*="field-trailing"],
body[class*="elementor-kit"] .pxd-auth-page button[class*="checkbox"] {
    background: transparent !important;
    background-color: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* 7. Restauration spécifique (FINAL OVERRIDES — battent (0,1,1) avec (0,2,2)) */
body[class*="elementor-kit"] .pxd-auth-page .btn-primary {
    background: var(--pxd-gradient) !important;
    color: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 18px -6px rgba(15, 163, 107, 0.45),
                0 2px 6px rgba(15, 163, 107, 0.15) !important;
}
body[class*="elementor-kit"] .pxd-auth-page .btn-social {
    background: #fff !important;
    border: 1px solid var(--pxd-gray-200) !important;
    border-radius: 14px !important;
}
body[class*="elementor-kit"] .pxd-auth-page button.dp-trigger {
    background: #fff !important;
    border: 1px solid var(--pxd-gray-200) !important;
    border-radius: var(--pxd-radius-sm) !important;
}
body[class*="elementor-kit"] .pxd-auth-page button.dp-day,
body[class*="elementor-kit"] .pxd-auth-page button.dp-nav {
    border-radius: 10px !important;
}
body[class*="elementor-kit"] .pxd-auth-page button.dp-nav {
    background: #f5f7f7 !important;
    border-radius: 50% !important;
}
body[class*="elementor-kit"] .pxd-auth-page button.dp-day.selected {
    background: linear-gradient(135deg, #208D3E, #20c9b8) !important;
    color: #fff !important;
}
body[class*="elementor-kit"] .pxd-auth-page button.field-trailing {
    background: transparent !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
}

/* 8. Heading restorations (font-size composant, body prefix pour battre baseline 1rem) */
body.pxd-auth-page .vB-hello h1 {
    font-size: 2.4rem !important;
    line-height: 1.1 !important;
    border: none !important;
}
body.pxd-auth-page .vB-form-head-text h2 {
    font-size: 1.6rem !important;
    border: none !important;
}
@media (max-width: 980px) {
    body.pxd-auth-page .vB-hello h1 { font-size: 2rem !important; }
}

/* 9. Inputs : ne PAS mettre transparent sur input (casse les champs) */
body[class*="elementor-kit"] .pxd-auth-page input.field-input {
    background: #fff !important;
    border: 1px solid var(--pxd-gray-200) !important;
    border-radius: var(--pxd-radius-sm) !important;
    box-shadow: none !important;
}
body[class*="elementor-kit"] .pxd-auth-page input.field-input:focus {
    border-color: var(--pxd-secondary) !important;
    box-shadow: 0 0 0 4px var(--pxd-tint-secondary-15) !important;
}

/* === FIX bascule login/signup (data-pxd-only + dual h1/p texts) === */
.pxd-auth-page .vB:not(.is-signup) [data-pxd-only="signup"],
.pxd-auth-page .vB:not(.is-signup) [data-pxd-eyebrow-signup],
.pxd-auth-page .vB:not(.is-signup) [data-pxd-h1-signup],
.pxd-auth-page .vB:not(.is-signup) [data-pxd-sub-signup],
.pxd-auth-page .vB:not(.is-signup) [data-pxd-title-signup],
.pxd-auth-page .vB:not(.is-signup) [data-pxd-subtitle-signup],
.pxd-auth-page .vB:not(.is-signup) [data-pxd-submit-label-signup],
.pxd-auth-page .vB:not(.is-signup) [data-pxd-footer-signup],
.pxd-auth-page .vB:not(.is-signup) [data-pxd-footer-cta-signup],
.pxd-auth-page .vB.is-signup [data-pxd-only="login"],
.pxd-auth-page .vB.is-signup [data-pxd-eyebrow-login],
.pxd-auth-page .vB.is-signup [data-pxd-h1-login],
.pxd-auth-page .vB.is-signup [data-pxd-sub-login],
.pxd-auth-page .vB.is-signup [data-pxd-title-login],
.pxd-auth-page .vB.is-signup [data-pxd-subtitle-login],
.pxd-auth-page .vB.is-signup [data-pxd-submit-label-login],
.pxd-auth-page .vB.is-signup [data-pxd-footer-login],
.pxd-auth-page .vB.is-signup [data-pxd-footer-cta-login] {
    display: none !important;
}

/* Bouton retour : caché (le logo en haut à gauche assure déjà le retour) */
.pxd-auth-page .vB-top .vB-back { display: none !important; }

/* ============================================================
   PIXIDIA CSS FIX — 2026-05-06
   Corrections couleurs headings, list-styles, text-align
   ============================================================ */

/* h1 couleur blanche (Elementor Kit h1 {color} écrase héritage) */
body.pxd-auth-page .vB-hello h1 {
    color: #ffffff !important;
}
body.pxd-auth-page .vB-hello h1 em {
    font-style: normal !important;
    background: linear-gradient(135deg, #20c9b8, #fff 80%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

/* h2 card : couleur sombre correcte + styles */
body.pxd-auth-page .vB-form-head-text h2 {
    color: var(--pxd-primary-dark) !important;
    margin: 0 0 6px !important;
    letter-spacing: -0.4px !important;
    line-height: 1.2 !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    border: none !important;
}

/* p subtitle card : couleur grise fg-secondary */
body.pxd-auth-page .vB-form-head-text p {
    color: var(--pxd-fg-secondary) !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* p panneau gauche vB-hello */
body.pxd-auth-page .vB-hello p {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 1rem !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
    margin: 0 0 28px !important;
}

/* form-footer : centré (écrasé par * { text-align: left !important }) */
body.pxd-auth-page .form-footer { text-align: center !important; }

/* vB-features : retirer list-style BuddyX (disc + padding-left 40px) */
body.pxd-auth-page .vB-features {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
body.pxd-auth-page .vB-features li,
body.pxd-auth-page .vB-features .vB-feature {
    list-style: none !important;
    list-style-type: none !important;
}
body.pxd-auth-page .vB-features li::before,
body.pxd-auth-page .vB-features li::marker {
    content: '' !important;
    display: none !important;
}

/* Restauration btn-primary : spécificité plus haute que le reset Elementor
   Elementor (0,1,1) < base (0,2,0) < ici (0,3,1) */
body[class*="elementor-kit"].pxd-auth-page .btn.btn-primary {
    background: var(--pxd-gradient) !important;
    color: #fff !important;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 6px 18px -6px rgba(15, 163, 107, 0.45),
                0 2px 6px rgba(15, 163, 107, 0.15) !important;
}
/* btn-social : fond blanc */
body[class*="elementor-kit"].pxd-auth-page .social-row .btn.btn-social {
    background: #fff !important;
    background-color: #fff !important;
    border: 1px solid var(--pxd-gray-200) !important;
    border-radius: 14px !important;
    color: var(--pxd-primary-dark) !important;
    box-shadow: none !important;
}
/* dp-trigger : fond blanc */
body[class*="elementor-kit"].pxd-auth-page button.dp-trigger {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid var(--pxd-gray-200) !important;
    border-radius: var(--pxd-radius-sm) !important;
}
/* dp-nav : fond gris clair, rond */
body[class*="elementor-kit"].pxd-auth-page button.dp-nav {
    background: #f5f7f7 !important;
    background-color: #f5f7f7 !important;
    border-radius: 50% !important;
    border: none !important;
}
/* dp-day selected */
body[class*="elementor-kit"].pxd-auth-page button.dp-day.selected {
    background: linear-gradient(135deg, #208D3E, #20c9b8) !important;
    color: #fff !important;
}
/* checkbox-box : fond blanc (ne jamais transparent) */
body[class*="elementor-kit"].pxd-auth-page .checkbox-box {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1.5px solid var(--pxd-gray-300) !important;
    border-radius: 6px !important;
}
body[class*="elementor-kit"].pxd-auth-page .checkbox input:checked + .checkbox-box {
    background: var(--pxd-secondary) !important;
    background-color: var(--pxd-secondary) !important;
    border-color: var(--pxd-secondary) !important;
}

/* Responsive : vB-hello centré à < 980px */
@media (max-width: 980px) {
    body.pxd-auth-page .vB-hello h1 { font-size: 2rem !important; }
    body.pxd-auth-page .vB-hello { text-align: center !important; }
}

