*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#f4f0df;color:#382817}.wrap{max-width:1280px;margin:0 auto;padding:0 14px}.topbar{background:#5b351c;color:#fff;box-shadow:0 2px 8px #0002}.header-inner{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-top:12px;padding-bottom:12px}.brand{display:flex;align-items:center;gap:12px;background:none;border:0;color:white;cursor:pointer;text-align:left}.logo{background:#f8d678;color:#5b351c;border-radius:5px;padding:8px 12px;font-size:26px;font-weight:900}.tagline{color:#ffe8ae;font-size:14px}.main-nav{display:flex;flex-wrap:wrap;gap:5px}.main-nav button,.subnav button{border:0;cursor:pointer}.main-nav button{background:#7a4a28;color:white;border-radius:4px;padding:9px 11px;font-weight:700}.main-nav button:hover{background:#9a6237}.subnav{background:#fff4c8;border-bottom:1px solid #d8c391}.subnav-inner{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding-top:8px;padding-bottom:8px}.tab{background:white;color:#5b351c;border-radius:4px;padding:6px 10px;font-weight:700}.tab.active{background:#b54520;color:#fff}.create-small{background:#2f7d32;color:white;border-radius:4px;padding:7px 10px;font-weight:800}.rss{margin-left:auto;color:#8b321c;font-weight:800}.notice{margin-top:12px;background:white;border:1px solid #c6ae76;border-radius:4px;padding:9px 12px;color:#8b321c;font-weight:800}.layout{display:grid;grid-template-columns:260px 1fr 300px;gap:14px;padding-top:18px;padding-bottom:22px}.box{background:white;border:1px solid #c6ae76;border-radius:4px;box-shadow:0 1px 3px #0001;margin-bottom:14px;overflow:hidden}.box h2{margin:0;background:#7a4a28;color:white;font-size:16px;padding:9px 11px}.box-content{padding:12px}.login-box input,.account-box input,.filters input,.filters select,.form-grid input,.form-grid select,.form-grid textarea{border:1px solid #c8b382;border-radius:4px;padding:9px;width:100%;background:#fffaf0}.login-box{display:flex;flex-direction:column;gap:8px}.remember{font-size:13px}.primary,.outline,.danger,.mini-btn{border-radius:4px;padding:9px 10px;font-weight:800;cursor:pointer}.primary{background:#b54520;color:#fff;border:1px solid #b54520}.outline{background:white;color:#b54520;border:1px solid #b54520}.danger{background:#b54520;color:white;border:1px solid #b54520}.small-link{text-align:center;font-size:12px;color:#6f5b35}.hidden{display:none!important}.account-card{background:#fff4c8;border-radius:4px;padding:10px}.account-card span{display:block;font-size:12px;color:#6f5b35}.calendar-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.calendar-head button{background:#fff4c8;border:1px solid #c8b382;border-radius:4px;cursor:pointer}.calendar{width:100%;border-collapse:collapse;text-align:center;font-size:13px}.calendar th{color:#8b321c}.calendar td{padding:5px;border-radius:4px;cursor:pointer}.calendar td:hover{background:#ffe3a0}.calendar .today{background:#b54520;color:white}.hint{font-size:12px;text-align:center;color:#6f5b35}.mini-btn{width:100%;background:#fff4c8;border:1px solid #ead7a1;color:#7a321d}.top-list{padding:12px 12px 12px 32px;margin:0}.top-list button{border:0;background:none;color:#8b321c;font-weight:800;cursor:pointer}.member-mini-list button,.welcome-members button{background:#fff4c8;border:0;border-radius:4px;color:#7a321d;font-weight:700;padding:6px;margin:3px;cursor:pointer}.filters{padding:15px;display:flex;justify-content:space-between;gap:15px;align-items:center}.filters h1{margin:0 0 5px;color:#7a321d}.filters p{margin:0;font-size:13px;color:#6f5b35}.filter-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.search-wrap{display:flex;align-items:center;gap:6px;border:1px solid #c8b382;border-radius:4px;background:#fffaf0;padding:0 8px}.search-wrap input{border:0;background:transparent;outline:none}.pager{background:#fff4c8;text-align:center;color:#8b321c;font-weight:800;padding:8px}.events-table{width:100%;border-collapse:collapse;font-size:14px}.events-table th{background:#7a4a28;color:white;text-align:left;padding:8px}.events-table td{border-bottom:1px solid #eadfbd;padding:8px}.events-table tr.event-row{cursor:pointer}.events-table tr.event-row:hover,.events-table tr.selected{background:#fff7d8}.events-table .month-row td{background:#ead7a1;color:#6a351c;font-weight:900}.events-table .day-row td{background:#fff4c8;color:#7a321d;font-weight:900}.event-title{color:#264b8f;font-weight:900}.tag{display:inline-block;background:#f1e4b7;color:#795426;border-radius:20px;padding:2px 7px;font-size:12px;margin-top:4px}.cities{max-height:285px;overflow-y:auto;display:grid;grid-template-columns:1fr 1fr;gap:5px}.cities button{border:0;border-radius:4px;padding:6px;background:#fff4c8;color:#7a321d;text-align:left;font-weight:700;cursor:pointer}.cities button.active{background:#b54520;color:white}.city-info{margin:0 12px 12px;border:1px solid #ead7a1;background:#fff9e8;padding:10px;font-size:12px;color:#6f5b35}.detail-title{font-size:19px;font-weight:900;color:#7a321d}.detail-btns button{width:100%;margin-top:7px}.participants-list button{display:block;border:0;background:none;color:#264b8f;text-decoration:underline;margin:4px 0;cursor:pointer}.chat{border:1px solid #ead7a1;border-radius:4px;padding:8px;margin-top:8px}.chat-log{background:#fff9e8;border-radius:4px;max-height:110px;overflow-y:auto;padding:8px;font-size:12px;margin:6px 0}.chat-send{display:flex;gap:5px}.chat-send input{flex:1;min-width:0;border:1px solid #c8b382;border-radius:4px;padding:6px}.chat-send button{background:#7a4a28;color:white;border:0;border-radius:4px;padding:6px 9px}.cards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card{border:1px solid #c6ae76;background:white;border-radius:4px;padding:14px;box-shadow:0 1px 3px #0001}.card.clickable{cursor:pointer}.card.clickable:hover{background:#fff7d8}.avatar{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#7a4a28;color:white;font-weight:900;margin-right:8px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat{background:white;border:1px solid #c6ae76;text-align:center;padding:20px}.stat b{font-size:34px;color:#b54520}.footer{background:#5b351c;color:#ffe8ae;margin-top:20px;padding:24px 0}.footer-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.footer h3{color:white;margin:0 0 8px}.footer p{font-size:13px;line-height:1.6;margin:0}.modal{position:fixed;inset:0;background:#0009;display:grid;place-items:center;z-index:20;padding:20px}.modal-card{background:white;border:1px solid #c6ae76;border-radius:5px;max-width:600px;width:100%;box-shadow:0 10px 40px #0006}.modal-card.small{max-width:420px}.modal-card h2{margin:0;background:#7a4a28;color:white;padding:14px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px}.form-grid .full{grid-column:1/-1}.form-grid textarea{min-height:100px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;padding:14px}.profile-line{display:flex;align-items:center;gap:10px}.profile-line .avatar{width:58px;height:58px;font-size:24px}.profile-bio{background:#fff9e8;padding:12px;border-radius:4px;margin:12px 0}.section-title{font-size:24px;color:#7a321d;margin:0 0 10px}.empty{background:white;border:1px solid #c6ae76;border-radius:4px;padding:30px;text-align:center;font-weight:800}@media(max-width:1000px){.layout{grid-template-columns:1fr}.header-inner,.filters{align-items:stretch;flex-direction:column}.right-col{order:3}.footer-grid{grid-template-columns:1fr 1fr}.cards-grid,.stats-grid{grid-template-columns:1fr}.events-table{font-size:12px}.tagline{display:none}}

