/* =====================================================
   PAGE MES ÉVÉNEMENTS
   FINAL CLEAN REWRITE
   Outer white mirror ring / inner black luxury
===================================================== */

.dp-my-events-page{
  --lz-text:#f2deb0;
  --lz-text-soft:rgba(242,222,176,.78);
  --lz-text-muted:rgba(242,222,176,.52);
  --lz-text-white:#fff6dd;

  --lz-gold-1:#fff2cd;
  --lz-gold-2:#efcf8d;
  --lz-gold-3:#d49d46;
  --lz-gold-4:#996321;
  --lz-gold-5:#5d360f;

  --lz-border:rgba(255,205,110,.16);
  --lz-border-strong:rgba(255,214,128,.28);

  --lz-ring-1:rgba(255,255,255,.96);
  --lz-ring-2:rgba(241,236,228,.90);
  --lz-ring-border:rgba(255,255,255,.58);

  --lz-green-1:#12352e;
  --lz-green-2:#071713;
  --lz-green-border:rgba(106,219,181,.22);
  --lz-green-text:#dffaf0;

  --lz-red-1:#5a1618;
  --lz-red-2:#250708;
  --lz-red-border:rgba(255,112,94,.24);
  --lz-red-text:#ffe1d9;

  --lz-shadow:
    0 18px 42px rgba(0,0,0,.34),
    0 8px 18px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.04);

  --lz-shadow-soft:
    0 12px 26px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.04);

  --lz-white-shadow:
    0 24px 50px rgba(0,0,0,.20),
    0 8px 20px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.72);

  --lz-glow:
    0 0 0 1px rgba(255,214,128,.08),
    0 0 18px rgba(255,188,72,.08);

  max-width:1320px;
  margin:0 auto;
  padding:36px 22px 72px;
  color:var(--lz-text-soft);
}

/* =====================================================
   Masque le titre WP/Divi
===================================================== */

.page-id-1880 .entry-title,
.page-id-1880 h1.entry-title,
.page-id-1880 .et_pb_title_container h1,
.page-id-1880 .main_title,
.page-id-1880 .et_pb_post .entry-title,
.page-id-1880 .et_pb_title_featured_container,
.page-id-1880 .et_pb_title_meta_container,
.page-id-1880 .et_pb_post_title{
  display:none !important;
}

/* =====================================================
   HERO
===================================================== */

.dp-my-events-page .dp-my-pros-hero,
.dp-my-events-page .dp-my-events-hero{
  position:relative;
  overflow:hidden;
  margin-bottom:28px;
  padding:30px;
  border-radius:28px;
  border:1px solid rgba(255,205,110,.22);
  background:
    radial-gradient(circle at 82% 20%, rgba(255,188,72,.14) 0%, rgba(255,188,72,0) 18%),
    linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.01) 100%),
    linear-gradient(180deg, #111115 0%, #09090b 100%);
  box-shadow:var(--lz-shadow), var(--lz-glow);
}

.dp-my-events-page .dp-my-pros-hero::before,
.dp-my-events-page .dp-my-events-hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 34%, rgba(255,190,90,.08) 0%, rgba(255,190,90,0) 15%),
    radial-gradient(circle at 78% 68%, rgba(255,170,50,.06) 0%, rgba(255,170,50,0) 13%),
    radial-gradient(circle at 68% 25%, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 8%);
  mix-blend-mode:screen;
  opacity:.62;
}

.dp-my-pros-hero__inner{
  position:relative;
  min-height:122px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
  padding-right:180px;
  z-index:2;
}

.dp-my-events-hero h1,
.dp-my-pros-hero__inner h1{
  margin:0;
  font-size:42px;
  line-height:1.02;
  font-weight:900;
  letter-spacing:-.05em;
  color:var(--lz-text);
  text-shadow:
    0 1px 0 rgba(255,255,255,.06),
    0 0 10px rgba(255,190,78,.06);
}

.dp-my-events-hero p,
.dp-my-pros-hero__inner p{
  margin:0;
  max-width:760px;
  font-size:15px;
  line-height:1.65;
  color:var(--lz-text-soft);
}

.dp-my-pros-hero__back{
  position:absolute;
  top:0;
  right:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  border-radius:14px;
  border:1px solid rgba(255,205,110,.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 10%, rgba(255,255,255,0) 14%),
    linear-gradient(180deg, #1c1d24 0%, #09090c 100%);
  color:var(--lz-text);
  font-size:13px;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 10px 18px rgba(0,0,0,.26);
  transition:all .18s ease;
  z-index:3;
}

.dp-my-pros-hero__back:hover{
  transform:translateY(-1px);
  color:var(--lz-text-white);
  border-color:rgba(255,214,128,.28);
}

/* =====================================================
   SECTION
===================================================== */

.dp-my-events-section{
  margin-top:10px;
  padding:22px;
  border-radius:24px;
  border:1px solid rgba(255,205,110,.18);
  background:
    radial-gradient(circle at 82% 14%, rgba(255,188,72,.10) 0%, rgba(255,188,72,0) 14%),
    linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.01) 100%),
    linear-gradient(180deg, #111115 0%, #09090b 100%);
  box-shadow:var(--lz-shadow), var(--lz-glow);
}

