/* Abonnement, parrainage, annuaire et inscription praticien. */

.wl-banners {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.wl-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  padding: 10px 20px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.wl-banner a {
  color: #5b2d91;
  font-weight: 600;
  text-decoration: underline;
}

.wl-banner-info { background: #e8f0fe; color: #1a3d7c; }
.wl-banner-warning { background: #e0e3ff6e; color: #565656;; }
.wl-banner-danger { background: #fdecea; color: #8a1c13; }

.wl-banner-form {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wl-banner-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-width: 0;
}

/* Le libellé natif (« Parcourir », « Aucun fichier sélectionné ») suit la langue du
   navigateur, pas celle du praticien. Il est masqué au profit des libellés traduits. */
.wl-banner-file input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wl-banner-browse {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 13px;
  white-space: nowrap;
}

.wl-banner-filename {
  font-size: 13px;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wl-reg-doc-intro {
  margin: 16px 0 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: #444;
}

.wl-doc-upload-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wl-doc-dropzone {
  position: relative;
  padding: 28px 20px;
  border: 2px dashed rgba(121, 56, 187, 0.45);
  border-radius: 12px;
  background: #faf8fc;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.wl-doc-dropzone:hover,
.wl-doc-dropzone:focus-visible {
  border-color: #7938bb;
  background: #f3ecfa;
  outline: none;
}

.wl-doc-dropzone.is-dragover {
  border-color: #5263d2;
  background: #eef1fb;
}

.wl-doc-dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wl-doc-dropzone__icon {
  display: block;
  margin: 0 auto 8px;
  font-size: 28px;
  line-height: 1;
  color: #7938bb;
}

.wl-doc-dropzone__hint {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.wl-doc-dropzone__files {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  word-break: break-word;
}

.wl-doc-dropzone.has-files .wl-doc-dropzone__files {
  color: #1a3d7c;
  font-weight: 600;
}

.wl-doc-upload-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.wl-doc-upload-form__msg {
  font-size: 14px;
  font-weight: 500;
}

.wl-reg-doc-later {
  margin: 20px 0 0;
}

.wl-banner-btn {
  display: inline-block;
  padding: 6px 14px;
  border: none;
  border-radius: 4px;
  background: #764ba2;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.wl-banner-btn:hover { background: #8a4fc6; color: #fff; }
.wl-banner-btn[disabled] { opacity: .6; cursor: wait; }
.wl-banner-msg { font-size: 13px; }

.wl-doc-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.wl-doc-modal.is-open { display: flex; }

.wl-doc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 32, 0.45);
}

.wl-doc-modal__dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(640px, calc(100vh - 48px));
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
  padding: 22px 22px 20px;
}

.wl-doc-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #555;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.wl-doc-modal__close:hover,
.wl-doc-modal__close:focus-visible {
  background: #f3ecfa;
  color: #333;
  outline: none;
}

.wl-doc-modal__lead {
  margin: 0 36px 16px 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: #1a3d7c;
}

.wl-doc-modal__lead a {
  color: #5b2d91;
  font-weight: 600;
  text-decoration: underline;
}

.wl-doc-modal__lead--plain {
  margin: 0;
}

.wl-doc-modal .wl-doc-dropzone.is-busy {
  pointer-events: none;
  opacity: .7;
}

body.wl-doc-modal-open { overflow: hidden; }

/* Cartes et grilles */

.wl-container {
  max-width: 1100px;
  margin: 0 auto;
}

.wl-narrow {
  max-width: 760px;
  margin: 0 auto;
}

.wl-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  padding: 22px 24px;
  margin-bottom: 20px;
}

.wl-card h2 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 14px;
}

.wl-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: #444;
  margin: 16px 0 8px;
}

.wl-card p { color: #555; line-height: 1.55; margin-bottom: 10px; }

.wl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 18px;
}

.wl-kv { display: grid; grid-template-columns: 200px 1fr; gap: 8px 16px; font-size: 14px; }
.wl-kv dt { color: #777; }
.wl-kv dd { color: #222; font-weight: 500; }

@media (max-width: 640px) {
  .wl-kv { grid-template-columns: 1fr; }
  .wl-kv dd { margin-bottom: 6px; }
}

.wl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.wl-muted { color: #888; font-size: 13px; }
.wl-hidden { display: none !important; }

/* Formulaires */

.wl-field { display: flex; flex-direction: column; gap: 5px; }
.wl-field.wl-full { grid-column: 1 / -1; }

.wl-field label {
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.wl-field input[type="text"],
.wl-field input[type="email"],
.wl-field input[type="password"],
.wl-field input[type="tel"],
.wl-field input[type="url"],
.wl-field input[type="number"],
.wl-field input[type="date"],
.wl-field select,
.wl-field textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #d6dae0;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
}

.wl-field textarea { min-height: 120px; resize: vertical; }

.wl-field input:focus,
.wl-field select:focus,
.wl-field textarea:focus {
  outline: none;
  border-color: #764ba2;
  box-shadow: 0 0 0 3px rgba(118, 75, 162, .15);
}

.wl-field .wl-error-text { color: #c0392b; font-size: 12px; }
.wl-field.has-error input,
.wl-field.has-error select,
.wl-field.has-error textarea { border-color: #c0392b; }

.wl-check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: #444; }
.wl-check input { margin-top: 3px; }

.wl-alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.45;
}

.wl-alert-success { background: #e7f6ec; color: #1e6b36; }
.wl-alert-error { background: #fdecea; color: #8a1c13; }
.wl-alert-info { background: #e8f0fe; color: #1a3d7c; }
.wl-alert-warning { background: #fff4e0; color: #7a4b00; }

/* Choix de formule */

.wl-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.wl-plan {
  position: relative;
  display: block;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  padding: 18px 20px;
  cursor: pointer;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.wl-plan input { position: absolute; opacity: 0; pointer-events: none; }
.wl-plan:hover { border-color: #b7a2d0; }
.wl-plan.is-selected { border-color: #764ba2; box-shadow: 0 0 0 3px rgba(118, 75, 162, .12); }
.wl-plan-name { font-weight: 600; font-size: 16px; color: #333; }
.wl-plan-price { font-size: 26px; font-weight: 700; color: #764ba2; margin: 8px 0 4px; }
.wl-plan-price small { font-size: 14px; font-weight: 400; color: #777; }
.wl-plan-note { font-size: 13px; color: #777; }

.wl-summary { width: 100%; font-size: 14px; }
.wl-summary td { padding: 8px 0; border-bottom: 1px solid #eef0f3; }
.wl-summary td:last-child { text-align: right; white-space: nowrap; }
.wl-summary tr.wl-total td { font-weight: 700; border-bottom: none; font-size: 16px; }
.wl-summary tr:hover { background: transparent; }

.wl-inline { display: flex; gap: 8px; align-items: flex-end; }
.wl-inline .wl-field { flex: 1; }

.wl-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #888;
}

.wl-steps span { padding: 4px 10px; border-radius: 12px; background: #eef0f3; }
.wl-steps span.is-current { background: #764ba2; color: #fff; }

#wlDropin { min-height: 120px; margin-top: 10px; }

/* Badges de statut */

.wl-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  background: #eef0f3;
  color: #555;
  white-space: nowrap;
}

.wl-badge-active, .wl-badge-ok, .wl-badge-approved, .wl-badge-succeeded, .wl-badge-applied, .wl-badge-processed, .wl-badge-sent { background: #e7f6ec; color: #1e6b36; }
.wl-badge-pending, .wl-badge-cancelled, .wl-badge-received { background: #fff4e0; color: #7a4b00; }
.wl-badge-suspended, .wl-badge-error, .wl-badge-rejected, .wl-badge-failed, .wl-badge-refunded, .wl-badge-void { background: #fdecea; color: #8a1c13; }
.wl-badge-expired, .wl-badge-ignored, .wl-badge-none, .wl-badge-comped, .wl-badge-test { background: #eef0f3; color: #555; }

/* Tableaux */

.wl-table-wrap { overflow-x: auto; }
.wl-table { width: 100%; font-size: 14px; }
.wl-table th, .wl-table td { padding: 10px 12px; vertical-align: top; }
.wl-table td.wl-num, .wl-table th.wl-num { text-align: right; white-space: nowrap; }

/* Parrainage */

.weavy-referral-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 18px 22px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #f3ebfb, #fdf2ea);
  border: 1px solid #ecdcf8;
  border-radius: 14px;
  box-shadow: 0 8px 24px -16px rgba(28, 36, 75, .35);
}
.weavy-referral-hero__info {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1 1 320px;
  min-width: 0;
}
.weavy-referral-hero__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #fff;
  color: #7935bc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.weavy-referral-hero__title {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 700;
  color: #1c244b;
}
.weavy-referral-hero__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #3b4468;
}
.weavy-referral-hero__text strong { color: #7935bc; font-weight: 700; }
.weavy-referral-hero__code {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.weavy-referral-hero__code-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #79809e;
}
.weavy-referral-hero__code-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.weavy-referral-hero__code-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #7935bc;
  background: #fff;
  border: 1px solid #ecdcf8;
  border-radius: 10px;
  padding: 8px 14px;
}
.weavy-referral-hero__copy {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #7935bc;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
}
.weavy-referral-hero__copy:hover { background: #5f2799; }
@media (max-width: 640px) {
  .weavy-referral-hero__code { width: 100%; }
  .weavy-referral-hero__copy { flex: 1; }
}

.wl-copy {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.wl-copy input {
  flex: 1;
  padding: 9px 11px;
  border: 1px solid #d6dae0;
  border-radius: 6px;
  font-size: 14px;
  background: #f8f9fa;
}

.wl-stat {
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  background: #f8f6fc;
}

.wl-stat strong { display: block; font-size: 26px; color: #764ba2; }
.wl-stat span { font-size: 13px; color: #666; }

/* Annuaire */

.wl-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  background: #eef0f3;
  border: 1px solid #e1e5e9;
}

.wl-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.wl-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 4px 12px;
  border-radius: 14px;
  background: #f1ecf7;
  color: #4b2e6e;
  font-size: 13px;
}
.wl-tag-remove {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 16px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
  border-radius: 50%;
}
.wl-tag-remove:hover { background: rgba(118, 75, 162, .15); }
.wl-dir-advanced { margin: 0 0 16px; font-size: 14px; color: #444; }

/* Inscription : même fond clair que le tunnel WeavyLife. */

.wl-public {
  min-height: 100vh;
  padding: 28px 16px 72px;
  background: #f3f4f8;
  color: #1c244b;
  font-size: 15px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.wl-public,
.wl-public * {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.wl-public .wl-card { padding: 28px 30px; }

.wl-public .wl-field { gap: 8px; }
.wl-public .wl-field label {
  font-size: 14px;
  font-weight: 500;
  color: #1c244b;
}
.wl-public .wl-req { color: #ef4444; }
.wl-public .wl-field input[type="text"],
.wl-public .wl-field input[type="email"],
.wl-public .wl-field input[type="password"],
.wl-public .wl-field input[type="tel"],
.wl-public .wl-field input[type="url"],
.wl-public .wl-field input[type="number"],
.wl-public .wl-field select {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1px solid #dfe2ee;
  border-radius: 10px;
  background: #fff;
  color: #1c244b;
  font-size: 15px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.wl-public .wl-field input::placeholder { color: #a6abc2; }
.wl-public .wl-field input:focus,
.wl-public .wl-field select:focus {
  outline: none;
  border-color: #7935bc;
  box-shadow: 0 0 0 3px rgba(121, 53, 188, 0.18);
}

.wl-public-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 1060px;
  margin: 0 auto 26px;
  background: #fff;
  border: 1px solid #e7e9f2;
  border-radius: 16px;
  padding: 14px 22px;
}
.wl-public-brand__logo { height: 34px; width: auto; display: block; object-fit: contain; }
.wl-public-brand__aside { margin: 0; font-size: 14px; color: #5b6284; }
.wl-public-brand a { color: #7935bc; font-weight: 600; text-decoration: none; }
.wl-public-brand a:hover { text-decoration: underline; }

/* Stepper du tunnel (Profil, Compte, Formule, Paiement, Documents). */
.wl-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  max-width: 680px;
  margin: 8px auto 28px;
}
.wl-stepper__step { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-align: center; }
.wl-stepper__dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px;
  font-size: 14px; font-weight: 700; background: #eceef6; color: #9aa0ba;
}
.wl-stepper__label { font-size: 13px; font-weight: 600; color: #9aa0ba; line-height: 1.3; }
.wl-stepper__step.is-current .wl-stepper__dot { background: #f3e9fb; color: #7935bc; }
.wl-stepper__step.is-current .wl-stepper__label { color: #7935bc; font-weight: 700; }
.wl-stepper__step.is-done .wl-stepper__dot { background: #7935bc; color: #fff; }
.wl-stepper__step.is-done .wl-stepper__label { color: #1c244b; }
.wl-stepper__link { flex: 0 0 48px; height: 2px; background: #dfe2ee; margin-top: 16px; }
.wl-stepper__link.is-done { background: #7935bc; }

.wl-funnel { max-width: 760px; margin: 0 auto; }
.wl-funnel--wide { max-width: 1060px; }
.wl-funnel-panel { display: none; }
.wl-funnel-panel.is-on { display: block; }
.wl-funnel-title { text-align: center; margin-bottom: 18px; }
.wl-funnel-title h1 { margin: 0; font-size: 30px; font-weight: 700; color: #1c244b; }
.wl-funnel-title p { margin: 6px 0 0; font-size: 15px; color: #5b6284; }
.wl-funnel .wl-card { background: #fff; border: 1px solid #e6e8f2; border-radius: 16px; box-shadow: 0 18px 40px -28px rgba(28, 36, 75, .45); }
.wl-funnel .btn-primary { background: #7935bc; border-color: #7935bc; }
.wl-funnel .btn-primary:hover { background: #6829a8; }

/* Même gabarit que .weavy-btn du tunnel : pleine largeur, 50 px, rayon 12. */
.wl-actions--stack {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
}
.wl-actions--stack > .wl-btn-back { width: auto; flex: 0 0 auto; }
.wl-actions--stack > .wl-btn-primary { width: auto; flex: 1 1 auto; }
.wl-btn-primary,
.wl-btn-back {
  display: block;
  width: 100%;
  box-sizing: border-box;
  height: auto;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 16px;
  /*font-weight: 700;*/
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease, border-color .18s ease, transform .05s ease;
}
.wl-btn-primary {
  border: none;
  background: #7935bc;
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(121, 53, 188, 0.75);
}
.wl-btn-primary:hover { background: #5f2799; }
.wl-btn-primary:active { transform: translateY(1px); }
.wl-btn-primary:disabled {
  background: #c9b3de;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.wl-btn-back {
  border: 1px solid #dfe2ee;
  background: #fff;
  color: #1c244b;
  box-shadow: none;
}
.wl-btn-back:hover { background: #f5f6fa; border-color: #c5cadb; }
.wl-btn-back:active { transform: translateY(1px); }
.wl-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr); gap: 18px; align-items: start; }
.wl-register2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
  width: 100%;
}
.wl-register2 > .wl-card,
.wl-register2 > .wl-why,
.wl-register2 > .weavy-checkout-summary { margin-top: 0; }
.wl-recap { background: #fff; border: 1px solid #e6e8f2; border-radius: 16px; padding: 20px; }
.wl-recap h3 { margin: 0 0 12px; font-size: 16px; }
.wl-recap p { margin: 0 0 8px; color: #5b6284; font-size: 14px; }
@media (max-width: 800px) {
  .wl-split, .wl-register2 { grid-template-columns: 1fr; }
  .wl-stepper__label { font-size: 11px; }
  .wl-stepper__link { flex-basis: 16px; }
  .wl-public-brand { padding: 12px 16px; margin-bottom: 20px; }
  .wl-public-brand__aside { font-size: 13px; }
  .wl-public .weavy-checkout-summary { order: -1; }
}

.wl-why {
  background: #fff;
  border: 1px solid #e6e8f2;
  border-radius: 16px;
  padding: 22px;
}
.wl-why h2 { margin: 0 0 8px; font-size: 16px; color: #1c244b; }
.wl-why p { margin: 0; color: #5b6284; font-size: 14px; line-height: 1.55; }

.wl-public .weavy-checkout-summary {
  background: #fff;
  border: 1px solid #e6e8f2;
  border-radius: 14px;
  box-shadow: 0 6px 18px -12px rgba(28, 36, 75, 0.15);
  padding: 22px;
}
.wl-public .weavy-checkout-summary__title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #79809e;
}
.wl-public .weavy-checkout-summary__plan {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #1c244b;
}
.wl-public .weavy-checkout-summary__rows { display: flex; flex-direction: column; gap: 10px; }
.wl-public .weavy-checkout-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  line-height: 1.4;
  color: #3c4260;
}
.wl-public .weavy-checkout-summary__divider { height: 1px; background: #e6e8f2; margin: 4px 0; }
.wl-public .weavy-checkout-summary__row--total { font-weight: 700; font-size: 16px; color: #1c244b; }
.wl-public .weavy-checkout-summary__trust {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid #e6e8f2;
  font-size: 12px;
  line-height: 1.45;
  color: #79809e;
}

.wl-public .weavy-auth-lang {
  position: fixed;
  z-index: 20;
  bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  right: max(1rem, env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
  gap: 6px;
}
.wl-public .weavy-auth-lang__btn {
  background: none;
  border: none;
  padding: 4px 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  color: #8b90a8;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.wl-public .weavy-auth-lang__btn:hover,
.wl-public .weavy-auth-lang__btn:focus-visible { color: #1c244b; }
.wl-public .weavy-auth-lang__btn.is-active { color: #7935bc; }
.wl-public .weavy-auth-lang__flag {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #d5d8e6;
  opacity: 0.7;
}
.wl-public .weavy-auth-lang__flag svg { display: block; width: 100%; height: 100%; }
.wl-public .weavy-auth-lang__btn:hover .weavy-auth-lang__flag,
.wl-public .weavy-auth-lang__btn:focus-visible .weavy-auth-lang__flag { opacity: 1; }
.wl-public .weavy-auth-lang__btn.is-active .weavy-auth-lang__flag {
  opacity: 1;
  box-shadow: 0 0 0 2px #7935bc;
}
.wl-public .weavy-auth-lang__sep {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #d5d8e6;
  align-self: flex-end;
  margin-bottom: 9px;
}

.wl-public .weavy-formule { max-width: 1000px; margin: 0 auto; }

.wl-public .weavy-plan-currency {
  max-width: 280px;
  margin: 0 0 16px;
}
.wl-public .weavy-plan-card .weavy-plan-toggle {
  display: flex;
  width: 100%;
  gap: 4px;
  padding: 4px;
  background: #f4f5f9;
  border: 1px solid #e0e3f0;
  border-radius: 12px;
}
.wl-public .weavy-plan-toggle__btn {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 16px 18px;
  border-radius: 9px;
  background: transparent;
  color: #79809e;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}
.wl-public .weavy-plan-toggle__btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wl-public .weavy-plan-toggle__btn.is-active {
  background: #7935bc;
  color: #fff;
  font-weight: 400;
}
.wl-public .weavy-plan-toggle__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  gap: 4px;
  max-width: 100%;
}
.wl-public .weavy-plan-toggle__badge {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  background: #e8f5ee;
  color: #1f9d63;
  padding: 3px 7px;
  border-radius: 999px;
}
.wl-public .weavy-plan-toggle__badge--save,
.wl-public .weavy-plan-toggle__badge--percent { font-size: 15px; }
.wl-public .weavy-plan-toggle__badge--save { margin-top: 30px; }
.wl-public .weavy-formule__layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  align-items: start;
}
.wl-public .weavy-formule__main { min-width: 0; }
.wl-public .weavy-formule__recap { display: flex; flex-direction: column; gap: 14px; }
.wl-public .weavy-plan-card.weavy-plan-unified {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #fff;
  border: 1.5px solid #7935bc;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 16px 34px -26px rgba(121, 53, 188, 0.7);
}
.wl-public .weavy-plan-unified__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}
.wl-public .weavy-plan-unified__name { font-size: 16px; font-weight: 700; line-height: 1.2; color: #1c244b; }
.wl-public .weavy-plan-unified__price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
}
.wl-public .weavy-plan-unified__price {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #1c244b;
}
.wl-public .weavy-plan-unified__price span { font-size: 14px; font-weight: 400; color: #79809e; }
.wl-public .weavy-plan-unified__price-note { font-size: 13px; line-height: 1.3; color: #79809e; }
.wl-public .weavy-plan-toggle__btn.is-active .weavy-plan-unified__name,
.wl-public .weavy-plan-toggle__btn.is-active .weavy-plan-unified__price,
.wl-public .weavy-plan-toggle__btn.is-active .weavy-plan-unified__price span,
.wl-public .weavy-plan-toggle__btn.is-active .weavy-plan-unified__price-note {
  color: #fff;
}
.wl-public .weavy-checkout-summary__row--savings span:last-child { color: #1f9d63; font-weight: 600; }
.wl-public .weavy-referral-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e0e3f0;
  border-radius: 16px;
}
.wl-public .weavy-referral-box__title { font-size: 14px; font-weight: 700; line-height: 1.3; color: #1c244b; }
.wl-public .weavy-referral-box__hint { margin: 0; font-size: 13px; line-height: 1.55; color: #5b6284; }
.wl-public .weavy-referral-box__row { display: flex; gap: 8px; }
.wl-public .weavy-referral-box__input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d7dbe9;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.3;
  color: #1c244b;
  background: #fff;
}
.wl-public .weavy-referral-box__btn {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: none;
  border-radius: 9px;
  background: #7935bc;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}
.wl-public .weavy-referral-box__msg { margin: 0; font-size: 13px; font-weight: 500; line-height: 1.55; }
.wl-public .weavy-referral-box__msg.is-valid { color: #1f9d63; }
.wl-public .weavy-referral-box__msg.is-invalid { color: #c0392b; }
@media (max-width: 860px) {
  .wl-public .weavy-formule__layout { grid-template-columns: 1fr; }
  .wl-public .weavy-formule__recap { order: -1; }
  .wl-public .weavy-plan-card .weavy-plan-toggle { flex-direction: column; }
}
