/* =========================================================
   CapConcours — assistance.css : widget "Assistance CapConcours"
   Fichier dedie (ne modifie pas style.css). Prefixe : cap-wa-
   Config du numero : voir assets/js/assistance.js (CAP_WA_NUMBER)
   ========================================================= */
.cap-wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #25D366;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9990;
}
.cap-wa-fab:hover { background: #1FB857; }
.cap-wa-fab svg { width: 30px; height: 30px; fill: #FFFFFF; }
.cap-wa-panel {
  position: fixed;
  right: 22px;
  bottom: 94px;
  width: 340px;
  max-width: calc(100vw - 44px);
  max-height: 480px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 10000;
  font-family: inherit;
}
.cap-wa-panel.cap-wa-open { display: flex; }
.cap-wa-head {
  background: var(--navy);
  color: #FFFFFF;
  padding: 14px 16px;
}
.cap-wa-head strong { display: block; font-size: 1rem; }
.cap-wa-head span { font-size: 0.82rem; opacity: 0.85; }
.cap-wa-body {
  padding: 14px 16px;
  overflow-y: auto;
  background: var(--bg-alt);
}
.cap-wa-msg {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 0 12px 12px 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text);
}
.cap-wa-foot { padding: 12px 14px; background: #FFFFFF; }
.cap-wa-foot textarea {
  width: 100%;
  min-height: 64px;
  resize: vertical;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  box-sizing: border-box;
}
.cap-wa-send {
  width: 100%;
  margin-top: 8px;
  padding: 11px;
  border: none;
  border-radius: 10px;
  background: #25D366;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
}
.cap-wa-send:hover { background: #1FB857; }
.cap-wa-close {
  display: block;
  margin: 8px auto 2px;
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
}
@media (max-width: 480px) {
  .cap-wa-fab { right: 14px; bottom: 14px; }
  .cap-wa-panel { right: 14px; bottom: 86px; }
}