.dp-my-events-section__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px;
}

.dp-my-events-section__head h2{
  margin:0;
  font-size:28px;
  font-weight:900;
  letter-spacing:-.04em;
  color:var(--lz-text);
}

.dp-my-events-section__count{
  min-width:42px;
  height:42px;
  padding:0 14px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  font-weight:800;
  color:#1c1306;
  background:
    linear-gradient(180deg, rgba(255,255,255,.48) 0%, rgba(255,255,255,.18) 16%, rgba(255,255,255,0) 18%),
    linear-gradient(135deg, var(--lz-gold-1) 0%, var(--lz-gold-2) 30%, var(--lz-gold-3) 62%, var(--lz-gold-5) 100%);
  border:1px solid rgba(255,220,140,.40);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.32),
    0 10px 18px rgba(0,0,0,.24),
    0 0 16px rgba(255,191,76,.10);
}

.dp-my-events-empty{
  padding:24px;
  border-radius:18px;
  border:1px solid rgba(255,205,110,.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.02) 100%),
    linear-gradient(180deg, #17171c 0%, #0d0d10 100%);
  color:var(--lz-text-soft);
}

/* =====================================================
   CARTE ALERTES / NOTIFICATIONS
===================================================== */

.dp-my-pros-notifications{
  margin-bottom:30px;
  padding:28px 24px 24px;
  border:1px solid rgba(255,205,110,.20);
  border-radius:26px;
  background:
    radial-gradient(circle at 82% 14%, rgba(255,188,72,.10) 0%, rgba(255,188,72,0) 14%),
    linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.01) 100%),
    linear-gradient(180deg, #111115 0%, #09090b 100%);
  box-shadow:var(--lz-shadow), var(--lz-glow);
  text-align:center;
}

.dp-my-events-section__head--center{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:14px;
}

.dp-my-events-section__head--center h2{
  margin:0;
  font-size:18px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--lz-text);
  text-align:center;
}

.dp-notifications-intro{
  margin:0 auto 24px;
  max-width:920px;
  font-size:15px;
  line-height:1.7;
  text-align:center;
  color:var(--lz-text-soft);
}

.dp-notifications-intro strong{
  display:block;
  font-weight:800;
  color:var(--lz-text-white);
}

.dp-notifications-form{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:22px;
}

.dp-notifications-row{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
}

.dp-notifications-row__label{
  font-size:14px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--lz-text);
  text-align:center;
}

.dp-notifications-choices{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:stretch;
  flex-wrap:wrap;
  gap:14px;
}

.dp-notifications-chip{
  position:relative;
  display:inline-flex;
  align-items:stretch;
  justify-content:center;
  cursor:pointer;
}

.dp-notifications-chip input[type="checkbox"]{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.dp-notifications-chip span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:240px;
  min-height:52px;
  padding:0 22px;
  border:1px solid rgba(255,205,110,.18);
  border-radius:16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 10%, rgba(255,255,255,0) 14%),
    linear-gradient(180deg, #1c1d24 0%, #09090c 100%);
  color:var(--lz-text);
  font-size:13px;
  font-weight:900;
  letter-spacing:.03em;
  line-height:1.2;
  text-transform:uppercase;
  text-align:center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 10px 20px rgba(0,0,0,.24);
  transition:all .2s ease;
}

.dp-notifications-chip:hover span{
  transform:translateY(-1px);
  border-color:rgba(255,214,128,.30);
  color:var(--lz-text-white);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 12px 22px rgba(0,0,0,.30),
    0 0 12px rgba(255,188,72,.06);
}

.dp-notifications-chip input[type="checkbox"]:checked + span{
  border-color:rgba(255,220,140,.44);
  background:
    linear-gradient(180deg, rgba(255,255,255,.50) 0%, rgba(255,255,255,.16) 15%, rgba(255,255,255,0) 18%),
    linear-gradient(135deg, var(--lz-gold-1) 0%, var(--lz-gold-2) 34%, var(--lz-gold-3) 66%, var(--lz-gold-5) 100%);
  color:#1b1206;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 12px 24px rgba(0,0,0,.26),
    0 0 16px rgba(255,191,76,.10);
}

.dp-notifications-actions{
  width:100%;
  display:flex;
  justify-content:center;
  padding-top:4px;
}

.dp-notifications-submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:290px;
  min-height:52px;
  padding:0 28px;
  border:1px solid rgba(255,220,140,.42);
  border-radius:16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.50) 0%, rgba(255,255,255,.16) 15%, rgba(255,255,255,0) 18%),
    linear-gradient(135deg, var(--lz-gold-1) 0%, var(--lz-gold-2) 34%, var(--lz-gold-3) 66%, var(--lz-gold-5) 100%);
  color:#1b1206;
  font-size:13px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  text-align:center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 12px 24px rgba(0,0,0,.26),
    0 0 16px rgba(255,191,76,.10);
  cursor:pointer;
  transition:all .18s ease;
}

