/* Stile App Cards per Menu Smartphone */
.app-card {
    border: none;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    position: relative;
    overflow: hidden;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.app-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.icon-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(0,0,0,0.1) 100%);
    border-radius: 50%;
}

.app-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.app-subtitle {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
    line-height: 1.1;
}

/* Effetto di pressione al click */
.app-card:active {
    transform: translateY(-2px) scale(0.98);
}

/* Responsivo */
@media (max-width: 768px) {
    .icon-circle {
        width: 50px;
        height: 50px;
    }
    
    .app-title {
        font-size: 0.8rem;
    }
    
    .app-subtitle {
        font-size: 0.7rem;
    }
}

/* Rimuovi gli stili vecchi */
.function-card {
    /* Reset degli stili precedenti se necessario */
}

/* Nascodi gli altri elementi quando usi il nuovo stile */
.app-card .btn {
    display: none;
}

/* Icona osso spezzato per radiografie */
.icon-circle.bg-dark .fa-bone {
    position: relative;
}

.icon-circle.bg-dark .fa-bone::after {
    content: '';
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    height: 2px;
    background: #dc3545;
    transform: rotate(90deg);
    box-shadow: 0 0 4px rgba(220, 53, 69, 0.5);
}