/* ============================================================
   3. SIDEBARS CPT (ÉVÉNEMENT & PROJET)
   ============================================================ */
.cp-sidebar-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  border: 1px solid #E2E8F0;
  position: sticky;
  top: 100px;
}

.cp-sidebar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cp-color-primary);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #F1F5F9;
}

/* Détails Événement */
.cp-event-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.cp-event-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.cp-event-info-item i {
  color: var(--cp-color-secondary);
  font-size: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.cp-event-info-item strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 0.15rem;
}

.cp-event-info-item span {
  font-size: 0.95rem;
  color: #1E293B;
  font-weight: 600;
}

.cp-btn-full {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Progress Bar & Details Projet */
.cp-projet-progress-wrapper {
  margin-bottom: 1.5rem;
}

.cp-projet-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 0.5rem;
}

.cp-projet-bar-bg {
  height: 12px;
  background: #E2E8F0;
  border-radius: 6px;
  overflow: hidden;
}

.cp-projet-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cp-color-primary), var(--cp-color-secondary));
  border-radius: 6px;
  transition: width 0.8s ease;
}

.cp-badge-status {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.cp-badge-status--en-cours { background: #D1FAE5; color: #065F46; }
.cp-badge-status--termine  { background: #E0F2FE; color: #0369A1; }
.cp-badge-status--futur    { background: #FEF3C7; color: #92400E; }
