/* Sélecteur de couleur pour les icônes */

.icon-color-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.icon-color-selector:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(218, 255, 115, 0.3);
}

.icon-color-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 0;
}

.icon-color-btn:hover {
    transform: scale(1.1);
    border-color: rgba(218, 255, 115, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.icon-color-btn.active {
    border-color: rgba(218, 255, 115, 1);
    border-width: 3px;
    transform: scale(1.15);
    box-shadow: 0 0 0 3px rgba(218, 255, 115, 0.2);
}

.icon-color-btn.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Animation d'entrée */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.icon-color-btn {
    animation: fadeInScale 0.3s ease;
}

.icon-color-btn:nth-child(1) { animation-delay: 0.05s; }
.icon-color-btn:nth-child(2) { animation-delay: 0.1s; }
.icon-color-btn:nth-child(3) { animation-delay: 0.15s; }
.icon-color-btn:nth-child(4) { animation-delay: 0.2s; }
.icon-color-btn:nth-child(5) { animation-delay: 0.25s; }
.icon-color-btn:nth-child(6) { animation-delay: 0.3s; }
.icon-color-btn:nth-child(7) { animation-delay: 0.35s; }
.icon-color-btn:nth-child(8) { animation-delay: 0.4s; }
.icon-color-btn:nth-child(9) { animation-delay: 0.45s; }
.icon-color-btn:nth-child(10) { animation-delay: 0.5s; }
.icon-color-btn:nth-child(11) { animation-delay: 0.55s; }
