.mon-bloc-calcul {
    background-color: #FBF6FF;
    padding-bottom: 19px;
    padding-left: 19px;
    padding-right: 19px;
    padding-top: 19px;
    border-radius: 7px;
    border: 4px solid #F0C97C;
    font-weight:800;
    font-size:26px;
    margin-bottom:20px;
}


.mon-bloc-info {
  position: relative;
  background:#fff;
  border-radius:12px;
  padding-top:20px;
	padding-bottom:20px;
  margin-bottom:30px;
	padding-left:10px;
	padding-right:10px;
	font-weight:500;
  z-index:0;
}

/* Bordure animée uniquement, sans remplir l'intérieur */
.mon-bloc-info::before {
  content:"";
  position:absolute;
  inset:0;                 /* couvre la boîte */
  padding:3px;             /* épaisseur de bordure */
  border-radius:12px;
  background:linear-gradient(90deg,#C488F8,#815DEE,#C488F8);
  background-size:300% 300%;
  animation:gradientBorder 8s linear infinite;
  /* creuse le centre : */
  -webkit-mask: 
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;   /* Safari/Chrome */
          mask-composite: exclude;/* Firefox */
  pointer-events:none;
}

@keyframes gradientBorder{
  0%   {background-position:0% 50%;}
  100% {background-position:100% 50%;}
}




.mon-bloc-attention {
    background-color: #fff3f3;
    padding-bottom: 19px;
    padding-left: 19px;
    padding-right: 19px;
    padding-top: 19px;
    border-radius: 7px;
    border: 2px solid #ed0b3b;
    margin-bottom:20px;
}

.mon-bloc-alerte {
    padding-bottom: 3px;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 3px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 26px;
    font-weight: 700;
    background: rgba(253, 235, 236, 1);
    color: rgba(205, 60, 58, 1);
    fill: rgba(205, 60, 58, 1);
    text-align: center;
    padding-top: 20px;
}

.mon-bloc-resume {
    background-color: #FCF3E1;
    padding-bottom: 19px;
    padding-left: 19px;
    padding-right: 19px;
    padding-top: 19px;
    border-radius: 7px;
    border: 2px solid #121c1f;
    margin-bottom:20px;
}

.mon-bloc-resume .resume-title {
    position: relative;
    padding-left: 30px;
    font-size:24px;
    font-weight:800;
    color:#121c1f;
}

.mon-bloc-resume .resume-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #f0c97c; /* Changez la couleur du rond ici */
    border-radius: 50%;
}
.mon-bloc-call-to-action {
    display: flex;
    background-color: #121c1f;
    border: 4px solid #f0c97c;
    border-radius:5px;
    padding: 20px;
    margin-bottom:20px;
}

.cta-content {
    flex: 2;
    display: flex;
    flex-direction: column;
    padding-top:30px;
    padding-bottom:30px;
    padding-right: 20px;
    justify-content: center;
    gap: 10px; 
}

.cta-title,
.cta-text {
    color: #fff;
}

.cta-button {
    display: inline-block;
    background-color: #f0c97c;
    color: #121c1f;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-align:center;
    font-weight:700 !important;
    text-decoration: none !important;
}

.cta-button:hover {
    background-color: #e0b56b;
    color: #fff;
}

.cta-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-image img {
    width: 100%;
    height: auto;
}


/* Styles pour le bloc checklist en frontend */
.mon-bloc-checklist {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 2px solid #e5e5e5;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
    padding-left: 40px;
    line-height: 1.6;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.checklist-item:last-child {
    margin-bottom: 0;
}

/* Cache la checkbox par défaut */
.checklist-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Style de la checkbox personnalisée */
.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #ffffff;
    border: 2px solid #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover sur la checkbox */
.checklist-item:hover .checkmark {
    border-color: #4CAF50;
    background-color: #f8fff8;
}

/* Style quand la checkbox est cochée */
.checklist-item.checked .checkmark {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

/* Icône de la coche */
.checklist-item.checked .checkmark:after {
    content: "";
    position: absolute;
    display: block;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Texte barré quand coché */
.checklist-item.checked .checklist-text {
    text-decoration: line-through;
    color: #888;
}

.checklist-text {
    flex: 1;
    transition: all 0.3s ease;
}

/* Styles pour l'éditeur WordPress */
.mon-bloc-checklist-edit {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e5e5e5;
}

.checklist-item-edit {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
    padding: 10px;
    border-radius: 6px;
    background-color: #fafafa;
}

.checklist-checkbox-edit {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.checklist-text-edit {
    flex: 1;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 5px !important;
}

.checklist-remove-btn {
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.checklist-remove-btn:hover {
    background: #cc0000;
}

.checklist-add-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.checklist-add-btn:hover {
    background: #45a049;
}

/* Responsive */
@media (max-width: 768px) {
    .mon-bloc-checklist {
        padding: 15px;
    }
    
    .checklist-item {
        font-size: 15px;
        padding-left: 35px;
    }
    
    .checkmark {
        height: 20px;
        width: 20px;
    }
    
    .checklist-item.checked .checkmark:after {
        left: 5px;
        top: 1px;
        width: 5px;
        height: 11px;
    }
}

/* Animation pour les interactions JavaScript en frontend */
@keyframes checkAnimation {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.checklist-item.just-checked .checkmark:after {
    animation: checkAnimation 0.3s ease;
}