.rce-widget {
    text-align: center;
}

.rce-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.rce-btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.rce-btn {
    width: 80px;
    height: 80px;
    background-color: #ccc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rce-btn img {
    width: 70%;
    height: 70%;
    object-fit: cover;
    border-radius: 50%;
}

.rce-btn i {
    font-size: 24px;
    color: #333;
    transition: color 0.3s ease;
}

.rce-btn:hover {
    background-color: #ddd;
}

.rce-btn:hover i {
    color: #666;
}

.rce-btn.active {
    background-color: orange;
}

.rce-btn.active i {
    color: white;
}

.rce-label {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
}

.rce-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rce-content.active {
    display: block;
    opacity: 1;
}

/* Animations */
.rce-anim-scale:hover {
    transform: scale(1.1);
}

.rce-anim-rotate:hover {
    transform: rotate(15deg);
}

.rce-anim-bounce:hover {
    animation: rce-bounce 0.5s ease;
}

.rce-anim-pulse:hover {
    animation: rce-pulse 0.5s ease infinite alternate;
}

@keyframes rce-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rce-pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Styles responsive */
.rce-responsive .rce-buttons {
    display: flex;
    flex-wrap: wrap;
}

/* Règles pour tablettes */
@media (max-width: 1024px) {
    .rce-tablet-1 .rce-btn-wrap {
        width: 100%;
    }
    
    .rce-tablet-2 .rce-btn-wrap {
        width: calc(50% - 10px);
    }
    
    .rce-tablet-3 .rce-btn-wrap {
        width: calc(33.333% - 14px);
    }
    
    .rce-tablet-4 .rce-btn-wrap {
        width: calc(25% - 15px);
    }
    
    .rce-tablet-5 .rce-btn-wrap {
        width: calc(20% - 16px);
    }
    
    .rce-responsive .rce-buttons {
        justify-content: center;
    }
}

/* Règles pour mobiles */
@media (max-width: 767px) {
    .rce-mobile-1 .rce-btn-wrap {
        width: 100%;
    }
    
    .rce-mobile-2 .rce-btn-wrap {
        width: calc(50% - 10px);
    }
    
    .rce-mobile-3 .rce-btn-wrap {
        width: calc(33.333% - 14px);
    }
    
    /* Tailles réduites par défaut sur mobile */
    .rce-responsive .rce-btn {
        width: 60px;
        height: 60px;
    }
    
    .rce-responsive .rce-btn i {
        font-size: 20px;
    }
    
    .rce-responsive .rce-label {
        font-size: 12px;
    }
}