/* AppFrantoio - Stili per le icone personalizzate */

/* Stili generali per le icone */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--olive-green);
    color: white;
    transition: transform 0.3s, background-color 0.3s;
}

.icon:hover {
    transform: scale(1.05);
    background-color: var(--light-olive);
}

.icon-sm {
    width: 36px;
    height: 36px;
    font-size: 16px;
}

.icon-lg {
    width: 70px;
    height: 70px;
    font-size: 28px;
}

/* Stili specifici per le icone del feature */
.feature-icon .icon {
    background-color: var(--cream);
    color: var(--olive-green);
    width: 80px;
    height: 80px;
    font-size: 32px;
}

/* Animazioni per le icone */
.icon-pulse {
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.icon-rotate {
    animation: iconRotate 4s linear infinite;
}

@keyframes iconRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Badges per notifiche */
.icon-badge {
    position: relative;
}

.icon-badge::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: #ff4757;
    border-radius: 50%;
    border: 2px solid white;
}