/* cookie-consent.css - SOSIT
   Bannière + préférences cookies (simple, responsive) */

.cc-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.35);
  z-index:9998;
  display:none;
}

.cc-banner{
  position:fixed;
  left:1rem;
  right:1rem;
  bottom:1rem;
  z-index:9999;
  max-width:980px;
  margin:0 auto;
  background:#ffffff;
  border:1px solid #e0e5e2;
  border-radius:12px;
  box-shadow:0 18px 45px rgba(0,0,0,.18);
  padding:1rem 1rem;
  display:none;
}

.cc-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}

.cc-title{
  font-weight:900;
  color:#0b4f3c;
  margin:0 0 .35rem 0;
}

.cc-text{
  margin:0;
  color:#5c5c5c;
  font-size:.95rem;
  line-height:1.5;
  max-width:680px;
}

.cc-actions{
  display:flex;
  gap:.6rem;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}

.cc-btn{
  display:inline-block;
  border-radius:999px;
  padding:.75rem 1rem;
  border:1px solid #0b4f3c;
  background:transparent;
  color:#0b4f3c;
  font-weight:800;
  cursor:pointer;
}

.cc-btn:hover{background:rgba(11,79,60,.06);}

.cc-btn-primary{
  background:#f5821f;
  border-color:#f5821f;
  color:#fff;
}

.cc-btn-primary:hover{
  background:#e36c05;
  border-color:#e36c05;
}

.cc-link{
  color:#0b4f3c;
  font-weight:800;
  text-decoration:underline;
  cursor:pointer;
  background:none;
  border:none;
  padding:.2rem;
}

/* Modal préférences */
.cc-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:1rem;
}

.cc-modal-card{
  width:min(720px, 100%);
  background:#fff;
  border:1px solid #e0e5e2;
  border-radius:12px;
  box-shadow:0 24px 70px rgba(0,0,0,.25);
  padding:1rem;
}

.cc-modal h2{
  margin:0 0 .5rem 0;
  color:#0b4f3c;
}

.cc-modal p{
  margin:0 0 .75rem 0;
  color:#5c5c5c;
}

.cc-pref{
  display:flex;
  gap:.75rem;
  align-items:flex-start;
  padding:.75rem;
  border:1px solid #e0e5e2;
  border-radius:10px;
  margin-top:.75rem;
}

.cc-pref strong{color:#0b4f3c;}

.cc-pref small{
  color:#5c5c5c;
  display:block;
  margin-top:.2rem;
}

.cc-switch{
  margin-top:.15rem;
  width:18px;
  height:18px;
}

.cc-modal-actions{
  display:flex;
  gap:.6rem;
  justify-content:flex-end;
  flex-wrap:wrap;
  margin-top:1rem;
}

@media (max-width:520px){
  .cc-actions{justify-content:flex-start;}
}