.register-card{max-width:760px}
.back-link{margin:12px 14px 0;background:none;border:0;color:#264b8f;font-weight:800;cursor:pointer;text-decoration:underline}
.register-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px}
.register-form label{font-weight:800;color:#5b351c;font-size:14px}
.register-form input,.register-form select,.register-form textarea{display:block;width:100%;margin-top:5px;border:1px solid #c8b382;border-radius:4px;background:#fffaf0;padding:9px;font:inherit}
.register-form .full{grid-column:1/-1}
.register-form small{display:block;margin-top:4px;color:#6f5b35;font-weight:400}
.checkbox-line{display:flex!important;gap:8px;align-items:flex-start;background:#fff9e8;border:1px solid #ead7a1;border-radius:4px;padding:10px}
.checkbox-line input{width:auto!important;margin-top:2px!important}
.checkbox-line span{font-weight:600;line-height:1.4}
@media(max-width:700px){.register-form{grid-template-columns:1fr}}


/* Amélioration inscription à 110% zoom */
.register-card{
  max-height:92vh;
  overflow:auto;
}
.register-card .modal-actions{
  position:sticky;
  bottom:0;
  background:white;
  border-top:1px solid #ead7a1;
  box-shadow:0 -4px 12px #0001;
}
#submitRegister{
  font-size:16px;
  padding:12px 18px;
}





.event-link{
  display:block;
  border:0;
  background:none;
  padding:0;
  cursor:pointer;
  text-align:left;
}
.event-link:hover{text-decoration:underline}
.event-page{padding:0 0 18px}
.event-page-head{background:#fff4c8;border-bottom:1px solid #ead7a1;padding:14px}
.event-page-head h1{margin:8px 0;color:#7a321d;font-size:30px}
.tag.big{font-size:15px;margin-top:6px}
.event-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px}
.event-info-card{background:#fff9e8;border:1px solid #ead7a1;border-radius:4px;padding:12px}
.event-info-card b{color:#5b351c}
.event-info-card p{margin:6px 0 0}
.event-page h2{background:#7a4a28;color:white;font-size:17px;margin:14px 0 0;padding:9px 12px}
.event-description{padding:18px;background:white;line-height:1.55}
.event-description p{margin:0 0 10px}
.small-grid{grid-template-columns:2fr 1fr}
.muted{color:#6f5b35;font-size:13px}
.event-locked{margin:14px;padding:12px;background:#fff9e8;border:1px solid #ead7a1;border-radius:4px}
.participants-detail{padding:14px;display:grid;gap:6px}
.participants-detail button,.event-locked button.link-member{border:0;background:#fff4c8;color:#264b8f;border-radius:4px;padding:8px;text-align:left;font-weight:800;cursor:pointer}
.participants-detail button:hover{background:#ffe3a0;text-decoration:underline}
.event-actions{margin:14px;padding:12px;border:1px solid #ead7a1;background:#fff4c8;border-radius:4px}
.comments-box{margin:14px;padding:12px;background:#fff9e8;border:1px solid #ead7a1;border-radius:4px}
.comment-form{display:flex;gap:8px;margin:14px}
.comment-form input{flex:1;border:1px solid #c8b382;border-radius:4px;padding:10px;background:#fffaf0}
@media(max-width:700px){
  .event-info-grid,.small-grid{grid-template-columns:1fr}
  .event-page-head h1{font-size:24px}
}


.new-registered-right{
  padding:10px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.new-registered-right button{
  border:0;
  border-radius:4px;
  padding:8px;
  text-align:left;
  font-weight:900;
  cursor:pointer;
}
.new-registered-right button.femme{
  background:#e7f8ec;
  color:#16843a;
}
.new-registered-right button.homme{
  background:#e8f1ff;
  color:#1d5fbf;
}
.new-registered-right button.autre{
  background:#fff4c8;
  color:#7a321d;
}
.new-registered-right button:hover{
  filter:brightness(.96);
  text-decoration:underline;
}


.profile-photo{
  width:44px;
  height:44px;
  border-radius:50%;
  object-fit:cover;
  margin-right:8px;
  vertical-align:middle;
  border:2px solid #7a4a28;
  background:#fff4c8;
}
.profile-photo.big{
  width:70px;
  height:70px;
}
.photo-update{
  display:block;
  background:#fff9e8;
  border:1px solid #ead7a1;
  border-radius:4px;
  padding:8px;
  font-weight:800;
  color:#5b351c;
}
.photo-update input{
  display:block;
  width:100%;
  margin-top:6px;
  font-size:12px;
}
.new-registered-right .mini-profile-row{
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  border:0;
  border-radius:4px;
  padding:7px;
  text-align:left;
  font-weight:900;
  cursor:pointer;
}
.new-registered-right .mini-profile-row .profile-photo{
  width:32px;
  height:32px;
  margin-right:0;
}


.member-mini-list button{
  display:flex;
  align-items:center;
  gap:7px;
  width:100%;
  text-align:left;
}
.member-mini-list .profile-photo{
  width:28px;
  height:28px;
  margin-right:0;
}
.member-mini-list .avatar{
  width:28px;
  height:28px;
  margin-right:0;
  font-size:13px;
}


.popular-badge{
  display:inline-block;
  margin-left:6px;
  background:#e7f8ec;
  color:#16843a;
  border-radius:20px;
  padding:2px 8px;
  font-size:12px;
  font-weight:900;
}
.popular-intro{
  background:#e7f8ec;
  color:#16843a;
  padding:10px 12px;
  font-weight:900;
  border-bottom:1px solid #bfe8ca;
}


.new-sorties-panel h2{
  background:none;
  color:#7a321d;
  padding:0;
  margin:0 0 5px;
  font-size:22px;
}
.new-sorties-head{
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:center;
  padding:15px;
}
.new-sorties-head p{
  margin:0;
  color:#6f5b35;
  font-size:13px;
}
.new-sorties-filter label{
  display:block;
  font-weight:900;
  color:#5b351c;
  margin-bottom:5px;
}
.new-sorties-filter select{
  border:1px solid #c8b382;
  background:#fffaf0;
  border-radius:4px;
  padding:9px;
}
.new-label{
  display:inline-block;
  background:#2f7d32;
  color:white;
  border-radius:20px;
  padding:3px 9px;
  font-size:12px;
  font-weight:900;
  margin-bottom:8px;
}
.new-sortie-card h3{
  color:#264b8f;
  margin:4px 0 8px;
}
@media(max-width:700px){
  .new-sorties-head{flex-direction:column;align-items:stretch}
}


.meeting-ok{
  margin-top:10px;
  background:#e7f8ec;
  color:#16843a;
  border:1px solid #bfe8ca;
  border-radius:4px;
  padding:10px;
  font-weight:900;
}


.waiting-ok{
  margin-top:10px;
  background:#e8f1ff;
  color:#1d5fbf;
  border:1px solid #c7dcff;
  border-radius:4px;
  padding:10px;
  font-weight:900;
}


.join-row-btn{
  border:0;
  border-radius:4px;
  background:#2f7d32;
  color:white;
  padding:7px 10px;
  font-weight:900;
  cursor:pointer;
}
.join-row-btn:hover{
  background:#256b29;
}


.orga-name{
  border:0;
  background:transparent;
  font-weight:900;
  cursor:pointer;
}
.orga-femme{
  color:#16843a !important;
}
.orga-homme{
  color:#1d5fbf !important;
}
.orga-autre{
  color:#7a321d !important;
}
.orga-name:hover{
  text-decoration:underline;
}


.share-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.share{
  border:0;
  border-radius:4px;
  color:white;
  padding:8px 10px;
  font-weight:900;
  cursor:pointer;
}
.share.facebook{background:#1877f2}
.share.whatsapp{background:#25d366;color:#073b18}
.share.instagram{background:#c13584}
.share.messenger{background:#0084ff}
.share.telegram{background:#229ed9}
.share:hover{filter:brightness(.94)}
.share-row-btn{
  display:block;
  margin-top:5px;
  border:1px solid #7a4a28;
  border-radius:4px;
  background:white;
  color:#7a4a28;
  padding:6px 8px;
  font-weight:900;
  cursor:pointer;
}
.share-row-btn:hover{
  background:#fff4c8;
}


.new-registered-right::before{
  content:"Derniers pseudos inscrits";
  display:block;
  margin-bottom:6px;
  font-size:12px;
  color:#6f5b35;
  font-weight:900;
}
.member-mini-list::before{
  content:"Connectés maintenant";
  display:block;
  margin-bottom:6px;
  font-size:12px;
  color:#6f5b35;
  font-weight:900;
}

/* Pagination sorties : 10 événements par page */
.pager{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
}
.pager-btn{
  border:1px solid #b54520;
  background:white;
  color:#8b321c;
  border-radius:4px;
  padding:5px 9px;
  font-weight:900;
  cursor:pointer;
}
.pager-btn:hover:not(:disabled),
.pager-btn.active{
  background:#b54520;
  color:white;
}
.pager-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.pager-info{
  margin-left:8px;
  color:#6f5b35;
  font-size:12px;
  font-weight:800;
}

/* Correctif bloc "Bienvenue aux nouveaux inscrits" */
.new-registered-right .mini-profile-row span{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.new-registered-right .mini-profile-row b{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.new-registered-right .mini-profile-row small{
  color:inherit;
  opacity:.78;
  font-size:11px;
  font-weight:700;
}
