.sofcep-directory-search{display:flex;gap:12px;margin:18px 0;flex-wrap:wrap;align-items:center}.sofcep-directory-search input{padding:12px 14px;border:1px solid #ddd;border-radius:4px;min-width:220px}.sofcep-reset-map{padding:11px 16px;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer}.sofcep-reset-map:hover{background:#f7f7f7}.sofcep-member-count{margin:0 0 14px;color:#444}#sofcep-map{height:620px;min-height:420px;border:1px solid #e5e5e5;border-radius:8px;margin-bottom:0}.sofcep-member-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sofcep-member-card{display:flex;gap:12px;padding:14px;border:1px solid #eee;background:#fff;cursor:pointer;border-radius:8px}.sofcep-member-card:hover{background:#f7f7f7}.sofcep-member-card img,.sofcep-photo-placeholder{width:58px;height:58px;border-radius:50%;object-fit:cover;background:#eee;flex:0 0 58px}.sofcep-private-documents h3{border-bottom:1px solid #eee;padding-bottom:6px}@media(max-width:900px){#sofcep-map{height:420px}.sofcep-member-list{grid-template-columns:1fr}}
.sofcep-popup{font-size:14px;line-height:1.35}
.sofcep-popup-photo{width:72px;height:72px;border-radius:50%;object-fit:cover;margin-bottom:8px}
.sofcep-popup-button{display:inline-block;margin-top:8px;padding:6px 10px;background:#1d2327;color:#fff!important;border-radius:4px;text-decoration:none}
.sofcep-nogps-title{grid-column:1/-1;margin:16px 0 4px;font-size:16px}
.sofcep-my-profile input,.sofcep-my-profile textarea{width:100%;max-width:560px;padding:10px;border:1px solid #ddd;border-radius:4px}
.sofcep-my-profile button{padding:10px 18px;border:0;border-radius:4px;background:#1d2327;color:white;cursor:pointer}
.sofcep-success{padding:10px 14px;background:#e8f7ee;border-left:4px solid #2f9e44}


/* SOFCEP v0.6.1 - présentation fiches */
.sofcep-popup{
  font-size:15px;
  line-height:1.45;
  min-width:240px;
}
.sofcep-popup-photo{
  width:96px;
  height:96px;
  border-radius:12px;
  object-fit:cover;
  margin-bottom:10px;
}
.sofcep-popup-button{
  display:inline-block;
  margin-top:10px;
  padding:8px 12px;
  background:#263238;
  color:#fff!important;
  border-radius:6px;
  text-decoration:none;
}
.sofcep-public-profile,
.sofcep-my-profile{
  max-width:900px;
  margin:24px auto;
  padding:28px;
  background:#fff;
  border:1px solid #e7e2dc;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
}
.sofcep-public-profile h2{
  font-size:32px;
  margin:12px 0 8px;
}
.sofcep-profile-photo{
  width:180px;
  height:180px;
  object-fit:cover;
  border-radius:18px;
  box-shadow:0 8px 22px rgba(0,0,0,.08);
}
.sofcep-profile-about{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid #eee;
  font-size:16px;
  line-height:1.65;
}
.sofcep-my-profile p{
  margin-bottom:18px;
}
.sofcep-my-profile label{
  font-weight:600;
  color:#303030;
}
.sofcep-my-profile input,
.sofcep-my-profile textarea{
  width:100%;
  max-width:760px;
  padding:14px 16px;
  border:1px solid #d8d2ca;
  border-radius:10px;
  background:#fff;
  font-size:16px;
  margin-top:6px;
}
.sofcep-my-profile textarea{
  min-height:120px;
}
.sofcep-my-profile button{
  padding:13px 22px;
  border:0;
  border-radius:9px;
  background:#263238;
  color:white;
  font-size:16px;
  cursor:pointer;
}
.sofcep-success{
  padding:12px 16px;
  background:#eef8f1;
  border-left:4px solid #6aa878;
  border-radius:6px;
}


/* SOFCEP v0.6.2 priority */
body .sofcep-popup{font-size:15px!important;line-height:1.45!important;min-width:240px!important}
body .sofcep-popup-photo{width:96px!important;height:96px!important;border-radius:12px!important;object-fit:cover!important;margin-bottom:10px!important}
body .sofcep-popup-button{display:inline-block!important;margin-top:10px!important;padding:8px 12px!important;background:#263238!important;color:#fff!important;border-radius:6px!important;text-decoration:none!important}


/* SOFCEP v0.6.4 annuaire responsive */
.sofcep-directory-search{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
  margin:14px 0!important;
}
.sofcep-directory-search input{
  min-width:0!important;
  flex:1 1 220px!important;
}
.sofcep-directory-search button{
  white-space:nowrap!important;
  flex:0 0 auto!important;
}
#sofcep-map{
  height:520px;
  max-height:70vh;
  touch-action:pan-x pan-y;
}
.sofcep-div-marker span{
  width:24px;height:24px;display:block;border-radius:50% 50% 50% 0;transform:rotate(-45deg);border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.25);
}
.sofcep-user-marker span{
  width:22px;height:22px;display:block;border-radius:50%;border:3px solid #fff;box-shadow:0 2px 10px rgba(0,0,0,.3);
}
@media(max-width:760px){
  .sofcep-directory-search{
    flex-wrap:wrap!important;
  }
  .sofcep-directory-search input{
    flex:1 1 calc(50% - 10px)!important;
  }
  .sofcep-directory-search button{
    flex:1 1 auto!important;
  }
  #sofcep-map{
    height:360px;
    max-height:55vh;
  }
  .sofcep-member-list{
    grid-template-columns:1fr!important;
  }
}

/* SOFCEP v0.6.5 search line fix */
@media(min-width:900px){
  .sofcep-directory .sofcep-directory-search{
    display:grid!important;
    grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto!important;
    gap:10px!important;
    align-items:center!important;
  }
  .sofcep-directory .sofcep-directory-search input,
  .sofcep-directory .sofcep-directory-search button{
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
}


/* SOFCEP v0.6.6 - correction Gutenberg/Code wrapper */
.sofcep-directory-search{
  background:transparent!important;
  padding:0!important;
  margin:16px 0!important;
  width:100%!important;
  max-width:100%!important;
}

.sofcep-directory-search > code{
  display:grid!important;
  grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto!important;
  gap:12px!important;
  align-items:center!important;
  width:100%!important;
  max-width:100%!important;
  background:transparent!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  white-space:normal!important;
  font-family:inherit!important;
}

.sofcep-directory-search input,
.sofcep-directory-search button,
.sofcep-directory-search > code input,
.sofcep-directory-search > code button{
  width:100%!important;
  min-width:0!important;
  height:48px!important;
  box-sizing:border-box!important;
  margin:0!important;
  font-family:inherit!important;
  font-size:15px!important;
}

.sofcep-directory-search button,
.sofcep-directory-search > code button{
  width:auto!important;
  min-width:145px!important;
  padding:0 18px!important;
}

@media(max-width:760px){
  .sofcep-directory-search > code{
    grid-template-columns:1fr!important;
  }
  .sofcep-directory-search button,
  .sofcep-directory-search > code button{
    width:100%!important;
  }
}

.sofcep-marker-circle span{border-radius:50%!important;transform:none!important}
.sofcep-marker-square span{border-radius:6px!important;transform:none!important}
.sofcep-marker-pin span{border-radius:50% 50% 50% 0!important;transform:rotate(-45deg)!important}
.sofcep-events-calendar{display:grid;gap:16px;margin:24px 0}
.sofcep-event-card{background:#fff;border:1px solid #e6ded5;border-left:6px solid #263238;border-radius:12px;padding:18px;box-shadow:0 8px 22px rgba(0,0,0,.05)}
.sofcep-event-card h3{margin:0 0 8px;font-size:22px}
.sofcep-event-button{display:inline-block;background:#263238;color:#fff!important;padding:10px 14px;border-radius:8px;text-decoration:none}


/* SOFCEP v0.7.3 responsive fiche publique */
.sofcep-public-profile,
.sofcep-public-profile *{
  box-sizing:border-box!important;
}
.sofcep-public-profile{
  overflow:hidden!important;
}
.sofcep-public-profile p,
.sofcep-public-profile .sofcep-address,
.sofcep-public-profile .sofcep-address span,
.sofcep-public-profile a{
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}
.sofcep-profile-header,
.sofcep-profile-grid{
  min-width:0!important;
}
@media(max-width:720px){
  .sofcep-profile-header{
    display:block!important;
  }
  .sofcep-profile-grid{
    grid-template-columns:1fr!important;
  }
}