.dp-notifications-submit:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
}

.dp-notifications-submit:active{
  transform:translateY(0);
}

.dp-notifications-notice{
  margin:0 auto 20px;
  max-width:760px;
  padding:14px 16px;
  border-radius:16px;
  font-size:14px;
  line-height:1.6;
  text-align:center;
  box-shadow:0 8px 20px rgba(0,0,0,.14);
}

.dp-notifications-notice--success{
  border:1px solid var(--lz-green-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.02) 100%),
    linear-gradient(180deg, var(--lz-green-1) 0%, var(--lz-green-2) 100%);
  color:var(--lz-green-text);
}

.dp-notifications-notice--error{
  border:1px solid var(--lz-red-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.02) 100%),
    linear-gradient(180deg, var(--lz-red-1) 0%, var(--lz-red-2) 100%);
  color:var(--lz-red-text);
}

/* =====================================================
   LISTE DES ÉVÉNEMENTS
===================================================== */

.dp-my-events-banners{
  display:grid;
  gap:28px;
}

/* ========= CHAQUE ÉVÉNEMENT : ANNEAU BLANC + COEUR NOIR ========= */
.dp-my-events-banner-item{
  position:relative;
  display:grid;
  gap:10px;
  padding:8px;
  border-radius:24px;
  background:
    linear-gradient(180deg, var(--lz-ring-1) 0%, var(--lz-ring-2) 100%);
  border:1px solid var(--lz-ring-border);
  box-shadow:var(--lz-white-shadow);
  overflow:hidden;
}

.dp-my-events-banner-item::before{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:23px;
  pointer-events:none;
  border:1px solid rgba(255,255,255,.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.66),
    inset 0 -18px 36px rgba(0,0,0,.02);
}

.dp-my-events-banner-item > *{
  position:relative;
  z-index:2;
}

/* on garde tous les blocs internes sombres */
.dp-my-events-banner-item > *:not(.dp-my-events-banner-actions){
  border-radius:16px;
}

/* les statuts / infos / blocs directement dans la card restent noirs */
.dp-my-events-banner-item .dp-pro-status-line,
.dp-my-events-banner-item .dp-pro-notifications-box{
  border-radius:14px;
}

/* actions */
.dp-my-events-banner-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  padding-left:0;
}

.dp-my-event-card__remove{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid rgba(255,205,110,.18);
  cursor:pointer;
  font-size:13px;
  font-weight:800;
  background:
    linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 10%, rgba(255,255,255,0) 14%),
    linear-gradient(180deg, #1c1d24 0%, #09090c 100%);
  color:var(--lz-text);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 10px 18px rgba(0,0,0,.26);
  transition:all .18s ease;
}

.dp-my-event-card__remove:hover{
  transform:translateY(-1px);
  color:var(--lz-text-white);
  border-color:rgba(255,214,128,.28);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width:980px){
  .dp-my-pros-hero__inner{
    padding-right:0;
  }

  .dp-my-pros-hero__back{
    position:static;
    margin-top:10px;
    align-self:flex-start;
  }

  .dp-notifications-chip span{
    min-width:220px;
  }
}

@media (max-width:767px){
  .dp-my-events-page{
    padding:18px 14px 42px;
  }

  .dp-my-events-page .dp-my-pros-hero,
  .dp-my-events-page .dp-my-events-hero{
    padding:24px 20px;
    border-radius:22px;
  }

  .dp-my-events-hero h1,
  .dp-my-pros-hero__inner h1{
    font-size:34px;
  }

  .dp-my-events-hero p,
  .dp-my-pros-hero__inner p{
    font-size:14px;
  }

  .dp-my-pros-hero__back{
    width:100%;
    justify-content:center;
  }

  .dp-my-events-section{
    padding:18px;
    border-radius:22px;
  }

  .dp-my-events-section__head{
    margin-bottom:18px;
  }

  .dp-my-events-section__head h2{
    font-size:24px;
  }

  .dp-my-events-section__head--center h2{
    font-size:17px;
  }

  .dp-my-pros-notifications{
    padding:22px 16px 20px;
    border-radius:22px;
  }

  .dp-notifications-intro{
    font-size:14px;
    margin-bottom:18px;
  }

  .dp-notifications-row__label{
    font-size:13px;
  }

  .dp-notifications-choices{
    gap:10px;
  }

  .dp-notifications-chip,
  .dp-notifications-chip span{
    width:100%;
  }

  .dp-notifications-chip span{
    min-width:0;
    min-height:48px;
    padding:0 16px;
    font-size:12px;
    line-height:1.2;
    white-space:normal;
  }

  .dp-notifications-submit{
    width:100%;
    min-width:0;
  }

  .dp-my-events-banners{
    gap:22px;
  }

  .dp-my-events-banner-item{
    padding:6px;
    border-radius:20px;
  }

  .dp-my-events-banner-item::before{
    border-radius:19px;
  }

  .dp-my-event-card__remove{
    width:100%;
  }
}