/* ==========================================
   STYLES SPÉCIFIQUES - PAGE PARTICIPER
   ========================================== */

/* Style pour les inputs au focus */
input:focus {
    outline: none;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

/* Animation fadeIn */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style pour les nombres */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .nombre-participants {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .jours-presence {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* Style pour les labels de checkbox */
.checkbox-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.checkbox-label:has(input:checked) {
    border-color: var(--primary-color) !important;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

/* ==========================================
   CONFETTIS EXPLOSION POUR PARTICIPER
   ========================================== */

.confetti-explosion {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    bottom: 50px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 1;
}

@keyframes confetti-explode {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--x-distance), var(--y-distance)) rotate(var(--rotation)) scale(0.5);
        opacity: 0;
    }
}
