/* ═══════════════════════════════════════
   Vendoo — Plan Cards CSS partagé
   Utilisé sur : /tarifs, /, /mon-abonnement
═══════════════════════════════════════ */

/* Toggle */
.pricing-toggle { display:inline-flex; background:#f3f4f6; border-radius:50px; padding:4px; gap:4px; }
.pricing-toggle button { border:none; background:transparent; border-radius:50px; padding:8px 26px; font-size:15px; font-weight:600; color:#6b7280; cursor:pointer; transition:all .2s; }
.pricing-toggle button.active { background:#0D5E45; color:#f1c264; box-shadow:0 4px 12px rgba(13,94,69,.25); }
.badge-save { background:#f59e0b; color:#fff; font-size:11px; font-weight:700; padding:2px 8px; border-radius:20px; margin-left:5px; vertical-align:middle; }

/* Card */
.plan-card { background:#fff; border:2px solid #e5e7eb; border-radius:16px; padding:24px 22px; height:100%; display:flex; flex-direction:column; transition:all .2s; position:relative; overflow:hidden; }
.plan-card:hover { border-color:#1a7a3c; box-shadow:0 8px 28px rgba(13,94,69,.10); transform:translateY(-3px); }
.plan-card.featured { border-color:#0D5E45; box-shadow:0 12px 36px rgba(13,94,69,.15); }

/* Guarantee bar */
.pricing-guarantee { font-size:15px; color:#6b7280; margin-top:36px; display:flex; justify-content:center; align-items:center; gap:16px; flex-wrap:wrap; }
.pricing-guarantee span.dot { color:#d1d5db; }

/* Visibility toggle — controlled by backend, switched by JS toggle */
.plan-price-hidden { display: none !important; }
.plan-cta-hidden   { display: none !important; }

/* Pricing hero section */
.pricing-hero { background:linear-gradient(160deg,#f0fdf4 0%,#fff 70%); padding:64px 0 40px; text-align:center; }
.pricing-hero h1 { font-size:38px; font-weight:800; color:#0D5E45; margin-bottom:10px; }
.pricing-hero p { font-size:16px; color:#6b7280; max-width:480px; margin:0 auto 28px; }
.trial-notice { background:#fffbeb; border:1px solid #f59e0b40; border-radius:12px; padding:14px 20px; display:inline-flex; align-items:center; gap:12px; margin-bottom:36px; }
.trial-notice p { margin:0; font-size:14px; color:#374151; }
.trial-notice .ti { font-size:26px; }

/* Toggle billing buttons — larger, rounded */
.billing-toggle-btn {
    padding: 8px 22px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
}
.billing-toggle-btn.active {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}


/* === Iori classes extracted for WorkDo portal context === */
.color-brand-1 {
  color: #024430 !important;
}
.color-brand-1 {
  transition-duration: 0.2s;
}
.color-brand-1 {
  display: block;
  margin-bottom: 1px;
}
.color-grey-400 {
  color: #4E6770;
}
.color-grey-500 {
  color: #3D565F;
}
.font-md {
  font-weight: 500 !important;
  font-family: "Manrope", sans-serif !important;
  line-height: 24px !important;
  font-size: 16px !important;
}
.font-md {
  font-size: 14px;
  line-height: 18px;
}
.font-md {
    margin-bottom: 10px !important;
  }
.font-lg-bold {
  font-weight: 700;
  font-family: "Manrope", sans-serif;
  line-height: 23px;
  font-size: 18px;
}
.font-xs {
  font-weight: 500;
  font-family: "Manrope", sans-serif;
  line-height: 18px;
  font-size: 12px;
}
.font-xs {
  width: 50%;
}
.font-xs-bold {
  font-weight: 700;
  font-family: "Manrope", sans-serif;
  line-height: 18px;
  font-size: 12px;
}
.btn.btn-brand-1-full {
  padding: 15px 5px;
  color: #FFE7BB;
  background: #024430;
  border-radius: 4px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  width: 100%;
}
.btn.btn-brand-1-full {
  border-radius: 8px;
  color: #fff;
}
.btn.btn-brand-1-full:hover {
  background-color: #066a4c;
}
.btn.btn-brand-1-full:hover {
  color: #024430;
}
.card-plan {
  border-radius: 8px;
  background-color: #fff;
  border: 1px solid #CDE2E7;
  margin-bottom: 30px;
  overflow: hidden;
  position: relative;
}
.card-plan .box-day-trial {
  padding: 20px 0px 30px 0px;
  border-bottom: 1px solid #CDE2E7;
}
.card-plan .box-day-trial {
  padding: 20px 0px 0px 0px;
  border-bottom: 0px solid #CDE2E7;
}
.card-plan .card-image-plan {
  display: flex;
  align-items: center;
}
.card-plan .card-image-plan .icon-plan {
  max-width: 82px;
  min-width: 82px;
  margin-right: 15px;
  text-align: center;
  height: 82px;
  line-height: 82px;
  border-radius: 8px;
}
.card-plan .card-image-plan .icon-plan {
    max-width: 82px;
    min-width: 82px;
    margin-right: 15px;
    height: 82px;
    line-height: 82px;
  }
.card-plan .card-image-plan .info-plan {
  width: 100%;
}
.card-plan .popular {
  position: absolute;
  bottom: 15px;
  right: -85px;
  padding: 10px 20px;
  transform: rotate(-45deg);
  width: 250px;
  text-align: center;
  font-size: 14px;
  line-height: 28px;
  text-transform: uppercase;
  background-color: #FFE7BB;
  font-weight: bold;
  color: #024430;
  z-index: 3;
}
.list-ticks {
  display: flex;
  flex-wrap: wrap;
}
.list-ticks li {
  display: block;
  width: 100%;
}
.mt-30 {
  margin-top: 30px !important;
}
.mb-30 {
  margin-bottom: 30px !important;
}
.mt-20 {
  margin-top: 20px !important;
}
.mt-20 {
    margin-top: 10px !important;
  }

/* === Plan card — autonomous styles (no Iori dependency) === */

.card-plan {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    height: 100%;
}

.card-plan .card-image-plan {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.card-plan .box-day-trial {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.card-plan .box-day-trial span:first-child {
    white-space: nowrap;
}

.card-plan ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.card-plan ul li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.card-plan ul li:last-child {
    border-bottom: none;
}

.card-plan .btn-brand-1-full {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* === Price row alignment === */
.plan-price-monthly,
.plan-price-annual {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* === Portal — classes manquantes === */

/* Bouton "Plan actuel" — CTA désactivé (context portal, showCta false) */
.btn-outline-brand-1 {
  display: inline-block;
  border: 1px solid #0D5E45;
  color: #0D5E45;
  background-color: transparent;
  border-radius: 6px;
  padding: 10px 20px;
  text-align: center;
  font-weight: 600;
  cursor: default;
  opacity: 0.7;
}

/* Ligne facture — layout flex entre infos et actions */
.invoice-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #CDE2E7;
}
.invoice-row:last-child {
  border-bottom: none;
}
