.elementor-207892 .elementor-element.elementor-element-66cebe9{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}:root{--page-title-display:none;}/* Start custom CSS *//* =========================================================
   Hypnodio — Zone affilié (AffiliateWP dashboard)
   Scope: page-id-207892 + #affwp-affiliate-dashboard
   ========================================================= */

 #affwp-affiliate-dashboard{
  --aff-primary: #6A4B93;      /* violet Hypnodio */
  --aff-primary-2: #19013F;    /* violet foncé */
  --aff-accent: #F5C222;       /* jaune/or */
  --aff-text: #1E2132;
  --aff-muted: #5A5A5A;
  --aff-bg: #FFFFFF;
  --aff-soft: #FAFBFD;
  --aff-border: rgba(30, 33, 50, .12);
  --aff-radius: 14px;

  max-width: 1080px;
  margin: 0 auto;
  padding: 28px;
  background: var(--aff-bg);
  border: 1px solid var(--aff-border);
  border-radius: var(--aff-radius);
  box-shadow: 0 14px 40px rgba(25, 1, 63, .10);
}

 #affwp-affiliate-dashboard *{
  box-sizing: border-box;
}

 #affwp-affiliate-dashboard h4,
 #affwp-affiliate-dashboard h5{
  color: var(--aff-text);
  letter-spacing: .2px;
  margin: 0 0 10px;
}

 #affwp-affiliate-dashboard p{
  color: var(--aff-muted);
  line-height: 1.65;
  margin: 10px 0;
}

/* --- Tabs (menu) --- */
 #affwp-affiliate-dashboard-tabs{
  list-style: none;
  margin: 0 0 22px;
  padding: 8px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--aff-border);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, var(--aff-soft));
  padding: 5px 0 !important;
}

 #affwp-affiliate-dashboard-tabs::-webkit-scrollbar{ height: 6px; }
 #affwp-affiliate-dashboard-tabs::-webkit-scrollbar-thumb{
  background: rgba(106, 75, 147, .25);
  border-radius: 999px;
}

 #affwp-affiliate-dashboard-tabs li{
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

 #affwp-affiliate-dashboard-tabs a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--aff-primary);
  font-weight: 600;
  white-space: nowrap;
  transition: transform .12s ease, background-color .12s ease, border-color .12s ease;
}

 #affwp-affiliate-dashboard-tabs a:hover{
  background: rgba(106, 75, 147, .08);
  border-color: rgba(106, 75, 147, .18);
  transform: translateY(-1px);
}

 #affwp-affiliate-dashboard-tabs .active a{
  background: var(--aff-primary);
  color: #fff;
  border-color: rgba(0,0,0,.06);
}

 #affwp-affiliate-dashboard-tabs a:focus-visible{
  outline: 3px solid rgba(245, 194, 34, .45);
  outline-offset: 2px;
}

/* --- Contenu d’onglet: carte --- */
 #affwp-affiliate-dashboard .affwp-tab-content{
  margin-top: 10px;
}

 #affwp-affiliate-dashboard-url-generator{
  border: 1px solid var(--aff-border);
  border-radius: var(--aff-radius);
  background: var(--aff-soft);
  padding: 18px 18px 22px;
}

/* --- Mise en forme des infos (ID + URL) --- */
 #affwp-affiliate-dashboard-url-generator p strong{
  display: inline-block;
  font-family: "Montserrat", Sans-serif;
  font-weight: 700;
  color: var(--aff-primary-2);
  background: rgba(106, 75, 147, .10);
  border: 1px dashed rgba(106, 75, 147, .35);
  padding: 3px 9px;
  border-radius: 10px;
  margin-left: 4px;
  word-break: break-word;
  margin-bottom: 10px;
}

/* --- Form generator --- */
 #affwp-generate-ref-url{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
}

 #affwp-generate-ref-url .affwp-wrap{
  margin: 0;
}

 #affwp-generate-ref-url .affwp-referral-url-wrap{
  grid-column: 1 / -1;
}

 #affwp-generate-ref-url .affwp-referral-url-submit-wrap{
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

 #affwp-generate-ref-url label{
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--aff-text);
  margin: 0 0 6px;
}

 #affwp-generate-ref-url input[type="text"],
 #affwp-generate-ref-url input[type="url"],
 #affwp-generate-ref-url input[type="email"]{
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--aff-border);
  background: #fff;
  color: var(--aff-text);
  box-shadow: 0 2px 10px rgba(30, 33, 50, .04);
}

 #affwp-generate-ref-url input:focus{
  outline: none;
  border-color: rgba(106, 75, 147, .55);
  box-shadow: 0 0 0 4px rgba(106, 75, 147, .15);
}

 #affwp-generate-ref-url .description{
  margin-top: 8px;
  color: var(--aff-muted);
  font-size: 13px;
}

/* --- Boutons (AffiliateWP utilise souvent .button) --- */
 #affwp-affiliate-dashboard .button,
 #affwp-affiliate-dashboard input[type="submit"].button{
  appearance: none;
  border: none;
  background: var(--aff-accent);
  color: var(--aff-primary-2);
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(245, 194, 34, .25);
  transition: transform .12s ease, filter .12s ease;
}

 #affwp-affiliate-dashboard .button:hover{
  transform: translateY(-1px);
  filter: saturate(1.05);
}

 #affwp-affiliate-dashboard .button:active{
  transform: translateY(0);
}

 #affwp-affiliate-dashboard .button:focus-visible{
  outline: 3px solid rgba(106, 75, 147, .35);
  outline-offset: 2px;
}

/* --- Tables (stats, referrals, payouts, visits, creatives...) --- */
 #affwp-affiliate-dashboard table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--aff-border);
  border-radius: var(--aff-radius);
  overflow: hidden;
  background: #fff;
  margin-top: 14px;
}

 #affwp-affiliate-dashboard table th{
  background: var(--aff-primary-2);
  color: #fff;
  text-align: left;
  font-weight: 800;
  font-size: 13px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

 #affwp-affiliate-dashboard table td{
  padding: 12px 12px;
  color: var(--aff-text);
  border-bottom: 1px solid rgba(30, 33, 50, .08);
  vertical-align: middle;
}

 #affwp-affiliate-dashboard table tr:nth-child(even) td{
  background: var(--aff-soft);
}

@media (max-width: 860px){
   #affwp-generate-ref-url{
    grid-template-columns: 1fr;
  }
   #affwp-generate-ref-url .affwp-referral-url-submit-wrap{
    justify-content: stretch;
  }
   #affwp-affiliate-dashboard .button,
   #affwp-affiliate-dashboard input[type="submit"].button{
    width: 100%;
  }
   #affwp-affiliate-dashboard table{
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}/* End custom CSS */